Documentation
¶
Index ¶
- Variables
- func FileDescriptorSet() *descriptorpb.FileDescriptorSet
- func RegisterFrontendServer(s prpc.Registrar, srv FrontendServer)
- func RegisterHotlistsServer(s prpc.Registrar, srv HotlistsServer)
- func RegisterIssuesServer(s prpc.Registrar, srv IssuesServer)
- func RegisterPermissionsServer(s prpc.Registrar, srv PermissionsServer)
- func RegisterProjectsServer(s prpc.Registrar, srv ProjectsServer)
- func RegisterUsersServer(s prpc.Registrar, srv UsersServer)
- type AddHotlistItemsRequest
- func (*AddHotlistItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddHotlistItemsRequest) GetIssues() []string
- func (x *AddHotlistItemsRequest) GetParent() string
- func (x *AddHotlistItemsRequest) GetTargetPosition() uint32
- func (*AddHotlistItemsRequest) ProtoMessage()
- func (x *AddHotlistItemsRequest) ProtoReflect() protoreflect.Message
- func (x *AddHotlistItemsRequest) Reset()
- func (x *AddHotlistItemsRequest) String() string
- type ApprovalDef
- func (*ApprovalDef) Descriptor() ([]byte, []int)deprecated
- func (x *ApprovalDef) GetAdmins() []string
- func (x *ApprovalDef) GetApprovers() []string
- func (x *ApprovalDef) GetDisplayName() string
- func (x *ApprovalDef) GetDocstring() string
- func (x *ApprovalDef) GetName() string
- func (x *ApprovalDef) GetSurvey() string
- func (*ApprovalDef) ProtoMessage()
- func (x *ApprovalDef) ProtoReflect() protoreflect.Message
- func (x *ApprovalDef) Reset()
- func (x *ApprovalDef) String() string
- type ApprovalDelta
- func (*ApprovalDelta) Descriptor() ([]byte, []int)deprecated
- func (x *ApprovalDelta) GetApprovalValue() *ApprovalValue
- func (x *ApprovalDelta) GetApproversRemove() []string
- func (x *ApprovalDelta) GetFieldValsRemove() []*FieldValue
- func (x *ApprovalDelta) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*ApprovalDelta) ProtoMessage()
- func (x *ApprovalDelta) ProtoReflect() protoreflect.Message
- func (x *ApprovalDelta) Reset()
- func (x *ApprovalDelta) String() string
- type ApprovalValue
- func (*ApprovalValue) Descriptor() ([]byte, []int)deprecated
- func (x *ApprovalValue) GetApprovalDef() string
- func (x *ApprovalValue) GetApprovers() []string
- func (x *ApprovalValue) GetFieldValues() []*FieldValue
- func (x *ApprovalValue) GetName() string
- func (x *ApprovalValue) GetPhase() string
- func (x *ApprovalValue) GetSetTime() *timestamppb.Timestamp
- func (x *ApprovalValue) GetSetter() string
- func (x *ApprovalValue) GetStatus() ApprovalValue_ApprovalStatus
- func (*ApprovalValue) ProtoMessage()
- func (x *ApprovalValue) ProtoReflect() protoreflect.Message
- func (x *ApprovalValue) Reset()
- func (x *ApprovalValue) String() string
- type ApprovalValue_ApprovalStatus
- func (ApprovalValue_ApprovalStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ApprovalValue_ApprovalStatus) Enum() *ApprovalValue_ApprovalStatus
- func (ApprovalValue_ApprovalStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApprovalValue_ApprovalStatus) Number() protoreflect.EnumNumber
- func (x ApprovalValue_ApprovalStatus) String() string
- func (ApprovalValue_ApprovalStatus) Type() protoreflect.EnumType
- type AttachmentUpload
- func (*AttachmentUpload) Descriptor() ([]byte, []int)deprecated
- func (x *AttachmentUpload) GetContent() []byte
- func (x *AttachmentUpload) GetFilename() string
- func (*AttachmentUpload) ProtoMessage()
- func (x *AttachmentUpload) ProtoReflect() protoreflect.Message
- func (x *AttachmentUpload) Reset()
- func (x *AttachmentUpload) String() string
- type BatchGetIssuesRequest
- func (*BatchGetIssuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetIssuesRequest) GetNames() []string
- func (x *BatchGetIssuesRequest) GetParent() string
- func (*BatchGetIssuesRequest) ProtoMessage()
- func (x *BatchGetIssuesRequest) ProtoReflect() protoreflect.Message
- func (x *BatchGetIssuesRequest) Reset()
- func (x *BatchGetIssuesRequest) String() string
- type BatchGetIssuesResponse
- func (*BatchGetIssuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetIssuesResponse) GetIssues() []*Issue
- func (*BatchGetIssuesResponse) ProtoMessage()
- func (x *BatchGetIssuesResponse) ProtoReflect() protoreflect.Message
- func (x *BatchGetIssuesResponse) Reset()
- func (x *BatchGetIssuesResponse) String() string
- type BatchGetPermissionSetsRequest
- func (*BatchGetPermissionSetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetPermissionSetsRequest) GetNames() []string
- func (*BatchGetPermissionSetsRequest) ProtoMessage()
- func (x *BatchGetPermissionSetsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchGetPermissionSetsRequest) Reset()
- func (x *BatchGetPermissionSetsRequest) String() string
- type BatchGetPermissionSetsResponse
- func (*BatchGetPermissionSetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetPermissionSetsResponse) GetPermissionSets() []*PermissionSet
- func (*BatchGetPermissionSetsResponse) ProtoMessage()
- func (x *BatchGetPermissionSetsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchGetPermissionSetsResponse) Reset()
- func (x *BatchGetPermissionSetsResponse) String() string
- type BatchGetUsersRequest
- func (*BatchGetUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetUsersRequest) GetNames() []string
- func (*BatchGetUsersRequest) ProtoMessage()
- func (x *BatchGetUsersRequest) ProtoReflect() protoreflect.Message
- func (x *BatchGetUsersRequest) Reset()
- func (x *BatchGetUsersRequest) String() string
- type BatchGetUsersResponse
- func (*BatchGetUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetUsersResponse) GetUsers() []*User
- func (*BatchGetUsersResponse) ProtoMessage()
- func (x *BatchGetUsersResponse) ProtoReflect() protoreflect.Message
- func (x *BatchGetUsersResponse) Reset()
- func (x *BatchGetUsersResponse) String() string
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment) GetAmendments() []*Comment_Amendment
- func (x *Comment) GetApproval() string
- func (x *Comment) GetAttachments() []*Comment_Attachment
- func (x *Comment) GetCommenter() string
- func (x *Comment) GetContent() string
- func (x *Comment) GetCreateTime() *timestamppb.Timestamp
- func (x *Comment) GetInboundMessage() string
- func (x *Comment) GetName() string
- func (x *Comment) GetState() IssueContentState
- func (x *Comment) GetType() Comment_Type
- func (*Comment) ProtoMessage()
- func (x *Comment) ProtoReflect() protoreflect.Message
- func (x *Comment) Reset()
- func (x *Comment) String() string
- type Comment_Amendment
- func (*Comment_Amendment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment_Amendment) GetFieldName() string
- func (x *Comment_Amendment) GetNewOrDeltaValue() string
- func (x *Comment_Amendment) GetOldValue() string
- func (*Comment_Amendment) ProtoMessage()
- func (x *Comment_Amendment) ProtoReflect() protoreflect.Message
- func (x *Comment_Amendment) Reset()
- func (x *Comment_Amendment) String() string
- type Comment_Attachment
- func (*Comment_Attachment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment_Attachment) GetDownloadUri() string
- func (x *Comment_Attachment) GetFilename() string
- func (x *Comment_Attachment) GetMediaType() string
- func (x *Comment_Attachment) GetSize() uint64
- func (x *Comment_Attachment) GetState() IssueContentState
- func (x *Comment_Attachment) GetThumbnailUri() string
- func (x *Comment_Attachment) GetViewUri() string
- func (*Comment_Attachment) ProtoMessage()
- func (x *Comment_Attachment) ProtoReflect() protoreflect.Message
- func (x *Comment_Attachment) Reset()
- func (x *Comment_Attachment) String() string
- type Comment_Type
- func (Comment_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Comment_Type) Enum() *Comment_Type
- func (Comment_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Comment_Type) Number() protoreflect.EnumNumber
- func (x Comment_Type) String() string
- func (Comment_Type) Type() protoreflect.EnumType
- type ComponentDef
- func (*ComponentDef) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentDef) GetAdmins() []string
- func (x *ComponentDef) GetCcs() []string
- func (x *ComponentDef) GetCreateTime() *timestamppb.Timestamp
- func (x *ComponentDef) GetCreator() string
- func (x *ComponentDef) GetDocstring() string
- func (x *ComponentDef) GetLabels() []string
- func (x *ComponentDef) GetModifier() string
- func (x *ComponentDef) GetModifyTime() *timestamppb.Timestamp
- func (x *ComponentDef) GetName() string
- func (x *ComponentDef) GetState() ComponentDef_ComponentDefState
- func (x *ComponentDef) GetValue() string
- func (*ComponentDef) ProtoMessage()
- func (x *ComponentDef) ProtoReflect() protoreflect.Message
- func (x *ComponentDef) Reset()
- func (x *ComponentDef) String() string
- type ComponentDef_ComponentDefState
- func (ComponentDef_ComponentDefState) Descriptor() protoreflect.EnumDescriptor
- func (x ComponentDef_ComponentDefState) Enum() *ComponentDef_ComponentDefState
- func (ComponentDef_ComponentDefState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ComponentDef_ComponentDefState) Number() protoreflect.EnumNumber
- func (x ComponentDef_ComponentDefState) String() string
- func (ComponentDef_ComponentDefState) Type() protoreflect.EnumType
- type CreateComponentDefRequest
- func (*CreateComponentDefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateComponentDefRequest) GetComponentDef() *ComponentDef
- func (x *CreateComponentDefRequest) GetParent() string
- func (*CreateComponentDefRequest) ProtoMessage()
- func (x *CreateComponentDefRequest) ProtoReflect() protoreflect.Message
- func (x *CreateComponentDefRequest) Reset()
- func (x *CreateComponentDefRequest) String() string
- type CreateFieldDefRequest
- func (*CreateFieldDefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFieldDefRequest) GetFielddef() *FieldDef
- func (x *CreateFieldDefRequest) GetParent() string
- func (*CreateFieldDefRequest) ProtoMessage()
- func (x *CreateFieldDefRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFieldDefRequest) Reset()
- func (x *CreateFieldDefRequest) String() string
- type CreateHotlistRequest
- func (*CreateHotlistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateHotlistRequest) GetHotlist() *Hotlist
- func (*CreateHotlistRequest) ProtoMessage()
- func (x *CreateHotlistRequest) ProtoReflect() protoreflect.Message
- func (x *CreateHotlistRequest) Reset()
- func (x *CreateHotlistRequest) String() string
- type DeleteComponentDefRequest
- func (*DeleteComponentDefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteComponentDefRequest) GetName() string
- func (*DeleteComponentDefRequest) ProtoMessage()
- func (x *DeleteComponentDefRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteComponentDefRequest) Reset()
- func (x *DeleteComponentDefRequest) String() string
- type Derivation
- type FieldDef
- func (*FieldDef) Descriptor() ([]byte, []int)deprecated
- func (x *FieldDef) GetAdmins() []string
- func (x *FieldDef) GetApplicableIssueType() string
- func (x *FieldDef) GetApprovalParent() string
- func (x *FieldDef) GetDateSettings() *FieldDef_DateTypeSettings
- func (x *FieldDef) GetDisplayName() string
- func (x *FieldDef) GetDocstring() string
- func (x *FieldDef) GetEditors() []string
- func (x *FieldDef) GetEnumSettings() *FieldDef_EnumTypeSettings
- func (x *FieldDef) GetIntSettings() *FieldDef_IntTypeSettings
- func (x *FieldDef) GetName() string
- func (x *FieldDef) GetStrSettings() *FieldDef_StrTypeSettings
- func (x *FieldDef) GetTraits() []FieldDef_Traits
- func (x *FieldDef) GetType() FieldDef_Type
- func (x *FieldDef) GetUserSettings() *FieldDef_UserTypeSettings
- func (*FieldDef) ProtoMessage()
- func (x *FieldDef) ProtoReflect() protoreflect.Message
- func (x *FieldDef) Reset()
- func (x *FieldDef) String() string
- type FieldDef_DateTypeSettings
- func (*FieldDef_DateTypeSettings) Descriptor() ([]byte, []int)deprecated
- func (x *FieldDef_DateTypeSettings) GetDateAction() FieldDef_DateTypeSettings_DateAction
- func (*FieldDef_DateTypeSettings) ProtoMessage()
- func (x *FieldDef_DateTypeSettings) ProtoReflect() protoreflect.Message
- func (x *FieldDef_DateTypeSettings) Reset()
- func (x *FieldDef_DateTypeSettings) String() string
- type FieldDef_DateTypeSettings_DateAction
- func (FieldDef_DateTypeSettings_DateAction) Descriptor() protoreflect.EnumDescriptor
- func (x FieldDef_DateTypeSettings_DateAction) Enum() *FieldDef_DateTypeSettings_DateAction
- func (FieldDef_DateTypeSettings_DateAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x FieldDef_DateTypeSettings_DateAction) Number() protoreflect.EnumNumber
- func (x FieldDef_DateTypeSettings_DateAction) String() string
- func (FieldDef_DateTypeSettings_DateAction) Type() protoreflect.EnumType
- type FieldDef_EnumTypeSettings
- func (*FieldDef_EnumTypeSettings) Descriptor() ([]byte, []int)deprecated
- func (x *FieldDef_EnumTypeSettings) GetChoices() []*FieldDef_EnumTypeSettings_Choice
- func (*FieldDef_EnumTypeSettings) ProtoMessage()
- func (x *FieldDef_EnumTypeSettings) ProtoReflect() protoreflect.Message
- func (x *FieldDef_EnumTypeSettings) Reset()
- func (x *FieldDef_EnumTypeSettings) String() string
- type FieldDef_EnumTypeSettings_Choice
- func (*FieldDef_EnumTypeSettings_Choice) Descriptor() ([]byte, []int)deprecated
- func (x *FieldDef_EnumTypeSettings_Choice) GetDocstring() string
- func (x *FieldDef_EnumTypeSettings_Choice) GetValue() string
- func (*FieldDef_EnumTypeSettings_Choice) ProtoMessage()
- func (x *FieldDef_EnumTypeSettings_Choice) ProtoReflect() protoreflect.Message
- func (x *FieldDef_EnumTypeSettings_Choice) Reset()
- func (x *FieldDef_EnumTypeSettings_Choice) String() string
- type FieldDef_IntTypeSettings
- func (*FieldDef_IntTypeSettings) Descriptor() ([]byte, []int)deprecated
- func (x *FieldDef_IntTypeSettings) GetMaxValue() int32
- func (x *FieldDef_IntTypeSettings) GetMinValue() int32
- func (*FieldDef_IntTypeSettings) ProtoMessage()
- func (x *FieldDef_IntTypeSettings) ProtoReflect() protoreflect.Message
- func (x *FieldDef_IntTypeSettings) Reset()
- func (x *FieldDef_IntTypeSettings) String() string
- type FieldDef_StrTypeSettings
- func (*FieldDef_StrTypeSettings) Descriptor() ([]byte, []int)deprecated
- func (x *FieldDef_StrTypeSettings) GetRegex() string
- func (*FieldDef_StrTypeSettings) ProtoMessage()
- func (x *FieldDef_StrTypeSettings) ProtoReflect() protoreflect.Message
- func (x *FieldDef_StrTypeSettings) Reset()
- func (x *FieldDef_StrTypeSettings) String() string
- type FieldDef_Traits
- func (FieldDef_Traits) Descriptor() protoreflect.EnumDescriptor
- func (x FieldDef_Traits) Enum() *FieldDef_Traits
- func (FieldDef_Traits) EnumDescriptor() ([]byte, []int)deprecated
- func (x FieldDef_Traits) Number() protoreflect.EnumNumber
- func (x FieldDef_Traits) String() string
- func (FieldDef_Traits) Type() protoreflect.EnumType
- type FieldDef_Type
- func (FieldDef_Type) Descriptor() protoreflect.EnumDescriptor
- func (x FieldDef_Type) Enum() *FieldDef_Type
- func (FieldDef_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x FieldDef_Type) Number() protoreflect.EnumNumber
- func (x FieldDef_Type) String() string
- func (FieldDef_Type) Type() protoreflect.EnumType
- type FieldDef_UserTypeSettings
- func (*FieldDef_UserTypeSettings) Descriptor() ([]byte, []int)deprecated
- func (x *FieldDef_UserTypeSettings) GetGrantsPerm() string
- func (x *FieldDef_UserTypeSettings) GetNeedsPerm() string
- func (x *FieldDef_UserTypeSettings) GetNotifyTriggers() FieldDef_UserTypeSettings_NotifyTriggers
- func (x *FieldDef_UserTypeSettings) GetRoleRequirements() FieldDef_UserTypeSettings_RoleRequirements
- func (*FieldDef_UserTypeSettings) ProtoMessage()
- func (x *FieldDef_UserTypeSettings) ProtoReflect() protoreflect.Message
- func (x *FieldDef_UserTypeSettings) Reset()
- func (x *FieldDef_UserTypeSettings) String() string
- type FieldDef_UserTypeSettings_NotifyTriggers
- func (FieldDef_UserTypeSettings_NotifyTriggers) Descriptor() protoreflect.EnumDescriptor
- func (x FieldDef_UserTypeSettings_NotifyTriggers) Enum() *FieldDef_UserTypeSettings_NotifyTriggers
- func (FieldDef_UserTypeSettings_NotifyTriggers) EnumDescriptor() ([]byte, []int)deprecated
- func (x FieldDef_UserTypeSettings_NotifyTriggers) Number() protoreflect.EnumNumber
- func (x FieldDef_UserTypeSettings_NotifyTriggers) String() string
- func (FieldDef_UserTypeSettings_NotifyTriggers) Type() protoreflect.EnumType
- type FieldDef_UserTypeSettings_RoleRequirements
- func (FieldDef_UserTypeSettings_RoleRequirements) Descriptor() protoreflect.EnumDescriptor
- func (x FieldDef_UserTypeSettings_RoleRequirements) Enum() *FieldDef_UserTypeSettings_RoleRequirements
- func (FieldDef_UserTypeSettings_RoleRequirements) EnumDescriptor() ([]byte, []int)deprecated
- func (x FieldDef_UserTypeSettings_RoleRequirements) Number() protoreflect.EnumNumber
- func (x FieldDef_UserTypeSettings_RoleRequirements) String() string
- func (FieldDef_UserTypeSettings_RoleRequirements) Type() protoreflect.EnumType
- type FieldValue
- func (*FieldValue) Descriptor() ([]byte, []int)deprecated
- func (x *FieldValue) GetDerivation() Derivation
- func (x *FieldValue) GetField() string
- func (x *FieldValue) GetPhase() string
- func (x *FieldValue) GetValue() string
- func (*FieldValue) ProtoMessage()
- func (x *FieldValue) ProtoReflect() protoreflect.Message
- func (x *FieldValue) Reset()
- func (x *FieldValue) String() string
- type FrontendClient
- type FrontendServer
- type GatherHotlistsForUserRequest
- func (*GatherHotlistsForUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GatherHotlistsForUserRequest) GetUser() string
- func (*GatherHotlistsForUserRequest) ProtoMessage()
- func (x *GatherHotlistsForUserRequest) ProtoReflect() protoreflect.Message
- func (x *GatherHotlistsForUserRequest) Reset()
- func (x *GatherHotlistsForUserRequest) String() string
- type GatherHotlistsForUserResponse
- func (*GatherHotlistsForUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GatherHotlistsForUserResponse) GetHotlists() []*Hotlist
- func (*GatherHotlistsForUserResponse) ProtoMessage()
- func (x *GatherHotlistsForUserResponse) ProtoReflect() protoreflect.Message
- func (x *GatherHotlistsForUserResponse) Reset()
- func (x *GatherHotlistsForUserResponse) String() string
- type GatherProjectEnvironmentRequest
- func (*GatherProjectEnvironmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GatherProjectEnvironmentRequest) GetParent() string
- func (*GatherProjectEnvironmentRequest) ProtoMessage()
- func (x *GatherProjectEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *GatherProjectEnvironmentRequest) Reset()
- func (x *GatherProjectEnvironmentRequest) String() string
- type GatherProjectEnvironmentResponse
- func (*GatherProjectEnvironmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GatherProjectEnvironmentResponse) GetApprovalFields() []*ApprovalDef
- func (x *GatherProjectEnvironmentResponse) GetComponents() []*ComponentDef
- func (x *GatherProjectEnvironmentResponse) GetFields() []*FieldDef
- func (x *GatherProjectEnvironmentResponse) GetProject() *Project
- func (x *GatherProjectEnvironmentResponse) GetProjectConfig() *ProjectConfig
- func (x *GatherProjectEnvironmentResponse) GetSavedQueries() []*ProjectSavedQuery
- func (x *GatherProjectEnvironmentResponse) GetStatuses() []*StatusDef
- func (x *GatherProjectEnvironmentResponse) GetWellKnownLabels() []*LabelDef
- func (*GatherProjectEnvironmentResponse) ProtoMessage()
- func (x *GatherProjectEnvironmentResponse) ProtoReflect() protoreflect.Message
- func (x *GatherProjectEnvironmentResponse) Reset()
- func (x *GatherProjectEnvironmentResponse) String() string
- type GatherProjectMembershipsForUserRequest
- func (*GatherProjectMembershipsForUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GatherProjectMembershipsForUserRequest) GetUser() string
- func (*GatherProjectMembershipsForUserRequest) ProtoMessage()
- func (x *GatherProjectMembershipsForUserRequest) ProtoReflect() protoreflect.Message
- func (x *GatherProjectMembershipsForUserRequest) Reset()
- func (x *GatherProjectMembershipsForUserRequest) String() string
- type GatherProjectMembershipsForUserResponse
- func (*GatherProjectMembershipsForUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GatherProjectMembershipsForUserResponse) GetProjectMemberships() []*ProjectMember
- func (*GatherProjectMembershipsForUserResponse) ProtoMessage()
- func (x *GatherProjectMembershipsForUserResponse) ProtoReflect() protoreflect.Message
- func (x *GatherProjectMembershipsForUserResponse) Reset()
- func (x *GatherProjectMembershipsForUserResponse) String() string
- type GetComponentDefRequest
- func (*GetComponentDefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetComponentDefRequest) GetName() string
- func (*GetComponentDefRequest) ProtoMessage()
- func (x *GetComponentDefRequest) ProtoReflect() protoreflect.Message
- func (x *GetComponentDefRequest) Reset()
- func (x *GetComponentDefRequest) String() string
- type GetHotlistRequest
- type GetIssueRequest
- type GetPermissionSetRequest
- func (*GetPermissionSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPermissionSetRequest) GetName() string
- func (*GetPermissionSetRequest) ProtoMessage()
- func (x *GetPermissionSetRequest) ProtoReflect() protoreflect.Message
- func (x *GetPermissionSetRequest) Reset()
- func (x *GetPermissionSetRequest) String() string
- type GetUserRequest
- type Hotlist
- func (*Hotlist) Descriptor() ([]byte, []int)deprecated
- func (x *Hotlist) GetDefaultColumns() []*IssuesListColumn
- func (x *Hotlist) GetDescription() string
- func (x *Hotlist) GetDisplayName() string
- func (x *Hotlist) GetEditors() []string
- func (x *Hotlist) GetHotlistPrivacy() Hotlist_HotlistPrivacy
- func (x *Hotlist) GetName() string
- func (x *Hotlist) GetOwner() string
- func (x *Hotlist) GetSummary() string
- func (*Hotlist) ProtoMessage()
- func (x *Hotlist) ProtoReflect() protoreflect.Message
- func (x *Hotlist) Reset()
- func (x *Hotlist) String() string
- type HotlistItem
- func (*HotlistItem) Descriptor() ([]byte, []int)deprecated
- func (x *HotlistItem) GetAdder() string
- func (x *HotlistItem) GetCreateTime() *timestamppb.Timestamp
- func (x *HotlistItem) GetIssue() string
- func (x *HotlistItem) GetName() string
- func (x *HotlistItem) GetNote() string
- func (x *HotlistItem) GetRank() uint32
- func (*HotlistItem) ProtoMessage()
- func (x *HotlistItem) ProtoReflect() protoreflect.Message
- func (x *HotlistItem) Reset()
- func (x *HotlistItem) String() string
- type Hotlist_HotlistPrivacy
- func (Hotlist_HotlistPrivacy) Descriptor() protoreflect.EnumDescriptor
- func (x Hotlist_HotlistPrivacy) Enum() *Hotlist_HotlistPrivacy
- func (Hotlist_HotlistPrivacy) EnumDescriptor() ([]byte, []int)deprecated
- func (x Hotlist_HotlistPrivacy) Number() protoreflect.EnumNumber
- func (x Hotlist_HotlistPrivacy) String() string
- func (Hotlist_HotlistPrivacy) Type() protoreflect.EnumType
- type HotlistsClient
- type HotlistsServer
- type Issue
- func (*Issue) Descriptor() ([]byte, []int)deprecated
- func (x *Issue) GetAttachmentCount() uint32
- func (x *Issue) GetBlockedOnIssueRefs() []*IssueRef
- func (x *Issue) GetBlockingIssueRefs() []*IssueRef
- func (x *Issue) GetCcUsers() []*Issue_UserValue
- func (x *Issue) GetCloseTime() *timestamppb.Timestamp
- func (x *Issue) GetComponentModifyTime() *timestamppb.Timestamp
- func (x *Issue) GetComponents() []*Issue_ComponentValue
- func (x *Issue) GetCreateTime() *timestamppb.Timestamp
- func (x *Issue) GetFieldValues() []*FieldValue
- func (x *Issue) GetLabels() []*Issue_LabelValue
- func (x *Issue) GetMergedIntoIssueRef() *IssueRef
- func (x *Issue) GetMigratedId() string
- func (x *Issue) GetModifyTime() *timestamppb.Timestamp
- func (x *Issue) GetName() string
- func (x *Issue) GetOwner() *Issue_UserValue
- func (x *Issue) GetOwnerModifyTime() *timestamppb.Timestamp
- func (x *Issue) GetPhases() []string
- func (x *Issue) GetReporter() string
- func (x *Issue) GetStarCount() uint32
- func (x *Issue) GetState() IssueContentState
- func (x *Issue) GetStatus() *Issue_StatusValue
- func (x *Issue) GetStatusModifyTime() *timestamppb.Timestamp
- func (x *Issue) GetSummary() string
- func (*Issue) ProtoMessage()
- func (x *Issue) ProtoReflect() protoreflect.Message
- func (x *Issue) Reset()
- func (x *Issue) String() string
- type IssueContentState
- func (IssueContentState) Descriptor() protoreflect.EnumDescriptor
- func (x IssueContentState) Enum() *IssueContentState
- func (IssueContentState) EnumDescriptor() ([]byte, []int)deprecated
- func (x IssueContentState) Number() protoreflect.EnumNumber
- func (x IssueContentState) String() string
- func (IssueContentState) Type() protoreflect.EnumType
- type IssueDelta
- func (*IssueDelta) Descriptor() ([]byte, []int)deprecated
- func (x *IssueDelta) GetBlockedOnIssuesRemove() []*IssueRef
- func (x *IssueDelta) GetBlockingIssuesRemove() []*IssueRef
- func (x *IssueDelta) GetCcsRemove() []string
- func (x *IssueDelta) GetComponentsRemove() []string
- func (x *IssueDelta) GetFieldValsRemove() []*FieldValue
- func (x *IssueDelta) GetIssue() *Issue
- func (x *IssueDelta) GetLabelsRemove() []string
- func (x *IssueDelta) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*IssueDelta) ProtoMessage()
- func (x *IssueDelta) ProtoReflect() protoreflect.Message
- func (x *IssueDelta) Reset()
- func (x *IssueDelta) String() string
- type IssueRef
- type IssueTemplate
- func (*IssueTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *IssueTemplate) GetAdmins() []string
- func (x *IssueTemplate) GetApprovalValues() []*ApprovalValue
- func (x *IssueTemplate) GetComponentRequired() bool
- func (x *IssueTemplate) GetDefaultOwner() IssueTemplate_DefaultOwner
- func (x *IssueTemplate) GetDisplayName() string
- func (x *IssueTemplate) GetIssue() *Issue
- func (x *IssueTemplate) GetName() string
- func (x *IssueTemplate) GetSummaryMustBeEdited() bool
- func (x *IssueTemplate) GetTemplatePrivacy() IssueTemplate_TemplatePrivacy
- func (*IssueTemplate) ProtoMessage()
- func (x *IssueTemplate) ProtoReflect() protoreflect.Message
- func (x *IssueTemplate) Reset()
- func (x *IssueTemplate) String() string
- type IssueTemplate_DefaultOwner
- func (IssueTemplate_DefaultOwner) Descriptor() protoreflect.EnumDescriptor
- func (x IssueTemplate_DefaultOwner) Enum() *IssueTemplate_DefaultOwner
- func (IssueTemplate_DefaultOwner) EnumDescriptor() ([]byte, []int)deprecated
- func (x IssueTemplate_DefaultOwner) Number() protoreflect.EnumNumber
- func (x IssueTemplate_DefaultOwner) String() string
- func (IssueTemplate_DefaultOwner) Type() protoreflect.EnumType
- type IssueTemplate_TemplatePrivacy
- func (IssueTemplate_TemplatePrivacy) Descriptor() protoreflect.EnumDescriptor
- func (x IssueTemplate_TemplatePrivacy) Enum() *IssueTemplate_TemplatePrivacy
- func (IssueTemplate_TemplatePrivacy) EnumDescriptor() ([]byte, []int)deprecated
- func (x IssueTemplate_TemplatePrivacy) Number() protoreflect.EnumNumber
- func (x IssueTemplate_TemplatePrivacy) String() string
- func (IssueTemplate_TemplatePrivacy) Type() protoreflect.EnumType
- type Issue_ComponentValue
- func (*Issue_ComponentValue) Descriptor() ([]byte, []int)deprecated
- func (x *Issue_ComponentValue) GetComponent() string
- func (x *Issue_ComponentValue) GetDerivation() Derivation
- func (*Issue_ComponentValue) ProtoMessage()
- func (x *Issue_ComponentValue) ProtoReflect() protoreflect.Message
- func (x *Issue_ComponentValue) Reset()
- func (x *Issue_ComponentValue) String() string
- type Issue_LabelValue
- func (*Issue_LabelValue) Descriptor() ([]byte, []int)deprecated
- func (x *Issue_LabelValue) GetDerivation() Derivation
- func (x *Issue_LabelValue) GetLabel() string
- func (*Issue_LabelValue) ProtoMessage()
- func (x *Issue_LabelValue) ProtoReflect() protoreflect.Message
- func (x *Issue_LabelValue) Reset()
- func (x *Issue_LabelValue) String() string
- type Issue_StatusValue
- func (*Issue_StatusValue) Descriptor() ([]byte, []int)deprecated
- func (x *Issue_StatusValue) GetDerivation() Derivation
- func (x *Issue_StatusValue) GetStatus() string
- func (*Issue_StatusValue) ProtoMessage()
- func (x *Issue_StatusValue) ProtoReflect() protoreflect.Message
- func (x *Issue_StatusValue) Reset()
- func (x *Issue_StatusValue) String() string
- type Issue_UserValue
- func (*Issue_UserValue) Descriptor() ([]byte, []int)deprecated
- func (x *Issue_UserValue) GetDerivation() Derivation
- func (x *Issue_UserValue) GetUser() string
- func (*Issue_UserValue) ProtoMessage()
- func (x *Issue_UserValue) ProtoReflect() protoreflect.Message
- func (x *Issue_UserValue) Reset()
- func (x *Issue_UserValue) String() string
- type IssuesClient
- type IssuesListColumn
- type IssuesServer
- type LabelDef
- func (*LabelDef) Descriptor() ([]byte, []int)deprecated
- func (x *LabelDef) GetDocstring() string
- func (x *LabelDef) GetName() string
- func (x *LabelDef) GetState() LabelDef_LabelDefState
- func (x *LabelDef) GetValue() string
- func (*LabelDef) ProtoMessage()
- func (x *LabelDef) ProtoReflect() protoreflect.Message
- func (x *LabelDef) Reset()
- func (x *LabelDef) String() string
- type LabelDef_LabelDefState
- func (LabelDef_LabelDefState) Descriptor() protoreflect.EnumDescriptor
- func (x LabelDef_LabelDefState) Enum() *LabelDef_LabelDefState
- func (LabelDef_LabelDefState) EnumDescriptor() ([]byte, []int)deprecated
- func (x LabelDef_LabelDefState) Number() protoreflect.EnumNumber
- func (x LabelDef_LabelDefState) String() string
- func (LabelDef_LabelDefState) Type() protoreflect.EnumType
- type ListApprovalValuesRequest
- func (*ListApprovalValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListApprovalValuesRequest) GetParent() string
- func (*ListApprovalValuesRequest) ProtoMessage()
- func (x *ListApprovalValuesRequest) ProtoReflect() protoreflect.Message
- func (x *ListApprovalValuesRequest) Reset()
- func (x *ListApprovalValuesRequest) String() string
- type ListApprovalValuesResponse
- func (*ListApprovalValuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListApprovalValuesResponse) GetApprovalValues() []*ApprovalValue
- func (*ListApprovalValuesResponse) ProtoMessage()
- func (x *ListApprovalValuesResponse) ProtoReflect() protoreflect.Message
- func (x *ListApprovalValuesResponse) Reset()
- func (x *ListApprovalValuesResponse) String() string
- type ListCommentsRequest
- func (*ListCommentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommentsRequest) GetFilter() string
- func (x *ListCommentsRequest) GetPageSize() int32
- func (x *ListCommentsRequest) GetPageToken() string
- func (x *ListCommentsRequest) GetParent() string
- func (*ListCommentsRequest) ProtoMessage()
- func (x *ListCommentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCommentsRequest) Reset()
- func (x *ListCommentsRequest) String() string
- type ListCommentsResponse
- func (*ListCommentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommentsResponse) GetComments() []*Comment
- func (x *ListCommentsResponse) GetNextPageToken() string
- func (*ListCommentsResponse) ProtoMessage()
- func (x *ListCommentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCommentsResponse) Reset()
- func (x *ListCommentsResponse) String() string
- type ListComponentDefsRequest
- func (*ListComponentDefsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListComponentDefsRequest) GetPageSize() int32
- func (x *ListComponentDefsRequest) GetPageToken() string
- func (x *ListComponentDefsRequest) GetParent() string
- func (*ListComponentDefsRequest) ProtoMessage()
- func (x *ListComponentDefsRequest) ProtoReflect() protoreflect.Message
- func (x *ListComponentDefsRequest) Reset()
- func (x *ListComponentDefsRequest) String() string
- type ListComponentDefsResponse
- func (*ListComponentDefsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListComponentDefsResponse) GetComponentDefs() []*ComponentDef
- func (x *ListComponentDefsResponse) GetNextPageToken() string
- func (*ListComponentDefsResponse) ProtoMessage()
- func (x *ListComponentDefsResponse) ProtoReflect() protoreflect.Message
- func (x *ListComponentDefsResponse) Reset()
- func (x *ListComponentDefsResponse) String() string
- type ListHotlistItemsRequest
- func (*ListHotlistItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListHotlistItemsRequest) GetOrderBy() string
- func (x *ListHotlistItemsRequest) GetPageSize() int32
- func (x *ListHotlistItemsRequest) GetPageToken() string
- func (x *ListHotlistItemsRequest) GetParent() string
- func (*ListHotlistItemsRequest) ProtoMessage()
- func (x *ListHotlistItemsRequest) ProtoReflect() protoreflect.Message
- func (x *ListHotlistItemsRequest) Reset()
- func (x *ListHotlistItemsRequest) String() string
- type ListHotlistItemsResponse
- func (*ListHotlistItemsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListHotlistItemsResponse) GetItems() []*HotlistItem
- func (x *ListHotlistItemsResponse) GetNextPageToken() string
- func (*ListHotlistItemsResponse) ProtoMessage()
- func (x *ListHotlistItemsResponse) ProtoReflect() protoreflect.Message
- func (x *ListHotlistItemsResponse) Reset()
- func (x *ListHotlistItemsResponse) String() string
- type ListIssueTemplatesRequest
- func (*ListIssueTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIssueTemplatesRequest) GetPageSize() int32
- func (x *ListIssueTemplatesRequest) GetPageToken() string
- func (x *ListIssueTemplatesRequest) GetParent() string
- func (*ListIssueTemplatesRequest) ProtoMessage()
- func (x *ListIssueTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListIssueTemplatesRequest) Reset()
- func (x *ListIssueTemplatesRequest) String() string
- type ListIssueTemplatesResponse
- func (*ListIssueTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIssueTemplatesResponse) GetNextPageToken() string
- func (x *ListIssueTemplatesResponse) GetTemplates() []*IssueTemplate
- func (*ListIssueTemplatesResponse) ProtoMessage()
- func (x *ListIssueTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListIssueTemplatesResponse) Reset()
- func (x *ListIssueTemplatesResponse) String() string
- type ListProjectStarsRequest
- func (*ListProjectStarsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectStarsRequest) GetPageSize() int32
- func (x *ListProjectStarsRequest) GetPageToken() string
- func (x *ListProjectStarsRequest) GetParent() string
- func (*ListProjectStarsRequest) ProtoMessage()
- func (x *ListProjectStarsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProjectStarsRequest) Reset()
- func (x *ListProjectStarsRequest) String() string
- type ListProjectStarsResponse
- func (*ListProjectStarsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectStarsResponse) GetNextPageToken() string
- func (x *ListProjectStarsResponse) GetProjectStars() []*ProjectStar
- func (*ListProjectStarsResponse) ProtoMessage()
- func (x *ListProjectStarsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectStarsResponse) Reset()
- func (x *ListProjectStarsResponse) String() string
- type ListProjectsRequest
- func (*ListProjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsRequest) GetPageSize() int32
- func (x *ListProjectsRequest) GetPageToken() string
- func (*ListProjectsRequest) ProtoMessage()
- func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProjectsRequest) Reset()
- func (x *ListProjectsRequest) String() string
- type ListProjectsResponse
- func (*ListProjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsResponse) GetNextPageToken() string
- func (x *ListProjectsResponse) GetProjects() []*Project
- func (*ListProjectsResponse) ProtoMessage()
- func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectsResponse) Reset()
- func (x *ListProjectsResponse) String() string
- type MakeIssueFromTemplateRequest
- func (*MakeIssueFromTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MakeIssueFromTemplateRequest) GetDescription() string
- func (x *MakeIssueFromTemplateRequest) GetTemplate() string
- func (x *MakeIssueFromTemplateRequest) GetTemplateApprovalDeltas() []*ApprovalDelta
- func (x *MakeIssueFromTemplateRequest) GetTemplateIssueDelta() *IssueDelta
- func (*MakeIssueFromTemplateRequest) ProtoMessage()
- func (x *MakeIssueFromTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *MakeIssueFromTemplateRequest) Reset()
- func (x *MakeIssueFromTemplateRequest) String() string
- type MakeIssueRequest
- func (*MakeIssueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MakeIssueRequest) GetDescription() string
- func (x *MakeIssueRequest) GetIssue() *Issue
- func (x *MakeIssueRequest) GetNotifyType() NotifyType
- func (x *MakeIssueRequest) GetParent() string
- func (x *MakeIssueRequest) GetUploads() []*AttachmentUpload
- func (*MakeIssueRequest) ProtoMessage()
- func (x *MakeIssueRequest) ProtoReflect() protoreflect.Message
- func (x *MakeIssueRequest) Reset()
- func (x *MakeIssueRequest) String() string
- type ModifyCommentStateRequest
- func (*ModifyCommentStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyCommentStateRequest) GetName() string
- func (x *ModifyCommentStateRequest) GetState() IssueContentState
- func (*ModifyCommentStateRequest) ProtoMessage()
- func (x *ModifyCommentStateRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyCommentStateRequest) Reset()
- func (x *ModifyCommentStateRequest) String() string
- type ModifyCommentStateResponse
- func (*ModifyCommentStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyCommentStateResponse) GetComment() *Comment
- func (*ModifyCommentStateResponse) ProtoMessage()
- func (x *ModifyCommentStateResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyCommentStateResponse) Reset()
- func (x *ModifyCommentStateResponse) String() string
- type ModifyIssueApprovalValuesRequest
- func (*ModifyIssueApprovalValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyIssueApprovalValuesRequest) GetCommentContent() string
- func (x *ModifyIssueApprovalValuesRequest) GetDeltas() []*ApprovalDelta
- func (x *ModifyIssueApprovalValuesRequest) GetNotifyType() NotifyType
- func (*ModifyIssueApprovalValuesRequest) ProtoMessage()
- func (x *ModifyIssueApprovalValuesRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyIssueApprovalValuesRequest) Reset()
- func (x *ModifyIssueApprovalValuesRequest) String() string
- type ModifyIssueApprovalValuesResponse
- func (*ModifyIssueApprovalValuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyIssueApprovalValuesResponse) GetApprovalValues() []*ApprovalValue
- func (*ModifyIssueApprovalValuesResponse) ProtoMessage()
- func (x *ModifyIssueApprovalValuesResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyIssueApprovalValuesResponse) Reset()
- func (x *ModifyIssueApprovalValuesResponse) String() string
- type ModifyIssuesRequest
- func (*ModifyIssuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyIssuesRequest) GetCommentContent() string
- func (x *ModifyIssuesRequest) GetDeltas() []*IssueDelta
- func (x *ModifyIssuesRequest) GetNotifyType() NotifyType
- func (x *ModifyIssuesRequest) GetUploads() []*AttachmentUpload
- func (*ModifyIssuesRequest) ProtoMessage()
- func (x *ModifyIssuesRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyIssuesRequest) Reset()
- func (x *ModifyIssuesRequest) String() string
- type ModifyIssuesResponse
- func (*ModifyIssuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyIssuesResponse) GetIssues() []*Issue
- func (*ModifyIssuesResponse) ProtoMessage()
- func (x *ModifyIssuesResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyIssuesResponse) Reset()
- func (x *ModifyIssuesResponse) String() string
- type NotifyType
- type Permission
- type PermissionSet
- func (*PermissionSet) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionSet) GetPermissions() []Permission
- func (x *PermissionSet) GetResource() string
- func (*PermissionSet) ProtoMessage()
- func (x *PermissionSet) ProtoReflect() protoreflect.Message
- func (x *PermissionSet) Reset()
- func (x *PermissionSet) String() string
- type PermissionsClient
- type PermissionsServer
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetDisplayName() string
- func (x *Project) GetName() string
- func (x *Project) GetSummary() string
- func (x *Project) GetThumbnailUrl() string
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProjectConfig
- func (*ProjectConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectConfig) GetCustomIssueEntryUrl() string
- func (x *ProjectConfig) GetDefaultColumns() []*IssuesListColumn
- func (x *ProjectConfig) GetDefaultSort() string
- func (x *ProjectConfig) GetExclusiveLabelPrefixes() []string
- func (x *ProjectConfig) GetMemberDefaultQuery() string
- func (x *ProjectConfig) GetMemberDefaultTemplate() string
- func (x *ProjectConfig) GetName() string
- func (x *ProjectConfig) GetNonMembersDefaultTemplate() string
- func (x *ProjectConfig) GetProjectGridConfig() *ProjectConfig_GridViewConfig
- func (x *ProjectConfig) GetRevisionUrlFormat() string
- func (*ProjectConfig) ProtoMessage()
- func (x *ProjectConfig) ProtoReflect() protoreflect.Message
- func (x *ProjectConfig) Reset()
- func (x *ProjectConfig) String() string
- type ProjectConfig_GridViewConfig
- func (*ProjectConfig_GridViewConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectConfig_GridViewConfig) GetDefaultXAttr() string
- func (x *ProjectConfig_GridViewConfig) GetDefaultYAttr() string
- func (*ProjectConfig_GridViewConfig) ProtoMessage()
- func (x *ProjectConfig_GridViewConfig) ProtoReflect() protoreflect.Message
- func (x *ProjectConfig_GridViewConfig) Reset()
- func (x *ProjectConfig_GridViewConfig) String() string
- type ProjectMember
- func (*ProjectMember) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectMember) GetCustomPerms() []string
- func (x *ProjectMember) GetIncludeInAutocomplete() ProjectMember_AutocompleteVisibility
- func (x *ProjectMember) GetName() string
- func (x *ProjectMember) GetNotes() string
- func (x *ProjectMember) GetRole() ProjectMember_ProjectRole
- func (x *ProjectMember) GetStandardPerms() []Permission
- func (*ProjectMember) ProtoMessage()
- func (x *ProjectMember) ProtoReflect() protoreflect.Message
- func (x *ProjectMember) Reset()
- func (x *ProjectMember) String() string
- type ProjectMember_AutocompleteVisibility
- func (ProjectMember_AutocompleteVisibility) Descriptor() protoreflect.EnumDescriptor
- func (x ProjectMember_AutocompleteVisibility) Enum() *ProjectMember_AutocompleteVisibility
- func (ProjectMember_AutocompleteVisibility) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProjectMember_AutocompleteVisibility) Number() protoreflect.EnumNumber
- func (x ProjectMember_AutocompleteVisibility) String() string
- func (ProjectMember_AutocompleteVisibility) Type() protoreflect.EnumType
- type ProjectMember_ProjectRole
- func (ProjectMember_ProjectRole) Descriptor() protoreflect.EnumDescriptor
- func (x ProjectMember_ProjectRole) Enum() *ProjectMember_ProjectRole
- func (ProjectMember_ProjectRole) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProjectMember_ProjectRole) Number() protoreflect.EnumNumber
- func (x ProjectMember_ProjectRole) String() string
- func (ProjectMember_ProjectRole) Type() protoreflect.EnumType
- type ProjectSavedQuery
- func (*ProjectSavedQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectSavedQuery) GetDisplayName() string
- func (x *ProjectSavedQuery) GetName() string
- func (x *ProjectSavedQuery) GetQuery() string
- func (*ProjectSavedQuery) ProtoMessage()
- func (x *ProjectSavedQuery) ProtoReflect() protoreflect.Message
- func (x *ProjectSavedQuery) Reset()
- func (x *ProjectSavedQuery) String() string
- type ProjectStar
- type ProjectsClient
- type ProjectsServer
- type RemoveHotlistEditorsRequest
- func (*RemoveHotlistEditorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveHotlistEditorsRequest) GetEditors() []string
- func (x *RemoveHotlistEditorsRequest) GetName() string
- func (*RemoveHotlistEditorsRequest) ProtoMessage()
- func (x *RemoveHotlistEditorsRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveHotlistEditorsRequest) Reset()
- func (x *RemoveHotlistEditorsRequest) String() string
- type RemoveHotlistItemsRequest
- func (*RemoveHotlistItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveHotlistItemsRequest) GetIssues() []string
- func (x *RemoveHotlistItemsRequest) GetParent() string
- func (*RemoveHotlistItemsRequest) ProtoMessage()
- func (x *RemoveHotlistItemsRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveHotlistItemsRequest) Reset()
- func (x *RemoveHotlistItemsRequest) String() string
- type RerankHotlistItemsRequest
- func (*RerankHotlistItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RerankHotlistItemsRequest) GetHotlistItems() []string
- func (x *RerankHotlistItemsRequest) GetName() string
- func (x *RerankHotlistItemsRequest) GetTargetPosition() uint32
- func (*RerankHotlistItemsRequest) ProtoMessage()
- func (x *RerankHotlistItemsRequest) ProtoReflect() protoreflect.Message
- func (x *RerankHotlistItemsRequest) Reset()
- func (x *RerankHotlistItemsRequest) String() string
- type SearchIssuesRequest
- func (*SearchIssuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchIssuesRequest) GetOrderBy() string
- func (x *SearchIssuesRequest) GetPageSize() int32
- func (x *SearchIssuesRequest) GetPageToken() string
- func (x *SearchIssuesRequest) GetProjects() []string
- func (x *SearchIssuesRequest) GetQuery() string
- func (*SearchIssuesRequest) ProtoMessage()
- func (x *SearchIssuesRequest) ProtoReflect() protoreflect.Message
- func (x *SearchIssuesRequest) Reset()
- func (x *SearchIssuesRequest) String() string
- type SearchIssuesResponse
- func (*SearchIssuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchIssuesResponse) GetIssues() []*Issue
- func (x *SearchIssuesResponse) GetNextPageToken() string
- func (*SearchIssuesResponse) ProtoMessage()
- func (x *SearchIssuesResponse) ProtoReflect() protoreflect.Message
- func (x *SearchIssuesResponse) Reset()
- func (x *SearchIssuesResponse) String() string
- type StarProjectRequest
- func (*StarProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StarProjectRequest) GetProject() string
- func (*StarProjectRequest) ProtoMessage()
- func (x *StarProjectRequest) ProtoReflect() protoreflect.Message
- func (x *StarProjectRequest) Reset()
- func (x *StarProjectRequest) String() string
- type StatusDef
- func (*StatusDef) Descriptor() ([]byte, []int)deprecated
- func (x *StatusDef) GetDocstring() string
- func (x *StatusDef) GetName() string
- func (x *StatusDef) GetRank() uint32
- func (x *StatusDef) GetState() StatusDef_StatusDefState
- func (x *StatusDef) GetType() StatusDef_StatusDefType
- func (x *StatusDef) GetValue() string
- func (*StatusDef) ProtoMessage()
- func (x *StatusDef) ProtoReflect() protoreflect.Message
- func (x *StatusDef) Reset()
- func (x *StatusDef) String() string
- type StatusDef_StatusDefState
- func (StatusDef_StatusDefState) Descriptor() protoreflect.EnumDescriptor
- func (x StatusDef_StatusDefState) Enum() *StatusDef_StatusDefState
- func (StatusDef_StatusDefState) EnumDescriptor() ([]byte, []int)deprecated
- func (x StatusDef_StatusDefState) Number() protoreflect.EnumNumber
- func (x StatusDef_StatusDefState) String() string
- func (StatusDef_StatusDefState) Type() protoreflect.EnumType
- type StatusDef_StatusDefType
- func (StatusDef_StatusDefType) Descriptor() protoreflect.EnumDescriptor
- func (x StatusDef_StatusDefType) Enum() *StatusDef_StatusDefType
- func (StatusDef_StatusDefType) EnumDescriptor() ([]byte, []int)deprecated
- func (x StatusDef_StatusDefType) Number() protoreflect.EnumNumber
- func (x StatusDef_StatusDefType) String() string
- func (StatusDef_StatusDefType) Type() protoreflect.EnumType
- type UnStarProjectRequest
- func (*UnStarProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnStarProjectRequest) GetProject() string
- func (*UnStarProjectRequest) ProtoMessage()
- func (x *UnStarProjectRequest) ProtoReflect() protoreflect.Message
- func (x *UnStarProjectRequest) Reset()
- func (x *UnStarProjectRequest) String() string
- type UnimplementedFrontendServer
- func (*UnimplementedFrontendServer) GatherProjectEnvironment(context.Context, *GatherProjectEnvironmentRequest) (*GatherProjectEnvironmentResponse, error)
- func (*UnimplementedFrontendServer) GatherProjectMembershipsForUser(context.Context, *GatherProjectMembershipsForUserRequest) (*GatherProjectMembershipsForUserResponse, error)
- type UnimplementedHotlistsServer
- func (*UnimplementedHotlistsServer) AddHotlistItems(context.Context, *AddHotlistItemsRequest) (*emptypb.Empty, error)
- func (*UnimplementedHotlistsServer) CreateHotlist(context.Context, *CreateHotlistRequest) (*Hotlist, error)
- func (*UnimplementedHotlistsServer) DeleteHotlist(context.Context, *GetHotlistRequest) (*emptypb.Empty, error)
- func (*UnimplementedHotlistsServer) GatherHotlistsForUser(context.Context, *GatherHotlistsForUserRequest) (*GatherHotlistsForUserResponse, error)
- func (*UnimplementedHotlistsServer) GetHotlist(context.Context, *GetHotlistRequest) (*Hotlist, error)
- func (*UnimplementedHotlistsServer) ListHotlistItems(context.Context, *ListHotlistItemsRequest) (*ListHotlistItemsResponse, error)
- func (*UnimplementedHotlistsServer) RemoveHotlistEditors(context.Context, *RemoveHotlistEditorsRequest) (*emptypb.Empty, error)
- func (*UnimplementedHotlistsServer) RemoveHotlistItems(context.Context, *RemoveHotlistItemsRequest) (*emptypb.Empty, error)
- func (*UnimplementedHotlistsServer) RerankHotlistItems(context.Context, *RerankHotlistItemsRequest) (*emptypb.Empty, error)
- func (*UnimplementedHotlistsServer) UpdateHotlist(context.Context, *UpdateHotlistRequest) (*Hotlist, error)
- type UnimplementedIssuesServer
- func (*UnimplementedIssuesServer) BatchGetIssues(context.Context, *BatchGetIssuesRequest) (*BatchGetIssuesResponse, error)
- func (*UnimplementedIssuesServer) GetIssue(context.Context, *GetIssueRequest) (*Issue, error)
- func (*UnimplementedIssuesServer) ListApprovalValues(context.Context, *ListApprovalValuesRequest) (*ListApprovalValuesResponse, error)
- func (*UnimplementedIssuesServer) ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error)
- func (*UnimplementedIssuesServer) MakeIssue(context.Context, *MakeIssueRequest) (*Issue, error)
- func (*UnimplementedIssuesServer) MakeIssueFromTemplate(context.Context, *MakeIssueFromTemplateRequest) (*Issue, error)
- func (*UnimplementedIssuesServer) ModifyCommentState(context.Context, *ModifyCommentStateRequest) (*ModifyCommentStateResponse, error)
- func (*UnimplementedIssuesServer) ModifyIssueApprovalValues(context.Context, *ModifyIssueApprovalValuesRequest) (*ModifyIssueApprovalValuesResponse, error)
- func (*UnimplementedIssuesServer) ModifyIssues(context.Context, *ModifyIssuesRequest) (*ModifyIssuesResponse, error)
- func (*UnimplementedIssuesServer) SearchIssues(context.Context, *SearchIssuesRequest) (*SearchIssuesResponse, error)
- type UnimplementedPermissionsServer
- type UnimplementedProjectsServer
- func (*UnimplementedProjectsServer) CreateComponentDef(context.Context, *CreateComponentDefRequest) (*ComponentDef, error)
- func (*UnimplementedProjectsServer) CreateFieldDef(context.Context, *CreateFieldDefRequest) (*FieldDef, error)
- func (*UnimplementedProjectsServer) DeleteComponentDef(context.Context, *DeleteComponentDefRequest) (*emptypb.Empty, error)
- func (*UnimplementedProjectsServer) GetComponentDef(context.Context, *GetComponentDefRequest) (*ComponentDef, error)
- func (*UnimplementedProjectsServer) ListComponentDefs(context.Context, *ListComponentDefsRequest) (*ListComponentDefsResponse, error)
- func (*UnimplementedProjectsServer) ListIssueTemplates(context.Context, *ListIssueTemplatesRequest) (*ListIssueTemplatesResponse, error)
- func (*UnimplementedProjectsServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
- type UnimplementedUsersServer
- func (*UnimplementedUsersServer) BatchGetUsers(context.Context, *BatchGetUsersRequest) (*BatchGetUsersResponse, error)
- func (*UnimplementedUsersServer) GetUser(context.Context, *GetUserRequest) (*User, error)
- func (*UnimplementedUsersServer) ListProjectStars(context.Context, *ListProjectStarsRequest) (*ListProjectStarsResponse, error)
- func (*UnimplementedUsersServer) StarProject(context.Context, *StarProjectRequest) (*ProjectStar, error)
- func (*UnimplementedUsersServer) UnStarProject(context.Context, *UnStarProjectRequest) (*emptypb.Empty, error)
- func (*UnimplementedUsersServer) UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
- type UpdateHotlistRequest
- func (*UpdateHotlistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateHotlistRequest) GetHotlist() *Hotlist
- func (x *UpdateHotlistRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateHotlistRequest) ProtoMessage()
- func (x *UpdateHotlistRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateHotlistRequest) Reset()
- func (x *UpdateHotlistRequest) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateUserRequest) GetUser() *User
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvailabilityMessage() string
- func (x *User) GetDisplayName() string
- func (x *User) GetEmail() string
- func (x *User) GetLastVisitTimestamp() int32
- func (x *User) GetName() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserSavedQuery
- func (*UserSavedQuery) Descriptor() ([]byte, []int)deprecated
- func (x *UserSavedQuery) GetDisplayName() string
- func (x *UserSavedQuery) GetName() string
- func (x *UserSavedQuery) GetProjects() []string
- func (x *UserSavedQuery) GetQuery() string
- func (x *UserSavedQuery) GetSubscriptionMode() UserSavedQuery_SubscriptionMode
- func (*UserSavedQuery) ProtoMessage()
- func (x *UserSavedQuery) ProtoReflect() protoreflect.Message
- func (x *UserSavedQuery) Reset()
- func (x *UserSavedQuery) String() string
- type UserSavedQuery_SubscriptionMode
- func (UserSavedQuery_SubscriptionMode) Descriptor() protoreflect.EnumDescriptor
- func (x UserSavedQuery_SubscriptionMode) Enum() *UserSavedQuery_SubscriptionMode
- func (UserSavedQuery_SubscriptionMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSavedQuery_SubscriptionMode) Number() protoreflect.EnumNumber
- func (x UserSavedQuery_SubscriptionMode) String() string
- func (UserSavedQuery_SubscriptionMode) Type() protoreflect.EnumType
- type UserSettings
- func (*UserSettings) Descriptor() ([]byte, []int)deprecated
- func (x *UserSettings) GetLinkedSecondaryUsers() []string
- func (x *UserSettings) GetName() string
- func (x *UserSettings) GetNotificationTraits() []UserSettings_NotificationTraits
- func (x *UserSettings) GetPrivacyTraits() []UserSettings_PrivacyTraits
- func (x *UserSettings) GetSiteAccess() *UserSettings_SiteAccess
- func (x *UserSettings) GetSiteInteractionTraits() []UserSettings_SiteInteractionTraits
- func (x *UserSettings) GetSiteRole() UserSettings_SiteRole
- func (*UserSettings) ProtoMessage()
- func (x *UserSettings) ProtoReflect() protoreflect.Message
- func (x *UserSettings) Reset()
- func (x *UserSettings) String() string
- type UserSettings_NotificationTraits
- func (UserSettings_NotificationTraits) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettings_NotificationTraits) Enum() *UserSettings_NotificationTraits
- func (UserSettings_NotificationTraits) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettings_NotificationTraits) Number() protoreflect.EnumNumber
- func (x UserSettings_NotificationTraits) String() string
- func (UserSettings_NotificationTraits) Type() protoreflect.EnumType
- type UserSettings_PrivacyTraits
- func (UserSettings_PrivacyTraits) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettings_PrivacyTraits) Enum() *UserSettings_PrivacyTraits
- func (UserSettings_PrivacyTraits) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettings_PrivacyTraits) Number() protoreflect.EnumNumber
- func (x UserSettings_PrivacyTraits) String() string
- func (UserSettings_PrivacyTraits) Type() protoreflect.EnumType
- type UserSettings_SiteAccess
- func (*UserSettings_SiteAccess) Descriptor() ([]byte, []int)deprecated
- func (x *UserSettings_SiteAccess) GetReason() string
- func (x *UserSettings_SiteAccess) GetStatus() UserSettings_SiteAccess_Status
- func (*UserSettings_SiteAccess) ProtoMessage()
- func (x *UserSettings_SiteAccess) ProtoReflect() protoreflect.Message
- func (x *UserSettings_SiteAccess) Reset()
- func (x *UserSettings_SiteAccess) String() string
- type UserSettings_SiteAccess_Status
- func (UserSettings_SiteAccess_Status) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettings_SiteAccess_Status) Enum() *UserSettings_SiteAccess_Status
- func (UserSettings_SiteAccess_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettings_SiteAccess_Status) Number() protoreflect.EnumNumber
- func (x UserSettings_SiteAccess_Status) String() string
- func (UserSettings_SiteAccess_Status) Type() protoreflect.EnumType
- type UserSettings_SiteInteractionTraits
- func (UserSettings_SiteInteractionTraits) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettings_SiteInteractionTraits) Enum() *UserSettings_SiteInteractionTraits
- func (UserSettings_SiteInteractionTraits) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettings_SiteInteractionTraits) Number() protoreflect.EnumNumber
- func (x UserSettings_SiteInteractionTraits) String() string
- func (UserSettings_SiteInteractionTraits) Type() protoreflect.EnumType
- type UserSettings_SiteRole
- func (UserSettings_SiteRole) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettings_SiteRole) Enum() *UserSettings_SiteRole
- func (UserSettings_SiteRole) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettings_SiteRole) Number() protoreflect.EnumNumber
- func (x UserSettings_SiteRole) String() string
- func (UserSettings_SiteRole) Type() protoreflect.EnumType
- type UsersClient
- type UsersServer
Constants ¶
This section is empty.
Variables ¶
var ( Hotlist_HotlistPrivacy_name = map[int32]string{ 0: "HOTLIST_PRIVACY_UNSPECIFIED", 1: "PRIVATE", 2: "PUBLIC", } Hotlist_HotlistPrivacy_value = map[string]int32{ "HOTLIST_PRIVACY_UNSPECIFIED": 0, "PRIVATE": 1, "PUBLIC": 2, } )
Enum value maps for Hotlist_HotlistPrivacy.
var ( Derivation_name = map[int32]string{ 0: "DERIVATION_UNSPECIFIED", 1: "EXPLICIT", 2: "RULE", } Derivation_value = map[string]int32{ "DERIVATION_UNSPECIFIED": 0, "EXPLICIT": 1, "RULE": 2, } )
Enum value maps for Derivation.
var ( IssueContentState_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "ACTIVE", 2: "DELETED", 3: "SPAM", } IssueContentState_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "ACTIVE": 1, "DELETED": 2, "SPAM": 3, } )
Enum value maps for IssueContentState.
var ( Comment_Type_name = map[int32]string{ 0: "UNSPECIFIED", 1: "COMMENT", 2: "DESCRIPTION", } Comment_Type_value = map[string]int32{ "UNSPECIFIED": 0, "COMMENT": 1, "DESCRIPTION": 2, } )
Enum value maps for Comment_Type.
var ( ApprovalValue_ApprovalStatus_name = map[int32]string{ 0: "APPROVAL_STATUS_UNSPECIFIED", 1: "NOT_SET", 2: "NEEDS_REVIEW", 3: "NA", 4: "REVIEW_REQUESTED", 5: "REVIEW_STARTED", 6: "NEED_INFO", 7: "APPROVED", 8: "NOT_APPROVED", } ApprovalValue_ApprovalStatus_value = map[string]int32{ "APPROVAL_STATUS_UNSPECIFIED": 0, "NOT_SET": 1, "NEEDS_REVIEW": 2, "NA": 3, "REVIEW_REQUESTED": 4, "REVIEW_STARTED": 5, "NEED_INFO": 6, "APPROVED": 7, "NOT_APPROVED": 8, } )
Enum value maps for ApprovalValue_ApprovalStatus.
var ( NotifyType_name = map[int32]string{ 0: "NOTIFY_TYPE_UNSPECIFIED", 1: "EMAIL", 2: "NO_NOTIFICATION", } NotifyType_value = map[string]int32{ "NOTIFY_TYPE_UNSPECIFIED": 0, "EMAIL": 1, "NO_NOTIFICATION": 2, } )
Enum value maps for NotifyType.
var ( Permission_name = map[int32]string{ 0: "PERMISSION_UNSPECIFIED", 1: "HOTLIST_EDIT", 2: "HOTLIST_ADMINISTER", 3: "ISSUE_EDIT", 4: "FIELD_DEF_EDIT", 5: "FIELD_DEF_VALUE_EDIT", } Permission_value = map[string]int32{ "PERMISSION_UNSPECIFIED": 0, "HOTLIST_EDIT": 1, "HOTLIST_ADMINISTER": 2, "ISSUE_EDIT": 3, "FIELD_DEF_EDIT": 4, "FIELD_DEF_VALUE_EDIT": 5, } )
Enum value maps for Permission.
var ( StatusDef_StatusDefType_name = map[int32]string{ 0: "STATUS_DEF_TYPE_UNSPECIFIED", 1: "OPEN", 2: "CLOSED", 3: "MERGED", } StatusDef_StatusDefType_value = map[string]int32{ "STATUS_DEF_TYPE_UNSPECIFIED": 0, "OPEN": 1, "CLOSED": 2, "MERGED": 3, } )
Enum value maps for StatusDef_StatusDefType.
var ( StatusDef_StatusDefState_name = map[int32]string{ 0: "STATUS_DEF_STATE_UNSPECIFIED", 1: "DEPRECATED", 2: "ACTIVE", } StatusDef_StatusDefState_value = map[string]int32{ "STATUS_DEF_STATE_UNSPECIFIED": 0, "DEPRECATED": 1, "ACTIVE": 2, } )
Enum value maps for StatusDef_StatusDefState.
var ( LabelDef_LabelDefState_name = map[int32]string{ 0: "LABEL_DEF_STATE_UNSPECIFIED", 1: "DEPRECATED", 2: "ACTIVE", } LabelDef_LabelDefState_value = map[string]int32{ "LABEL_DEF_STATE_UNSPECIFIED": 0, "DEPRECATED": 1, "ACTIVE": 2, } )
Enum value maps for LabelDef_LabelDefState.
var ( FieldDef_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "ENUM", 2: "INT", 3: "STR", 4: "USER", 5: "DATE", 6: "URL", } FieldDef_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "ENUM": 1, "INT": 2, "STR": 3, "USER": 4, "DATE": 5, "URL": 6, } )
Enum value maps for FieldDef_Type.
var ( FieldDef_Traits_name = map[int32]string{ 0: "TRAITS_UNSPECIFIED", 1: "REQUIRED", 2: "DEFAULT_HIDDEN", 3: "MULTIVALUED", 4: "PHASE", 5: "RESTRICTED", } FieldDef_Traits_value = map[string]int32{ "TRAITS_UNSPECIFIED": 0, "REQUIRED": 1, "DEFAULT_HIDDEN": 2, "MULTIVALUED": 3, "PHASE": 4, "RESTRICTED": 5, } )
Enum value maps for FieldDef_Traits.
var ( FieldDef_UserTypeSettings_NotifyTriggers_name = map[int32]string{ 0: "NOTIFY_TRIGGERS_UNSPECIFIED", 1: "NEVER", 2: "ANY_COMMENT", } FieldDef_UserTypeSettings_NotifyTriggers_value = map[string]int32{ "NOTIFY_TRIGGERS_UNSPECIFIED": 0, "NEVER": 1, "ANY_COMMENT": 2, } )
Enum value maps for FieldDef_UserTypeSettings_NotifyTriggers.
var ( FieldDef_UserTypeSettings_RoleRequirements_name = map[int32]string{ 0: "ROLE_REQUIREMENTS_UNSPECIFIED", 1: "NO_ROLE_REQUIREMENT", 2: "PROJECT_MEMBER", } FieldDef_UserTypeSettings_RoleRequirements_value = map[string]int32{ "ROLE_REQUIREMENTS_UNSPECIFIED": 0, "NO_ROLE_REQUIREMENT": 1, "PROJECT_MEMBER": 2, } )
Enum value maps for FieldDef_UserTypeSettings_RoleRequirements.
var ( FieldDef_DateTypeSettings_DateAction_name = map[int32]string{ 0: "DATE_ACTION_UNSPECIFIED", 1: "NO_ACTION", 2: "NOTIFY_OWNER", 3: "NOTIFY_PARTICIPANTS", } FieldDef_DateTypeSettings_DateAction_value = map[string]int32{ "DATE_ACTION_UNSPECIFIED": 0, "NO_ACTION": 1, "NOTIFY_OWNER": 2, "NOTIFY_PARTICIPANTS": 3, } )
Enum value maps for FieldDef_DateTypeSettings_DateAction.
var ( ComponentDef_ComponentDefState_name = map[int32]string{ 0: "COMPONENT_DEF_STATE_UNSPECIFIED", 1: "DEPRECATED", 2: "ACTIVE", } ComponentDef_ComponentDefState_value = map[string]int32{ "COMPONENT_DEF_STATE_UNSPECIFIED": 0, "DEPRECATED": 1, "ACTIVE": 2, } )
Enum value maps for ComponentDef_ComponentDefState.
var ( IssueTemplate_TemplatePrivacy_name = map[int32]string{ 0: "TEMPLATE_PRIVACY_UNSPECIFIED", 1: "MEMBERS_ONLY", 2: "PUBLIC", } IssueTemplate_TemplatePrivacy_value = map[string]int32{ "TEMPLATE_PRIVACY_UNSPECIFIED": 0, "MEMBERS_ONLY": 1, "PUBLIC": 2, } )
Enum value maps for IssueTemplate_TemplatePrivacy.
var ( IssueTemplate_DefaultOwner_name = map[int32]string{ 0: "DEFAULT_OWNER_UNSPECIFIED", 1: "PROJECT_MEMBER_REPORTER", } IssueTemplate_DefaultOwner_value = map[string]int32{ "DEFAULT_OWNER_UNSPECIFIED": 0, "PROJECT_MEMBER_REPORTER": 1, } )
Enum value maps for IssueTemplate_DefaultOwner.
var ( ProjectMember_ProjectRole_name = map[int32]string{ 0: "PROJECT_ROLE_UNSPECIFIED", 1: "OWNER", 2: "COMMITTER", 3: "CONTRIBUTOR", } ProjectMember_ProjectRole_value = map[string]int32{ "PROJECT_ROLE_UNSPECIFIED": 0, "OWNER": 1, "COMMITTER": 2, "CONTRIBUTOR": 3, } )
Enum value maps for ProjectMember_ProjectRole.
var ( ProjectMember_AutocompleteVisibility_name = map[int32]string{ 0: "AUTOCOMPLETE_VISIBILITY_UNSPECIFIED", 1: "HIDDEN", 2: "SHOWN", } ProjectMember_AutocompleteVisibility_value = map[string]int32{ "AUTOCOMPLETE_VISIBILITY_UNSPECIFIED": 0, "HIDDEN": 1, "SHOWN": 2, } )
Enum value maps for ProjectMember_AutocompleteVisibility.
var ( UserSettings_SiteRole_name = map[int32]string{ 0: "SITE_ROLE_UNSPECIFIED", 1: "NORMAL", 2: "ADMIN", } UserSettings_SiteRole_value = map[string]int32{ "SITE_ROLE_UNSPECIFIED": 0, "NORMAL": 1, "ADMIN": 2, } )
Enum value maps for UserSettings_SiteRole.
var ( UserSettings_NotificationTraits_name = map[int32]string{ 0: "NOTIFICATION_TRAITS_UNSPECIFIED", 1: "NOTIFY_ON_OWNED_OR_CC_ISSUE_CHANGES", 2: "NOTIFY_ON_STARRED_ISSUE_CHANGES", 3: "NOTIFY_ON_STARRED_NOTIFY_DATES", 4: "COMPACT_SUBJECT_LINE", 5: "GMAIL_INCLUDE_ISSUE_LINK_BUTTON", } UserSettings_NotificationTraits_value = map[string]int32{ "NOTIFICATION_TRAITS_UNSPECIFIED": 0, "NOTIFY_ON_OWNED_OR_CC_ISSUE_CHANGES": 1, "NOTIFY_ON_STARRED_ISSUE_CHANGES": 2, "NOTIFY_ON_STARRED_NOTIFY_DATES": 3, "COMPACT_SUBJECT_LINE": 4, "GMAIL_INCLUDE_ISSUE_LINK_BUTTON": 5, } )
Enum value maps for UserSettings_NotificationTraits.
var ( UserSettings_PrivacyTraits_name = map[int32]string{ 0: "PRIVACY_TRAITS_UNSPECIFIED", 1: "OBSCURE_EMAIL", } UserSettings_PrivacyTraits_value = map[string]int32{ "PRIVACY_TRAITS_UNSPECIFIED": 0, "OBSCURE_EMAIL": 1, } )
Enum value maps for UserSettings_PrivacyTraits.
var ( UserSettings_SiteInteractionTraits_name = map[int32]string{ 0: "SITE_INTERACTION_TRAITS_UNSPECIFIED", 1: "REPORT_RESTRICT_VIEW_GOOGLE_ISSUES", 2: "PUBLIC_ISSUE_BANNER", } UserSettings_SiteInteractionTraits_value = map[string]int32{ "SITE_INTERACTION_TRAITS_UNSPECIFIED": 0, "REPORT_RESTRICT_VIEW_GOOGLE_ISSUES": 1, "PUBLIC_ISSUE_BANNER": 2, } )
Enum value maps for UserSettings_SiteInteractionTraits.
var ( UserSettings_SiteAccess_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "FULL_ACCESS", 2: "BANNED", } UserSettings_SiteAccess_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "FULL_ACCESS": 1, "BANNED": 2, } )
Enum value maps for UserSettings_SiteAccess_Status.
var ( UserSavedQuery_SubscriptionMode_name = map[int32]string{ 0: "SUBSCRIPTION_MODE_UNSPECIFIED", 1: "NO_NOTIFICATION", 2: "IMMEDIATE_NOTIFICATION", } UserSavedQuery_SubscriptionMode_value = map[string]int32{ "SUBSCRIPTION_MODE_UNSPECIFIED": 0, "NO_NOTIFICATION": 1, "IMMEDIATE_NOTIFICATION": 2, } )
Enum value maps for UserSavedQuery_SubscriptionMode.
var File_api_v3_api_proto_feature_objects_proto protoreflect.FileDescriptor
var File_api_v3_api_proto_frontend_proto protoreflect.FileDescriptor
var File_api_v3_api_proto_hotlists_proto protoreflect.FileDescriptor
var File_api_v3_api_proto_issue_objects_proto protoreflect.FileDescriptor
var File_api_v3_api_proto_issues_proto protoreflect.FileDescriptor
var File_api_v3_api_proto_permission_objects_proto protoreflect.FileDescriptor
var File_api_v3_api_proto_permissions_proto protoreflect.FileDescriptor
var File_api_v3_api_proto_project_objects_proto protoreflect.FileDescriptor
var File_api_v3_api_proto_projects_proto protoreflect.FileDescriptor
var File_api_v3_api_proto_user_objects_proto protoreflect.FileDescriptor
var File_api_v3_api_proto_users_proto protoreflect.FileDescriptor
Functions ¶
func FileDescriptorSet ¶
func FileDescriptorSet() *descriptorpb.FileDescriptorSet
FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.
Will not return nil.
Do NOT modify the returned descriptor.
func RegisterFrontendServer ¶
func RegisterFrontendServer(s prpc.Registrar, srv FrontendServer)
func RegisterHotlistsServer ¶
func RegisterHotlistsServer(s prpc.Registrar, srv HotlistsServer)
func RegisterIssuesServer ¶
func RegisterIssuesServer(s prpc.Registrar, srv IssuesServer)
func RegisterPermissionsServer ¶
func RegisterPermissionsServer(s prpc.Registrar, srv PermissionsServer)
func RegisterProjectsServer ¶
func RegisterProjectsServer(s prpc.Registrar, srv ProjectsServer)
func RegisterUsersServer ¶
func RegisterUsersServer(s prpc.Registrar, srv UsersServer)
Types ¶
type AddHotlistItemsRequest ¶
type AddHotlistItemsRequest struct { // Resource name of the Hotlist to add new items to. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Resource names of Issues to associate with new HotlistItems added to `parent`. Issues []string `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"` // Target starting position of the new items. // `target_position` must be between [0 and # of items that currently exist in // `parent`]. The request will fail if a specified `target_position` is outside // of this range. // New HotlistItems added to a non-last position of the hotlist will // cause ranks of existing HotlistItems below `target_position` to be adjusted. // If no `target_position` is given, new items will be added to the end of // `parent`. TargetPosition uint32 `protobuf:"varint,3,opt,name=target_position,json=targetPosition,proto3" json:"target_position,omitempty"` // contains filtered or unexported fields }
Request message for an AddHotlistItems call. Next available tag: 4
func (*AddHotlistItemsRequest) Descriptor
deprecated
func (*AddHotlistItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddHotlistItemsRequest.ProtoReflect.Descriptor instead.
func (*AddHotlistItemsRequest) GetIssues ¶
func (x *AddHotlistItemsRequest) GetIssues() []string
func (*AddHotlistItemsRequest) GetParent ¶
func (x *AddHotlistItemsRequest) GetParent() string
func (*AddHotlistItemsRequest) GetTargetPosition ¶
func (x *AddHotlistItemsRequest) GetTargetPosition() uint32
func (*AddHotlistItemsRequest) ProtoMessage ¶
func (*AddHotlistItemsRequest) ProtoMessage()
func (*AddHotlistItemsRequest) ProtoReflect ¶
func (x *AddHotlistItemsRequest) ProtoReflect() protoreflect.Message
func (*AddHotlistItemsRequest) Reset ¶
func (x *AddHotlistItemsRequest) Reset()
func (*AddHotlistItemsRequest) String ¶
func (x *AddHotlistItemsRequest) String() string
type ApprovalDef ¶
type ApprovalDef struct { // Resource name of the approval. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Display name of the field. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Brief explanation of this field. Docstring string `protobuf:"bytes,3,opt,name=docstring,proto3" json:"docstring,omitempty"` // Information approvers need from requester. // May be adjusted on the issue after creation. Survey string `protobuf:"bytes,4,opt,name=survey,proto3" json:"survey,omitempty"` // Default list of users who can approve this field. // May be adjusted on the issue after creation. Approvers []string `protobuf:"bytes,5,rep,name=approvers,proto3" json:"approvers,omitempty"` // Administrators of this field. Admins []string `protobuf:"bytes,6,rep,name=admins,proto3" json:"admins,omitempty"` // contains filtered or unexported fields }
Defines approvals that issues within the project may need. See monorail/doc/userguide/concepts.md#issue-approvals-and-gates and monorail/doc/userguide/project-owners.md#How-to-configure-approvals Check bugs.chromium.org/p/{project}/adminLabels to see the ApprovalDef IDs. If your code needs to call multiple monorail instances (e.g. monorail-{prod|staging|dev}) ApprovalDef IDs for ApprovalDefs with the same display_name will differ between each monorail instance. To see what ApprovalDef ID to use when calling staging you must check bugs-staging.chromium.org/p/{project}/adminLabels. Next available tag: 7
func (*ApprovalDef) Descriptor
deprecated
func (*ApprovalDef) Descriptor() ([]byte, []int)
Deprecated: Use ApprovalDef.ProtoReflect.Descriptor instead.
func (*ApprovalDef) GetAdmins ¶
func (x *ApprovalDef) GetAdmins() []string
func (*ApprovalDef) GetApprovers ¶
func (x *ApprovalDef) GetApprovers() []string
func (*ApprovalDef) GetDisplayName ¶
func (x *ApprovalDef) GetDisplayName() string
func (*ApprovalDef) GetDocstring ¶
func (x *ApprovalDef) GetDocstring() string
func (*ApprovalDef) GetName ¶
func (x *ApprovalDef) GetName() string
func (*ApprovalDef) GetSurvey ¶
func (x *ApprovalDef) GetSurvey() string
func (*ApprovalDef) ProtoMessage ¶
func (*ApprovalDef) ProtoMessage()
func (*ApprovalDef) ProtoReflect ¶
func (x *ApprovalDef) ProtoReflect() protoreflect.Message
func (*ApprovalDef) Reset ¶
func (x *ApprovalDef) Reset()
func (*ApprovalDef) String ¶
func (x *ApprovalDef) String() string
type ApprovalDelta ¶
type ApprovalDelta struct { // The ApprovalValue we want to update. `approval_value.name` must always be // set. ApprovalValue *ApprovalValue `protobuf:"bytes,1,opt,name=approval_value,json=approvalValue,proto3" json:"approval_value,omitempty"` // Repeated fields found in `update_mask` will be appended to. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Resource names of the approvers we want to remove. ApproversRemove []string `protobuf:"bytes,3,rep,name=approvers_remove,json=approversRemove,proto3" json:"approvers_remove,omitempty"` // FieldValues that do not belong to `approval_value` will trigger error. FieldValsRemove []*FieldValue `protobuf:"bytes,5,rep,name=field_vals_remove,json=fieldValsRemove,proto3" json:"field_vals_remove,omitempty"` // TODO(crbug.com/monorail/8019): add Attachment uploading and removing. // contains filtered or unexported fields }
Changes to make to an ApprovalValue. Used to ModifyIssueApprovalValues or to MakeIssueFromTemplate.
NOTE: The same handling of FieldValues discussed in IssueDelta applies here. Next available tag: 6
func (*ApprovalDelta) Descriptor
deprecated
func (*ApprovalDelta) Descriptor() ([]byte, []int)
Deprecated: Use ApprovalDelta.ProtoReflect.Descriptor instead.
func (*ApprovalDelta) GetApprovalValue ¶
func (x *ApprovalDelta) GetApprovalValue() *ApprovalValue
func (*ApprovalDelta) GetApproversRemove ¶
func (x *ApprovalDelta) GetApproversRemove() []string
func (*ApprovalDelta) GetFieldValsRemove ¶
func (x *ApprovalDelta) GetFieldValsRemove() []*FieldValue
func (*ApprovalDelta) GetUpdateMask ¶
func (x *ApprovalDelta) GetUpdateMask() *fieldmaskpb.FieldMask
func (*ApprovalDelta) ProtoMessage ¶
func (*ApprovalDelta) ProtoMessage()
func (*ApprovalDelta) ProtoReflect ¶
func (x *ApprovalDelta) ProtoReflect() protoreflect.Message
func (*ApprovalDelta) Reset ¶
func (x *ApprovalDelta) Reset()
func (*ApprovalDelta) String ¶
func (x *ApprovalDelta) String() string
type ApprovalValue ¶
type ApprovalValue struct { // The resource name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The resource name of the ApprovalDef. ApprovalDef string `protobuf:"bytes,2,opt,name=approval_def,json=approvalDef,proto3" json:"approval_def,omitempty"` // The users able to grant this approval. Approvers []string `protobuf:"bytes,3,rep,name=approvers,proto3" json:"approvers,omitempty"` // The current status of the approval. Status ApprovalValue_ApprovalStatus `protobuf:"varint,4,opt,name=status,proto3,enum=monorail.v3.ApprovalValue_ApprovalStatus" json:"status,omitempty"` // The time `status` was last set. SetTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=set_time,json=setTime,proto3" json:"set_time,omitempty"` // The user who most recently set `status`. Setter string `protobuf:"bytes,6,opt,name=setter,proto3" json:"setter,omitempty"` // The phase the approval is associated with (if applicable). Phase string `protobuf:"bytes,7,opt,name=phase,proto3" json:"phase,omitempty"` // FieldValues with `approval_def` as their parent. FieldValues []*FieldValue `protobuf:"bytes,8,rep,name=field_values,json=fieldValues,proto3" json:"field_values,omitempty"` // contains filtered or unexported fields }
Documents and tracks an approval process. See monorail/doc/userguide/concepts.md#issue-approvals-and-gates Next available tag: 9
func (*ApprovalValue) Descriptor
deprecated
func (*ApprovalValue) Descriptor() ([]byte, []int)
Deprecated: Use ApprovalValue.ProtoReflect.Descriptor instead.
func (*ApprovalValue) GetApprovalDef ¶
func (x *ApprovalValue) GetApprovalDef() string
func (*ApprovalValue) GetApprovers ¶
func (x *ApprovalValue) GetApprovers() []string
func (*ApprovalValue) GetFieldValues ¶
func (x *ApprovalValue) GetFieldValues() []*FieldValue
func (*ApprovalValue) GetName ¶
func (x *ApprovalValue) GetName() string
func (*ApprovalValue) GetPhase ¶
func (x *ApprovalValue) GetPhase() string
func (*ApprovalValue) GetSetTime ¶
func (x *ApprovalValue) GetSetTime() *timestamppb.Timestamp
func (*ApprovalValue) GetSetter ¶
func (x *ApprovalValue) GetSetter() string
func (*ApprovalValue) GetStatus ¶
func (x *ApprovalValue) GetStatus() ApprovalValue_ApprovalStatus
func (*ApprovalValue) ProtoMessage ¶
func (*ApprovalValue) ProtoMessage()
func (*ApprovalValue) ProtoReflect ¶
func (x *ApprovalValue) ProtoReflect() protoreflect.Message
func (*ApprovalValue) Reset ¶
func (x *ApprovalValue) Reset()
func (*ApprovalValue) String ¶
func (x *ApprovalValue) String() string
type ApprovalValue_ApprovalStatus ¶
type ApprovalValue_ApprovalStatus int32
Potential states for an approval. Note that these statuses cause different sets of notifications. See monorail/doc/userguide/email.md Next available tag: 9
const ( // The default approval status. This value is used if the status is omitted. ApprovalValue_APPROVAL_STATUS_UNSPECIFIED ApprovalValue_ApprovalStatus = 0 // No status has yet been set on this value. ApprovalValue_NOT_SET ApprovalValue_ApprovalStatus = 1 // This issue needs review from the approvers for this phase. ApprovalValue_NEEDS_REVIEW ApprovalValue_ApprovalStatus = 2 // This approval is not needed for this issue for this phase. ApprovalValue_NA ApprovalValue_ApprovalStatus = 3 // The issue is ready for the approvers to review. ApprovalValue_REVIEW_REQUESTED ApprovalValue_ApprovalStatus = 4 // The approvers have started reviewing this issue. ApprovalValue_REVIEW_STARTED ApprovalValue_ApprovalStatus = 5 // The approvers need more information. ApprovalValue_NEED_INFO ApprovalValue_ApprovalStatus = 6 // The approvers have approved this issue for this phase. ApprovalValue_APPROVED ApprovalValue_ApprovalStatus = 7 // The approvers have indicated this issue is not approved for this phase. ApprovalValue_NOT_APPROVED ApprovalValue_ApprovalStatus = 8 )
func (ApprovalValue_ApprovalStatus) Descriptor ¶
func (ApprovalValue_ApprovalStatus) Descriptor() protoreflect.EnumDescriptor
func (ApprovalValue_ApprovalStatus) Enum ¶
func (x ApprovalValue_ApprovalStatus) Enum() *ApprovalValue_ApprovalStatus
func (ApprovalValue_ApprovalStatus) EnumDescriptor
deprecated
func (ApprovalValue_ApprovalStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApprovalValue_ApprovalStatus.Descriptor instead.
func (ApprovalValue_ApprovalStatus) Number ¶
func (x ApprovalValue_ApprovalStatus) Number() protoreflect.EnumNumber
func (ApprovalValue_ApprovalStatus) String ¶
func (x ApprovalValue_ApprovalStatus) String() string
func (ApprovalValue_ApprovalStatus) Type ¶
func (ApprovalValue_ApprovalStatus) Type() protoreflect.EnumType
type AttachmentUpload ¶
type AttachmentUpload struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
An attachment to upload to a comment or description. Next available tag: 3
func (*AttachmentUpload) Descriptor
deprecated
func (*AttachmentUpload) Descriptor() ([]byte, []int)
Deprecated: Use AttachmentUpload.ProtoReflect.Descriptor instead.
func (*AttachmentUpload) GetContent ¶
func (x *AttachmentUpload) GetContent() []byte
func (*AttachmentUpload) GetFilename ¶
func (x *AttachmentUpload) GetFilename() string
func (*AttachmentUpload) ProtoMessage ¶
func (*AttachmentUpload) ProtoMessage()
func (*AttachmentUpload) ProtoReflect ¶
func (x *AttachmentUpload) ProtoReflect() protoreflect.Message
func (*AttachmentUpload) Reset ¶
func (x *AttachmentUpload) Reset()
func (*AttachmentUpload) String ¶
func (x *AttachmentUpload) String() string
type BatchGetIssuesRequest ¶
type BatchGetIssuesRequest struct { // The project name from which to batch get issues. If included, the parent // of all the issues specified in `names` must match this field. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The issues to request. Maximum of 100 can be retrieved. Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
The request message for Issues.BatchGetIssues. Next available tag: 3
func (*BatchGetIssuesRequest) Descriptor
deprecated
func (*BatchGetIssuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetIssuesRequest.ProtoReflect.Descriptor instead.
func (*BatchGetIssuesRequest) GetNames ¶
func (x *BatchGetIssuesRequest) GetNames() []string
func (*BatchGetIssuesRequest) GetParent ¶
func (x *BatchGetIssuesRequest) GetParent() string
func (*BatchGetIssuesRequest) ProtoMessage ¶
func (*BatchGetIssuesRequest) ProtoMessage()
func (*BatchGetIssuesRequest) ProtoReflect ¶
func (x *BatchGetIssuesRequest) ProtoReflect() protoreflect.Message
func (*BatchGetIssuesRequest) Reset ¶
func (x *BatchGetIssuesRequest) Reset()
func (*BatchGetIssuesRequest) String ¶
func (x *BatchGetIssuesRequest) String() string
type BatchGetIssuesResponse ¶
type BatchGetIssuesResponse struct { // Issues matching the given request. Issues []*Issue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"` // contains filtered or unexported fields }
The response message for Issues.BatchGetIssues. Next available tag: 2
func (*BatchGetIssuesResponse) Descriptor
deprecated
func (*BatchGetIssuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetIssuesResponse.ProtoReflect.Descriptor instead.
func (*BatchGetIssuesResponse) GetIssues ¶
func (x *BatchGetIssuesResponse) GetIssues() []*Issue
func (*BatchGetIssuesResponse) ProtoMessage ¶
func (*BatchGetIssuesResponse) ProtoMessage()
func (*BatchGetIssuesResponse) ProtoReflect ¶
func (x *BatchGetIssuesResponse) ProtoReflect() protoreflect.Message
func (*BatchGetIssuesResponse) Reset ¶
func (x *BatchGetIssuesResponse) Reset()
func (*BatchGetIssuesResponse) String ¶
func (x *BatchGetIssuesResponse) String() string
type BatchGetPermissionSetsRequest ¶
type BatchGetPermissionSetsRequest struct { // The resource names of the resource permissions to retrieve. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
Request message for the BatchGetPermissionSets method. Next available tag: 2
func (*BatchGetPermissionSetsRequest) Descriptor
deprecated
func (*BatchGetPermissionSetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetPermissionSetsRequest.ProtoReflect.Descriptor instead.
func (*BatchGetPermissionSetsRequest) GetNames ¶
func (x *BatchGetPermissionSetsRequest) GetNames() []string
func (*BatchGetPermissionSetsRequest) ProtoMessage ¶
func (*BatchGetPermissionSetsRequest) ProtoMessage()
func (*BatchGetPermissionSetsRequest) ProtoReflect ¶
func (x *BatchGetPermissionSetsRequest) ProtoReflect() protoreflect.Message
func (*BatchGetPermissionSetsRequest) Reset ¶
func (x *BatchGetPermissionSetsRequest) Reset()
func (*BatchGetPermissionSetsRequest) String ¶
func (x *BatchGetPermissionSetsRequest) String() string
type BatchGetPermissionSetsResponse ¶
type BatchGetPermissionSetsResponse struct { // The Permissions, one for each of the given resources. PermissionSets []*PermissionSet `protobuf:"bytes,1,rep,name=permission_sets,json=permissionSets,proto3" json:"permission_sets,omitempty"` // contains filtered or unexported fields }
Response message for the BatchGetPermissionSets method. Next available tag: 2
func (*BatchGetPermissionSetsResponse) Descriptor
deprecated
func (*BatchGetPermissionSetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetPermissionSetsResponse.ProtoReflect.Descriptor instead.
func (*BatchGetPermissionSetsResponse) GetPermissionSets ¶
func (x *BatchGetPermissionSetsResponse) GetPermissionSets() []*PermissionSet
func (*BatchGetPermissionSetsResponse) ProtoMessage ¶
func (*BatchGetPermissionSetsResponse) ProtoMessage()
func (*BatchGetPermissionSetsResponse) ProtoReflect ¶
func (x *BatchGetPermissionSetsResponse) ProtoReflect() protoreflect.Message
func (*BatchGetPermissionSetsResponse) Reset ¶
func (x *BatchGetPermissionSetsResponse) Reset()
func (*BatchGetPermissionSetsResponse) String ¶
func (x *BatchGetPermissionSetsResponse) String() string
type BatchGetUsersRequest ¶
type BatchGetUsersRequest struct { // The name of the users to request. At most 100 may be requested. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
The request message for Users.BatchGetUsers. Next available tag: 2
func (*BatchGetUsersRequest) Descriptor
deprecated
func (*BatchGetUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetUsersRequest.ProtoReflect.Descriptor instead.
func (*BatchGetUsersRequest) GetNames ¶
func (x *BatchGetUsersRequest) GetNames() []string
func (*BatchGetUsersRequest) ProtoMessage ¶
func (*BatchGetUsersRequest) ProtoMessage()
func (*BatchGetUsersRequest) ProtoReflect ¶
func (x *BatchGetUsersRequest) ProtoReflect() protoreflect.Message
func (*BatchGetUsersRequest) Reset ¶
func (x *BatchGetUsersRequest) Reset()
func (*BatchGetUsersRequest) String ¶
func (x *BatchGetUsersRequest) String() string
type BatchGetUsersResponse ¶
type BatchGetUsersResponse struct { // The users that were requested. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
The response message for Users.BatchGetUsers. Next available tag: 2
func (*BatchGetUsersResponse) Descriptor
deprecated
func (*BatchGetUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetUsersResponse.ProtoReflect.Descriptor instead.
func (*BatchGetUsersResponse) GetUsers ¶
func (x *BatchGetUsersResponse) GetUsers() []*User
func (*BatchGetUsersResponse) ProtoMessage ¶
func (*BatchGetUsersResponse) ProtoMessage()
func (*BatchGetUsersResponse) ProtoReflect ¶
func (x *BatchGetUsersResponse) ProtoReflect() protoreflect.Message
func (*BatchGetUsersResponse) Reset ¶
func (x *BatchGetUsersResponse) Reset()
func (*BatchGetUsersResponse) String ¶
func (x *BatchGetUsersResponse) String() string
type Comment ¶
type Comment struct { // Resource name of the comment. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state of the comment. State IssueContentState `protobuf:"varint,2,opt,name=state,proto3,enum=monorail.v3.IssueContentState" json:"state,omitempty"` // The type of comment. Type Comment_Type `protobuf:"varint,3,opt,name=type,proto3,enum=monorail.v3.Comment_Type" json:"type,omitempty"` // The text of the comment. Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` // Resource name of the author of the comment. Commenter string `protobuf:"bytes,5,opt,name=commenter,proto3" json:"commenter,omitempty"` // The time this comment was added to the Issue. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Optional string full text of an email that caused this comment to be added. InboundMessage string `protobuf:"bytes,7,opt,name=inbound_message,json=inboundMessage,proto3" json:"inbound_message,omitempty"` // The approval this comment is associated with, if applicable. Approval string `protobuf:"bytes,8,opt,name=approval,proto3" json:"approval,omitempty"` // Any changes made to the issue in association with this comment. Amendments []*Comment_Amendment `protobuf:"bytes,9,rep,name=amendments,proto3" json:"amendments,omitempty"` // Any attachments uploaded in association with this comment. Attachments []*Comment_Attachment `protobuf:"bytes,10,rep,name=attachments,proto3" json:"attachments,omitempty"` // contains filtered or unexported fields }
Represents a comment and any associated changes to an Issue.
Comments cannot be Created or Updated through standard methods. The OUTPUT_ONLY annotations here indicate fields that would never be provided by the user even if these methods were made available. Next available tag: 11.
func (*Comment) Descriptor
deprecated
func (*Comment) GetAmendments ¶
func (x *Comment) GetAmendments() []*Comment_Amendment
func (*Comment) GetApproval ¶
func (*Comment) GetAttachments ¶
func (x *Comment) GetAttachments() []*Comment_Attachment
func (*Comment) GetCommenter ¶
func (*Comment) GetContent ¶
func (*Comment) GetCreateTime ¶
func (x *Comment) GetCreateTime() *timestamppb.Timestamp
func (*Comment) GetInboundMessage ¶
func (*Comment) GetState ¶
func (x *Comment) GetState() IssueContentState
func (*Comment) GetType ¶
func (x *Comment) GetType() Comment_Type
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) ProtoReflect ¶
func (x *Comment) ProtoReflect() protoreflect.Message
type Comment_Amendment ¶
type Comment_Amendment struct { // This may be the name of a built-in or custom field, or relative to // an approval field name. FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` // This may be a new value that overwrote the old value, e.g., "Assigned", // or it may be a space-separated list of changes, e.g., "Size-L -Size-S". NewOrDeltaValue string `protobuf:"bytes,2,opt,name=new_or_delta_value,json=newOrDeltaValue,proto3" json:"new_or_delta_value,omitempty"` // old_value is only used when the user changes the summary. OldValue string `protobuf:"bytes,3,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` // contains filtered or unexported fields }
This message is only suitable for displaying the amendment to users. We don't currently offer structured amendments that client code can reason about, field names can be ambiguous, and we don't have old_value for most changes. Next available tag: 4
func (*Comment_Amendment) Descriptor
deprecated
func (*Comment_Amendment) Descriptor() ([]byte, []int)
Deprecated: Use Comment_Amendment.ProtoReflect.Descriptor instead.
func (*Comment_Amendment) GetFieldName ¶
func (x *Comment_Amendment) GetFieldName() string
func (*Comment_Amendment) GetNewOrDeltaValue ¶
func (x *Comment_Amendment) GetNewOrDeltaValue() string
func (*Comment_Amendment) GetOldValue ¶
func (x *Comment_Amendment) GetOldValue() string
func (*Comment_Amendment) ProtoMessage ¶
func (*Comment_Amendment) ProtoMessage()
func (*Comment_Amendment) ProtoReflect ¶
func (x *Comment_Amendment) ProtoReflect() protoreflect.Message
func (*Comment_Amendment) Reset ¶
func (x *Comment_Amendment) Reset()
func (*Comment_Amendment) String ¶
func (x *Comment_Amendment) String() string
type Comment_Attachment ¶
type Comment_Attachment struct { // The name of the attached file. Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` // It is possible for attachments to be deleted (and undeleted) by the // uploader. The name of deleted attachments are still shown, but the // content is not available. State IssueContentState `protobuf:"varint,2,opt,name=state,proto3,enum=monorail.v3.IssueContentState" json:"state,omitempty"` // Size of the attached file in bytes. Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // The type of content contained in the file, using the IANA's media type // https://www.iana.org/assignments/media-types/media-types.xhtml. MediaType string `protobuf:"bytes,4,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"` // The URI used for a preview of the attachment (when relelvant). ThumbnailUri string `protobuf:"bytes,5,opt,name=thumbnail_uri,json=thumbnailUri,proto3" json:"thumbnail_uri,omitempty"` // The URI used to view the content of the attachment. ViewUri string `protobuf:"bytes,6,opt,name=view_uri,json=viewUri,proto3" json:"view_uri,omitempty"` // The URI used to download the content of the attachment. DownloadUri string `protobuf:"bytes,7,opt,name=download_uri,json=downloadUri,proto3" json:"download_uri,omitempty"` // contains filtered or unexported fields }
A file attached to a comment. Next available tag: 8
func (*Comment_Attachment) Descriptor
deprecated
func (*Comment_Attachment) Descriptor() ([]byte, []int)
Deprecated: Use Comment_Attachment.ProtoReflect.Descriptor instead.
func (*Comment_Attachment) GetDownloadUri ¶
func (x *Comment_Attachment) GetDownloadUri() string
func (*Comment_Attachment) GetFilename ¶
func (x *Comment_Attachment) GetFilename() string
func (*Comment_Attachment) GetMediaType ¶
func (x *Comment_Attachment) GetMediaType() string
func (*Comment_Attachment) GetSize ¶
func (x *Comment_Attachment) GetSize() uint64
func (*Comment_Attachment) GetState ¶
func (x *Comment_Attachment) GetState() IssueContentState
func (*Comment_Attachment) GetThumbnailUri ¶
func (x *Comment_Attachment) GetThumbnailUri() string
func (*Comment_Attachment) GetViewUri ¶
func (x *Comment_Attachment) GetViewUri() string
func (*Comment_Attachment) ProtoMessage ¶
func (*Comment_Attachment) ProtoMessage()
func (*Comment_Attachment) ProtoReflect ¶
func (x *Comment_Attachment) ProtoReflect() protoreflect.Message
func (*Comment_Attachment) Reset ¶
func (x *Comment_Attachment) Reset()
func (*Comment_Attachment) String ¶
func (x *Comment_Attachment) String() string
type Comment_Type ¶
type Comment_Type int32
The type of comment. Next available tag: 9
const ( // The default comment type. Used if type is omitted. Comment_UNSPECIFIED Comment_Type = 0 // A standard comment on an issue. Comment_COMMENT Comment_Type = 1 // A comment representing a new description for the issue. Comment_DESCRIPTION Comment_Type = 2 )
func (Comment_Type) Descriptor ¶
func (Comment_Type) Descriptor() protoreflect.EnumDescriptor
func (Comment_Type) Enum ¶
func (x Comment_Type) Enum() *Comment_Type
func (Comment_Type) EnumDescriptor
deprecated
func (Comment_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Comment_Type.Descriptor instead.
func (Comment_Type) Number ¶
func (x Comment_Type) Number() protoreflect.EnumNumber
func (Comment_Type) String ¶
func (x Comment_Type) String() string
func (Comment_Type) Type ¶
func (Comment_Type) Type() protoreflect.EnumType
type ComponentDef ¶
type ComponentDef struct { // Resource name of the component, aka identifier. // the API will always return ComponentDef names with format: // projects/{project}/componentDefs/<component_def_id>. // However the API will accept ComponentDef names with formats: // projects/{project}/componentDefs/<component_def_id|value>. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // String value of the component, ie 'Tools>Stability' or 'Blink'. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Brief explanation of this component. Docstring string `protobuf:"bytes,3,opt,name=docstring,proto3" json:"docstring,omitempty"` // Administrators of this component. Admins []string `protobuf:"bytes,4,rep,name=admins,proto3" json:"admins,omitempty"` // Auto cc'ed users of this component. Ccs []string `protobuf:"bytes,5,rep,name=ccs,proto3" json:"ccs,omitempty"` // State of this component. State ComponentDef_ComponentDefState `protobuf:"varint,6,opt,name=state,proto3,enum=monorail.v3.ComponentDef_ComponentDefState" json:"state,omitempty"` // The user that created this component. Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator,omitempty"` // The user that last modified this component. Modifier string `protobuf:"bytes,8,opt,name=modifier,proto3" json:"modifier,omitempty"` // The time this component was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time this component was last modified. ModifyTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=modify_time,json=modifyTime,proto3" json:"modify_time,omitempty"` // Labels that auto-apply to issues in this component. Labels []string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
A high level definition of the part of the software affected by an issue.
See monorail/doc/userguide/project-owners.md#how-to-configure-components. Check crbug.com/p/{project}/adminComponents to see the ComponenttDef IDs. Next available tag: 12
func (*ComponentDef) Descriptor
deprecated
func (*ComponentDef) Descriptor() ([]byte, []int)
Deprecated: Use ComponentDef.ProtoReflect.Descriptor instead.
func (*ComponentDef) GetAdmins ¶
func (x *ComponentDef) GetAdmins() []string
func (*ComponentDef) GetCcs ¶
func (x *ComponentDef) GetCcs() []string
func (*ComponentDef) GetCreateTime ¶
func (x *ComponentDef) GetCreateTime() *timestamppb.Timestamp
func (*ComponentDef) GetCreator ¶
func (x *ComponentDef) GetCreator() string
func (*ComponentDef) GetDocstring ¶
func (x *ComponentDef) GetDocstring() string
func (*ComponentDef) GetLabels ¶
func (x *ComponentDef) GetLabels() []string
func (*ComponentDef) GetModifier ¶
func (x *ComponentDef) GetModifier() string
func (*ComponentDef) GetModifyTime ¶
func (x *ComponentDef) GetModifyTime() *timestamppb.Timestamp
func (*ComponentDef) GetName ¶
func (x *ComponentDef) GetName() string
func (*ComponentDef) GetState ¶
func (x *ComponentDef) GetState() ComponentDef_ComponentDefState
func (*ComponentDef) GetValue ¶
func (x *ComponentDef) GetValue() string
func (*ComponentDef) ProtoMessage ¶
func (*ComponentDef) ProtoMessage()
func (*ComponentDef) ProtoReflect ¶
func (x *ComponentDef) ProtoReflect() protoreflect.Message
func (*ComponentDef) Reset ¶
func (x *ComponentDef) Reset()
func (*ComponentDef) String ¶
func (x *ComponentDef) String() string
type ComponentDef_ComponentDefState ¶
type ComponentDef_ComponentDefState int32
The current state of the component definition. Next available tag: 3
const ( // Default enum value. This value is unused. ComponentDef_COMPONENT_DEF_STATE_UNSPECIFIED ComponentDef_ComponentDefState = 0 // This component is deprecated ComponentDef_DEPRECATED ComponentDef_ComponentDefState = 1 // This component is not deprecated ComponentDef_ACTIVE ComponentDef_ComponentDefState = 2 )
func (ComponentDef_ComponentDefState) Descriptor ¶
func (ComponentDef_ComponentDefState) Descriptor() protoreflect.EnumDescriptor
func (ComponentDef_ComponentDefState) Enum ¶
func (x ComponentDef_ComponentDefState) Enum() *ComponentDef_ComponentDefState
func (ComponentDef_ComponentDefState) EnumDescriptor
deprecated
func (ComponentDef_ComponentDefState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComponentDef_ComponentDefState.Descriptor instead.
func (ComponentDef_ComponentDefState) Number ¶
func (x ComponentDef_ComponentDefState) Number() protoreflect.EnumNumber
func (ComponentDef_ComponentDefState) String ¶
func (x ComponentDef_ComponentDefState) String() string
func (ComponentDef_ComponentDefState) Type ¶
func (ComponentDef_ComponentDefState) Type() protoreflect.EnumType
type CreateComponentDefRequest ¶
type CreateComponentDefRequest struct { // The project resource where this component will be created. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The component to create. ComponentDef *ComponentDef `protobuf:"bytes,2,opt,name=component_def,json=componentDef,proto3" json:"component_def,omitempty"` // contains filtered or unexported fields }
Request message for CreateComponentDef method. Next available tag: 3
func (*CreateComponentDefRequest) Descriptor
deprecated
func (*CreateComponentDefRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateComponentDefRequest.ProtoReflect.Descriptor instead.
func (*CreateComponentDefRequest) GetComponentDef ¶
func (x *CreateComponentDefRequest) GetComponentDef() *ComponentDef
func (*CreateComponentDefRequest) GetParent ¶
func (x *CreateComponentDefRequest) GetParent() string
func (*CreateComponentDefRequest) ProtoMessage ¶
func (*CreateComponentDefRequest) ProtoMessage()
func (*CreateComponentDefRequest) ProtoReflect ¶
func (x *CreateComponentDefRequest) ProtoReflect() protoreflect.Message
func (*CreateComponentDefRequest) Reset ¶
func (x *CreateComponentDefRequest) Reset()
func (*CreateComponentDefRequest) String ¶
func (x *CreateComponentDefRequest) String() string
type CreateFieldDefRequest ¶
type CreateFieldDefRequest struct { // The project resource where this field will be created. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The field to create. // It must have a display_name and a type with its corresponding settings. Fielddef *FieldDef `protobuf:"bytes,2,opt,name=fielddef,proto3" json:"fielddef,omitempty"` // contains filtered or unexported fields }
Request message for CreateFieldDef method. Next available tag: 3
func (*CreateFieldDefRequest) Descriptor
deprecated
func (*CreateFieldDefRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFieldDefRequest.ProtoReflect.Descriptor instead.
func (*CreateFieldDefRequest) GetFielddef ¶
func (x *CreateFieldDefRequest) GetFielddef() *FieldDef
func (*CreateFieldDefRequest) GetParent ¶
func (x *CreateFieldDefRequest) GetParent() string
func (*CreateFieldDefRequest) ProtoMessage ¶
func (*CreateFieldDefRequest) ProtoMessage()
func (*CreateFieldDefRequest) ProtoReflect ¶
func (x *CreateFieldDefRequest) ProtoReflect() protoreflect.Message
func (*CreateFieldDefRequest) Reset ¶
func (x *CreateFieldDefRequest) Reset()
func (*CreateFieldDefRequest) String ¶
func (x *CreateFieldDefRequest) String() string
type CreateHotlistRequest ¶
type CreateHotlistRequest struct { // The hotlist to create. // `hotlist.owner` must be empty. The owner of the new hotlist will be // set to the requester. Hotlist *Hotlist `protobuf:"bytes,1,opt,name=hotlist,proto3" json:"hotlist,omitempty"` // contains filtered or unexported fields }
Request message for CreateHotlist method. Next available tag: 2
func (*CreateHotlistRequest) Descriptor
deprecated
func (*CreateHotlistRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateHotlistRequest.ProtoReflect.Descriptor instead.
func (*CreateHotlistRequest) GetHotlist ¶
func (x *CreateHotlistRequest) GetHotlist() *Hotlist
func (*CreateHotlistRequest) ProtoMessage ¶
func (*CreateHotlistRequest) ProtoMessage()
func (*CreateHotlistRequest) ProtoReflect ¶
func (x *CreateHotlistRequest) ProtoReflect() protoreflect.Message
func (*CreateHotlistRequest) Reset ¶
func (x *CreateHotlistRequest) Reset()
func (*CreateHotlistRequest) String ¶
func (x *CreateHotlistRequest) String() string
type DeleteComponentDefRequest ¶
type DeleteComponentDefRequest struct { // The component to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for DeleteComponentDef method. Next available tag: 2
func (*DeleteComponentDefRequest) Descriptor
deprecated
func (*DeleteComponentDefRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteComponentDefRequest.ProtoReflect.Descriptor instead.
func (*DeleteComponentDefRequest) GetName ¶
func (x *DeleteComponentDefRequest) GetName() string
func (*DeleteComponentDefRequest) ProtoMessage ¶
func (*DeleteComponentDefRequest) ProtoMessage()
func (*DeleteComponentDefRequest) ProtoReflect ¶
func (x *DeleteComponentDefRequest) ProtoReflect() protoreflect.Message
func (*DeleteComponentDefRequest) Reset ¶
func (x *DeleteComponentDefRequest) Reset()
func (*DeleteComponentDefRequest) String ¶
func (x *DeleteComponentDefRequest) String() string
type Derivation ¶
type Derivation int32
Many values on an issue can be set either explicitly or by a rule.
Note: Though Derivations are used as OUTPUT_ONLY, values including them will still be ingested even though the Derivation is ignored.
Next available tag: 3
const ( // The default derivation. This value is used if the derivation is omitted. Derivation_DERIVATION_UNSPECIFIED Derivation = 0 // The value was explicitly set on the issue. Derivation_EXPLICIT Derivation = 1 // Value was auto-applied to the issue based on a project's rule. See // monorail/doc/userguide/project-owners.md#how-to-configure-filter-rules Derivation_RULE Derivation = 2 )
func (Derivation) Descriptor ¶
func (Derivation) Descriptor() protoreflect.EnumDescriptor
func (Derivation) Enum ¶
func (x Derivation) Enum() *Derivation
func (Derivation) EnumDescriptor
deprecated
func (Derivation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Derivation.Descriptor instead.
func (Derivation) Number ¶
func (x Derivation) Number() protoreflect.EnumNumber
func (Derivation) String ¶
func (x Derivation) String() string
func (Derivation) Type ¶
func (Derivation) Type() protoreflect.EnumType
type FieldDef ¶
type FieldDef struct { // Resource name of the field. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Display name of the field. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Brief explanation of this field. Docstring string `protobuf:"bytes,3,opt,name=docstring,proto3" json:"docstring,omitempty"` Type FieldDef_Type `protobuf:"varint,4,opt,name=type,proto3,enum=monorail.v3.FieldDef_Type" json:"type,omitempty"` // Type of issue this field applies: ie Bug or Enhancement. // Note: type is indicated by any "Type-foo" label or "Type" custom field. ApplicableIssueType string `protobuf:"bytes,5,opt,name=applicable_issue_type,json=applicableIssueType,proto3" json:"applicable_issue_type,omitempty"` // Administrators of this field. Admins []string `protobuf:"bytes,6,rep,name=admins,proto3" json:"admins,omitempty"` Traits []FieldDef_Traits `protobuf:"varint,7,rep,packed,name=traits,proto3,enum=monorail.v3.FieldDef_Traits" json:"traits,omitempty"` // ApprovalDef that this field belongs to, if applicable. // A field may not both have `approval_parent` set and have the PHASE trait. ApprovalParent string `protobuf:"bytes,8,opt,name=approval_parent,json=approvalParent,proto3" json:"approval_parent,omitempty"` EnumSettings *FieldDef_EnumTypeSettings `protobuf:"bytes,9,opt,name=enum_settings,json=enumSettings,proto3" json:"enum_settings,omitempty"` IntSettings *FieldDef_IntTypeSettings `protobuf:"bytes,10,opt,name=int_settings,json=intSettings,proto3" json:"int_settings,omitempty"` StrSettings *FieldDef_StrTypeSettings `protobuf:"bytes,11,opt,name=str_settings,json=strSettings,proto3" json:"str_settings,omitempty"` UserSettings *FieldDef_UserTypeSettings `protobuf:"bytes,12,opt,name=user_settings,json=userSettings,proto3" json:"user_settings,omitempty"` DateSettings *FieldDef_DateTypeSettings `protobuf:"bytes,13,opt,name=date_settings,json=dateSettings,proto3" json:"date_settings,omitempty"` // Editors of this field, only for RESTRICTED fields. Editors []string `protobuf:"bytes,14,rep,name=editors,proto3" json:"editors,omitempty"` // contains filtered or unexported fields }
Custom fields defined for the project.
See monorail/doc/userguide/concepts.md#issue-fields-and-labels. Check bugs.chromium.org/p/{project}/adminLabels to see the FieldDef IDs. If your code needs to call multiple monorail instances (e.g. monorail-{prod|staging|dev}) FieldDef IDs for FieldDefs with the same display_name will differ between each monorail instance. To see what FieldDef ID to use when calling staging you must check bugs-staging.chromium.org/p/{project}/adminLabels. Next available tag: 15
func (*FieldDef) Descriptor
deprecated
func (*FieldDef) GetApplicableIssueType ¶
func (*FieldDef) GetApprovalParent ¶
func (*FieldDef) GetDateSettings ¶
func (x *FieldDef) GetDateSettings() *FieldDef_DateTypeSettings
func (*FieldDef) GetDisplayName ¶
func (*FieldDef) GetDocstring ¶
func (*FieldDef) GetEditors ¶
func (*FieldDef) GetEnumSettings ¶
func (x *FieldDef) GetEnumSettings() *FieldDef_EnumTypeSettings
func (*FieldDef) GetIntSettings ¶
func (x *FieldDef) GetIntSettings() *FieldDef_IntTypeSettings
func (*FieldDef) GetStrSettings ¶
func (x *FieldDef) GetStrSettings() *FieldDef_StrTypeSettings
func (*FieldDef) GetTraits ¶
func (x *FieldDef) GetTraits() []FieldDef_Traits
func (*FieldDef) GetType ¶
func (x *FieldDef) GetType() FieldDef_Type
func (*FieldDef) GetUserSettings ¶
func (x *FieldDef) GetUserSettings() *FieldDef_UserTypeSettings
func (*FieldDef) ProtoMessage ¶
func (*FieldDef) ProtoMessage()
func (*FieldDef) ProtoReflect ¶
func (x *FieldDef) ProtoReflect() protoreflect.Message
type FieldDef_DateTypeSettings ¶
type FieldDef_DateTypeSettings struct { DateAction FieldDef_DateTypeSettings_DateAction `` /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
Settings specific to date type fields. Next available tag: 2
func (*FieldDef_DateTypeSettings) Descriptor
deprecated
func (*FieldDef_DateTypeSettings) Descriptor() ([]byte, []int)
Deprecated: Use FieldDef_DateTypeSettings.ProtoReflect.Descriptor instead.
func (*FieldDef_DateTypeSettings) GetDateAction ¶
func (x *FieldDef_DateTypeSettings) GetDateAction() FieldDef_DateTypeSettings_DateAction
func (*FieldDef_DateTypeSettings) ProtoMessage ¶
func (*FieldDef_DateTypeSettings) ProtoMessage()
func (*FieldDef_DateTypeSettings) ProtoReflect ¶
func (x *FieldDef_DateTypeSettings) ProtoReflect() protoreflect.Message
func (*FieldDef_DateTypeSettings) Reset ¶
func (x *FieldDef_DateTypeSettings) Reset()
func (*FieldDef_DateTypeSettings) String ¶
func (x *FieldDef_DateTypeSettings) String() string
type FieldDef_DateTypeSettings_DateAction ¶
type FieldDef_DateTypeSettings_DateAction int32
Action to do when a date field value arrives. Next available tag: 4
const ( // Default date action value. This value is unused. FieldDef_DateTypeSettings_DATE_ACTION_UNSPECIFIED FieldDef_DateTypeSettings_DateAction = 0 // No action will be taken when a date arrives. FieldDef_DateTypeSettings_NO_ACTION FieldDef_DateTypeSettings_DateAction = 1 // Notify owner only when a date arrives. FieldDef_DateTypeSettings_NOTIFY_OWNER FieldDef_DateTypeSettings_DateAction = 2 // Notify all participants when a date arrives. FieldDef_DateTypeSettings_NOTIFY_PARTICIPANTS FieldDef_DateTypeSettings_DateAction = 3 )
func (FieldDef_DateTypeSettings_DateAction) Descriptor ¶
func (FieldDef_DateTypeSettings_DateAction) Descriptor() protoreflect.EnumDescriptor
func (FieldDef_DateTypeSettings_DateAction) Enum ¶
func (x FieldDef_DateTypeSettings_DateAction) Enum() *FieldDef_DateTypeSettings_DateAction
func (FieldDef_DateTypeSettings_DateAction) EnumDescriptor
deprecated
func (FieldDef_DateTypeSettings_DateAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use FieldDef_DateTypeSettings_DateAction.Descriptor instead.
func (FieldDef_DateTypeSettings_DateAction) Number ¶
func (x FieldDef_DateTypeSettings_DateAction) Number() protoreflect.EnumNumber
func (FieldDef_DateTypeSettings_DateAction) String ¶
func (x FieldDef_DateTypeSettings_DateAction) String() string
func (FieldDef_DateTypeSettings_DateAction) Type ¶
func (FieldDef_DateTypeSettings_DateAction) Type() protoreflect.EnumType
type FieldDef_EnumTypeSettings ¶
type FieldDef_EnumTypeSettings struct { Choices []*FieldDef_EnumTypeSettings_Choice `protobuf:"bytes,1,rep,name=choices,proto3" json:"choices,omitempty"` // contains filtered or unexported fields }
Settings specific to enum type fields. Next available tag: 2
func (*FieldDef_EnumTypeSettings) Descriptor
deprecated
func (*FieldDef_EnumTypeSettings) Descriptor() ([]byte, []int)
Deprecated: Use FieldDef_EnumTypeSettings.ProtoReflect.Descriptor instead.
func (*FieldDef_EnumTypeSettings) GetChoices ¶
func (x *FieldDef_EnumTypeSettings) GetChoices() []*FieldDef_EnumTypeSettings_Choice
func (*FieldDef_EnumTypeSettings) ProtoMessage ¶
func (*FieldDef_EnumTypeSettings) ProtoMessage()
func (*FieldDef_EnumTypeSettings) ProtoReflect ¶
func (x *FieldDef_EnumTypeSettings) ProtoReflect() protoreflect.Message
func (*FieldDef_EnumTypeSettings) Reset ¶
func (x *FieldDef_EnumTypeSettings) Reset()
func (*FieldDef_EnumTypeSettings) String ¶
func (x *FieldDef_EnumTypeSettings) String() string
type FieldDef_EnumTypeSettings_Choice ¶
type FieldDef_EnumTypeSettings_Choice struct { // Value of this choice. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Brief explanation of this choice. Docstring string `protobuf:"bytes,2,opt,name=docstring,proto3" json:"docstring,omitempty"` // contains filtered or unexported fields }
One available choice for an enum field. Next available tag: 3
func (*FieldDef_EnumTypeSettings_Choice) Descriptor
deprecated
func (*FieldDef_EnumTypeSettings_Choice) Descriptor() ([]byte, []int)
Deprecated: Use FieldDef_EnumTypeSettings_Choice.ProtoReflect.Descriptor instead.
func (*FieldDef_EnumTypeSettings_Choice) GetDocstring ¶
func (x *FieldDef_EnumTypeSettings_Choice) GetDocstring() string
func (*FieldDef_EnumTypeSettings_Choice) GetValue ¶
func (x *FieldDef_EnumTypeSettings_Choice) GetValue() string
func (*FieldDef_EnumTypeSettings_Choice) ProtoMessage ¶
func (*FieldDef_EnumTypeSettings_Choice) ProtoMessage()
func (*FieldDef_EnumTypeSettings_Choice) ProtoReflect ¶
func (x *FieldDef_EnumTypeSettings_Choice) ProtoReflect() protoreflect.Message
func (*FieldDef_EnumTypeSettings_Choice) Reset ¶
func (x *FieldDef_EnumTypeSettings_Choice) Reset()
func (*FieldDef_EnumTypeSettings_Choice) String ¶
func (x *FieldDef_EnumTypeSettings_Choice) String() string
type FieldDef_IntTypeSettings ¶
type FieldDef_IntTypeSettings struct { // Minimum value that this field can have. MinValue int32 `protobuf:"varint,1,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` // Maximum value that this field can have. MaxValue int32 `protobuf:"varint,2,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` // contains filtered or unexported fields }
Settings specific to int type fields. Next available tag: 3
func (*FieldDef_IntTypeSettings) Descriptor
deprecated
func (*FieldDef_IntTypeSettings) Descriptor() ([]byte, []int)
Deprecated: Use FieldDef_IntTypeSettings.ProtoReflect.Descriptor instead.
func (*FieldDef_IntTypeSettings) GetMaxValue ¶
func (x *FieldDef_IntTypeSettings) GetMaxValue() int32
func (*FieldDef_IntTypeSettings) GetMinValue ¶
func (x *FieldDef_IntTypeSettings) GetMinValue() int32
func (*FieldDef_IntTypeSettings) ProtoMessage ¶
func (*FieldDef_IntTypeSettings) ProtoMessage()
func (*FieldDef_IntTypeSettings) ProtoReflect ¶
func (x *FieldDef_IntTypeSettings) ProtoReflect() protoreflect.Message
func (*FieldDef_IntTypeSettings) Reset ¶
func (x *FieldDef_IntTypeSettings) Reset()
func (*FieldDef_IntTypeSettings) String ¶
func (x *FieldDef_IntTypeSettings) String() string
type FieldDef_StrTypeSettings ¶
type FieldDef_StrTypeSettings struct { // Regex that this field value(s) must match. Regex string `protobuf:"bytes,1,opt,name=regex,proto3" json:"regex,omitempty"` // contains filtered or unexported fields }
Settings specific to str type fields. Next available tag: 2
func (*FieldDef_StrTypeSettings) Descriptor
deprecated
func (*FieldDef_StrTypeSettings) Descriptor() ([]byte, []int)
Deprecated: Use FieldDef_StrTypeSettings.ProtoReflect.Descriptor instead.
func (*FieldDef_StrTypeSettings) GetRegex ¶
func (x *FieldDef_StrTypeSettings) GetRegex() string
func (*FieldDef_StrTypeSettings) ProtoMessage ¶
func (*FieldDef_StrTypeSettings) ProtoMessage()
func (*FieldDef_StrTypeSettings) ProtoReflect ¶
func (x *FieldDef_StrTypeSettings) ProtoReflect() protoreflect.Message
func (*FieldDef_StrTypeSettings) Reset ¶
func (x *FieldDef_StrTypeSettings) Reset()
func (*FieldDef_StrTypeSettings) String ¶
func (x *FieldDef_StrTypeSettings) String() string
type FieldDef_Traits ¶
type FieldDef_Traits int32
Traits of this field, ie is required or can support multiple values. Next available tag: 6
const ( // Default enum value. This value is unused. FieldDef_TRAITS_UNSPECIFIED FieldDef_Traits = 0 // This field must be filled out in issues where it's applicable. FieldDef_REQUIRED FieldDef_Traits = 1 // This field defaults to hidden. FieldDef_DEFAULT_HIDDEN FieldDef_Traits = 2 // This field can have multiple values. FieldDef_MULTIVALUED FieldDef_Traits = 3 // This is a phase field, meaning it is repeated for each phase of an // approval process. It cannot be the child of a particular approval. FieldDef_PHASE FieldDef_Traits = 4 // Values of this field can only be edited in issues/templates by editors. // Project owners and field admins are not subject of this restriction. FieldDef_RESTRICTED FieldDef_Traits = 5 )
func (FieldDef_Traits) Descriptor ¶
func (FieldDef_Traits) Descriptor() protoreflect.EnumDescriptor
func (FieldDef_Traits) Enum ¶
func (x FieldDef_Traits) Enum() *FieldDef_Traits
func (FieldDef_Traits) EnumDescriptor
deprecated
func (FieldDef_Traits) EnumDescriptor() ([]byte, []int)
Deprecated: Use FieldDef_Traits.Descriptor instead.
func (FieldDef_Traits) Number ¶
func (x FieldDef_Traits) Number() protoreflect.EnumNumber
func (FieldDef_Traits) String ¶
func (x FieldDef_Traits) String() string
func (FieldDef_Traits) Type ¶
func (FieldDef_Traits) Type() protoreflect.EnumType
type FieldDef_Type ¶
type FieldDef_Type int32
Type of this field. Next available tag: 7
const ( // Default enum value. This value is unused. FieldDef_TYPE_UNSPECIFIED FieldDef_Type = 0 // This field can be filled only with enumerated option(s). FieldDef_ENUM FieldDef_Type = 1 // This field can be filled with integer(s). FieldDef_INT FieldDef_Type = 2 // This field can be filled with string(s). FieldDef_STR FieldDef_Type = 3 // This field can be filled with user(s). FieldDef_USER FieldDef_Type = 4 // This field can be filled with date(s). FieldDef_DATE FieldDef_Type = 5 // This field can be filled with URL(s). FieldDef_URL FieldDef_Type = 6 )
func (FieldDef_Type) Descriptor ¶
func (FieldDef_Type) Descriptor() protoreflect.EnumDescriptor
func (FieldDef_Type) Enum ¶
func (x FieldDef_Type) Enum() *FieldDef_Type
func (FieldDef_Type) EnumDescriptor
deprecated
func (FieldDef_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use FieldDef_Type.Descriptor instead.
func (FieldDef_Type) Number ¶
func (x FieldDef_Type) Number() protoreflect.EnumNumber
func (FieldDef_Type) String ¶
func (x FieldDef_Type) String() string
func (FieldDef_Type) Type ¶
func (FieldDef_Type) Type() protoreflect.EnumType
type FieldDef_UserTypeSettings ¶
type FieldDef_UserTypeSettings struct { NotifyTriggers FieldDef_UserTypeSettings_NotifyTriggers `` /* 162-byte string literal not displayed */ RoleRequirements FieldDef_UserTypeSettings_RoleRequirements `` /* 170-byte string literal not displayed */ // User(s) named in this field are granted this permission in the issue. GrantsPerm string `protobuf:"bytes,3,opt,name=grants_perm,json=grantsPerm,proto3" json:"grants_perm,omitempty"` // Field value(s) can only be set to users with this permission. NeedsPerm string `protobuf:"bytes,4,opt,name=needs_perm,json=needsPerm,proto3" json:"needs_perm,omitempty"` // contains filtered or unexported fields }
Settings specific to user type fields. Next available tag: 5
func (*FieldDef_UserTypeSettings) Descriptor
deprecated
func (*FieldDef_UserTypeSettings) Descriptor() ([]byte, []int)
Deprecated: Use FieldDef_UserTypeSettings.ProtoReflect.Descriptor instead.
func (*FieldDef_UserTypeSettings) GetGrantsPerm ¶
func (x *FieldDef_UserTypeSettings) GetGrantsPerm() string
func (*FieldDef_UserTypeSettings) GetNeedsPerm ¶
func (x *FieldDef_UserTypeSettings) GetNeedsPerm() string
func (*FieldDef_UserTypeSettings) GetNotifyTriggers ¶
func (x *FieldDef_UserTypeSettings) GetNotifyTriggers() FieldDef_UserTypeSettings_NotifyTriggers
func (*FieldDef_UserTypeSettings) GetRoleRequirements ¶
func (x *FieldDef_UserTypeSettings) GetRoleRequirements() FieldDef_UserTypeSettings_RoleRequirements
func (*FieldDef_UserTypeSettings) ProtoMessage ¶
func (*FieldDef_UserTypeSettings) ProtoMessage()
func (*FieldDef_UserTypeSettings) ProtoReflect ¶
func (x *FieldDef_UserTypeSettings) ProtoReflect() protoreflect.Message
func (*FieldDef_UserTypeSettings) Reset ¶
func (x *FieldDef_UserTypeSettings) Reset()
func (*FieldDef_UserTypeSettings) String ¶
func (x *FieldDef_UserTypeSettings) String() string
type FieldDef_UserTypeSettings_NotifyTriggers ¶
type FieldDef_UserTypeSettings_NotifyTriggers int32
Event that triggers a notification. Next available tag: 3
const ( // Default notify trigger value. This value is unused. FieldDef_UserTypeSettings_NOTIFY_TRIGGERS_UNSPECIFIED FieldDef_UserTypeSettings_NotifyTriggers = 0 // There are no notifications. FieldDef_UserTypeSettings_NEVER FieldDef_UserTypeSettings_NotifyTriggers = 1 // Notify whenever any comment is made. FieldDef_UserTypeSettings_ANY_COMMENT FieldDef_UserTypeSettings_NotifyTriggers = 2 )
func (FieldDef_UserTypeSettings_NotifyTriggers) Descriptor ¶
func (FieldDef_UserTypeSettings_NotifyTriggers) Descriptor() protoreflect.EnumDescriptor
func (FieldDef_UserTypeSettings_NotifyTriggers) EnumDescriptor
deprecated
func (FieldDef_UserTypeSettings_NotifyTriggers) EnumDescriptor() ([]byte, []int)
Deprecated: Use FieldDef_UserTypeSettings_NotifyTriggers.Descriptor instead.
func (FieldDef_UserTypeSettings_NotifyTriggers) Number ¶
func (x FieldDef_UserTypeSettings_NotifyTriggers) Number() protoreflect.EnumNumber
func (FieldDef_UserTypeSettings_NotifyTriggers) String ¶
func (x FieldDef_UserTypeSettings_NotifyTriggers) String() string
func (FieldDef_UserTypeSettings_NotifyTriggers) Type ¶
func (FieldDef_UserTypeSettings_NotifyTriggers) Type() protoreflect.EnumType
type FieldDef_UserTypeSettings_RoleRequirements ¶
type FieldDef_UserTypeSettings_RoleRequirements int32
Field value(s) can only be set to users that fulfill the role requirements. Next available tag: 3
const ( // Default role requirement value. This value is unused. FieldDef_UserTypeSettings_ROLE_REQUIREMENTS_UNSPECIFIED FieldDef_UserTypeSettings_RoleRequirements = 0 // There is no requirement. FieldDef_UserTypeSettings_NO_ROLE_REQUIREMENT FieldDef_UserTypeSettings_RoleRequirements = 1 // Field value(s) can only be set to users who are members. FieldDef_UserTypeSettings_PROJECT_MEMBER FieldDef_UserTypeSettings_RoleRequirements = 2 )
func (FieldDef_UserTypeSettings_RoleRequirements) Descriptor ¶
func (FieldDef_UserTypeSettings_RoleRequirements) Descriptor() protoreflect.EnumDescriptor
func (FieldDef_UserTypeSettings_RoleRequirements) EnumDescriptor
deprecated
func (FieldDef_UserTypeSettings_RoleRequirements) EnumDescriptor() ([]byte, []int)
Deprecated: Use FieldDef_UserTypeSettings_RoleRequirements.Descriptor instead.
func (FieldDef_UserTypeSettings_RoleRequirements) Number ¶
func (x FieldDef_UserTypeSettings_RoleRequirements) Number() protoreflect.EnumNumber
func (FieldDef_UserTypeSettings_RoleRequirements) String ¶
func (x FieldDef_UserTypeSettings_RoleRequirements) String() string
func (FieldDef_UserTypeSettings_RoleRequirements) Type ¶
func (FieldDef_UserTypeSettings_RoleRequirements) Type() protoreflect.EnumType
type FieldValue ¶
type FieldValue struct { // The project-defined field associated with this value Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // The value associated with the field. // Mapping of field types to string value: // ENUM_TYPE(int) => str(value) // INT_TYPE(int) => str(value) // STR_TYPE(str) => value // USER_TYPE(int) => the user's resource name // DATE_TYPE(int) => str(int) representing time in seconds since epoch // URL_TYPE(str) => value Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // How the value was derived. Derivation Derivation `protobuf:"varint,3,opt,name=derivation,proto3,enum=monorail.v3.Derivation" json:"derivation,omitempty"` // Issues with phase-specific fields can have values for each phase. Phase string `protobuf:"bytes,4,opt,name=phase,proto3" json:"phase,omitempty"` // contains filtered or unexported fields }
A value of a custom field for an issue. Next available tag: 5
func (*FieldValue) Descriptor
deprecated
func (*FieldValue) Descriptor() ([]byte, []int)
Deprecated: Use FieldValue.ProtoReflect.Descriptor instead.
func (*FieldValue) GetDerivation ¶
func (x *FieldValue) GetDerivation() Derivation
func (*FieldValue) GetField ¶
func (x *FieldValue) GetField() string
func (*FieldValue) GetPhase ¶
func (x *FieldValue) GetPhase() string
func (*FieldValue) GetValue ¶
func (x *FieldValue) GetValue() string
func (*FieldValue) ProtoMessage ¶
func (*FieldValue) ProtoMessage()
func (*FieldValue) ProtoReflect ¶
func (x *FieldValue) ProtoReflect() protoreflect.Message
func (*FieldValue) Reset ¶
func (x *FieldValue) Reset()
func (*FieldValue) String ¶
func (x *FieldValue) String() string
type FrontendClient ¶
type FrontendClient interface { // status: DO NOT USE // Returns all project specific configurations needed for the SPA client. // // Raises: // // INVALID_ARGUMENT if the project resource name provided is invalid. // NOT_FOUND if the parent project is not found. // PERMISSION_DENIED if user is not allowed to view this project. GatherProjectEnvironment(ctx context.Context, in *GatherProjectEnvironmentRequest, opts ...grpc.CallOption) (*GatherProjectEnvironmentResponse, error) // status: DO NOT USE // Returns all of a given user's project memberships. // // Raises: // // NOT_FOUND if the user is not found. // INVALID_ARGUMENT if the user resource name provided is invalid. GatherProjectMembershipsForUser(ctx context.Context, in *GatherProjectMembershipsForUserRequest, opts ...grpc.CallOption) (*GatherProjectMembershipsForUserResponse, error) }
FrontendClient is the client API for Frontend service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFrontendClient ¶
func NewFrontendClient(cc grpc.ClientConnInterface) FrontendClient
func NewFrontendPRPCClient ¶
func NewFrontendPRPCClient(client *prpc.Client) FrontendClient
type FrontendServer ¶
type FrontendServer interface { // status: DO NOT USE // Returns all project specific configurations needed for the SPA client. // // Raises: // // INVALID_ARGUMENT if the project resource name provided is invalid. // NOT_FOUND if the parent project is not found. // PERMISSION_DENIED if user is not allowed to view this project. GatherProjectEnvironment(context.Context, *GatherProjectEnvironmentRequest) (*GatherProjectEnvironmentResponse, error) // status: DO NOT USE // Returns all of a given user's project memberships. // // Raises: // // NOT_FOUND if the user is not found. // INVALID_ARGUMENT if the user resource name provided is invalid. GatherProjectMembershipsForUser(context.Context, *GatherProjectMembershipsForUserRequest) (*GatherProjectMembershipsForUserResponse, error) }
FrontendServer is the server API for Frontend service.
type GatherHotlistsForUserRequest ¶
type GatherHotlistsForUserRequest struct { // Resource name of the user whose hotlists we want to fetch. User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
Request message for a GatherHotlistsForUser call. Next available tag: 2
func (*GatherHotlistsForUserRequest) Descriptor
deprecated
func (*GatherHotlistsForUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GatherHotlistsForUserRequest.ProtoReflect.Descriptor instead.
func (*GatherHotlistsForUserRequest) GetUser ¶
func (x *GatherHotlistsForUserRequest) GetUser() string
func (*GatherHotlistsForUserRequest) ProtoMessage ¶
func (*GatherHotlistsForUserRequest) ProtoMessage()
func (*GatherHotlistsForUserRequest) ProtoReflect ¶
func (x *GatherHotlistsForUserRequest) ProtoReflect() protoreflect.Message
func (*GatherHotlistsForUserRequest) Reset ¶
func (x *GatherHotlistsForUserRequest) Reset()
func (*GatherHotlistsForUserRequest) String ¶
func (x *GatherHotlistsForUserRequest) String() string
type GatherHotlistsForUserResponse ¶
type GatherHotlistsForUserResponse struct { Hotlists []*Hotlist `protobuf:"bytes,1,rep,name=hotlists,proto3" json:"hotlists,omitempty"` // contains filtered or unexported fields }
Response message for a GatherHotlistsForUser call. Next available tag: 2
func (*GatherHotlistsForUserResponse) Descriptor
deprecated
func (*GatherHotlistsForUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GatherHotlistsForUserResponse.ProtoReflect.Descriptor instead.
func (*GatherHotlistsForUserResponse) GetHotlists ¶
func (x *GatherHotlistsForUserResponse) GetHotlists() []*Hotlist
func (*GatherHotlistsForUserResponse) ProtoMessage ¶
func (*GatherHotlistsForUserResponse) ProtoMessage()
func (*GatherHotlistsForUserResponse) ProtoReflect ¶
func (x *GatherHotlistsForUserResponse) ProtoReflect() protoreflect.Message
func (*GatherHotlistsForUserResponse) Reset ¶
func (x *GatherHotlistsForUserResponse) Reset()
func (*GatherHotlistsForUserResponse) String ¶
func (x *GatherHotlistsForUserResponse) String() string
type GatherProjectEnvironmentRequest ¶
type GatherProjectEnvironmentRequest struct { // The name of the project these config environments belong to. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
Request message for GatherProjectEnvironment Next available tag: 2
func (*GatherProjectEnvironmentRequest) Descriptor
deprecated
func (*GatherProjectEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GatherProjectEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*GatherProjectEnvironmentRequest) GetParent ¶
func (x *GatherProjectEnvironmentRequest) GetParent() string
func (*GatherProjectEnvironmentRequest) ProtoMessage ¶
func (*GatherProjectEnvironmentRequest) ProtoMessage()
func (*GatherProjectEnvironmentRequest) ProtoReflect ¶
func (x *GatherProjectEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*GatherProjectEnvironmentRequest) Reset ¶
func (x *GatherProjectEnvironmentRequest) Reset()
func (*GatherProjectEnvironmentRequest) String ¶
func (x *GatherProjectEnvironmentRequest) String() string
type GatherProjectEnvironmentResponse ¶
type GatherProjectEnvironmentResponse struct { // Project definitions such as display_name and summary. Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Configurations of this project such as default search term, // default templates for members and non members. ProjectConfig *ProjectConfig `protobuf:"bytes,2,opt,name=project_config,json=projectConfig,proto3" json:"project_config,omitempty"` // List of statuses that belong to this project. Statuses []*StatusDef `protobuf:"bytes,3,rep,name=statuses,proto3" json:"statuses,omitempty"` // List of well known labels that belong to this project. WellKnownLabels []*LabelDef `protobuf:"bytes,4,rep,name=well_known_labels,json=wellKnownLabels,proto3" json:"well_known_labels,omitempty"` // List of components that belong to this project. Components []*ComponentDef `protobuf:"bytes,5,rep,name=components,proto3" json:"components,omitempty"` // List of custom fields that belong to this project. Fields []*FieldDef `protobuf:"bytes,6,rep,name=fields,proto3" json:"fields,omitempty"` // List of approval fields that belong to this project. ApprovalFields []*ApprovalDef `protobuf:"bytes,7,rep,name=approval_fields,json=approvalFields,proto3" json:"approval_fields,omitempty"` // Saved search queries that admins defined for this project. SavedQueries []*ProjectSavedQuery `protobuf:"bytes,8,rep,name=saved_queries,json=savedQueries,proto3" json:"saved_queries,omitempty"` // contains filtered or unexported fields }
Response message for GatherProjectEnvironment Next available tag: 9
func (*GatherProjectEnvironmentResponse) Descriptor
deprecated
func (*GatherProjectEnvironmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use GatherProjectEnvironmentResponse.ProtoReflect.Descriptor instead.
func (*GatherProjectEnvironmentResponse) GetApprovalFields ¶
func (x *GatherProjectEnvironmentResponse) GetApprovalFields() []*ApprovalDef
func (*GatherProjectEnvironmentResponse) GetComponents ¶
func (x *GatherProjectEnvironmentResponse) GetComponents() []*ComponentDef
func (*GatherProjectEnvironmentResponse) GetFields ¶
func (x *GatherProjectEnvironmentResponse) GetFields() []*FieldDef
func (*GatherProjectEnvironmentResponse) GetProject ¶
func (x *GatherProjectEnvironmentResponse) GetProject() *Project
func (*GatherProjectEnvironmentResponse) GetProjectConfig ¶
func (x *GatherProjectEnvironmentResponse) GetProjectConfig() *ProjectConfig
func (*GatherProjectEnvironmentResponse) GetSavedQueries ¶
func (x *GatherProjectEnvironmentResponse) GetSavedQueries() []*ProjectSavedQuery
func (*GatherProjectEnvironmentResponse) GetStatuses ¶
func (x *GatherProjectEnvironmentResponse) GetStatuses() []*StatusDef
func (*GatherProjectEnvironmentResponse) GetWellKnownLabels ¶
func (x *GatherProjectEnvironmentResponse) GetWellKnownLabels() []*LabelDef
func (*GatherProjectEnvironmentResponse) ProtoMessage ¶
func (*GatherProjectEnvironmentResponse) ProtoMessage()
func (*GatherProjectEnvironmentResponse) ProtoReflect ¶
func (x *GatherProjectEnvironmentResponse) ProtoReflect() protoreflect.Message
func (*GatherProjectEnvironmentResponse) Reset ¶
func (x *GatherProjectEnvironmentResponse) Reset()
func (*GatherProjectEnvironmentResponse) String ¶
func (x *GatherProjectEnvironmentResponse) String() string
type GatherProjectMembershipsForUserRequest ¶
type GatherProjectMembershipsForUserRequest struct { // The name of the user to request. User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
The request message for Frontend.GatherProjectMembershipsForUser. Next available tag: 2
func (*GatherProjectMembershipsForUserRequest) Descriptor
deprecated
func (*GatherProjectMembershipsForUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GatherProjectMembershipsForUserRequest.ProtoReflect.Descriptor instead.
func (*GatherProjectMembershipsForUserRequest) GetUser ¶
func (x *GatherProjectMembershipsForUserRequest) GetUser() string
func (*GatherProjectMembershipsForUserRequest) ProtoMessage ¶
func (*GatherProjectMembershipsForUserRequest) ProtoMessage()
func (*GatherProjectMembershipsForUserRequest) ProtoReflect ¶
func (x *GatherProjectMembershipsForUserRequest) ProtoReflect() protoreflect.Message
func (*GatherProjectMembershipsForUserRequest) Reset ¶
func (x *GatherProjectMembershipsForUserRequest) Reset()
func (*GatherProjectMembershipsForUserRequest) String ¶
func (x *GatherProjectMembershipsForUserRequest) String() string
type GatherProjectMembershipsForUserResponse ¶
type GatherProjectMembershipsForUserResponse struct { // The projects that the user is a member of. ProjectMemberships []*ProjectMember `protobuf:"bytes,1,rep,name=project_memberships,json=projectMemberships,proto3" json:"project_memberships,omitempty"` // contains filtered or unexported fields }
The response message for Frontend.GatherProjectMembershipsForUser. Next available tag: 2
func (*GatherProjectMembershipsForUserResponse) Descriptor
deprecated
func (*GatherProjectMembershipsForUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GatherProjectMembershipsForUserResponse.ProtoReflect.Descriptor instead.
func (*GatherProjectMembershipsForUserResponse) GetProjectMemberships ¶
func (x *GatherProjectMembershipsForUserResponse) GetProjectMemberships() []*ProjectMember
func (*GatherProjectMembershipsForUserResponse) ProtoMessage ¶
func (*GatherProjectMembershipsForUserResponse) ProtoMessage()
func (*GatherProjectMembershipsForUserResponse) ProtoReflect ¶
func (x *GatherProjectMembershipsForUserResponse) ProtoReflect() protoreflect.Message
func (*GatherProjectMembershipsForUserResponse) Reset ¶
func (x *GatherProjectMembershipsForUserResponse) Reset()
func (*GatherProjectMembershipsForUserResponse) String ¶
func (x *GatherProjectMembershipsForUserResponse) String() string
type GetComponentDefRequest ¶
type GetComponentDefRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for GetComponentDef method. Next available tag: 2
func (*GetComponentDefRequest) Descriptor
deprecated
func (*GetComponentDefRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetComponentDefRequest.ProtoReflect.Descriptor instead.
func (*GetComponentDefRequest) GetName ¶
func (x *GetComponentDefRequest) GetName() string
func (*GetComponentDefRequest) ProtoMessage ¶
func (*GetComponentDefRequest) ProtoMessage()
func (*GetComponentDefRequest) ProtoReflect ¶
func (x *GetComponentDefRequest) ProtoReflect() protoreflect.Message
func (*GetComponentDefRequest) Reset ¶
func (x *GetComponentDefRequest) Reset()
func (*GetComponentDefRequest) String ¶
func (x *GetComponentDefRequest) String() string
type GetHotlistRequest ¶
type GetHotlistRequest struct { // The name of the hotlist to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for GetHotlist method. Next available tag: 2
func (*GetHotlistRequest) Descriptor
deprecated
func (*GetHotlistRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHotlistRequest.ProtoReflect.Descriptor instead.
func (*GetHotlistRequest) GetName ¶
func (x *GetHotlistRequest) GetName() string
func (*GetHotlistRequest) ProtoMessage ¶
func (*GetHotlistRequest) ProtoMessage()
func (*GetHotlistRequest) ProtoReflect ¶
func (x *GetHotlistRequest) ProtoReflect() protoreflect.Message
func (*GetHotlistRequest) Reset ¶
func (x *GetHotlistRequest) Reset()
func (*GetHotlistRequest) String ¶
func (x *GetHotlistRequest) String() string
type GetIssueRequest ¶
type GetIssueRequest struct { // The name of the issue to request. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for Issues.GetIssue. Next available tag: 2
func (*GetIssueRequest) Descriptor
deprecated
func (*GetIssueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIssueRequest.ProtoReflect.Descriptor instead.
func (*GetIssueRequest) GetName ¶
func (x *GetIssueRequest) GetName() string
func (*GetIssueRequest) ProtoMessage ¶
func (*GetIssueRequest) ProtoMessage()
func (*GetIssueRequest) ProtoReflect ¶
func (x *GetIssueRequest) ProtoReflect() protoreflect.Message
func (*GetIssueRequest) Reset ¶
func (x *GetIssueRequest) Reset()
func (*GetIssueRequest) String ¶
func (x *GetIssueRequest) String() string
type GetPermissionSetRequest ¶
type GetPermissionSetRequest struct { // The resource name of the resource permissions to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the GetPermissionSet emthod. Next available tag: 2
func (*GetPermissionSetRequest) Descriptor
deprecated
func (*GetPermissionSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPermissionSetRequest.ProtoReflect.Descriptor instead.
func (*GetPermissionSetRequest) GetName ¶
func (x *GetPermissionSetRequest) GetName() string
func (*GetPermissionSetRequest) ProtoMessage ¶
func (*GetPermissionSetRequest) ProtoMessage()
func (*GetPermissionSetRequest) ProtoReflect ¶
func (x *GetPermissionSetRequest) ProtoReflect() protoreflect.Message
func (*GetPermissionSetRequest) Reset ¶
func (x *GetPermissionSetRequest) Reset()
func (*GetPermissionSetRequest) String ¶
func (x *GetPermissionSetRequest) String() string
type GetUserRequest ¶
type GetUserRequest struct { // The name of the user to request. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for Users.GetUser. Next available tag: 2
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetName ¶
func (x *GetUserRequest) GetName() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type Hotlist ¶
type Hotlist struct { // Resource name of the hotlist. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // `display_name` must follow pattern found at `framework_bizobj.RE_HOTLIST_NAME_PATTERN`. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Resource name of the hotlist owner. // Owners can update hotlist settings, editors, owner, and HotlistItems. // TODO(monorail:7023): field_behavior may be changed in the future. Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // Resource names of the hotlist editors. // Editors can update hotlist HotlistItems. Editors []string `protobuf:"bytes,4,rep,name=editors,proto3" json:"editors,omitempty"` // Summary of the hotlist. Summary string `protobuf:"bytes,5,opt,name=summary,proto3" json:"summary,omitempty"` // More detailed description of the purpose of the hotlist. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // Ordered list of default columns shown on hotlist's issues list view. DefaultColumns []*IssuesListColumn `protobuf:"bytes,7,rep,name=default_columns,json=defaultColumns,proto3" json:"default_columns,omitempty"` HotlistPrivacy Hotlist_HotlistPrivacy `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
A user-owned list of Issues. Next available tag: 9
func (*Hotlist) Descriptor
deprecated
func (*Hotlist) GetDefaultColumns ¶
func (x *Hotlist) GetDefaultColumns() []*IssuesListColumn
func (*Hotlist) GetDescription ¶
func (*Hotlist) GetDisplayName ¶
func (*Hotlist) GetEditors ¶
func (*Hotlist) GetHotlistPrivacy ¶
func (x *Hotlist) GetHotlistPrivacy() Hotlist_HotlistPrivacy
func (*Hotlist) GetSummary ¶
func (*Hotlist) ProtoMessage ¶
func (*Hotlist) ProtoMessage()
func (*Hotlist) ProtoReflect ¶
func (x *Hotlist) ProtoReflect() protoreflect.Message
type HotlistItem ¶
type HotlistItem struct { // Resource name of the HotlistItem. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The Issue associated with this item. Issue string `protobuf:"bytes,2,opt,name=issue,proto3" json:"issue,omitempty"` // Represents the item's position in the Hotlist in decreasing priority order. // Values will be from 1 to N (the size of the hotlist), each item having a unique rank. // Changes to rank must be made in `RerankHotlistItems`. Rank uint32 `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"` // Resource name of the adder of HotlistItem. Adder string `protobuf:"bytes,4,opt,name=adder,proto3" json:"adder,omitempty"` // The time this HotlistItem was added to the hotlist. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // User-provided additional details about this item. Note string `protobuf:"bytes,6,opt,name=note,proto3" json:"note,omitempty"` // contains filtered or unexported fields }
Represents the the position of an Issue in a Hotlist. Next available tag: 7
func (*HotlistItem) Descriptor
deprecated
func (*HotlistItem) Descriptor() ([]byte, []int)
Deprecated: Use HotlistItem.ProtoReflect.Descriptor instead.
func (*HotlistItem) GetAdder ¶
func (x *HotlistItem) GetAdder() string
func (*HotlistItem) GetCreateTime ¶
func (x *HotlistItem) GetCreateTime() *timestamppb.Timestamp
func (*HotlistItem) GetIssue ¶
func (x *HotlistItem) GetIssue() string
func (*HotlistItem) GetName ¶
func (x *HotlistItem) GetName() string
func (*HotlistItem) GetNote ¶
func (x *HotlistItem) GetNote() string
func (*HotlistItem) GetRank ¶
func (x *HotlistItem) GetRank() uint32
func (*HotlistItem) ProtoMessage ¶
func (*HotlistItem) ProtoMessage()
func (*HotlistItem) ProtoReflect ¶
func (x *HotlistItem) ProtoReflect() protoreflect.Message
func (*HotlistItem) Reset ¶
func (x *HotlistItem) Reset()
func (*HotlistItem) String ¶
func (x *HotlistItem) String() string
type Hotlist_HotlistPrivacy ¶
type Hotlist_HotlistPrivacy int32
Privacy level of a Hotlist. Next available tag: 2
const ( // This value is unused. Hotlist_HOTLIST_PRIVACY_UNSPECIFIED Hotlist_HotlistPrivacy = 0 // Only the owner and editors of the hotlist can view the hotlist. Hotlist_PRIVATE Hotlist_HotlistPrivacy = 1 // Anyone on the web can view the hotlist. Hotlist_PUBLIC Hotlist_HotlistPrivacy = 2 )
func (Hotlist_HotlistPrivacy) Descriptor ¶
func (Hotlist_HotlistPrivacy) Descriptor() protoreflect.EnumDescriptor
func (Hotlist_HotlistPrivacy) Enum ¶
func (x Hotlist_HotlistPrivacy) Enum() *Hotlist_HotlistPrivacy
func (Hotlist_HotlistPrivacy) EnumDescriptor
deprecated
func (Hotlist_HotlistPrivacy) EnumDescriptor() ([]byte, []int)
Deprecated: Use Hotlist_HotlistPrivacy.Descriptor instead.
func (Hotlist_HotlistPrivacy) Number ¶
func (x Hotlist_HotlistPrivacy) Number() protoreflect.EnumNumber
func (Hotlist_HotlistPrivacy) String ¶
func (x Hotlist_HotlistPrivacy) String() string
func (Hotlist_HotlistPrivacy) Type ¶
func (Hotlist_HotlistPrivacy) Type() protoreflect.EnumType
type HotlistsClient ¶
type HotlistsClient interface { // status: NOT READY // Creates a new hotlist. // // Raises: // // NOT_FOUND if some given hotlist editors do not exist. // ALREADY_EXISTS if a hotlist with the same name owned by the user // already exists. // INVALID_ARGUMENT if a `hotlist.owner` is given. CreateHotlist(ctx context.Context, in *CreateHotlistRequest, opts ...grpc.CallOption) (*Hotlist, error) // status: NOT READY // Returns the requested Hotlist. // // Raises: // // NOT_FOUND if the requested hotlist is not found. // PERMISSION_DENIED if the requester is not allowed to view the hotlist. // INVALID_ARGUMENT if the given resource name is not valid. GetHotlist(ctx context.Context, in *GetHotlistRequest, opts ...grpc.CallOption) (*Hotlist, error) // status: NOT READY // Updates a hotlist. // // Raises: // // NOT_FOUND if the hotlist is not found. // PERMISSION_DENIED if the requester is not allowed to update the hotlist. // INVALID_ARGUMENT if required fields are missing. UpdateHotlist(ctx context.Context, in *UpdateHotlistRequest, opts ...grpc.CallOption) (*Hotlist, error) // status: NOT READY // Deletes a hotlist. // // Raises: // // NOT_FOUND if the hotlist is not found. // PERMISSION_DENIED if the requester is not allowed to delete the hotlist. DeleteHotlist(ctx context.Context, in *GetHotlistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // status: NOT READY // Returns a list of all HotlistItems in the hotlist. // // Raises: // // NOT_FOUND if the parent hotlist is not found. // PERMISSION_DENIED if the requester is not allowed to view the hotlist. // INVALID_ARGUMENT if the page_token or given hotlist resource name is not // valid. ListHotlistItems(ctx context.Context, in *ListHotlistItemsRequest, opts ...grpc.CallOption) (*ListHotlistItemsResponse, error) // status: NOT READY // Reranks a hotlist's items. // // Raises: // // NOT_FOUND if the hotlist or issues to rerank are not found. // PERMISSION_DENIED if the requester is not allowed to rerank the hotlist // or view issues they're trying to rerank. // INVALID_ARGUMENT if the `target_position` is invalid or `hotlist_items` // is empty or contains items not in the Hotlist. RerankHotlistItems(ctx context.Context, in *RerankHotlistItemsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // status: NOT READY // Adds new items associated with given issues to a hotlist. // // Raises: // // NOT_FOUND if the parent hotlist or issues are not found. // PERMISSION_DENIED if the requester is not allowed to edit the hotlist or // view issues they are trying to add. // INVALID_ARGUMENT if the `target_position` is invalid or `hotlist_items` // is empty or contains items not in the Hotlist. AddHotlistItems(ctx context.Context, in *AddHotlistItemsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // status: NOT READY // Removes items associated with given issues from a hotlist. // // Raises: // // NOT_FOUND if the parent hotlist or issues are not found. // PERMISSION_DENIED if the requester is not allowed to edit the hotlist or // view issues they are trying to remove. // INVALID_ARGUMENT if the `target_position` is invalid or `hotlist_items` // is empty or contains items not in the Hotlist. RemoveHotlistItems(ctx context.Context, in *RemoveHotlistItemsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // status: NOT READY // Removes editors assigned to a hotlist. // // Raises: // // NOT_FOUND if the hotlist is not found. // PERMISSION_DENIED if the requester is not allowed to remove all specified // editors from the hotlist. // INVALID_ARGUMENT if any specified editors are not in the hotlist. RemoveHotlistEditors(ctx context.Context, in *RemoveHotlistEditorsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // status: NOT READY // Gathers all viewable hotlists that a user is a member of. // // Raises: // // NOT_FOUND if the user is not found. // INVALID_ARGUMENT if the `user` is invalid. GatherHotlistsForUser(ctx context.Context, in *GatherHotlistsForUserRequest, opts ...grpc.CallOption) (*GatherHotlistsForUserResponse, error) }
HotlistsClient is the client API for Hotlists service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHotlistsClient ¶
func NewHotlistsClient(cc grpc.ClientConnInterface) HotlistsClient
func NewHotlistsPRPCClient ¶
func NewHotlistsPRPCClient(client *prpc.Client) HotlistsClient
type HotlistsServer ¶
type HotlistsServer interface { // status: NOT READY // Creates a new hotlist. // // Raises: // // NOT_FOUND if some given hotlist editors do not exist. // ALREADY_EXISTS if a hotlist with the same name owned by the user // already exists. // INVALID_ARGUMENT if a `hotlist.owner` is given. CreateHotlist(context.Context, *CreateHotlistRequest) (*Hotlist, error) // status: NOT READY // Returns the requested Hotlist. // // Raises: // // NOT_FOUND if the requested hotlist is not found. // PERMISSION_DENIED if the requester is not allowed to view the hotlist. // INVALID_ARGUMENT if the given resource name is not valid. GetHotlist(context.Context, *GetHotlistRequest) (*Hotlist, error) // status: NOT READY // Updates a hotlist. // // Raises: // // NOT_FOUND if the hotlist is not found. // PERMISSION_DENIED if the requester is not allowed to update the hotlist. // INVALID_ARGUMENT if required fields are missing. UpdateHotlist(context.Context, *UpdateHotlistRequest) (*Hotlist, error) // status: NOT READY // Deletes a hotlist. // // Raises: // // NOT_FOUND if the hotlist is not found. // PERMISSION_DENIED if the requester is not allowed to delete the hotlist. DeleteHotlist(context.Context, *GetHotlistRequest) (*emptypb.Empty, error) // status: NOT READY // Returns a list of all HotlistItems in the hotlist. // // Raises: // // NOT_FOUND if the parent hotlist is not found. // PERMISSION_DENIED if the requester is not allowed to view the hotlist. // INVALID_ARGUMENT if the page_token or given hotlist resource name is not // valid. ListHotlistItems(context.Context, *ListHotlistItemsRequest) (*ListHotlistItemsResponse, error) // status: NOT READY // Reranks a hotlist's items. // // Raises: // // NOT_FOUND if the hotlist or issues to rerank are not found. // PERMISSION_DENIED if the requester is not allowed to rerank the hotlist // or view issues they're trying to rerank. // INVALID_ARGUMENT if the `target_position` is invalid or `hotlist_items` // is empty or contains items not in the Hotlist. RerankHotlistItems(context.Context, *RerankHotlistItemsRequest) (*emptypb.Empty, error) // status: NOT READY // Adds new items associated with given issues to a hotlist. // // Raises: // // NOT_FOUND if the parent hotlist or issues are not found. // PERMISSION_DENIED if the requester is not allowed to edit the hotlist or // view issues they are trying to add. // INVALID_ARGUMENT if the `target_position` is invalid or `hotlist_items` // is empty or contains items not in the Hotlist. AddHotlistItems(context.Context, *AddHotlistItemsRequest) (*emptypb.Empty, error) // status: NOT READY // Removes items associated with given issues from a hotlist. // // Raises: // // NOT_FOUND if the parent hotlist or issues are not found. // PERMISSION_DENIED if the requester is not allowed to edit the hotlist or // view issues they are trying to remove. // INVALID_ARGUMENT if the `target_position` is invalid or `hotlist_items` // is empty or contains items not in the Hotlist. RemoveHotlistItems(context.Context, *RemoveHotlistItemsRequest) (*emptypb.Empty, error) // status: NOT READY // Removes editors assigned to a hotlist. // // Raises: // // NOT_FOUND if the hotlist is not found. // PERMISSION_DENIED if the requester is not allowed to remove all specified // editors from the hotlist. // INVALID_ARGUMENT if any specified editors are not in the hotlist. RemoveHotlistEditors(context.Context, *RemoveHotlistEditorsRequest) (*emptypb.Empty, error) // status: NOT READY // Gathers all viewable hotlists that a user is a member of. // // Raises: // // NOT_FOUND if the user is not found. // INVALID_ARGUMENT if the `user` is invalid. GatherHotlistsForUser(context.Context, *GatherHotlistsForUserRequest) (*GatherHotlistsForUserResponse, error) }
HotlistsServer is the server API for Hotlists service.
type Issue ¶
type Issue struct { // Resource name of the issue. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A brief summary of the issue. Generally displayed as a user-facing title. // TODO(monorail:6988): The UI limits summary length while the backend does // not. Resolve this discrepancy. Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` // The state of the issue. State IssueContentState `protobuf:"varint,3,opt,name=state,proto3,enum=monorail.v3.IssueContentState" json:"state,omitempty"` // The current status of the issue. Status *Issue_StatusValue `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` // The user who created the issue. Reporter string `protobuf:"bytes,5,opt,name=reporter,proto3" json:"reporter,omitempty"` // The user currently responsible for the issue. This user must be a member of // the Project. Owner *Issue_UserValue `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"` // Additional users receiving notifications on the issue. CcUsers []*Issue_UserValue `protobuf:"bytes,7,rep,name=cc_users,json=ccUsers,proto3" json:"cc_users,omitempty"` // Labels applied to the issue. Labels []*Issue_LabelValue `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty"` // Components the issue is associated with. Components []*Issue_ComponentValue `protobuf:"bytes,9,rep,name=components,proto3" json:"components,omitempty"` // Values for custom fields on the issue. FieldValues []*FieldValue `protobuf:"bytes,10,rep,name=field_values,json=fieldValues,proto3" json:"field_values,omitempty"` // An issue can be merged into another. If this value is set, the issue // referred to should be considered the primary source for further updates. MergedIntoIssueRef *IssueRef `protobuf:"bytes,11,opt,name=merged_into_issue_ref,json=mergedIntoIssueRef,proto3" json:"merged_into_issue_ref,omitempty"` // Issues preventing the completion of this issue. BlockedOnIssueRefs []*IssueRef `protobuf:"bytes,12,rep,name=blocked_on_issue_refs,json=blockedOnIssueRefs,proto3" json:"blocked_on_issue_refs,omitempty"` // Issues for which this issue is blocking completion. BlockingIssueRefs []*IssueRef `protobuf:"bytes,13,rep,name=blocking_issue_refs,json=blockingIssueRefs,proto3" json:"blocking_issue_refs,omitempty"` // The time the issue was reported. CreateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The most recent time the issue was closed. CloseTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"` // The most recent time the issue was modified. ModifyTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=modify_time,json=modifyTime,proto3" json:"modify_time,omitempty"` // The most recent time a component value was modified. ComponentModifyTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=component_modify_time,json=componentModifyTime,proto3" json:"component_modify_time,omitempty"` // The most recent time the status value was modified. StatusModifyTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=status_modify_time,json=statusModifyTime,proto3" json:"status_modify_time,omitempty"` // The most recent time the owner made a modification to the issue. OwnerModifyTime *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=owner_modify_time,json=ownerModifyTime,proto3" json:"owner_modify_time,omitempty"` // The number of attachments associated with the issue. AttachmentCount uint32 `protobuf:"varint,20,opt,name=attachment_count,json=attachmentCount,proto3" json:"attachment_count,omitempty"` // The number of users who have starred the issue. StarCount uint32 `protobuf:"varint,21,opt,name=star_count,json=starCount,proto3" json:"star_count,omitempty"` // Phases of a process the issue is tracking (if applicable). // See monorail/doc/userguide/concepts.md#issue-approvals-and-gates Phases []string `protobuf:"bytes,22,rep,name=phases,proto3" json:"phases,omitempty"` // The issue tracker ID this Monorail issue migrated to. MigratedId string `protobuf:"bytes,23,opt,name=migrated_id,json=migratedId,proto3" json:"migrated_id,omitempty"` // contains filtered or unexported fields }
Documents and tracks a bug, task, or feature request within a Project. Next available tag: 24
func (*Issue) Descriptor
deprecated
func (*Issue) GetAttachmentCount ¶
func (*Issue) GetBlockedOnIssueRefs ¶
func (*Issue) GetBlockingIssueRefs ¶
func (*Issue) GetCcUsers ¶
func (x *Issue) GetCcUsers() []*Issue_UserValue
func (*Issue) GetCloseTime ¶
func (x *Issue) GetCloseTime() *timestamppb.Timestamp
func (*Issue) GetComponentModifyTime ¶
func (x *Issue) GetComponentModifyTime() *timestamppb.Timestamp
func (*Issue) GetComponents ¶
func (x *Issue) GetComponents() []*Issue_ComponentValue
func (*Issue) GetCreateTime ¶
func (x *Issue) GetCreateTime() *timestamppb.Timestamp
func (*Issue) GetFieldValues ¶
func (x *Issue) GetFieldValues() []*FieldValue
func (*Issue) GetLabels ¶
func (x *Issue) GetLabels() []*Issue_LabelValue
func (*Issue) GetMergedIntoIssueRef ¶
func (*Issue) GetMigratedId ¶
func (*Issue) GetModifyTime ¶
func (x *Issue) GetModifyTime() *timestamppb.Timestamp
func (*Issue) GetOwner ¶
func (x *Issue) GetOwner() *Issue_UserValue
func (*Issue) GetOwnerModifyTime ¶
func (x *Issue) GetOwnerModifyTime() *timestamppb.Timestamp
func (*Issue) GetReporter ¶
func (*Issue) GetStarCount ¶
func (*Issue) GetState ¶
func (x *Issue) GetState() IssueContentState
func (*Issue) GetStatus ¶
func (x *Issue) GetStatus() *Issue_StatusValue
func (*Issue) GetStatusModifyTime ¶
func (x *Issue) GetStatusModifyTime() *timestamppb.Timestamp
func (*Issue) GetSummary ¶
func (*Issue) ProtoMessage ¶
func (*Issue) ProtoMessage()
func (*Issue) ProtoReflect ¶
func (x *Issue) ProtoReflect() protoreflect.Message
type IssueContentState ¶
type IssueContentState int32
States that an issue or its comments can be in (aip.dev/216). Next available tag: 4
const ( // The default value. This value is used if the state is omitted. IssueContentState_STATE_UNSPECIFIED IssueContentState = 0 // The Issue or Comment is available. IssueContentState_ACTIVE IssueContentState = 1 // The Issue or Comment has been deleted. IssueContentState_DELETED IssueContentState = 2 // The Issue or Comment has been flagged as spam. // Takes precedent over DELETED. IssueContentState_SPAM IssueContentState = 3 )
func (IssueContentState) Descriptor ¶
func (IssueContentState) Descriptor() protoreflect.EnumDescriptor
func (IssueContentState) Enum ¶
func (x IssueContentState) Enum() *IssueContentState
func (IssueContentState) EnumDescriptor
deprecated
func (IssueContentState) EnumDescriptor() ([]byte, []int)
Deprecated: Use IssueContentState.Descriptor instead.
func (IssueContentState) Number ¶
func (x IssueContentState) Number() protoreflect.EnumNumber
func (IssueContentState) String ¶
func (x IssueContentState) String() string
func (IssueContentState) Type ¶
func (IssueContentState) Type() protoreflect.EnumType
type IssueDelta ¶
type IssueDelta struct { // The issue's `name` field is used to identify the issue to be // updated. `issue.name` must always be filled. // // Values with rule-based Derivation within `issue` and in `field_vals_remove` // will be ignored. Issue *Issue `protobuf:"bytes,1,opt,name=issue,proto3" json:"issue,omitempty"` // The list of fields in `issue` to be updated. // // Repeated fields set on `issue` will be appended to. // // Non-repeated fields (e.g. `owner`) can be set with `issue.owner` set and // either 'owner' or 'owner.user' added to `update_mask`. // To unset non-repeated fields back to their default value, `issue.owner` // must contain the default value and `update_mask` must include 'owner.user' // NOT 'owner'. // // Its `field_values`, however, are a special case. Fields can be specified as // single-value or multi-value in their FieldDef. // // Single-value Field: if there is preexisting FieldValue with the same // `field` and `phase`, it will be REPLACED. // // Multi-value Field: a new value will be appended, unless the same `field`, // `phase`, `value` combination already exists. In that case, the FieldValue // will be ignored. In other words, duplicate values are ignored. // (With the exception of crbug.com/monorail/8137 until it is fixed). UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Cc's to remove. CcsRemove []string `protobuf:"bytes,3,rep,name=ccs_remove,json=ccsRemove,proto3" json:"ccs_remove,omitempty"` // Blocked_on issues to remove. BlockedOnIssuesRemove []*IssueRef `` /* 128-byte string literal not displayed */ // Blocking issues to remove. BlockingIssuesRemove []*IssueRef `protobuf:"bytes,5,rep,name=blocking_issues_remove,json=blockingIssuesRemove,proto3" json:"blocking_issues_remove,omitempty"` // Components to remove. ComponentsRemove []string `protobuf:"bytes,6,rep,name=components_remove,json=componentsRemove,proto3" json:"components_remove,omitempty"` // Labels to remove. LabelsRemove []string `protobuf:"bytes,7,rep,name=labels_remove,json=labelsRemove,proto3" json:"labels_remove,omitempty"` // FieldValues to remove. Any values that did not already exist will be // ignored e.g. if you append a FieldValue in issue and remove it here, it // will still be added. FieldValsRemove []*FieldValue `protobuf:"bytes,8,rep,name=field_vals_remove,json=fieldValsRemove,proto3" json:"field_vals_remove,omitempty"` // contains filtered or unexported fields }
Holds changes to one issue, used in ModifyIssuesRequest. Next available tag: 9
func (*IssueDelta) Descriptor
deprecated
func (*IssueDelta) Descriptor() ([]byte, []int)
Deprecated: Use IssueDelta.ProtoReflect.Descriptor instead.
func (*IssueDelta) GetBlockedOnIssuesRemove ¶
func (x *IssueDelta) GetBlockedOnIssuesRemove() []*IssueRef
func (*IssueDelta) GetBlockingIssuesRemove ¶
func (x *IssueDelta) GetBlockingIssuesRemove() []*IssueRef
func (*IssueDelta) GetCcsRemove ¶
func (x *IssueDelta) GetCcsRemove() []string
func (*IssueDelta) GetComponentsRemove ¶
func (x *IssueDelta) GetComponentsRemove() []string
func (*IssueDelta) GetFieldValsRemove ¶
func (x *IssueDelta) GetFieldValsRemove() []*FieldValue
func (*IssueDelta) GetIssue ¶
func (x *IssueDelta) GetIssue() *Issue
func (*IssueDelta) GetLabelsRemove ¶
func (x *IssueDelta) GetLabelsRemove() []string
func (*IssueDelta) GetUpdateMask ¶
func (x *IssueDelta) GetUpdateMask() *fieldmaskpb.FieldMask
func (*IssueDelta) ProtoMessage ¶
func (*IssueDelta) ProtoMessage()
func (*IssueDelta) ProtoReflect ¶
func (x *IssueDelta) ProtoReflect() protoreflect.Message
func (*IssueDelta) Reset ¶
func (x *IssueDelta) Reset()
func (*IssueDelta) String ¶
func (x *IssueDelta) String() string
type IssueRef ¶
type IssueRef struct { // Resource name of an issue tracked in Monorail Issue string `protobuf:"bytes,1,opt,name=issue,proto3" json:"issue,omitempty"` // For referencing external issues, e.g. b/1234, or a dangling reference // to an old 'codesite' issue. // TODO(monorail:7208): add more documentation on dangling references. ExtIdentifier string `protobuf:"bytes,2,opt,name=ext_identifier,json=extIdentifier,proto3" json:"ext_identifier,omitempty"` // contains filtered or unexported fields }
Refers to an issue that may or may not be tracked in Monorail. At least one of `issue` and `ext_identifier` MUST be set; they MUST NOT both be set. Next available tag: 3
func (*IssueRef) Descriptor
deprecated
func (*IssueRef) GetExtIdentifier ¶
func (*IssueRef) ProtoMessage ¶
func (*IssueRef) ProtoMessage()
func (*IssueRef) ProtoReflect ¶
func (x *IssueRef) ProtoReflect() protoreflect.Message
type IssueTemplate ¶
type IssueTemplate struct { // Resource name of the template. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Display name of this template. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Canonical Issue for this template. Issue *Issue `protobuf:"bytes,3,opt,name=issue,proto3" json:"issue,omitempty"` // ApprovalValues to be created with the issue when using this template. ApprovalValues []*ApprovalValue `protobuf:"bytes,9,rep,name=approval_values,json=approvalValues,proto3" json:"approval_values,omitempty"` // Boolean indicating subsequent issue creation must have delta in summary. SummaryMustBeEdited bool `protobuf:"varint,4,opt,name=summary_must_be_edited,json=summaryMustBeEdited,proto3" json:"summary_must_be_edited,omitempty"` TemplatePrivacy IssueTemplate_TemplatePrivacy `` /* 154-byte string literal not displayed */ DefaultOwner IssueTemplate_DefaultOwner `` /* 142-byte string literal not displayed */ // Boolean indicating whether issue must have a component. ComponentRequired bool `protobuf:"varint,7,opt,name=component_required,json=componentRequired,proto3" json:"component_required,omitempty"` // Names of Users who can administer this template. Admins []string `protobuf:"bytes,8,rep,name=admins,proto3" json:"admins,omitempty"` // contains filtered or unexported fields }
Defines a template for filling issues. Next available tag: 10
func (*IssueTemplate) Descriptor
deprecated
func (*IssueTemplate) Descriptor() ([]byte, []int)
Deprecated: Use IssueTemplate.ProtoReflect.Descriptor instead.
func (*IssueTemplate) GetAdmins ¶
func (x *IssueTemplate) GetAdmins() []string
func (*IssueTemplate) GetApprovalValues ¶
func (x *IssueTemplate) GetApprovalValues() []*ApprovalValue
func (*IssueTemplate) GetComponentRequired ¶
func (x *IssueTemplate) GetComponentRequired() bool
func (*IssueTemplate) GetDefaultOwner ¶
func (x *IssueTemplate) GetDefaultOwner() IssueTemplate_DefaultOwner
func (*IssueTemplate) GetDisplayName ¶
func (x *IssueTemplate) GetDisplayName() string
func (*IssueTemplate) GetIssue ¶
func (x *IssueTemplate) GetIssue() *Issue
func (*IssueTemplate) GetName ¶
func (x *IssueTemplate) GetName() string
func (*IssueTemplate) GetSummaryMustBeEdited ¶
func (x *IssueTemplate) GetSummaryMustBeEdited() bool
func (*IssueTemplate) GetTemplatePrivacy ¶
func (x *IssueTemplate) GetTemplatePrivacy() IssueTemplate_TemplatePrivacy
func (*IssueTemplate) ProtoMessage ¶
func (*IssueTemplate) ProtoMessage()
func (*IssueTemplate) ProtoReflect ¶
func (x *IssueTemplate) ProtoReflect() protoreflect.Message
func (*IssueTemplate) Reset ¶
func (x *IssueTemplate) Reset()
func (*IssueTemplate) String ¶
func (x *IssueTemplate) String() string
type IssueTemplate_DefaultOwner ¶
type IssueTemplate_DefaultOwner int32
Indicator of who if anyone should be the default owner of the issue created with this template. Next available tag: 2
const ( // There is no default owner. // This value is used if the default owner is omitted. IssueTemplate_DEFAULT_OWNER_UNSPECIFIED IssueTemplate_DefaultOwner = 0 // The owner should default to the Issue reporter if the reporter is a // member of the project. IssueTemplate_PROJECT_MEMBER_REPORTER IssueTemplate_DefaultOwner = 1 )
func (IssueTemplate_DefaultOwner) Descriptor ¶
func (IssueTemplate_DefaultOwner) Descriptor() protoreflect.EnumDescriptor
func (IssueTemplate_DefaultOwner) Enum ¶
func (x IssueTemplate_DefaultOwner) Enum() *IssueTemplate_DefaultOwner
func (IssueTemplate_DefaultOwner) EnumDescriptor
deprecated
func (IssueTemplate_DefaultOwner) EnumDescriptor() ([]byte, []int)
Deprecated: Use IssueTemplate_DefaultOwner.Descriptor instead.
func (IssueTemplate_DefaultOwner) Number ¶
func (x IssueTemplate_DefaultOwner) Number() protoreflect.EnumNumber
func (IssueTemplate_DefaultOwner) String ¶
func (x IssueTemplate_DefaultOwner) String() string
func (IssueTemplate_DefaultOwner) Type ¶
func (IssueTemplate_DefaultOwner) Type() protoreflect.EnumType
type IssueTemplate_TemplatePrivacy ¶
type IssueTemplate_TemplatePrivacy int32
Visibility permission of template. Next available tag: 3
const ( // This value is unused. IssueTemplate_TEMPLATE_PRIVACY_UNSPECIFIED IssueTemplate_TemplatePrivacy = 0 // Owner project members may view this template. IssueTemplate_MEMBERS_ONLY IssueTemplate_TemplatePrivacy = 1 // Anyone on the web can view this template. IssueTemplate_PUBLIC IssueTemplate_TemplatePrivacy = 2 )
func (IssueTemplate_TemplatePrivacy) Descriptor ¶
func (IssueTemplate_TemplatePrivacy) Descriptor() protoreflect.EnumDescriptor
func (IssueTemplate_TemplatePrivacy) Enum ¶
func (x IssueTemplate_TemplatePrivacy) Enum() *IssueTemplate_TemplatePrivacy
func (IssueTemplate_TemplatePrivacy) EnumDescriptor
deprecated
func (IssueTemplate_TemplatePrivacy) EnumDescriptor() ([]byte, []int)
Deprecated: Use IssueTemplate_TemplatePrivacy.Descriptor instead.
func (IssueTemplate_TemplatePrivacy) Number ¶
func (x IssueTemplate_TemplatePrivacy) Number() protoreflect.EnumNumber
func (IssueTemplate_TemplatePrivacy) String ¶
func (x IssueTemplate_TemplatePrivacy) String() string
func (IssueTemplate_TemplatePrivacy) Type ¶
func (IssueTemplate_TemplatePrivacy) Type() protoreflect.EnumType
type Issue_ComponentValue ¶
type Issue_ComponentValue struct { // AIP resource name of the component. Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` // How the component was derived. Derivation Derivation `protobuf:"varint,2,opt,name=derivation,proto3,enum=monorail.v3.Derivation" json:"derivation,omitempty"` // contains filtered or unexported fields }
A possibly rule-derived component for the issue. Next available tag: 3
func (*Issue_ComponentValue) Descriptor
deprecated
func (*Issue_ComponentValue) Descriptor() ([]byte, []int)
Deprecated: Use Issue_ComponentValue.ProtoReflect.Descriptor instead.
func (*Issue_ComponentValue) GetComponent ¶
func (x *Issue_ComponentValue) GetComponent() string
func (*Issue_ComponentValue) GetDerivation ¶
func (x *Issue_ComponentValue) GetDerivation() Derivation
func (*Issue_ComponentValue) ProtoMessage ¶
func (*Issue_ComponentValue) ProtoMessage()
func (*Issue_ComponentValue) ProtoReflect ¶
func (x *Issue_ComponentValue) ProtoReflect() protoreflect.Message
func (*Issue_ComponentValue) Reset ¶
func (x *Issue_ComponentValue) Reset()
func (*Issue_ComponentValue) String ¶
func (x *Issue_ComponentValue) String() string
type Issue_LabelValue ¶
type Issue_LabelValue struct { // The label. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // How the label was derived. Derivation Derivation `protobuf:"varint,2,opt,name=derivation,proto3,enum=monorail.v3.Derivation" json:"derivation,omitempty"` // contains filtered or unexported fields }
A possibly rule-derived label for an issue. Next available tag: 3
func (*Issue_LabelValue) Descriptor
deprecated
func (*Issue_LabelValue) Descriptor() ([]byte, []int)
Deprecated: Use Issue_LabelValue.ProtoReflect.Descriptor instead.
func (*Issue_LabelValue) GetDerivation ¶
func (x *Issue_LabelValue) GetDerivation() Derivation
func (*Issue_LabelValue) GetLabel ¶
func (x *Issue_LabelValue) GetLabel() string
func (*Issue_LabelValue) ProtoMessage ¶
func (*Issue_LabelValue) ProtoMessage()
func (*Issue_LabelValue) ProtoReflect ¶
func (x *Issue_LabelValue) ProtoReflect() protoreflect.Message
func (*Issue_LabelValue) Reset ¶
func (x *Issue_LabelValue) Reset()
func (*Issue_LabelValue) String ¶
func (x *Issue_LabelValue) String() string
type Issue_StatusValue ¶
type Issue_StatusValue struct { // The status of the issue. Note that in rare cases this can be a // value not defined in the project's StatusDefs (e.g. if the issue // was moved from another project). Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // How the status was derived. Derivation Derivation `protobuf:"varint,2,opt,name=derivation,proto3,enum=monorail.v3.Derivation" json:"derivation,omitempty"` // contains filtered or unexported fields }
A possibly rule-derived status for an issue. Next available tag: 3
func (*Issue_StatusValue) Descriptor
deprecated
func (*Issue_StatusValue) Descriptor() ([]byte, []int)
Deprecated: Use Issue_StatusValue.ProtoReflect.Descriptor instead.
func (*Issue_StatusValue) GetDerivation ¶
func (x *Issue_StatusValue) GetDerivation() Derivation
func (*Issue_StatusValue) GetStatus ¶
func (x *Issue_StatusValue) GetStatus() string
func (*Issue_StatusValue) ProtoMessage ¶
func (*Issue_StatusValue) ProtoMessage()
func (*Issue_StatusValue) ProtoReflect ¶
func (x *Issue_StatusValue) ProtoReflect() protoreflect.Message
func (*Issue_StatusValue) Reset ¶
func (x *Issue_StatusValue) Reset()
func (*Issue_StatusValue) String ¶
func (x *Issue_StatusValue) String() string
type Issue_UserValue ¶
type Issue_UserValue struct { // The user. User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // How the user value was derived. Derivation Derivation `protobuf:"varint,2,opt,name=derivation,proto3,enum=monorail.v3.Derivation" json:"derivation,omitempty"` // contains filtered or unexported fields }
A possibly rule-derived user value on an issue. Next available tag: 3
func (*Issue_UserValue) Descriptor
deprecated
func (*Issue_UserValue) Descriptor() ([]byte, []int)
Deprecated: Use Issue_UserValue.ProtoReflect.Descriptor instead.
func (*Issue_UserValue) GetDerivation ¶
func (x *Issue_UserValue) GetDerivation() Derivation
func (*Issue_UserValue) GetUser ¶
func (x *Issue_UserValue) GetUser() string
func (*Issue_UserValue) ProtoMessage ¶
func (*Issue_UserValue) ProtoMessage()
func (*Issue_UserValue) ProtoReflect ¶
func (x *Issue_UserValue) ProtoReflect() protoreflect.Message
func (*Issue_UserValue) Reset ¶
func (x *Issue_UserValue) Reset()
func (*Issue_UserValue) String ¶
func (x *Issue_UserValue) String() string
type IssuesClient ¶
type IssuesClient interface { // status: ALPHA // Returns the requested Issue. // // Raises: // // INVALID_ARGUMENT if `name` is formatted incorrectly. // NOT_FOUND if the issue does not exist. // PERMISSION_DENIED if the requester is not allowed to view the issue. GetIssue(ctx context.Context, in *GetIssueRequest, opts ...grpc.CallOption) (*Issue, error) // status: ALPHA // Returns the requested Issues. // // Raises: // // INVALID_ARGUMENT if `names` is formatted incorrectly. Or if a parent // collection in `names` does not match the value in `parent`. // NOT_FOUND if any of the given issues do not exist. // PERMISSION_DENIED if the requester does not have permission to view one // (or more) of the given issues. BatchGetIssues(ctx context.Context, in *BatchGetIssuesRequest, opts ...grpc.CallOption) (*BatchGetIssuesResponse, error) // status: ALPHA // Searches over issues within the specified projects. // // Raises: // // INVALID_ARGUMENT if project names or search query are invalid. SearchIssues(ctx context.Context, in *SearchIssuesRequest, opts ...grpc.CallOption) (*SearchIssuesResponse, error) // status: ALPHA // Lists comments for an issue. // // Raises: // // INVALID_ARGUMENT if `parent` is formatted incorrectly or `page_size` < 0. // NOT_FOUND if `parent` does not exist. // PERMISSION_DENIED if the requester is not allowed to view `parent`. ListComments(ctx context.Context, in *ListCommentsRequest, opts ...grpc.CallOption) (*ListCommentsResponse, error) // status: ALPHA // Modifies Issues and creates a new Comment for each. // Issues with NOOP changes and no comment_content will not be updated // and will not be included in the response. // We do not offer a standard UpdateIssue because every issue change // must result in the side-effect of creating a new Comment, and may result in // the side effect of sending a notification. We also want to allow for any // combination of issue changes to be made at once in a monolithic method. // // Raises: // // INVALID_ARGUMENT required fields are missing or fields are formatted // incorrectly. // NOT_FOUND if any specified issues are not found. // PERMISSION_DENIED if the requester is not allowed to make the // requested change. ModifyIssues(ctx context.Context, in *ModifyIssuesRequest, opts ...grpc.CallOption) (*ModifyIssuesResponse, error) // status: ALPHA // Modifies ApprovalValues and creates a new Comment for each delta. // We do not offer a standard UpdateApprovalValue because changes result // in creating Comments on the parent Issue, and may have the side effect of // sending notifications. We also want to allow for any combination of // approval changes to be made at once in a monolithic method. // To modify owner add 'owner' to update_mask, though 'owner.user' works too. // // Raises: // // INVALID_ARGUMENT required fields are missing or fields are formatted // incorrectly. // NOT_FOUND if any specified ApprovalValues are not found. // PERMISSION_DENIED if the requester is not allowed to make any of the // requested changes. ModifyIssueApprovalValues(ctx context.Context, in *ModifyIssueApprovalValuesRequest, opts ...grpc.CallOption) (*ModifyIssueApprovalValuesResponse, error) // status: ALPHA // Lists approval values for an issue. // // Raises: // // INVALID_ARGUMENT if request `parent` is formatted incorrectly. // NOT_FOUND if the parent issue does not exist. // PERMISSION_DENIED if the requester is not allowed to view parent issue. ListApprovalValues(ctx context.Context, in *ListApprovalValuesRequest, opts ...grpc.CallOption) (*ListApprovalValuesResponse, error) // status: NOT READY // Changes state for a comment. Supported state transitions: // - ACTIVE -> DELETED // - ACTIVE -> SPAM // - DELETED -> ACTIVE // - SPAM -> ACTIVE // // Raises: // // TODO(crbug/monorail/7867): Document errors when implemented ModifyCommentState(ctx context.Context, in *ModifyCommentStateRequest, opts ...grpc.CallOption) (*ModifyCommentStateResponse, error) // status: NOT READY // Makes an issue from an IssueTemplate and deltas. // // Raises: // // TODO(crbug/monorail/7197): Document errors when implemented MakeIssueFromTemplate(ctx context.Context, in *MakeIssueFromTemplateRequest, opts ...grpc.CallOption) (*Issue, error) // status: ALPHA // Makes a basic issue, does not support phases, approvals, or approval // fields. // We do not offer a standard CreateIssue because Issue descriptions are // required, but not included in the Issue proto. // // Raises: // // INVALID_ARGUMENT if any given names does not have a valid format, if any // fields in the requested issue were invalid, or if proposed values // violates filter rules that should error. // NOT_FOUND if no project exists with the given name. // PERMISSION_DENIED if user lacks sufficient permissions. MakeIssue(ctx context.Context, in *MakeIssueRequest, opts ...grpc.CallOption) (*Issue, error) }
IssuesClient is the client API for Issues service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIssuesClient ¶
func NewIssuesClient(cc grpc.ClientConnInterface) IssuesClient
func NewIssuesPRPCClient ¶
func NewIssuesPRPCClient(client *prpc.Client) IssuesClient
type IssuesListColumn ¶
type IssuesListColumn struct { // Column name shown in the column header. Column string `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"` // contains filtered or unexported fields }
Specifies a column in an issues list view. Next available tag: 2
func (*IssuesListColumn) Descriptor
deprecated
func (*IssuesListColumn) Descriptor() ([]byte, []int)
Deprecated: Use IssuesListColumn.ProtoReflect.Descriptor instead.
func (*IssuesListColumn) GetColumn ¶
func (x *IssuesListColumn) GetColumn() string
func (*IssuesListColumn) ProtoMessage ¶
func (*IssuesListColumn) ProtoMessage()
func (*IssuesListColumn) ProtoReflect ¶
func (x *IssuesListColumn) ProtoReflect() protoreflect.Message
func (*IssuesListColumn) Reset ¶
func (x *IssuesListColumn) Reset()
func (*IssuesListColumn) String ¶
func (x *IssuesListColumn) String() string
type IssuesServer ¶
type IssuesServer interface { // status: ALPHA // Returns the requested Issue. // // Raises: // // INVALID_ARGUMENT if `name` is formatted incorrectly. // NOT_FOUND if the issue does not exist. // PERMISSION_DENIED if the requester is not allowed to view the issue. GetIssue(context.Context, *GetIssueRequest) (*Issue, error) // status: ALPHA // Returns the requested Issues. // // Raises: // // INVALID_ARGUMENT if `names` is formatted incorrectly. Or if a parent // collection in `names` does not match the value in `parent`. // NOT_FOUND if any of the given issues do not exist. // PERMISSION_DENIED if the requester does not have permission to view one // (or more) of the given issues. BatchGetIssues(context.Context, *BatchGetIssuesRequest) (*BatchGetIssuesResponse, error) // status: ALPHA // Searches over issues within the specified projects. // // Raises: // // INVALID_ARGUMENT if project names or search query are invalid. SearchIssues(context.Context, *SearchIssuesRequest) (*SearchIssuesResponse, error) // status: ALPHA // Lists comments for an issue. // // Raises: // // INVALID_ARGUMENT if `parent` is formatted incorrectly or `page_size` < 0. // NOT_FOUND if `parent` does not exist. // PERMISSION_DENIED if the requester is not allowed to view `parent`. ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error) // status: ALPHA // Modifies Issues and creates a new Comment for each. // Issues with NOOP changes and no comment_content will not be updated // and will not be included in the response. // We do not offer a standard UpdateIssue because every issue change // must result in the side-effect of creating a new Comment, and may result in // the side effect of sending a notification. We also want to allow for any // combination of issue changes to be made at once in a monolithic method. // // Raises: // // INVALID_ARGUMENT required fields are missing or fields are formatted // incorrectly. // NOT_FOUND if any specified issues are not found. // PERMISSION_DENIED if the requester is not allowed to make the // requested change. ModifyIssues(context.Context, *ModifyIssuesRequest) (*ModifyIssuesResponse, error) // status: ALPHA // Modifies ApprovalValues and creates a new Comment for each delta. // We do not offer a standard UpdateApprovalValue because changes result // in creating Comments on the parent Issue, and may have the side effect of // sending notifications. We also want to allow for any combination of // approval changes to be made at once in a monolithic method. // To modify owner add 'owner' to update_mask, though 'owner.user' works too. // // Raises: // // INVALID_ARGUMENT required fields are missing or fields are formatted // incorrectly. // NOT_FOUND if any specified ApprovalValues are not found. // PERMISSION_DENIED if the requester is not allowed to make any of the // requested changes. ModifyIssueApprovalValues(context.Context, *ModifyIssueApprovalValuesRequest) (*ModifyIssueApprovalValuesResponse, error) // status: ALPHA // Lists approval values for an issue. // // Raises: // // INVALID_ARGUMENT if request `parent` is formatted incorrectly. // NOT_FOUND if the parent issue does not exist. // PERMISSION_DENIED if the requester is not allowed to view parent issue. ListApprovalValues(context.Context, *ListApprovalValuesRequest) (*ListApprovalValuesResponse, error) // status: NOT READY // Changes state for a comment. Supported state transitions: // - ACTIVE -> DELETED // - ACTIVE -> SPAM // - DELETED -> ACTIVE // - SPAM -> ACTIVE // // Raises: // // TODO(crbug/monorail/7867): Document errors when implemented ModifyCommentState(context.Context, *ModifyCommentStateRequest) (*ModifyCommentStateResponse, error) // status: NOT READY // Makes an issue from an IssueTemplate and deltas. // // Raises: // // TODO(crbug/monorail/7197): Document errors when implemented MakeIssueFromTemplate(context.Context, *MakeIssueFromTemplateRequest) (*Issue, error) // status: ALPHA // Makes a basic issue, does not support phases, approvals, or approval // fields. // We do not offer a standard CreateIssue because Issue descriptions are // required, but not included in the Issue proto. // // Raises: // // INVALID_ARGUMENT if any given names does not have a valid format, if any // fields in the requested issue were invalid, or if proposed values // violates filter rules that should error. // NOT_FOUND if no project exists with the given name. // PERMISSION_DENIED if user lacks sufficient permissions. MakeIssue(context.Context, *MakeIssueRequest) (*Issue, error) }
IssuesServer is the server API for Issues service.
type LabelDef ¶
type LabelDef struct { // Resource name of the label. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // String value of the label. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Brief explanation of this label. Docstring string `protobuf:"bytes,3,opt,name=docstring,proto3" json:"docstring,omitempty"` // State of this label. State LabelDef_LabelDefState `protobuf:"varint,4,opt,name=state,proto3,enum=monorail.v3.LabelDef_LabelDefState" json:"state,omitempty"` // contains filtered or unexported fields }
Well-known labels that can be applied to issues within the project.
See monorail/doc/userguide/concepts.md#issue-fields-and-labels. Next available tag: 5 Labels defined in this project.
func (*LabelDef) Descriptor
deprecated
func (*LabelDef) GetDocstring ¶
func (*LabelDef) GetState ¶
func (x *LabelDef) GetState() LabelDef_LabelDefState
func (*LabelDef) ProtoMessage ¶
func (*LabelDef) ProtoMessage()
func (*LabelDef) ProtoReflect ¶
func (x *LabelDef) ProtoReflect() protoreflect.Message
type LabelDef_LabelDefState ¶
type LabelDef_LabelDefState int32
State of this label. Next available tag: 3
const ( // Default enum value. This value is unused. LabelDef_LABEL_DEF_STATE_UNSPECIFIED LabelDef_LabelDefState = 0 // This label is deprecated LabelDef_DEPRECATED LabelDef_LabelDefState = 1 // This label is not deprecated LabelDef_ACTIVE LabelDef_LabelDefState = 2 )
func (LabelDef_LabelDefState) Descriptor ¶
func (LabelDef_LabelDefState) Descriptor() protoreflect.EnumDescriptor
func (LabelDef_LabelDefState) Enum ¶
func (x LabelDef_LabelDefState) Enum() *LabelDef_LabelDefState
func (LabelDef_LabelDefState) EnumDescriptor
deprecated
func (LabelDef_LabelDefState) EnumDescriptor() ([]byte, []int)
Deprecated: Use LabelDef_LabelDefState.Descriptor instead.
func (LabelDef_LabelDefState) Number ¶
func (x LabelDef_LabelDefState) Number() protoreflect.EnumNumber
func (LabelDef_LabelDefState) String ¶
func (x LabelDef_LabelDefState) String() string
func (LabelDef_LabelDefState) Type ¶
func (LabelDef_LabelDefState) Type() protoreflect.EnumType
type ListApprovalValuesRequest ¶
type ListApprovalValuesRequest struct { // The name of the issue for which to list approval values. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
The request message for Issue.ListApprovalValues. Next available tag: 2
func (*ListApprovalValuesRequest) Descriptor
deprecated
func (*ListApprovalValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListApprovalValuesRequest.ProtoReflect.Descriptor instead.
func (*ListApprovalValuesRequest) GetParent ¶
func (x *ListApprovalValuesRequest) GetParent() string
func (*ListApprovalValuesRequest) ProtoMessage ¶
func (*ListApprovalValuesRequest) ProtoMessage()
func (*ListApprovalValuesRequest) ProtoReflect ¶
func (x *ListApprovalValuesRequest) ProtoReflect() protoreflect.Message
func (*ListApprovalValuesRequest) Reset ¶
func (x *ListApprovalValuesRequest) Reset()
func (*ListApprovalValuesRequest) String ¶
func (x *ListApprovalValuesRequest) String() string
type ListApprovalValuesResponse ¶
type ListApprovalValuesResponse struct { // The approval values from the specified issue. ApprovalValues []*ApprovalValue `protobuf:"bytes,1,rep,name=approval_values,json=approvalValues,proto3" json:"approval_values,omitempty"` // contains filtered or unexported fields }
The response message for Issues.ListApprovalValues. Next available tag: 2
func (*ListApprovalValuesResponse) Descriptor
deprecated
func (*ListApprovalValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListApprovalValuesResponse.ProtoReflect.Descriptor instead.
func (*ListApprovalValuesResponse) GetApprovalValues ¶
func (x *ListApprovalValuesResponse) GetApprovalValues() []*ApprovalValue
func (*ListApprovalValuesResponse) ProtoMessage ¶
func (*ListApprovalValuesResponse) ProtoMessage()
func (*ListApprovalValuesResponse) ProtoReflect ¶
func (x *ListApprovalValuesResponse) ProtoReflect() protoreflect.Message
func (*ListApprovalValuesResponse) Reset ¶
func (x *ListApprovalValuesResponse) Reset()
func (*ListApprovalValuesResponse) String ¶
func (x *ListApprovalValuesResponse) String() string
type ListCommentsRequest ¶
type ListCommentsRequest struct { // The name of the issue for which to list comments. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return. The service may return fewer than // this value. // If unspecified, at most 100 items will be returned. // The maximum value is 100; values above 100 will be coerced to 100. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListComments` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListComments` must // match the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // For our initial release this filter only supports filtering to comments // related to a specific approval. // For example `approval = "projects/monorail/approvalDefs/1"`, // Note that no further logical or comparison operators are supported Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
The request message for Issues.ListComments. Next available tag: 5
func (*ListCommentsRequest) Descriptor
deprecated
func (*ListCommentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCommentsRequest.ProtoReflect.Descriptor instead.
func (*ListCommentsRequest) GetFilter ¶
func (x *ListCommentsRequest) GetFilter() string
func (*ListCommentsRequest) GetPageSize ¶
func (x *ListCommentsRequest) GetPageSize() int32
func (*ListCommentsRequest) GetPageToken ¶
func (x *ListCommentsRequest) GetPageToken() string
func (*ListCommentsRequest) GetParent ¶
func (x *ListCommentsRequest) GetParent() string
func (*ListCommentsRequest) ProtoMessage ¶
func (*ListCommentsRequest) ProtoMessage()
func (*ListCommentsRequest) ProtoReflect ¶
func (x *ListCommentsRequest) ProtoReflect() protoreflect.Message
func (*ListCommentsRequest) Reset ¶
func (x *ListCommentsRequest) Reset()
func (*ListCommentsRequest) String ¶
func (x *ListCommentsRequest) String() string
type ListCommentsResponse ¶
type ListCommentsResponse struct { // The comments from the specified issue. Comments []*Comment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for Issues.ListComments Next available tag: 3
func (*ListCommentsResponse) Descriptor
deprecated
func (*ListCommentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCommentsResponse.ProtoReflect.Descriptor instead.
func (*ListCommentsResponse) GetComments ¶
func (x *ListCommentsResponse) GetComments() []*Comment
func (*ListCommentsResponse) GetNextPageToken ¶
func (x *ListCommentsResponse) GetNextPageToken() string
func (*ListCommentsResponse) ProtoMessage ¶
func (*ListCommentsResponse) ProtoMessage()
func (*ListCommentsResponse) ProtoReflect ¶
func (x *ListCommentsResponse) ProtoReflect() protoreflect.Message
func (*ListCommentsResponse) Reset ¶
func (x *ListCommentsResponse) Reset()
func (*ListCommentsResponse) String ¶
func (x *ListCommentsResponse) String() string
type ListComponentDefsRequest ¶
type ListComponentDefsRequest struct { // The name of the parent project. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return. The service may return fewer than // this value. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListComponentDefs` call. // Provide this to retrieve the subsequent page. // When paginating, all other parameters provided to // `ListComponentDefsRequest` must match the call that provided the token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for ListComponentDefs Next available tag: 4
func (*ListComponentDefsRequest) Descriptor
deprecated
func (*ListComponentDefsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListComponentDefsRequest.ProtoReflect.Descriptor instead.
func (*ListComponentDefsRequest) GetPageSize ¶
func (x *ListComponentDefsRequest) GetPageSize() int32
func (*ListComponentDefsRequest) GetPageToken ¶
func (x *ListComponentDefsRequest) GetPageToken() string
func (*ListComponentDefsRequest) GetParent ¶
func (x *ListComponentDefsRequest) GetParent() string
func (*ListComponentDefsRequest) ProtoMessage ¶
func (*ListComponentDefsRequest) ProtoMessage()
func (*ListComponentDefsRequest) ProtoReflect ¶
func (x *ListComponentDefsRequest) ProtoReflect() protoreflect.Message
func (*ListComponentDefsRequest) Reset ¶
func (x *ListComponentDefsRequest) Reset()
func (*ListComponentDefsRequest) String ¶
func (x *ListComponentDefsRequest) String() string
type ListComponentDefsResponse ¶
type ListComponentDefsResponse struct { // Component defs matching the given request. ComponentDefs []*ComponentDef `protobuf:"bytes,1,rep,name=component_defs,json=componentDefs,proto3" json:"component_defs,omitempty"` // A token which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListComponentDefs Next available tag: 3
func (*ListComponentDefsResponse) Descriptor
deprecated
func (*ListComponentDefsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListComponentDefsResponse.ProtoReflect.Descriptor instead.
func (*ListComponentDefsResponse) GetComponentDefs ¶
func (x *ListComponentDefsResponse) GetComponentDefs() []*ComponentDef
func (*ListComponentDefsResponse) GetNextPageToken ¶
func (x *ListComponentDefsResponse) GetNextPageToken() string
func (*ListComponentDefsResponse) ProtoMessage ¶
func (*ListComponentDefsResponse) ProtoMessage()
func (*ListComponentDefsResponse) ProtoReflect ¶
func (x *ListComponentDefsResponse) ProtoReflect() protoreflect.Message
func (*ListComponentDefsResponse) Reset ¶
func (x *ListComponentDefsResponse) Reset()
func (*ListComponentDefsResponse) String ¶
func (x *ListComponentDefsResponse) String() string
type ListHotlistItemsRequest ¶
type ListHotlistItemsRequest struct { // The parent hotlist, which owns this collection of items. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return. The service may return fewer than // this value. // If unspecified, at most 1000 items will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The string of comma separated field names used to order the items. // Adding '-' before a field, reverses the sort order. // E.g. 'stars,-status' sorts the items by number of stars low to high, then // status high to low. // If unspecified, items will be ordered by their rank in the parent. OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // A page token, received from a previous `ListHotlistItems` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListHotlistItems` must // match the call that provided the page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for ListHotlistItems method. Next available tag: 5
func (*ListHotlistItemsRequest) Descriptor
deprecated
func (*ListHotlistItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListHotlistItemsRequest.ProtoReflect.Descriptor instead.
func (*ListHotlistItemsRequest) GetOrderBy ¶
func (x *ListHotlistItemsRequest) GetOrderBy() string
func (*ListHotlistItemsRequest) GetPageSize ¶
func (x *ListHotlistItemsRequest) GetPageSize() int32
func (*ListHotlistItemsRequest) GetPageToken ¶
func (x *ListHotlistItemsRequest) GetPageToken() string
func (*ListHotlistItemsRequest) GetParent ¶
func (x *ListHotlistItemsRequest) GetParent() string
func (*ListHotlistItemsRequest) ProtoMessage ¶
func (*ListHotlistItemsRequest) ProtoMessage()
func (*ListHotlistItemsRequest) ProtoReflect ¶
func (x *ListHotlistItemsRequest) ProtoReflect() protoreflect.Message
func (*ListHotlistItemsRequest) Reset ¶
func (x *ListHotlistItemsRequest) Reset()
func (*ListHotlistItemsRequest) String ¶
func (x *ListHotlistItemsRequest) String() string
type ListHotlistItemsResponse ¶
type ListHotlistItemsResponse struct { // The items from the specified hotlist. Items []*HotlistItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response to ListHotlistItems call. Next available tag: 3
func (*ListHotlistItemsResponse) Descriptor
deprecated
func (*ListHotlistItemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListHotlistItemsResponse.ProtoReflect.Descriptor instead.
func (*ListHotlistItemsResponse) GetItems ¶
func (x *ListHotlistItemsResponse) GetItems() []*HotlistItem
func (*ListHotlistItemsResponse) GetNextPageToken ¶
func (x *ListHotlistItemsResponse) GetNextPageToken() string
func (*ListHotlistItemsResponse) ProtoMessage ¶
func (*ListHotlistItemsResponse) ProtoMessage()
func (*ListHotlistItemsResponse) ProtoReflect ¶
func (x *ListHotlistItemsResponse) ProtoReflect() protoreflect.Message
func (*ListHotlistItemsResponse) Reset ¶
func (x *ListHotlistItemsResponse) Reset()
func (*ListHotlistItemsResponse) String ¶
func (x *ListHotlistItemsResponse) String() string
type ListIssueTemplatesRequest ¶
type ListIssueTemplatesRequest struct { // The name of the project these templates belong to. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return. The service may return fewer than // this value. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListIssueTemplates` call. // Provide this to retrieve the subsequent page. // When paginating, all other parameters provided to // `ListIssueTemplatesRequest` must match the call that provided the token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for ListIssueTemplates Next available tag: 4
func (*ListIssueTemplatesRequest) Descriptor
deprecated
func (*ListIssueTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIssueTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListIssueTemplatesRequest) GetPageSize ¶
func (x *ListIssueTemplatesRequest) GetPageSize() int32
func (*ListIssueTemplatesRequest) GetPageToken ¶
func (x *ListIssueTemplatesRequest) GetPageToken() string
func (*ListIssueTemplatesRequest) GetParent ¶
func (x *ListIssueTemplatesRequest) GetParent() string
func (*ListIssueTemplatesRequest) ProtoMessage ¶
func (*ListIssueTemplatesRequest) ProtoMessage()
func (*ListIssueTemplatesRequest) ProtoReflect ¶
func (x *ListIssueTemplatesRequest) ProtoReflect() protoreflect.Message
func (*ListIssueTemplatesRequest) Reset ¶
func (x *ListIssueTemplatesRequest) Reset()
func (*ListIssueTemplatesRequest) String ¶
func (x *ListIssueTemplatesRequest) String() string
type ListIssueTemplatesResponse ¶
type ListIssueTemplatesResponse struct { // Templates matching the given request. Templates []*IssueTemplate `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListIssueTemplates Next available tag: 3
func (*ListIssueTemplatesResponse) Descriptor
deprecated
func (*ListIssueTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIssueTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListIssueTemplatesResponse) GetNextPageToken ¶
func (x *ListIssueTemplatesResponse) GetNextPageToken() string
func (*ListIssueTemplatesResponse) GetTemplates ¶
func (x *ListIssueTemplatesResponse) GetTemplates() []*IssueTemplate
func (*ListIssueTemplatesResponse) ProtoMessage ¶
func (*ListIssueTemplatesResponse) ProtoMessage()
func (*ListIssueTemplatesResponse) ProtoReflect ¶
func (x *ListIssueTemplatesResponse) ProtoReflect() protoreflect.Message
func (*ListIssueTemplatesResponse) Reset ¶
func (x *ListIssueTemplatesResponse) Reset()
func (*ListIssueTemplatesResponse) String ¶
func (x *ListIssueTemplatesResponse) String() string
type ListProjectStarsRequest ¶
type ListProjectStarsRequest struct { // The resource name for the user having stars listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return. The service may return fewer than // this value. // If unspecified, at most 1000 items will be returned. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListProjectStars` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListProjectStars` must // match the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for Users.ListProjectStars. Next available tag: 4
func (*ListProjectStarsRequest) Descriptor
deprecated
func (*ListProjectStarsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectStarsRequest.ProtoReflect.Descriptor instead.
func (*ListProjectStarsRequest) GetPageSize ¶
func (x *ListProjectStarsRequest) GetPageSize() int32
func (*ListProjectStarsRequest) GetPageToken ¶
func (x *ListProjectStarsRequest) GetPageToken() string
func (*ListProjectStarsRequest) GetParent ¶
func (x *ListProjectStarsRequest) GetParent() string
func (*ListProjectStarsRequest) ProtoMessage ¶
func (*ListProjectStarsRequest) ProtoMessage()
func (*ListProjectStarsRequest) ProtoReflect ¶
func (x *ListProjectStarsRequest) ProtoReflect() protoreflect.Message
func (*ListProjectStarsRequest) Reset ¶
func (x *ListProjectStarsRequest) Reset()
func (*ListProjectStarsRequest) String ¶
func (x *ListProjectStarsRequest) String() string
type ListProjectStarsResponse ¶
type ListProjectStarsResponse struct { // Data for each starred project. ProjectStars []*ProjectStar `protobuf:"bytes,1,rep,name=project_stars,json=projectStars,proto3" json:"project_stars,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for Users.ListProjectStars. Next available tag: 3
func (*ListProjectStarsResponse) Descriptor
deprecated
func (*ListProjectStarsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectStarsResponse.ProtoReflect.Descriptor instead.
func (*ListProjectStarsResponse) GetNextPageToken ¶
func (x *ListProjectStarsResponse) GetNextPageToken() string
func (*ListProjectStarsResponse) GetProjectStars ¶
func (x *ListProjectStarsResponse) GetProjectStars() []*ProjectStar
func (*ListProjectStarsResponse) ProtoMessage ¶
func (*ListProjectStarsResponse) ProtoMessage()
func (*ListProjectStarsResponse) ProtoReflect ¶
func (x *ListProjectStarsResponse) ProtoReflect() protoreflect.Message
func (*ListProjectStarsResponse) Reset ¶
func (x *ListProjectStarsResponse) Reset()
func (*ListProjectStarsResponse) String ¶
func (x *ListProjectStarsResponse) String() string
type ListProjectsRequest ¶
type ListProjectsRequest struct { // The maximum number of items to return. The service may return fewer than // this value. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListProjects` call. // Provide this to retrieve the subsequent page. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for ListProjects Next available tag: 3
func (*ListProjectsRequest) Descriptor
deprecated
func (*ListProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.
func (*ListProjectsRequest) GetPageSize ¶
func (x *ListProjectsRequest) GetPageSize() int32
func (*ListProjectsRequest) GetPageToken ¶
func (x *ListProjectsRequest) GetPageToken() string
func (*ListProjectsRequest) ProtoMessage ¶
func (*ListProjectsRequest) ProtoMessage()
func (*ListProjectsRequest) ProtoReflect ¶
func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message
func (*ListProjectsRequest) Reset ¶
func (x *ListProjectsRequest) Reset()
func (*ListProjectsRequest) String ¶
func (x *ListProjectsRequest) String() string
type ListProjectsResponse ¶
type ListProjectsResponse struct { // Projects matching the given request. Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListProjects Next available tag: 3
func (*ListProjectsResponse) Descriptor
deprecated
func (*ListProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.
func (*ListProjectsResponse) GetNextPageToken ¶
func (x *ListProjectsResponse) GetNextPageToken() string
func (*ListProjectsResponse) GetProjects ¶
func (x *ListProjectsResponse) GetProjects() []*Project
func (*ListProjectsResponse) ProtoMessage ¶
func (*ListProjectsResponse) ProtoMessage()
func (*ListProjectsResponse) ProtoReflect ¶
func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
func (*ListProjectsResponse) Reset ¶
func (x *ListProjectsResponse) Reset()
func (*ListProjectsResponse) String ¶
func (x *ListProjectsResponse) String() string
type MakeIssueFromTemplateRequest ¶
type MakeIssueFromTemplateRequest struct { // Resource name of the template to use for filling in default values // and adding approvals and phases. Template string `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // The issue differences relative to the `template.issue` default. TemplateIssueDelta *IssueDelta `protobuf:"bytes,2,opt,name=template_issue_delta,json=templateIssueDelta,proto3" json:"template_issue_delta,omitempty"` // Changes to fields belonging to approvals relative to template default. // While ApprovalDelta can hold additional information, this method only // allows adding and removing field values, all other deltas will be ignored. TemplateApprovalDeltas []*ApprovalDelta `` /* 129-byte string literal not displayed */ // The issue description, will be saved as the first comment. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
The request message for MakeIssueFromTemplate. Next available tag: 5
func (*MakeIssueFromTemplateRequest) Descriptor
deprecated
func (*MakeIssueFromTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use MakeIssueFromTemplateRequest.ProtoReflect.Descriptor instead.
func (*MakeIssueFromTemplateRequest) GetDescription ¶
func (x *MakeIssueFromTemplateRequest) GetDescription() string
func (*MakeIssueFromTemplateRequest) GetTemplate ¶
func (x *MakeIssueFromTemplateRequest) GetTemplate() string
func (*MakeIssueFromTemplateRequest) GetTemplateApprovalDeltas ¶
func (x *MakeIssueFromTemplateRequest) GetTemplateApprovalDeltas() []*ApprovalDelta
func (*MakeIssueFromTemplateRequest) GetTemplateIssueDelta ¶
func (x *MakeIssueFromTemplateRequest) GetTemplateIssueDelta() *IssueDelta
func (*MakeIssueFromTemplateRequest) ProtoMessage ¶
func (*MakeIssueFromTemplateRequest) ProtoMessage()
func (*MakeIssueFromTemplateRequest) ProtoReflect ¶
func (x *MakeIssueFromTemplateRequest) ProtoReflect() protoreflect.Message
func (*MakeIssueFromTemplateRequest) Reset ¶
func (x *MakeIssueFromTemplateRequest) Reset()
func (*MakeIssueFromTemplateRequest) String ¶
func (x *MakeIssueFromTemplateRequest) String() string
type MakeIssueRequest ¶
type MakeIssueRequest struct { // The name of the project the issue should belong to. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The issue to be created. Issue *Issue `protobuf:"bytes,2,opt,name=issue,proto3" json:"issue,omitempty"` // The issue description. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The type of notification the creation should trigger. NotifyType NotifyType `protobuf:"varint,4,opt,name=notify_type,json=notifyType,proto3,enum=monorail.v3.NotifyType" json:"notify_type,omitempty"` // The attachment that will be attached to each new issue. Uploads []*AttachmentUpload `protobuf:"bytes,5,rep,name=uploads,proto3" json:"uploads,omitempty"` // contains filtered or unexported fields }
The request message for MakeIssue. Next available tag: 6
func (*MakeIssueRequest) Descriptor
deprecated
func (*MakeIssueRequest) Descriptor() ([]byte, []int)
Deprecated: Use MakeIssueRequest.ProtoReflect.Descriptor instead.
func (*MakeIssueRequest) GetDescription ¶
func (x *MakeIssueRequest) GetDescription() string
func (*MakeIssueRequest) GetIssue ¶
func (x *MakeIssueRequest) GetIssue() *Issue
func (*MakeIssueRequest) GetNotifyType ¶
func (x *MakeIssueRequest) GetNotifyType() NotifyType
func (*MakeIssueRequest) GetParent ¶
func (x *MakeIssueRequest) GetParent() string
func (*MakeIssueRequest) GetUploads ¶
func (x *MakeIssueRequest) GetUploads() []*AttachmentUpload
func (*MakeIssueRequest) ProtoMessage ¶
func (*MakeIssueRequest) ProtoMessage()
func (*MakeIssueRequest) ProtoReflect ¶
func (x *MakeIssueRequest) ProtoReflect() protoreflect.Message
func (*MakeIssueRequest) Reset ¶
func (x *MakeIssueRequest) Reset()
func (*MakeIssueRequest) String ¶
func (x *MakeIssueRequest) String() string
type ModifyCommentStateRequest ¶
type ModifyCommentStateRequest struct { // Resource name of the comment to modify state. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Requested state. State IssueContentState `protobuf:"varint,2,opt,name=state,proto3,enum=monorail.v3.IssueContentState" json:"state,omitempty"` // contains filtered or unexported fields }
The request message for Issues.ModifyCommentState. Next available tag: 3
func (*ModifyCommentStateRequest) Descriptor
deprecated
func (*ModifyCommentStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyCommentStateRequest.ProtoReflect.Descriptor instead.
func (*ModifyCommentStateRequest) GetName ¶
func (x *ModifyCommentStateRequest) GetName() string
func (*ModifyCommentStateRequest) GetState ¶
func (x *ModifyCommentStateRequest) GetState() IssueContentState
func (*ModifyCommentStateRequest) ProtoMessage ¶
func (*ModifyCommentStateRequest) ProtoMessage()
func (*ModifyCommentStateRequest) ProtoReflect ¶
func (x *ModifyCommentStateRequest) ProtoReflect() protoreflect.Message
func (*ModifyCommentStateRequest) Reset ¶
func (x *ModifyCommentStateRequest) Reset()
func (*ModifyCommentStateRequest) String ¶
func (x *ModifyCommentStateRequest) String() string
type ModifyCommentStateResponse ¶
type ModifyCommentStateResponse struct { // The updated comment after modifying state. Comment *Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
The response message for Issues.ModifyCommentState. Next available tag: 2
func (*ModifyCommentStateResponse) Descriptor
deprecated
func (*ModifyCommentStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyCommentStateResponse.ProtoReflect.Descriptor instead.
func (*ModifyCommentStateResponse) GetComment ¶
func (x *ModifyCommentStateResponse) GetComment() *Comment
func (*ModifyCommentStateResponse) ProtoMessage ¶
func (*ModifyCommentStateResponse) ProtoMessage()
func (*ModifyCommentStateResponse) ProtoReflect ¶
func (x *ModifyCommentStateResponse) ProtoReflect() protoreflect.Message
func (*ModifyCommentStateResponse) Reset ¶
func (x *ModifyCommentStateResponse) Reset()
func (*ModifyCommentStateResponse) String ¶
func (x *ModifyCommentStateResponse) String() string
type ModifyIssueApprovalValuesRequest ¶
type ModifyIssueApprovalValuesRequest struct { // The ApprovalValue changes to make. Maximum of 100 deltas can be requested. Deltas []*ApprovalDelta `protobuf:"bytes,1,rep,name=deltas,proto3" json:"deltas,omitempty"` // The type of notification the modifications should trigger. NotifyType NotifyType `protobuf:"varint,2,opt,name=notify_type,json=notifyType,proto3,enum=monorail.v3.NotifyType" json:"notify_type,omitempty"` // The `content` of the Comment created for each change in `deltas`. // Max length is 51200 characters. CommentContent string `protobuf:"bytes,3,opt,name=comment_content,json=commentContent,proto3" json:"comment_content,omitempty"` // contains filtered or unexported fields }
The request message for Issues.ModifyIssueApprovalValues. Next available tag: 4
func (*ModifyIssueApprovalValuesRequest) Descriptor
deprecated
func (*ModifyIssueApprovalValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyIssueApprovalValuesRequest.ProtoReflect.Descriptor instead.
func (*ModifyIssueApprovalValuesRequest) GetCommentContent ¶
func (x *ModifyIssueApprovalValuesRequest) GetCommentContent() string
func (*ModifyIssueApprovalValuesRequest) GetDeltas ¶
func (x *ModifyIssueApprovalValuesRequest) GetDeltas() []*ApprovalDelta
func (*ModifyIssueApprovalValuesRequest) GetNotifyType ¶
func (x *ModifyIssueApprovalValuesRequest) GetNotifyType() NotifyType
func (*ModifyIssueApprovalValuesRequest) ProtoMessage ¶
func (*ModifyIssueApprovalValuesRequest) ProtoMessage()
func (*ModifyIssueApprovalValuesRequest) ProtoReflect ¶
func (x *ModifyIssueApprovalValuesRequest) ProtoReflect() protoreflect.Message
func (*ModifyIssueApprovalValuesRequest) Reset ¶
func (x *ModifyIssueApprovalValuesRequest) Reset()
func (*ModifyIssueApprovalValuesRequest) String ¶
func (x *ModifyIssueApprovalValuesRequest) String() string
type ModifyIssueApprovalValuesResponse ¶
type ModifyIssueApprovalValuesResponse struct { // The updated ApprovalValues. ApprovalValues []*ApprovalValue `protobuf:"bytes,1,rep,name=approval_values,json=approvalValues,proto3" json:"approval_values,omitempty"` // contains filtered or unexported fields }
The response message for Issues.ModifyIssueApprovalValuesRequest. Next available tag: 2
func (*ModifyIssueApprovalValuesResponse) Descriptor
deprecated
func (*ModifyIssueApprovalValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyIssueApprovalValuesResponse.ProtoReflect.Descriptor instead.
func (*ModifyIssueApprovalValuesResponse) GetApprovalValues ¶
func (x *ModifyIssueApprovalValuesResponse) GetApprovalValues() []*ApprovalValue
func (*ModifyIssueApprovalValuesResponse) ProtoMessage ¶
func (*ModifyIssueApprovalValuesResponse) ProtoMessage()
func (*ModifyIssueApprovalValuesResponse) ProtoReflect ¶
func (x *ModifyIssueApprovalValuesResponse) ProtoReflect() protoreflect.Message
func (*ModifyIssueApprovalValuesResponse) Reset ¶
func (x *ModifyIssueApprovalValuesResponse) Reset()
func (*ModifyIssueApprovalValuesResponse) String ¶
func (x *ModifyIssueApprovalValuesResponse) String() string
type ModifyIssuesRequest ¶
type ModifyIssuesRequest struct { // The issue changes to make. A maximum of 100 issue changes can be requested. // There is also a constraint of 50 additional 'impacted issues' per // ModifyIssuesRequest. 'Impacted issues' are issues that are adding/removing // `blocked_on`, `blocking`, or `merge` // If you encounter this error, consider significantly smaller batches. Deltas []*IssueDelta `protobuf:"bytes,1,rep,name=deltas,proto3" json:"deltas,omitempty"` // The type of notification the modifications should trigger. NotifyType NotifyType `protobuf:"varint,2,opt,name=notify_type,json=notifyType,proto3,enum=monorail.v3.NotifyType" json:"notify_type,omitempty"` // The comment text that should be added to each issue in delta. // Max length is 51200 characters. CommentContent string `protobuf:"bytes,3,opt,name=comment_content,json=commentContent,proto3" json:"comment_content,omitempty"` // The attachment that will be to each comment for each issue in delta. Uploads []*AttachmentUpload `protobuf:"bytes,4,rep,name=uploads,proto3" json:"uploads,omitempty"` // contains filtered or unexported fields }
The request message for Issues.ModifyIssues. Next available tag: 5
func (*ModifyIssuesRequest) Descriptor
deprecated
func (*ModifyIssuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyIssuesRequest.ProtoReflect.Descriptor instead.
func (*ModifyIssuesRequest) GetCommentContent ¶
func (x *ModifyIssuesRequest) GetCommentContent() string
func (*ModifyIssuesRequest) GetDeltas ¶
func (x *ModifyIssuesRequest) GetDeltas() []*IssueDelta
func (*ModifyIssuesRequest) GetNotifyType ¶
func (x *ModifyIssuesRequest) GetNotifyType() NotifyType
func (*ModifyIssuesRequest) GetUploads ¶
func (x *ModifyIssuesRequest) GetUploads() []*AttachmentUpload
func (*ModifyIssuesRequest) ProtoMessage ¶
func (*ModifyIssuesRequest) ProtoMessage()
func (*ModifyIssuesRequest) ProtoReflect ¶
func (x *ModifyIssuesRequest) ProtoReflect() protoreflect.Message
func (*ModifyIssuesRequest) Reset ¶
func (x *ModifyIssuesRequest) Reset()
func (*ModifyIssuesRequest) String ¶
func (x *ModifyIssuesRequest) String() string
type ModifyIssuesResponse ¶
type ModifyIssuesResponse struct { // The updated issues. Issues []*Issue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"` // contains filtered or unexported fields }
The response message for Issues.ModifyIssues. Next available tag: 2
func (*ModifyIssuesResponse) Descriptor
deprecated
func (*ModifyIssuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyIssuesResponse.ProtoReflect.Descriptor instead.
func (*ModifyIssuesResponse) GetIssues ¶
func (x *ModifyIssuesResponse) GetIssues() []*Issue
func (*ModifyIssuesResponse) ProtoMessage ¶
func (*ModifyIssuesResponse) ProtoMessage()
func (*ModifyIssuesResponse) ProtoReflect ¶
func (x *ModifyIssuesResponse) ProtoReflect() protoreflect.Message
func (*ModifyIssuesResponse) Reset ¶
func (x *ModifyIssuesResponse) Reset()
func (*ModifyIssuesResponse) String ¶
func (x *ModifyIssuesResponse) String() string
type NotifyType ¶
type NotifyType int32
The type of notification a change should trigger. See monorail/doc/userguide/email.md Next available tag: 2
const ( // The default value. This value is unused. NotifyType_NOTIFY_TYPE_UNSPECIFIED NotifyType = 0 // An email notification should be sent. NotifyType_EMAIL NotifyType = 1 // No notifcation should be triggered at all. NotifyType_NO_NOTIFICATION NotifyType = 2 )
func (NotifyType) Descriptor ¶
func (NotifyType) Descriptor() protoreflect.EnumDescriptor
func (NotifyType) Enum ¶
func (x NotifyType) Enum() *NotifyType
func (NotifyType) EnumDescriptor
deprecated
func (NotifyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotifyType.Descriptor instead.
func (NotifyType) Number ¶
func (x NotifyType) Number() protoreflect.EnumNumber
func (NotifyType) String ¶
func (x NotifyType) String() string
func (NotifyType) Type ¶
func (NotifyType) Type() protoreflect.EnumType
type Permission ¶
type Permission int32
All possible permissions on the Monorail site. Next available tag: 6
const ( // Default value. This value is unused. Permission_PERMISSION_UNSPECIFIED Permission = 0 // The permission needed to add and remove issues from a hotlist. Permission_HOTLIST_EDIT Permission = 1 // The permission needed to delete a hotlist or change hotlist // settings/members. Permission_HOTLIST_ADMINISTER Permission = 2 // The permission needed to edit an issue. Permission_ISSUE_EDIT Permission = 3 // The permission needed to edit a custom field definition. Permission_FIELD_DEF_EDIT Permission = 4 // The permission needed to edit the value of a custom field. // More permissions will be required in the specific issue // where the user plans to edit that value, e.g. ISSUE_EDIT. Permission_FIELD_DEF_VALUE_EDIT Permission = 5 )
func (Permission) Descriptor ¶
func (Permission) Descriptor() protoreflect.EnumDescriptor
func (Permission) Enum ¶
func (x Permission) Enum() *Permission
func (Permission) EnumDescriptor
deprecated
func (Permission) EnumDescriptor() ([]byte, []int)
Deprecated: Use Permission.Descriptor instead.
func (Permission) Number ¶
func (x Permission) Number() protoreflect.EnumNumber
func (Permission) String ¶
func (x Permission) String() string
func (Permission) Type ¶
func (Permission) Type() protoreflect.EnumType
type PermissionSet ¶
type PermissionSet struct { // The name of the resource `permissions` applies to. Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // All the permissions a user has for `resource`. Permissions []Permission `protobuf:"varint,2,rep,packed,name=permissions,proto3,enum=monorail.v3.Permission" json:"permissions,omitempty"` // contains filtered or unexported fields }
The set of a user's permissions for a single resource. Next available tag: 3
func (*PermissionSet) Descriptor
deprecated
func (*PermissionSet) Descriptor() ([]byte, []int)
Deprecated: Use PermissionSet.ProtoReflect.Descriptor instead.
func (*PermissionSet) GetPermissions ¶
func (x *PermissionSet) GetPermissions() []Permission
func (*PermissionSet) GetResource ¶
func (x *PermissionSet) GetResource() string
func (*PermissionSet) ProtoMessage ¶
func (*PermissionSet) ProtoMessage()
func (*PermissionSet) ProtoReflect ¶
func (x *PermissionSet) ProtoReflect() protoreflect.Message
func (*PermissionSet) Reset ¶
func (x *PermissionSet) Reset()
func (*PermissionSet) String ¶
func (x *PermissionSet) String() string
type PermissionsClient ¶
type PermissionsClient interface { // status: DO NOT USE // Returns the requester's permissions for the given resource. // // Raises: // // PERMISSION_DENIED if the given resource does not exist and/or the // requester does not have permission to view the resource's name space. // NOT_FOUND if the given resource does not exist. GetPermissionSet(ctx context.Context, in *GetPermissionSetRequest, opts ...grpc.CallOption) (*PermissionSet, error) // status: DO NOT USE // Returns the requester's permissions for all the given resources. // // Raises: // // PERMISSION_DENIED if any of the given resources do not exist and/or the // requester does not have permission to view one of the resource's // name space. // // NOT_FOUND if one of the given resources do not exist. BatchGetPermissionSets(ctx context.Context, in *BatchGetPermissionSetsRequest, opts ...grpc.CallOption) (*BatchGetPermissionSetsResponse, error) }
PermissionsClient is the client API for Permissions service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPermissionsClient ¶
func NewPermissionsClient(cc grpc.ClientConnInterface) PermissionsClient
func NewPermissionsPRPCClient ¶
func NewPermissionsPRPCClient(client *prpc.Client) PermissionsClient
type PermissionsServer ¶
type PermissionsServer interface { // status: DO NOT USE // Returns the requester's permissions for the given resource. // // Raises: // // PERMISSION_DENIED if the given resource does not exist and/or the // requester does not have permission to view the resource's name space. // NOT_FOUND if the given resource does not exist. GetPermissionSet(context.Context, *GetPermissionSetRequest) (*PermissionSet, error) // status: DO NOT USE // Returns the requester's permissions for all the given resources. // // Raises: // // PERMISSION_DENIED if any of the given resources do not exist and/or the // requester does not have permission to view one of the resource's // name space. // // NOT_FOUND if one of the given resources do not exist. BatchGetPermissionSets(context.Context, *BatchGetPermissionSetsRequest) (*BatchGetPermissionSetsResponse, error) }
PermissionsServer is the server API for Permissions service.
type Project ¶
type Project struct { // Resource name of the project. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Display name of the project. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Summary of the project, ie describing what its use and purpose. Summary string `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"` // URL pointing to this project's logo image. ThumbnailUrl string `protobuf:"bytes,4,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` // contains filtered or unexported fields }
The top level organization of issues in Monorail.
See monorail/doc/userguide/concepts.md#Projects-and-roles. and monorail/doc/userguide/project-owners.md#why-does-monorail-have-projects Next available tag: 5
func (*Project) Descriptor
deprecated
func (*Project) GetDisplayName ¶
func (*Project) GetSummary ¶
func (*Project) GetThumbnailUrl ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectConfig ¶
type ProjectConfig struct { // Resource name of the project config. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Set of label prefixes that only apply once per issue. // E.g. priority, since no issue can be both Priority-High and Priority-Low. ExclusiveLabelPrefixes []string `` /* 129-byte string literal not displayed */ // Default search query for this project's members. MemberDefaultQuery string `protobuf:"bytes,3,opt,name=member_default_query,json=memberDefaultQuery,proto3" json:"member_default_query,omitempty"` // TODO(crbug.com/monorail/7517): consider using IssuesListColumn // Default sort specification for this project. DefaultSort string `protobuf:"bytes,4,opt,name=default_sort,json=defaultSort,proto3" json:"default_sort,omitempty"` // Default columns for displaying issue list for this project. DefaultColumns []*IssuesListColumn `protobuf:"bytes,5,rep,name=default_columns,json=defaultColumns,proto3" json:"default_columns,omitempty"` ProjectGridConfig *ProjectConfig_GridViewConfig `protobuf:"bytes,6,opt,name=project_grid_config,json=projectGridConfig,proto3" json:"project_grid_config,omitempty"` // Default template used for issue entry for members of this project. MemberDefaultTemplate string `` /* 126-byte string literal not displayed */ // Default template used for issue entry for non-members of this project. NonMembersDefaultTemplate string `` /* 140-byte string literal not displayed */ // URL to browse project's source code revisions for any given revnum. // E.g. https://crrev.com/{revnum} RevisionUrlFormat string `protobuf:"bytes,9,opt,name=revision_url_format,json=revisionUrlFormat,proto3" json:"revision_url_format,omitempty"` // A project's custom URL for the "New issue" link, only if specified. CustomIssueEntryUrl string `protobuf:"bytes,10,opt,name=custom_issue_entry_url,json=customIssueEntryUrl,proto3" json:"custom_issue_entry_url,omitempty"` // contains filtered or unexported fields }
Defines configurations of a project
Next available tag: 11
func (*ProjectConfig) Descriptor
deprecated
func (*ProjectConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProjectConfig.ProtoReflect.Descriptor instead.
func (*ProjectConfig) GetCustomIssueEntryUrl ¶
func (x *ProjectConfig) GetCustomIssueEntryUrl() string
func (*ProjectConfig) GetDefaultColumns ¶
func (x *ProjectConfig) GetDefaultColumns() []*IssuesListColumn
func (*ProjectConfig) GetDefaultSort ¶
func (x *ProjectConfig) GetDefaultSort() string
func (*ProjectConfig) GetExclusiveLabelPrefixes ¶
func (x *ProjectConfig) GetExclusiveLabelPrefixes() []string
func (*ProjectConfig) GetMemberDefaultQuery ¶
func (x *ProjectConfig) GetMemberDefaultQuery() string
func (*ProjectConfig) GetMemberDefaultTemplate ¶
func (x *ProjectConfig) GetMemberDefaultTemplate() string
func (*ProjectConfig) GetName ¶
func (x *ProjectConfig) GetName() string
func (*ProjectConfig) GetNonMembersDefaultTemplate ¶
func (x *ProjectConfig) GetNonMembersDefaultTemplate() string
func (*ProjectConfig) GetProjectGridConfig ¶
func (x *ProjectConfig) GetProjectGridConfig() *ProjectConfig_GridViewConfig
func (*ProjectConfig) GetRevisionUrlFormat ¶
func (x *ProjectConfig) GetRevisionUrlFormat() string
func (*ProjectConfig) ProtoMessage ¶
func (*ProjectConfig) ProtoMessage()
func (*ProjectConfig) ProtoReflect ¶
func (x *ProjectConfig) ProtoReflect() protoreflect.Message
func (*ProjectConfig) Reset ¶
func (x *ProjectConfig) Reset()
func (*ProjectConfig) String ¶
func (x *ProjectConfig) String() string
type ProjectConfig_GridViewConfig ¶
type ProjectConfig_GridViewConfig struct { // Default column dimension in grid view for this project. DefaultXAttr string `protobuf:"bytes,1,opt,name=default_x_attr,json=defaultXAttr,proto3" json:"default_x_attr,omitempty"` // Default row dimension in grid view for this project. DefaultYAttr string `protobuf:"bytes,2,opt,name=default_y_attr,json=defaultYAttr,proto3" json:"default_y_attr,omitempty"` // contains filtered or unexported fields }
Grid view configurations. Next available tag: 3
func (*ProjectConfig_GridViewConfig) Descriptor
deprecated
func (*ProjectConfig_GridViewConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProjectConfig_GridViewConfig.ProtoReflect.Descriptor instead.
func (*ProjectConfig_GridViewConfig) GetDefaultXAttr ¶
func (x *ProjectConfig_GridViewConfig) GetDefaultXAttr() string
func (*ProjectConfig_GridViewConfig) GetDefaultYAttr ¶
func (x *ProjectConfig_GridViewConfig) GetDefaultYAttr() string
func (*ProjectConfig_GridViewConfig) ProtoMessage ¶
func (*ProjectConfig_GridViewConfig) ProtoMessage()
func (*ProjectConfig_GridViewConfig) ProtoReflect ¶
func (x *ProjectConfig_GridViewConfig) ProtoReflect() protoreflect.Message
func (*ProjectConfig_GridViewConfig) Reset ¶
func (x *ProjectConfig_GridViewConfig) Reset()
func (*ProjectConfig_GridViewConfig) String ¶
func (x *ProjectConfig_GridViewConfig) String() string
type ProjectMember ¶
type ProjectMember struct { // Resource name of the Project Member. // projects/{project}/members/{user_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Role ProjectMember_ProjectRole `protobuf:"varint,2,opt,name=role,proto3,enum=monorail.v3.ProjectMember_ProjectRole" json:"role,omitempty"` // Which built-in/standard permissions the user has set. StandardPerms []Permission `` /* 136-byte string literal not displayed */ // Custom permissions defined for the user. // eg. "Google" in "Restrict-View-Google" is an example custom permission. CustomPerms []string `protobuf:"bytes,4,rep,name=custom_perms,json=customPerms,proto3" json:"custom_perms,omitempty"` // Annotations about a user configured by project owners. // Visible to anyone who can see the project's settings. Notes string `protobuf:"bytes,5,opt,name=notes,proto3" json:"notes,omitempty"` IncludeInAutocomplete ProjectMember_AutocompleteVisibility `` /* 181-byte string literal not displayed */ // contains filtered or unexported fields }
Specifies info for a member of a project.
Next available tag: 7
func (*ProjectMember) Descriptor
deprecated
func (*ProjectMember) Descriptor() ([]byte, []int)
Deprecated: Use ProjectMember.ProtoReflect.Descriptor instead.
func (*ProjectMember) GetCustomPerms ¶
func (x *ProjectMember) GetCustomPerms() []string
func (*ProjectMember) GetIncludeInAutocomplete ¶
func (x *ProjectMember) GetIncludeInAutocomplete() ProjectMember_AutocompleteVisibility
func (*ProjectMember) GetName ¶
func (x *ProjectMember) GetName() string
func (*ProjectMember) GetNotes ¶
func (x *ProjectMember) GetNotes() string
func (*ProjectMember) GetRole ¶
func (x *ProjectMember) GetRole() ProjectMember_ProjectRole
func (*ProjectMember) GetStandardPerms ¶
func (x *ProjectMember) GetStandardPerms() []Permission
func (*ProjectMember) ProtoMessage ¶
func (*ProjectMember) ProtoMessage()
func (*ProjectMember) ProtoReflect ¶
func (x *ProjectMember) ProtoReflect() protoreflect.Message
func (*ProjectMember) Reset ¶
func (x *ProjectMember) Reset()
func (*ProjectMember) String ¶
func (x *ProjectMember) String() string
type ProjectMember_AutocompleteVisibility ¶
type ProjectMember_AutocompleteVisibility int32
Whether the user should show up in autocomplete. Next available tag: 3
const ( // No autocomplete visibility value specified. ProjectMember_AUTOCOMPLETE_VISIBILITY_UNSPECIFIED ProjectMember_AutocompleteVisibility = 0 // The user should not show up in autocomplete. ProjectMember_HIDDEN ProjectMember_AutocompleteVisibility = 1 // The user may show up in autocomplete. ProjectMember_SHOWN ProjectMember_AutocompleteVisibility = 2 )
func (ProjectMember_AutocompleteVisibility) Descriptor ¶
func (ProjectMember_AutocompleteVisibility) Descriptor() protoreflect.EnumDescriptor
func (ProjectMember_AutocompleteVisibility) Enum ¶
func (x ProjectMember_AutocompleteVisibility) Enum() *ProjectMember_AutocompleteVisibility
func (ProjectMember_AutocompleteVisibility) EnumDescriptor
deprecated
func (ProjectMember_AutocompleteVisibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectMember_AutocompleteVisibility.Descriptor instead.
func (ProjectMember_AutocompleteVisibility) Number ¶
func (x ProjectMember_AutocompleteVisibility) Number() protoreflect.EnumNumber
func (ProjectMember_AutocompleteVisibility) String ¶
func (x ProjectMember_AutocompleteVisibility) String() string
func (ProjectMember_AutocompleteVisibility) Type ¶
func (ProjectMember_AutocompleteVisibility) Type() protoreflect.EnumType
type ProjectMember_ProjectRole ¶
type ProjectMember_ProjectRole int32
The role the user has in the project. Next available tag: 4
const ( // The user has no role in the project. ProjectMember_PROJECT_ROLE_UNSPECIFIED ProjectMember_ProjectRole = 0 // The user can make any changes to the project. ProjectMember_OWNER ProjectMember_ProjectRole = 1 // The user may participate in the project but may not edit the project. ProjectMember_COMMITTER ProjectMember_ProjectRole = 2 // The user starts with the same permissions as a non-member. ProjectMember_CONTRIBUTOR ProjectMember_ProjectRole = 3 )
func (ProjectMember_ProjectRole) Descriptor ¶
func (ProjectMember_ProjectRole) Descriptor() protoreflect.EnumDescriptor
func (ProjectMember_ProjectRole) Enum ¶
func (x ProjectMember_ProjectRole) Enum() *ProjectMember_ProjectRole
func (ProjectMember_ProjectRole) EnumDescriptor
deprecated
func (ProjectMember_ProjectRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectMember_ProjectRole.Descriptor instead.
func (ProjectMember_ProjectRole) Number ¶
func (x ProjectMember_ProjectRole) Number() protoreflect.EnumNumber
func (ProjectMember_ProjectRole) String ¶
func (x ProjectMember_ProjectRole) String() string
func (ProjectMember_ProjectRole) Type ¶
func (ProjectMember_ProjectRole) Type() protoreflect.EnumType
type ProjectSavedQuery ¶
type ProjectSavedQuery struct { // Resource name of this saved query. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Display name of this saved query, ie 'open issues'. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Search term of this saved query. Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
Defines saved queries that belong to a project
Next available tag: 4
func (*ProjectSavedQuery) Descriptor
deprecated
func (*ProjectSavedQuery) Descriptor() ([]byte, []int)
Deprecated: Use ProjectSavedQuery.ProtoReflect.Descriptor instead.
func (*ProjectSavedQuery) GetDisplayName ¶
func (x *ProjectSavedQuery) GetDisplayName() string
func (*ProjectSavedQuery) GetName ¶
func (x *ProjectSavedQuery) GetName() string
func (*ProjectSavedQuery) GetQuery ¶
func (x *ProjectSavedQuery) GetQuery() string
func (*ProjectSavedQuery) ProtoMessage ¶
func (*ProjectSavedQuery) ProtoMessage()
func (*ProjectSavedQuery) ProtoReflect ¶
func (x *ProjectSavedQuery) ProtoReflect() protoreflect.Message
func (*ProjectSavedQuery) Reset ¶
func (x *ProjectSavedQuery) Reset()
func (*ProjectSavedQuery) String ¶
func (x *ProjectSavedQuery) String() string
type ProjectStar ¶
type ProjectStar struct { // Resource name of the ProjectStar. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
A project starred by a user.
Next available tag: 2
func (*ProjectStar) Descriptor
deprecated
func (*ProjectStar) Descriptor() ([]byte, []int)
Deprecated: Use ProjectStar.ProtoReflect.Descriptor instead.
func (*ProjectStar) GetName ¶
func (x *ProjectStar) GetName() string
func (*ProjectStar) ProtoMessage ¶
func (*ProjectStar) ProtoMessage()
func (*ProjectStar) ProtoReflect ¶
func (x *ProjectStar) ProtoReflect() protoreflect.Message
func (*ProjectStar) Reset ¶
func (x *ProjectStar) Reset()
func (*ProjectStar) String ¶
func (x *ProjectStar) String() string
type ProjectsClient ¶
type ProjectsClient interface { // status: NOT READY // Creates a new FieldDef (custom field). // // Raises: // // NOT_FOUND if some given users do not exist. // ALREADY_EXISTS if a field with the same name owned by the project // already exists. // INVALID_INPUT if there was a problem with the input. // PERMISSION_DENIED if the user cannot edit the project. CreateFieldDef(ctx context.Context, in *CreateFieldDefRequest, opts ...grpc.CallOption) (*FieldDef, error) // status: ALPHA // Gets a ComponentDef given the reference. // // Raises: // // INVALID_INPUT if the request is invalid. // NOT_FOUND if the parent project or the component is not found. GetComponentDef(ctx context.Context, in *GetComponentDefRequest, opts ...grpc.CallOption) (*ComponentDef, error) // status: ALPHA // Creates a new ComponentDef. // // Raises: // // INVALID_INPUT if the request is invalid. // ALREADY_EXISTS if the component already exists. // PERMISSION_DENIED if the user is not allowed to create a/this component. // NOT_FOUND if the parent project or a component cc or admin is not found. CreateComponentDef(ctx context.Context, in *CreateComponentDefRequest, opts ...grpc.CallOption) (*ComponentDef, error) // status: ALPHA // Deletes a ComponentDef. // // Raises: // // INVALID_INPUT if the request is invalid. // PERMISSION_DENIED if the user is not allowed to delete a/this component. // NOT_FOUND if the component or project is not found. DeleteComponentDef(ctx context.Context, in *DeleteComponentDefRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // status: NOT READY // Returns all templates for specified project. // // Raises: // // NOT_FOUND if the requested parent project is not found. // INVALID_ARGUMENT if the given `parent` is not valid. ListIssueTemplates(ctx context.Context, in *ListIssueTemplatesRequest, opts ...grpc.CallOption) (*ListIssueTemplatesResponse, error) // status: ALPHA // Returns all field defs for specified project. // // Raises: // // NOT_FOUND if the request arent project is not found. // INVALID_ARGUMENT if the given `parent` is not valid. ListComponentDefs(ctx context.Context, in *ListComponentDefsRequest, opts ...grpc.CallOption) (*ListComponentDefsResponse, error) // status: NOT READY // Returns all projects hosted on Monorail. ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error) }
ProjectsClient is the client API for Projects service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProjectsClient ¶
func NewProjectsClient(cc grpc.ClientConnInterface) ProjectsClient
func NewProjectsPRPCClient ¶
func NewProjectsPRPCClient(client *prpc.Client) ProjectsClient
type ProjectsServer ¶
type ProjectsServer interface { // status: NOT READY // Creates a new FieldDef (custom field). // // Raises: // // NOT_FOUND if some given users do not exist. // ALREADY_EXISTS if a field with the same name owned by the project // already exists. // INVALID_INPUT if there was a problem with the input. // PERMISSION_DENIED if the user cannot edit the project. CreateFieldDef(context.Context, *CreateFieldDefRequest) (*FieldDef, error) // status: ALPHA // Gets a ComponentDef given the reference. // // Raises: // // INVALID_INPUT if the request is invalid. // NOT_FOUND if the parent project or the component is not found. GetComponentDef(context.Context, *GetComponentDefRequest) (*ComponentDef, error) // status: ALPHA // Creates a new ComponentDef. // // Raises: // // INVALID_INPUT if the request is invalid. // ALREADY_EXISTS if the component already exists. // PERMISSION_DENIED if the user is not allowed to create a/this component. // NOT_FOUND if the parent project or a component cc or admin is not found. CreateComponentDef(context.Context, *CreateComponentDefRequest) (*ComponentDef, error) // status: ALPHA // Deletes a ComponentDef. // // Raises: // // INVALID_INPUT if the request is invalid. // PERMISSION_DENIED if the user is not allowed to delete a/this component. // NOT_FOUND if the component or project is not found. DeleteComponentDef(context.Context, *DeleteComponentDefRequest) (*emptypb.Empty, error) // status: NOT READY // Returns all templates for specified project. // // Raises: // // NOT_FOUND if the requested parent project is not found. // INVALID_ARGUMENT if the given `parent` is not valid. ListIssueTemplates(context.Context, *ListIssueTemplatesRequest) (*ListIssueTemplatesResponse, error) // status: ALPHA // Returns all field defs for specified project. // // Raises: // // NOT_FOUND if the request arent project is not found. // INVALID_ARGUMENT if the given `parent` is not valid. ListComponentDefs(context.Context, *ListComponentDefsRequest) (*ListComponentDefsResponse, error) // status: NOT READY // Returns all projects hosted on Monorail. ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error) }
ProjectsServer is the server API for Projects service.
type RemoveHotlistEditorsRequest ¶
type RemoveHotlistEditorsRequest struct { // Resource name of the Hotlist to remove editors from. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Resource names of Users associated with the hotlist that should be removed. Editors []string `protobuf:"bytes,2,rep,name=editors,proto3" json:"editors,omitempty"` // contains filtered or unexported fields }
Request message for a RemoveHotlistEditors call. Next available tag: 3
func (*RemoveHotlistEditorsRequest) Descriptor
deprecated
func (*RemoveHotlistEditorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveHotlistEditorsRequest.ProtoReflect.Descriptor instead.
func (*RemoveHotlistEditorsRequest) GetEditors ¶
func (x *RemoveHotlistEditorsRequest) GetEditors() []string
func (*RemoveHotlistEditorsRequest) GetName ¶
func (x *RemoveHotlistEditorsRequest) GetName() string
func (*RemoveHotlistEditorsRequest) ProtoMessage ¶
func (*RemoveHotlistEditorsRequest) ProtoMessage()
func (*RemoveHotlistEditorsRequest) ProtoReflect ¶
func (x *RemoveHotlistEditorsRequest) ProtoReflect() protoreflect.Message
func (*RemoveHotlistEditorsRequest) Reset ¶
func (x *RemoveHotlistEditorsRequest) Reset()
func (*RemoveHotlistEditorsRequest) String ¶
func (x *RemoveHotlistEditorsRequest) String() string
type RemoveHotlistItemsRequest ¶
type RemoveHotlistItemsRequest struct { // Resource name of the Hotlist to remove items from. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Resource names of Issues associated with HotlistItems that should be removed. Issues []string `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"` // contains filtered or unexported fields }
Request message for a RemoveHotlistItems call. Next available tag: 3
func (*RemoveHotlistItemsRequest) Descriptor
deprecated
func (*RemoveHotlistItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveHotlistItemsRequest.ProtoReflect.Descriptor instead.
func (*RemoveHotlistItemsRequest) GetIssues ¶
func (x *RemoveHotlistItemsRequest) GetIssues() []string
func (*RemoveHotlistItemsRequest) GetParent ¶
func (x *RemoveHotlistItemsRequest) GetParent() string
func (*RemoveHotlistItemsRequest) ProtoMessage ¶
func (*RemoveHotlistItemsRequest) ProtoMessage()
func (*RemoveHotlistItemsRequest) ProtoReflect ¶
func (x *RemoveHotlistItemsRequest) ProtoReflect() protoreflect.Message
func (*RemoveHotlistItemsRequest) Reset ¶
func (x *RemoveHotlistItemsRequest) Reset()
func (*RemoveHotlistItemsRequest) String ¶
func (x *RemoveHotlistItemsRequest) String() string
type RerankHotlistItemsRequest ¶
type RerankHotlistItemsRequest struct { // Resource name of the Hotlist to rerank. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // HotlistItems to be moved. The order of `hotlist_items` will // determine the order of these items after they have been moved. // E.g. With items [a, b, c, d, e], moving [d, c] to `target_position` 3, will // result in items [a, b, e, d, c]. HotlistItems []string `protobuf:"bytes,2,rep,name=hotlist_items,json=hotlistItems,proto3" json:"hotlist_items,omitempty"` // Target starting position of the moved items. // `target_position` must be between 0 and (# hotlist items - # items being moved). TargetPosition uint32 `protobuf:"varint,3,opt,name=target_position,json=targetPosition,proto3" json:"target_position,omitempty"` // contains filtered or unexported fields }
The request used to rerank a Hotlist. Next available tag: 4
func (*RerankHotlistItemsRequest) Descriptor
deprecated
func (*RerankHotlistItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RerankHotlistItemsRequest.ProtoReflect.Descriptor instead.
func (*RerankHotlistItemsRequest) GetHotlistItems ¶
func (x *RerankHotlistItemsRequest) GetHotlistItems() []string
func (*RerankHotlistItemsRequest) GetName ¶
func (x *RerankHotlistItemsRequest) GetName() string
func (*RerankHotlistItemsRequest) GetTargetPosition ¶
func (x *RerankHotlistItemsRequest) GetTargetPosition() uint32
func (*RerankHotlistItemsRequest) ProtoMessage ¶
func (*RerankHotlistItemsRequest) ProtoMessage()
func (*RerankHotlistItemsRequest) ProtoReflect ¶
func (x *RerankHotlistItemsRequest) ProtoReflect() protoreflect.Message
func (*RerankHotlistItemsRequest) Reset ¶
func (x *RerankHotlistItemsRequest) Reset()
func (*RerankHotlistItemsRequest) String ¶
func (x *RerankHotlistItemsRequest) String() string
type SearchIssuesRequest ¶
type SearchIssuesRequest struct { // The names of Projects in which to search issues. Projects []string `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // The query string can contain any number of free text and // field search expressions. // Please see https://bugs.chromium.org/p/chromium/issues/searchtips for more // details of how the query string works. // // Canned queries have been deprecated in v3 in favor of search scoping using // parentheses support. // For clients who previously used canned queries, we're providing the // mapping of legacy canned query IDs to Monorail search syntax: // - Format: (can_id, description, query_string) // - (1, 'All issues', ”) // - (2, 'Open issues', 'is:open') // - (3, 'Open and owned by me', 'is:open owner:me') // - (4, 'Open and reported by me', 'is:open reporter:me') // - (5, 'Open and starred by me', 'is:open is:starred') // - (6, 'New issues', 'status:new') // - (7, 'Issues to verify', 'status=fixed,done') // - (8, 'Open with comment by me', 'is:open commentby:me') Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // The maximum number of items to return. The service may return fewer than // this value. // If unspecified, at most 100 items will be returned. // The maximum value is 100; values above 100 will be coerced to 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `SearchIssues` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `SearchIssues` must match // the call that provided the page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The string of comma separated field names used to order the items. // Adding '-' before a field, reverses the sort order. // E.g. 'stars,-status' sorts the items by number of stars, high to low, // then by status, low to high. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
The request message for Issues.SearchIssues. Next available tag: 6
func (*SearchIssuesRequest) Descriptor
deprecated
func (*SearchIssuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchIssuesRequest.ProtoReflect.Descriptor instead.
func (*SearchIssuesRequest) GetOrderBy ¶
func (x *SearchIssuesRequest) GetOrderBy() string
func (*SearchIssuesRequest) GetPageSize ¶
func (x *SearchIssuesRequest) GetPageSize() int32
func (*SearchIssuesRequest) GetPageToken ¶
func (x *SearchIssuesRequest) GetPageToken() string
func (*SearchIssuesRequest) GetProjects ¶
func (x *SearchIssuesRequest) GetProjects() []string
func (*SearchIssuesRequest) GetQuery ¶
func (x *SearchIssuesRequest) GetQuery() string
func (*SearchIssuesRequest) ProtoMessage ¶
func (*SearchIssuesRequest) ProtoMessage()
func (*SearchIssuesRequest) ProtoReflect ¶
func (x *SearchIssuesRequest) ProtoReflect() protoreflect.Message
func (*SearchIssuesRequest) Reset ¶
func (x *SearchIssuesRequest) Reset()
func (*SearchIssuesRequest) String ¶
func (x *SearchIssuesRequest) String() string
type SearchIssuesResponse ¶
type SearchIssuesResponse struct { // Issues matching the given request. Issues []*Issue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for Issues.SearchIssues. Next available tag: 3
func (*SearchIssuesResponse) Descriptor
deprecated
func (*SearchIssuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchIssuesResponse.ProtoReflect.Descriptor instead.
func (*SearchIssuesResponse) GetIssues ¶
func (x *SearchIssuesResponse) GetIssues() []*Issue
func (*SearchIssuesResponse) GetNextPageToken ¶
func (x *SearchIssuesResponse) GetNextPageToken() string
func (*SearchIssuesResponse) ProtoMessage ¶
func (*SearchIssuesResponse) ProtoMessage()
func (*SearchIssuesResponse) ProtoReflect ¶
func (x *SearchIssuesResponse) ProtoReflect() protoreflect.Message
func (*SearchIssuesResponse) Reset ¶
func (x *SearchIssuesResponse) Reset()
func (*SearchIssuesResponse) String ¶
func (x *SearchIssuesResponse) String() string
type StarProjectRequest ¶
type StarProjectRequest struct { // The resource name for the Project to star. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
The request message for Users.StarProject. Next available tag: 2
func (*StarProjectRequest) Descriptor
deprecated
func (*StarProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use StarProjectRequest.ProtoReflect.Descriptor instead.
func (*StarProjectRequest) GetProject ¶
func (x *StarProjectRequest) GetProject() string
func (*StarProjectRequest) ProtoMessage ¶
func (*StarProjectRequest) ProtoMessage()
func (*StarProjectRequest) ProtoReflect ¶
func (x *StarProjectRequest) ProtoReflect() protoreflect.Message
func (*StarProjectRequest) Reset ¶
func (x *StarProjectRequest) Reset()
func (*StarProjectRequest) String ¶
func (x *StarProjectRequest) String() string
type StatusDef ¶
type StatusDef struct { // Resource name of the status. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // String value of the status. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Type of this status. Type StatusDef_StatusDefType `protobuf:"varint,3,opt,name=type,proto3,enum=monorail.v3.StatusDef_StatusDefType" json:"type,omitempty"` // Sorting rank of this status. If we sort issues by status // this rank determines the sort order rather than status value. Rank uint32 `protobuf:"varint,4,opt,name=rank,proto3" json:"rank,omitempty"` // Brief explanation of this status. Docstring string `protobuf:"bytes,5,opt,name=docstring,proto3" json:"docstring,omitempty"` // State of this status. State StatusDef_StatusDefState `protobuf:"varint,6,opt,name=state,proto3,enum=monorail.v3.StatusDef_StatusDefState" json:"state,omitempty"` // contains filtered or unexported fields }
Potential steps along the development process that an issue can be in.
See monorail/doc/userguide/project-owners.md#How-to-configure-statuses (-- aip.dev/not-precedent: "Status" should be reserved for HTTP/gRPC codes
per aip.dev/216. Monorail's Status preceded the AIP standards, and is used extensively throughout the system.)
Next available tag: 7
func (*StatusDef) Descriptor
deprecated
func (*StatusDef) GetDocstring ¶
func (*StatusDef) GetState ¶
func (x *StatusDef) GetState() StatusDef_StatusDefState
func (*StatusDef) GetType ¶
func (x *StatusDef) GetType() StatusDef_StatusDefType
func (*StatusDef) ProtoMessage ¶
func (*StatusDef) ProtoMessage()
func (*StatusDef) ProtoReflect ¶
func (x *StatusDef) ProtoReflect() protoreflect.Message
type StatusDef_StatusDefState ¶
type StatusDef_StatusDefState int32
State of this status. Next available tag: 3
const ( // Default value. This value is unused. StatusDef_STATUS_DEF_STATE_UNSPECIFIED StatusDef_StatusDefState = 0 // This status is deprecated StatusDef_DEPRECATED StatusDef_StatusDefState = 1 // This status is not deprecated StatusDef_ACTIVE StatusDef_StatusDefState = 2 )
func (StatusDef_StatusDefState) Descriptor ¶
func (StatusDef_StatusDefState) Descriptor() protoreflect.EnumDescriptor
func (StatusDef_StatusDefState) Enum ¶
func (x StatusDef_StatusDefState) Enum() *StatusDef_StatusDefState
func (StatusDef_StatusDefState) EnumDescriptor
deprecated
func (StatusDef_StatusDefState) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatusDef_StatusDefState.Descriptor instead.
func (StatusDef_StatusDefState) Number ¶
func (x StatusDef_StatusDefState) Number() protoreflect.EnumNumber
func (StatusDef_StatusDefState) String ¶
func (x StatusDef_StatusDefState) String() string
func (StatusDef_StatusDefState) Type ¶
func (StatusDef_StatusDefState) Type() protoreflect.EnumType
type StatusDef_StatusDefType ¶
type StatusDef_StatusDefType int32
Type of this status. Next available tag: 4
const ( // Default enum value. This value is unused. StatusDef_STATUS_DEF_TYPE_UNSPECIFIED StatusDef_StatusDefType = 0 // This status means issue is open. StatusDef_OPEN StatusDef_StatusDefType = 1 // This status means issue is closed. StatusDef_CLOSED StatusDef_StatusDefType = 2 // This status means issue is merged into another. StatusDef_MERGED StatusDef_StatusDefType = 3 )
func (StatusDef_StatusDefType) Descriptor ¶
func (StatusDef_StatusDefType) Descriptor() protoreflect.EnumDescriptor
func (StatusDef_StatusDefType) Enum ¶
func (x StatusDef_StatusDefType) Enum() *StatusDef_StatusDefType
func (StatusDef_StatusDefType) EnumDescriptor
deprecated
func (StatusDef_StatusDefType) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatusDef_StatusDefType.Descriptor instead.
func (StatusDef_StatusDefType) Number ¶
func (x StatusDef_StatusDefType) Number() protoreflect.EnumNumber
func (StatusDef_StatusDefType) String ¶
func (x StatusDef_StatusDefType) String() string
func (StatusDef_StatusDefType) Type ¶
func (StatusDef_StatusDefType) Type() protoreflect.EnumType
type UnStarProjectRequest ¶
type UnStarProjectRequest struct { // The resource name for the Project to unstar. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
The request message for Users.UnStarProject. Next available tag: 2
func (*UnStarProjectRequest) Descriptor
deprecated
func (*UnStarProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnStarProjectRequest.ProtoReflect.Descriptor instead.
func (*UnStarProjectRequest) GetProject ¶
func (x *UnStarProjectRequest) GetProject() string
func (*UnStarProjectRequest) ProtoMessage ¶
func (*UnStarProjectRequest) ProtoMessage()
func (*UnStarProjectRequest) ProtoReflect ¶
func (x *UnStarProjectRequest) ProtoReflect() protoreflect.Message
func (*UnStarProjectRequest) Reset ¶
func (x *UnStarProjectRequest) Reset()
func (*UnStarProjectRequest) String ¶
func (x *UnStarProjectRequest) String() string
type UnimplementedFrontendServer ¶
type UnimplementedFrontendServer struct { }
UnimplementedFrontendServer can be embedded to have forward compatible implementations.
func (*UnimplementedFrontendServer) GatherProjectEnvironment ¶
func (*UnimplementedFrontendServer) GatherProjectEnvironment(context.Context, *GatherProjectEnvironmentRequest) (*GatherProjectEnvironmentResponse, error)
func (*UnimplementedFrontendServer) GatherProjectMembershipsForUser ¶
func (*UnimplementedFrontendServer) GatherProjectMembershipsForUser(context.Context, *GatherProjectMembershipsForUserRequest) (*GatherProjectMembershipsForUserResponse, error)
type UnimplementedHotlistsServer ¶
type UnimplementedHotlistsServer struct { }
UnimplementedHotlistsServer can be embedded to have forward compatible implementations.
func (*UnimplementedHotlistsServer) AddHotlistItems ¶
func (*UnimplementedHotlistsServer) AddHotlistItems(context.Context, *AddHotlistItemsRequest) (*emptypb.Empty, error)
func (*UnimplementedHotlistsServer) CreateHotlist ¶
func (*UnimplementedHotlistsServer) CreateHotlist(context.Context, *CreateHotlistRequest) (*Hotlist, error)
func (*UnimplementedHotlistsServer) DeleteHotlist ¶
func (*UnimplementedHotlistsServer) DeleteHotlist(context.Context, *GetHotlistRequest) (*emptypb.Empty, error)
func (*UnimplementedHotlistsServer) GatherHotlistsForUser ¶
func (*UnimplementedHotlistsServer) GatherHotlistsForUser(context.Context, *GatherHotlistsForUserRequest) (*GatherHotlistsForUserResponse, error)
func (*UnimplementedHotlistsServer) GetHotlist ¶
func (*UnimplementedHotlistsServer) GetHotlist(context.Context, *GetHotlistRequest) (*Hotlist, error)
func (*UnimplementedHotlistsServer) ListHotlistItems ¶
func (*UnimplementedHotlistsServer) ListHotlistItems(context.Context, *ListHotlistItemsRequest) (*ListHotlistItemsResponse, error)
func (*UnimplementedHotlistsServer) RemoveHotlistEditors ¶
func (*UnimplementedHotlistsServer) RemoveHotlistEditors(context.Context, *RemoveHotlistEditorsRequest) (*emptypb.Empty, error)
func (*UnimplementedHotlistsServer) RemoveHotlistItems ¶
func (*UnimplementedHotlistsServer) RemoveHotlistItems(context.Context, *RemoveHotlistItemsRequest) (*emptypb.Empty, error)
func (*UnimplementedHotlistsServer) RerankHotlistItems ¶
func (*UnimplementedHotlistsServer) RerankHotlistItems(context.Context, *RerankHotlistItemsRequest) (*emptypb.Empty, error)
func (*UnimplementedHotlistsServer) UpdateHotlist ¶
func (*UnimplementedHotlistsServer) UpdateHotlist(context.Context, *UpdateHotlistRequest) (*Hotlist, error)
type UnimplementedIssuesServer ¶
type UnimplementedIssuesServer struct { }
UnimplementedIssuesServer can be embedded to have forward compatible implementations.
func (*UnimplementedIssuesServer) BatchGetIssues ¶
func (*UnimplementedIssuesServer) BatchGetIssues(context.Context, *BatchGetIssuesRequest) (*BatchGetIssuesResponse, error)
func (*UnimplementedIssuesServer) GetIssue ¶
func (*UnimplementedIssuesServer) GetIssue(context.Context, *GetIssueRequest) (*Issue, error)
func (*UnimplementedIssuesServer) ListApprovalValues ¶
func (*UnimplementedIssuesServer) ListApprovalValues(context.Context, *ListApprovalValuesRequest) (*ListApprovalValuesResponse, error)
func (*UnimplementedIssuesServer) ListComments ¶
func (*UnimplementedIssuesServer) ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error)
func (*UnimplementedIssuesServer) MakeIssue ¶
func (*UnimplementedIssuesServer) MakeIssue(context.Context, *MakeIssueRequest) (*Issue, error)
func (*UnimplementedIssuesServer) MakeIssueFromTemplate ¶
func (*UnimplementedIssuesServer) MakeIssueFromTemplate(context.Context, *MakeIssueFromTemplateRequest) (*Issue, error)
func (*UnimplementedIssuesServer) ModifyCommentState ¶
func (*UnimplementedIssuesServer) ModifyCommentState(context.Context, *ModifyCommentStateRequest) (*ModifyCommentStateResponse, error)
func (*UnimplementedIssuesServer) ModifyIssueApprovalValues ¶
func (*UnimplementedIssuesServer) ModifyIssueApprovalValues(context.Context, *ModifyIssueApprovalValuesRequest) (*ModifyIssueApprovalValuesResponse, error)
func (*UnimplementedIssuesServer) ModifyIssues ¶
func (*UnimplementedIssuesServer) ModifyIssues(context.Context, *ModifyIssuesRequest) (*ModifyIssuesResponse, error)
func (*UnimplementedIssuesServer) SearchIssues ¶
func (*UnimplementedIssuesServer) SearchIssues(context.Context, *SearchIssuesRequest) (*SearchIssuesResponse, error)
type UnimplementedPermissionsServer ¶
type UnimplementedPermissionsServer struct { }
UnimplementedPermissionsServer can be embedded to have forward compatible implementations.
func (*UnimplementedPermissionsServer) BatchGetPermissionSets ¶
func (*UnimplementedPermissionsServer) BatchGetPermissionSets(context.Context, *BatchGetPermissionSetsRequest) (*BatchGetPermissionSetsResponse, error)
func (*UnimplementedPermissionsServer) GetPermissionSet ¶
func (*UnimplementedPermissionsServer) GetPermissionSet(context.Context, *GetPermissionSetRequest) (*PermissionSet, error)
type UnimplementedProjectsServer ¶
type UnimplementedProjectsServer struct { }
UnimplementedProjectsServer can be embedded to have forward compatible implementations.
func (*UnimplementedProjectsServer) CreateComponentDef ¶
func (*UnimplementedProjectsServer) CreateComponentDef(context.Context, *CreateComponentDefRequest) (*ComponentDef, error)
func (*UnimplementedProjectsServer) CreateFieldDef ¶
func (*UnimplementedProjectsServer) CreateFieldDef(context.Context, *CreateFieldDefRequest) (*FieldDef, error)
func (*UnimplementedProjectsServer) DeleteComponentDef ¶
func (*UnimplementedProjectsServer) DeleteComponentDef(context.Context, *DeleteComponentDefRequest) (*emptypb.Empty, error)
func (*UnimplementedProjectsServer) GetComponentDef ¶
func (*UnimplementedProjectsServer) GetComponentDef(context.Context, *GetComponentDefRequest) (*ComponentDef, error)
func (*UnimplementedProjectsServer) ListComponentDefs ¶
func (*UnimplementedProjectsServer) ListComponentDefs(context.Context, *ListComponentDefsRequest) (*ListComponentDefsResponse, error)
func (*UnimplementedProjectsServer) ListIssueTemplates ¶
func (*UnimplementedProjectsServer) ListIssueTemplates(context.Context, *ListIssueTemplatesRequest) (*ListIssueTemplatesResponse, error)
func (*UnimplementedProjectsServer) ListProjects ¶
func (*UnimplementedProjectsServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
type UnimplementedUsersServer ¶
type UnimplementedUsersServer struct { }
UnimplementedUsersServer can be embedded to have forward compatible implementations.
func (*UnimplementedUsersServer) BatchGetUsers ¶
func (*UnimplementedUsersServer) BatchGetUsers(context.Context, *BatchGetUsersRequest) (*BatchGetUsersResponse, error)
func (*UnimplementedUsersServer) GetUser ¶
func (*UnimplementedUsersServer) GetUser(context.Context, *GetUserRequest) (*User, error)
func (*UnimplementedUsersServer) ListProjectStars ¶
func (*UnimplementedUsersServer) ListProjectStars(context.Context, *ListProjectStarsRequest) (*ListProjectStarsResponse, error)
func (*UnimplementedUsersServer) StarProject ¶
func (*UnimplementedUsersServer) StarProject(context.Context, *StarProjectRequest) (*ProjectStar, error)
func (*UnimplementedUsersServer) UnStarProject ¶
func (*UnimplementedUsersServer) UnStarProject(context.Context, *UnStarProjectRequest) (*emptypb.Empty, error)
func (*UnimplementedUsersServer) UpdateUser ¶
func (*UnimplementedUsersServer) UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
type UpdateHotlistRequest ¶
type UpdateHotlistRequest struct { // The hotlist's `name` field is used to identify the hotlist to be updated. Hotlist *Hotlist `protobuf:"bytes,1,opt,name=hotlist,proto3" json:"hotlist,omitempty"` // The list of fields to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for UpdateHotlist method. Next available tag: 2
func (*UpdateHotlistRequest) Descriptor
deprecated
func (*UpdateHotlistRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateHotlistRequest.ProtoReflect.Descriptor instead.
func (*UpdateHotlistRequest) GetHotlist ¶
func (x *UpdateHotlistRequest) GetHotlist() *Hotlist
func (*UpdateHotlistRequest) GetUpdateMask ¶
func (x *UpdateHotlistRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateHotlistRequest) ProtoMessage ¶
func (*UpdateHotlistRequest) ProtoMessage()
func (*UpdateHotlistRequest) ProtoReflect ¶
func (x *UpdateHotlistRequest) ProtoReflect() protoreflect.Message
func (*UpdateHotlistRequest) Reset ¶
func (x *UpdateHotlistRequest) Reset()
func (*UpdateHotlistRequest) String ¶
func (x *UpdateHotlistRequest) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { // The user's `name` field is used to identify the user to be updated. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // The list of fields to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for Users.UpdateUser. Next available tag: 3
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetUpdateMask ¶
func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserRequest) GetUser ¶
func (x *UpdateUserRequest) GetUser() *User
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type User ¶
type User struct { // Resource name of the user. // The API will always return User names with format: users/<user_id>. // However the API will accept User names with formats: users/<user_id> or users/<email>. // To fetch the display_name for any users/<user_id> returned by the API, // you can call {Batch}GetUser{s}. // We represent deleted users within Monorail with `users/1` or `users/2103649657`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // User display_name to show other users using the site. // By default this is the obscured or un-obscured email. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Obscured or un-obscured user email or empty if this represents // a deleted user. Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` // User-written indication of their availability or working hours. AvailabilityMessage string `protobuf:"bytes,3,opt,name=availability_message,json=availabilityMessage,proto3" json:"availability_message,omitempty"` // Timestamp of the user's last visit LastVisitTimestamp int32 `protobuf:"varint,5,opt,name=last_visit_timestamp,json=lastVisitTimestamp,proto3" json:"last_visit_timestamp,omitempty"` // contains filtered or unexported fields }
User represents a user of the Monorail site. Next available tag: 5
func (*User) Descriptor
deprecated
func (*User) GetAvailabilityMessage ¶
func (*User) GetDisplayName ¶
func (*User) GetLastVisitTimestamp ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserSavedQuery ¶
type UserSavedQuery struct { // Resource name of this saved query. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Display name of this saved query, ie 'open issues'. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Search term of this saved query. Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` // List of projects this query can be searched in. Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"` SubscriptionMode UserSavedQuery_SubscriptionMode `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
Defines saved queries that belong to a user.
Next available tag: 6
func (*UserSavedQuery) Descriptor
deprecated
func (*UserSavedQuery) Descriptor() ([]byte, []int)
Deprecated: Use UserSavedQuery.ProtoReflect.Descriptor instead.
func (*UserSavedQuery) GetDisplayName ¶
func (x *UserSavedQuery) GetDisplayName() string
func (*UserSavedQuery) GetName ¶
func (x *UserSavedQuery) GetName() string
func (*UserSavedQuery) GetProjects ¶
func (x *UserSavedQuery) GetProjects() []string
func (*UserSavedQuery) GetQuery ¶
func (x *UserSavedQuery) GetQuery() string
func (*UserSavedQuery) GetSubscriptionMode ¶
func (x *UserSavedQuery) GetSubscriptionMode() UserSavedQuery_SubscriptionMode
func (*UserSavedQuery) ProtoMessage ¶
func (*UserSavedQuery) ProtoMessage()
func (*UserSavedQuery) ProtoReflect ¶
func (x *UserSavedQuery) ProtoReflect() protoreflect.Message
func (*UserSavedQuery) Reset ¶
func (x *UserSavedQuery) Reset()
func (*UserSavedQuery) String ¶
func (x *UserSavedQuery) String() string
type UserSavedQuery_SubscriptionMode ¶
type UserSavedQuery_SubscriptionMode int32
Subscription mode of this saved query Next available tag: 3
const ( // Default API value. This value is unused. UserSavedQuery_SUBSCRIPTION_MODE_UNSPECIFIED UserSavedQuery_SubscriptionMode = 0 // Do not subscribe to notifications. UserSavedQuery_NO_NOTIFICATION UserSavedQuery_SubscriptionMode = 1 // Subscribe to notifications. UserSavedQuery_IMMEDIATE_NOTIFICATION UserSavedQuery_SubscriptionMode = 2 )
func (UserSavedQuery_SubscriptionMode) Descriptor ¶
func (UserSavedQuery_SubscriptionMode) Descriptor() protoreflect.EnumDescriptor
func (UserSavedQuery_SubscriptionMode) Enum ¶
func (x UserSavedQuery_SubscriptionMode) Enum() *UserSavedQuery_SubscriptionMode
func (UserSavedQuery_SubscriptionMode) EnumDescriptor
deprecated
func (UserSavedQuery_SubscriptionMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSavedQuery_SubscriptionMode.Descriptor instead.
func (UserSavedQuery_SubscriptionMode) Number ¶
func (x UserSavedQuery_SubscriptionMode) Number() protoreflect.EnumNumber
func (UserSavedQuery_SubscriptionMode) String ¶
func (x UserSavedQuery_SubscriptionMode) String() string
func (UserSavedQuery_SubscriptionMode) Type ¶
func (UserSavedQuery_SubscriptionMode) Type() protoreflect.EnumType
type UserSettings ¶
type UserSettings struct { // Resource name of the user that has these settings. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The global site role for the user. SiteRole UserSettings_SiteRole `protobuf:"varint,2,opt,name=site_role,json=siteRole,proto3,enum=monorail.v3.UserSettings_SiteRole" json:"site_role,omitempty"` // Resource name of linked secondary users. LinkedSecondaryUsers []string `protobuf:"bytes,3,rep,name=linked_secondary_users,json=linkedSecondaryUsers,proto3" json:"linked_secondary_users,omitempty"` // The user's access to the site. SiteAccess *UserSettings_SiteAccess `protobuf:"bytes,4,opt,name=site_access,json=siteAccess,proto3" json:"site_access,omitempty"` // Notification trait preferences of the user. NotificationTraits []UserSettings_NotificationTraits `` /* 172-byte string literal not displayed */ // Privacy trait preferences of the user. PrivacyTraits []UserSettings_PrivacyTraits `` /* 152-byte string literal not displayed */ // Site interaction trait preferences of the user. SiteInteractionTraits []UserSettings_SiteInteractionTraits `` /* 186-byte string literal not displayed */ // contains filtered or unexported fields }
UserSettings represents preferences and account settings of a User. Next available tag: 8
func (*UserSettings) Descriptor
deprecated
func (*UserSettings) Descriptor() ([]byte, []int)
Deprecated: Use UserSettings.ProtoReflect.Descriptor instead.
func (*UserSettings) GetLinkedSecondaryUsers ¶
func (x *UserSettings) GetLinkedSecondaryUsers() []string
func (*UserSettings) GetName ¶
func (x *UserSettings) GetName() string
func (*UserSettings) GetNotificationTraits ¶
func (x *UserSettings) GetNotificationTraits() []UserSettings_NotificationTraits
func (*UserSettings) GetPrivacyTraits ¶
func (x *UserSettings) GetPrivacyTraits() []UserSettings_PrivacyTraits
func (*UserSettings) GetSiteAccess ¶
func (x *UserSettings) GetSiteAccess() *UserSettings_SiteAccess
func (*UserSettings) GetSiteInteractionTraits ¶
func (x *UserSettings) GetSiteInteractionTraits() []UserSettings_SiteInteractionTraits
func (*UserSettings) GetSiteRole ¶
func (x *UserSettings) GetSiteRole() UserSettings_SiteRole
func (*UserSettings) ProtoMessage ¶
func (*UserSettings) ProtoMessage()
func (*UserSettings) ProtoReflect ¶
func (x *UserSettings) ProtoReflect() protoreflect.Message
func (*UserSettings) Reset ¶
func (x *UserSettings) Reset()
func (*UserSettings) String ¶
func (x *UserSettings) String() string
type UserSettings_NotificationTraits ¶
type UserSettings_NotificationTraits int32
Trait options for notifications the user receives. Next available tag: 6;
const ( // Default value. This value is unused. UserSettings_NOTIFICATION_TRAITS_UNSPECIFIED UserSettings_NotificationTraits = 0 // Send change notifications for issues where user is owner or cc. UserSettings_NOTIFY_ON_OWNED_OR_CC_ISSUE_CHANGES UserSettings_NotificationTraits = 1 // Send change notifications for issues the user has starred. UserSettings_NOTIFY_ON_STARRED_ISSUE_CHANGES UserSettings_NotificationTraits = 2 // Send date-type field notifications for issues the user has starred. // See monorail/doc/userguide/email.md#why-did-i-get-a-follow_up-email-notification. UserSettings_NOTIFY_ON_STARRED_NOTIFY_DATES UserSettings_NotificationTraits = 3 // Email subject lines should be compact. UserSettings_COMPACT_SUBJECT_LINE UserSettings_NotificationTraits = 4 // Include a button link to the issue, in Gmail. UserSettings_GMAIL_INCLUDE_ISSUE_LINK_BUTTON UserSettings_NotificationTraits = 5 )
func (UserSettings_NotificationTraits) Descriptor ¶
func (UserSettings_NotificationTraits) Descriptor() protoreflect.EnumDescriptor
func (UserSettings_NotificationTraits) Enum ¶
func (x UserSettings_NotificationTraits) Enum() *UserSettings_NotificationTraits
func (UserSettings_NotificationTraits) EnumDescriptor
deprecated
func (UserSettings_NotificationTraits) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSettings_NotificationTraits.Descriptor instead.
func (UserSettings_NotificationTraits) Number ¶
func (x UserSettings_NotificationTraits) Number() protoreflect.EnumNumber
func (UserSettings_NotificationTraits) String ¶
func (x UserSettings_NotificationTraits) String() string
func (UserSettings_NotificationTraits) Type ¶
func (UserSettings_NotificationTraits) Type() protoreflect.EnumType
type UserSettings_PrivacyTraits ¶
type UserSettings_PrivacyTraits int32
Privacy trait options for the user. Next available tag: 2
const ( // Default value. This value is unused. UserSettings_PRIVACY_TRAITS_UNSPECIFIED UserSettings_PrivacyTraits = 0 // Obscure the user's email from non-project members throughout the site. UserSettings_OBSCURE_EMAIL UserSettings_PrivacyTraits = 1 )
func (UserSettings_PrivacyTraits) Descriptor ¶
func (UserSettings_PrivacyTraits) Descriptor() protoreflect.EnumDescriptor
func (UserSettings_PrivacyTraits) Enum ¶
func (x UserSettings_PrivacyTraits) Enum() *UserSettings_PrivacyTraits
func (UserSettings_PrivacyTraits) EnumDescriptor
deprecated
func (UserSettings_PrivacyTraits) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSettings_PrivacyTraits.Descriptor instead.
func (UserSettings_PrivacyTraits) Number ¶
func (x UserSettings_PrivacyTraits) Number() protoreflect.EnumNumber
func (UserSettings_PrivacyTraits) String ¶
func (x UserSettings_PrivacyTraits) String() string
func (UserSettings_PrivacyTraits) Type ¶
func (UserSettings_PrivacyTraits) Type() protoreflect.EnumType
type UserSettings_SiteAccess ¶
type UserSettings_SiteAccess struct { // The status of the user's access to the site. Status UserSettings_SiteAccess_Status `protobuf:"varint,1,opt,name=status,proto3,enum=monorail.v3.UserSettings_SiteAccess_Status" json:"status,omitempty"` // An explanation for the value of `status`. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
The access the user has to the site. Next available tag: 3
func (*UserSettings_SiteAccess) Descriptor
deprecated
func (*UserSettings_SiteAccess) Descriptor() ([]byte, []int)
Deprecated: Use UserSettings_SiteAccess.ProtoReflect.Descriptor instead.
func (*UserSettings_SiteAccess) GetReason ¶
func (x *UserSettings_SiteAccess) GetReason() string
func (*UserSettings_SiteAccess) GetStatus ¶
func (x *UserSettings_SiteAccess) GetStatus() UserSettings_SiteAccess_Status
func (*UserSettings_SiteAccess) ProtoMessage ¶
func (*UserSettings_SiteAccess) ProtoMessage()
func (*UserSettings_SiteAccess) ProtoReflect ¶
func (x *UserSettings_SiteAccess) ProtoReflect() protoreflect.Message
func (*UserSettings_SiteAccess) Reset ¶
func (x *UserSettings_SiteAccess) Reset()
func (*UserSettings_SiteAccess) String ¶
func (x *UserSettings_SiteAccess) String() string
type UserSettings_SiteAccess_Status ¶
type UserSettings_SiteAccess_Status int32
Potential status of a user's access to the site. Next available tag: 3
const ( // Default value. This value is unused. UserSettings_SiteAccess_STATUS_UNSPECIFIED UserSettings_SiteAccess_Status = 0 // The user has access to the site. UserSettings_SiteAccess_FULL_ACCESS UserSettings_SiteAccess_Status = 1 // The user is banned from the site. UserSettings_SiteAccess_BANNED UserSettings_SiteAccess_Status = 2 )
func (UserSettings_SiteAccess_Status) Descriptor ¶
func (UserSettings_SiteAccess_Status) Descriptor() protoreflect.EnumDescriptor
func (UserSettings_SiteAccess_Status) Enum ¶
func (x UserSettings_SiteAccess_Status) Enum() *UserSettings_SiteAccess_Status
func (UserSettings_SiteAccess_Status) EnumDescriptor
deprecated
func (UserSettings_SiteAccess_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSettings_SiteAccess_Status.Descriptor instead.
func (UserSettings_SiteAccess_Status) Number ¶
func (x UserSettings_SiteAccess_Status) Number() protoreflect.EnumNumber
func (UserSettings_SiteAccess_Status) String ¶
func (x UserSettings_SiteAccess_Status) String() string
func (UserSettings_SiteAccess_Status) Type ¶
func (UserSettings_SiteAccess_Status) Type() protoreflect.EnumType
type UserSettings_SiteInteractionTraits ¶
type UserSettings_SiteInteractionTraits int32
Site interaction trait options for the user. Next available tag: 3
const ( // Default value. This value is unused. UserSettings_SITE_INTERACTION_TRAITS_UNSPECIFIED UserSettings_SiteInteractionTraits = 0 // Add 'Restrict-View-Google' labels to new issues the user reports. // Issues will only be visible to the user (issue reporter) // and users with the `Google` permission. UserSettings_REPORT_RESTRICT_VIEW_GOOGLE_ISSUES UserSettings_SiteInteractionTraits = 1 // When viewing public issues, show a banner to remind the user not // to post sensitive information. UserSettings_PUBLIC_ISSUE_BANNER UserSettings_SiteInteractionTraits = 2 )
func (UserSettings_SiteInteractionTraits) Descriptor ¶
func (UserSettings_SiteInteractionTraits) Descriptor() protoreflect.EnumDescriptor
func (UserSettings_SiteInteractionTraits) Enum ¶
func (x UserSettings_SiteInteractionTraits) Enum() *UserSettings_SiteInteractionTraits
func (UserSettings_SiteInteractionTraits) EnumDescriptor
deprecated
func (UserSettings_SiteInteractionTraits) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSettings_SiteInteractionTraits.Descriptor instead.
func (UserSettings_SiteInteractionTraits) Number ¶
func (x UserSettings_SiteInteractionTraits) Number() protoreflect.EnumNumber
func (UserSettings_SiteInteractionTraits) String ¶
func (x UserSettings_SiteInteractionTraits) String() string
func (UserSettings_SiteInteractionTraits) Type ¶
func (UserSettings_SiteInteractionTraits) Type() protoreflect.EnumType
type UserSettings_SiteRole ¶
type UserSettings_SiteRole int32
Potential roles of a user. Next available tag: 3
const ( // Default value. This value is unused. UserSettings_SITE_ROLE_UNSPECIFIED UserSettings_SiteRole = 0 // Normal site user with no special site-wide extra permissions. UserSettings_NORMAL UserSettings_SiteRole = 1 // Site-wide admin role. UserSettings_ADMIN UserSettings_SiteRole = 2 )
func (UserSettings_SiteRole) Descriptor ¶
func (UserSettings_SiteRole) Descriptor() protoreflect.EnumDescriptor
func (UserSettings_SiteRole) Enum ¶
func (x UserSettings_SiteRole) Enum() *UserSettings_SiteRole
func (UserSettings_SiteRole) EnumDescriptor
deprecated
func (UserSettings_SiteRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSettings_SiteRole.Descriptor instead.
func (UserSettings_SiteRole) Number ¶
func (x UserSettings_SiteRole) Number() protoreflect.EnumNumber
func (UserSettings_SiteRole) String ¶
func (x UserSettings_SiteRole) String() string
func (UserSettings_SiteRole) Type ¶
func (UserSettings_SiteRole) Type() protoreflect.EnumType
type UsersClient ¶
type UsersClient interface { // status: ALPHA // Returns the requested User. // // Raises: // // NOT_FOUND is the user is not found. // INVALID_ARGUMENT if the `name` is invalid. GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error) // status: ALPHA // Returns all of the requested Users. // // Raises: // // NOT_FOUND if any users are not found. // INVALID_ARGUMENT if any `names` are invalid. BatchGetUsers(ctx context.Context, in *BatchGetUsersRequest, opts ...grpc.CallOption) (*BatchGetUsersResponse, error) // status: NOT READY // Updates a User. // // Raises: // // NOT_FOUND if the user is not found. // PERMISSION_DENIED if the requester is not allowed to update the user. // INVALID_ARGUMENT if required fields are missing or fields are invalid. UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*User, error) // status: NOT READY // Stars a given project for the requestor. // // Raises: // // NOT_FOUND if the requested project is not found. // INVALID_ARGUMENT if the given `project` is not valid. StarProject(ctx context.Context, in *StarProjectRequest, opts ...grpc.CallOption) (*ProjectStar, error) // status: NOT READY // Unstars a given project for the requestor. // // Raises: // // NOT_FOUND if the requested project is not found. // INVALID_ARGUMENT if the given `project` is not valid. UnStarProject(ctx context.Context, in *UnStarProjectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // status: NOT READY // Lists all of a user's starred projects. // // Raises: // // NOT_FOUND if the requested user is not found. // INVALID_ARGUMENT if the given `parent` is not valid. ListProjectStars(ctx context.Context, in *ListProjectStarsRequest, opts ...grpc.CallOption) (*ListProjectStarsResponse, error) }
UsersClient is the client API for Users service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUsersClient ¶
func NewUsersClient(cc grpc.ClientConnInterface) UsersClient
func NewUsersPRPCClient ¶
func NewUsersPRPCClient(client *prpc.Client) UsersClient
type UsersServer ¶
type UsersServer interface { // status: ALPHA // Returns the requested User. // // Raises: // // NOT_FOUND is the user is not found. // INVALID_ARGUMENT if the `name` is invalid. GetUser(context.Context, *GetUserRequest) (*User, error) // status: ALPHA // Returns all of the requested Users. // // Raises: // // NOT_FOUND if any users are not found. // INVALID_ARGUMENT if any `names` are invalid. BatchGetUsers(context.Context, *BatchGetUsersRequest) (*BatchGetUsersResponse, error) // status: NOT READY // Updates a User. // // Raises: // // NOT_FOUND if the user is not found. // PERMISSION_DENIED if the requester is not allowed to update the user. // INVALID_ARGUMENT if required fields are missing or fields are invalid. UpdateUser(context.Context, *UpdateUserRequest) (*User, error) // status: NOT READY // Stars a given project for the requestor. // // Raises: // // NOT_FOUND if the requested project is not found. // INVALID_ARGUMENT if the given `project` is not valid. StarProject(context.Context, *StarProjectRequest) (*ProjectStar, error) // status: NOT READY // Unstars a given project for the requestor. // // Raises: // // NOT_FOUND if the requested project is not found. // INVALID_ARGUMENT if the given `project` is not valid. UnStarProject(context.Context, *UnStarProjectRequest) (*emptypb.Empty, error) // status: NOT READY // Lists all of a user's starred projects. // // Raises: // // NOT_FOUND if the requested user is not found. // INVALID_ARGUMENT if the given `parent` is not valid. ListProjectStars(context.Context, *ListProjectStarsRequest) (*ListProjectStarsResponse, error) }
UsersServer is the server API for Users service.