issuetracker

package
v0.0.0-...-d7353a2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EditSignificance_name = map[int32]string{
		0: "EDIT_SIGNIFICANCE_UNSPECIFIED",
		1: "SILENT",
		2: "MINOR",
		3: "MAJOR",
		4: "BULK",
		5: "CLOSING",
	}
	EditSignificance_value = map[string]int32{
		"EDIT_SIGNIFICANCE_UNSPECIFIED": 0,
		"SILENT":                        1,
		"MINOR":                         2,
		"MAJOR":                         3,
		"BULK":                          4,
		"CLOSING":                       5,
	}
)

Enum value maps for EditSignificance.

View Source
var (
	IssueRelationshipType_name = map[int32]string{
		0: "ISSUE_RELATIONSHIP_TYPE_UNSPECIFIED",
		1: "CHILD",
		2: "DEPENDENCY",
		3: "LINKED",
	}
	IssueRelationshipType_value = map[string]int32{
		"ISSUE_RELATIONSHIP_TYPE_UNSPECIFIED": 0,
		"CHILD":                               1,
		"DEPENDENCY":                          2,
		"LINKED":                              3,
	}
)

Enum value maps for IssueRelationshipType.

View Source
var (
	EntityStatus_Status_name = map[int32]string{
		0: "ACTIVE",
		1: "DELETED",
		2: "PURGED",
	}
	EntityStatus_Status_value = map[string]int32{
		"ACTIVE":  0,
		"DELETED": 1,
		"PURGED":  2,
	}
)

Enum value maps for EntityStatus_Status.

View Source
var (
	EntityStatus_Reason_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "USER_REQUEST",
		2: "ABUSE",
		3: "RESTRICTED",
		4: "RETENTION",
		5: "ACCOUNT_CAPABILITIES",
	}
	EntityStatus_Reason_value = map[string]int32{
		"UNSPECIFIED":          0,
		"USER_REQUEST":         1,
		"ABUSE":                2,
		"RESTRICTED":           3,
		"RETENTION":            4,
		"ACCOUNT_CAPABILITIES": 5,
	}
)

Enum value maps for EntityStatus_Reason.

View Source
var (
	CustomField_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TEXT",
		2: "DATE",
		3: "ENUM",
		4: "NUMERIC",
		5: "REPEATED_TEXT",
		6: "REPEATED_DATE",
		7: "REPEATED_ENUM",
		8: "REPEATED_NUMERIC",
	}
	CustomField_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TEXT":             1,
		"DATE":             2,
		"ENUM":             3,
		"NUMERIC":          4,
		"REPEATED_TEXT":    5,
		"REPEATED_DATE":    6,
		"REPEATED_ENUM":    7,
		"REPEATED_NUMERIC": 8,
	}
)

Enum value maps for CustomField_Type.

View Source
var (
	FieldId_StandardField_name = map[int32]string{
		0:  "STANDARD_FIELD_UNSPECIFIED",
		1:  "REPORTER",
		2:  "ASSIGNEE",
		3:  "VERIFIER",
		4:  "CC",
		5:  "TYPE",
		6:  "STATUS",
		7:  "PRIORITY",
		8:  "SEVERITY",
		9:  "CHANGELISTS",
		10: "PENDING_CHANGELISTS",
		11: "POSTMORTEMS",
		12: "FOUND_IN",
		13: "TARGETED_TO",
		14: "VERIFIED_IN",
		15: "IN_PRODUCTION",
		16: "SLO_STATUS",
		17: "TEAM",
		18: "COLLABORATORS",
	}
	FieldId_StandardField_value = map[string]int32{
		"STANDARD_FIELD_UNSPECIFIED": 0,
		"REPORTER":                   1,
		"ASSIGNEE":                   2,
		"VERIFIER":                   3,
		"CC":                         4,
		"TYPE":                       5,
		"STATUS":                     6,
		"PRIORITY":                   7,
		"SEVERITY":                   8,
		"CHANGELISTS":                9,
		"PENDING_CHANGELISTS":        10,
		"POSTMORTEMS":                11,
		"FOUND_IN":                   12,
		"TARGETED_TO":                13,
		"VERIFIED_IN":                14,
		"IN_PRODUCTION":              15,
		"SLO_STATUS":                 16,
		"TEAM":                       17,
		"COLLABORATORS":              18,
	}
)

Enum value maps for FieldId_StandardField.

View Source
var (
	Issue_Type_name = map[int32]string{
		0:  "TYPE_UNSPECIFIED",
		1:  "BUG",
		2:  "FEATURE_REQUEST",
		3:  "CUSTOMER_ISSUE",
		4:  "INTERNAL_CLEANUP",
		5:  "PROCESS",
		6:  "VULNERABILITY",
		7:  "PRIVACY_ISSUE",
		8:  "PORTFOLIO",
		9:  "PROGRAM",
		10: "PROJECT",
		11: "FEATURE",
		12: "MILESTONE",
		13: "EPIC",
		14: "STORY",
		15: "TASK",
	}
	Issue_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"BUG":              1,
		"FEATURE_REQUEST":  2,
		"CUSTOMER_ISSUE":   3,
		"INTERNAL_CLEANUP": 4,
		"PROCESS":          5,
		"VULNERABILITY":    6,
		"PRIVACY_ISSUE":    7,
		"PORTFOLIO":        8,
		"PROGRAM":          9,
		"PROJECT":          10,
		"FEATURE":          11,
		"MILESTONE":        12,
		"EPIC":             13,
		"STORY":            14,
		"TASK":             15,
	}
)

Enum value maps for Issue_Type.

View Source
var (
	Issue_Status_name = map[int32]string{
		0:  "STATUS_UNSPECIFIED",
		1:  "NEW",
		2:  "ASSIGNED",
		3:  "ACCEPTED",
		4:  "FIXED",
		5:  "VERIFIED",
		6:  "NOT_REPRODUCIBLE",
		7:  "INTENDED_BEHAVIOR",
		8:  "OBSOLETE",
		9:  "INFEASIBLE",
		10: "DUPLICATE",
	}
	Issue_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"NEW":                1,
		"ASSIGNED":           2,
		"ACCEPTED":           3,
		"FIXED":              4,
		"VERIFIED":           5,
		"NOT_REPRODUCIBLE":   6,
		"INTENDED_BEHAVIOR":  7,
		"OBSOLETE":           8,
		"INFEASIBLE":         9,
		"DUPLICATE":          10,
	}
)

Enum value maps for Issue_Status.

View Source
var (
	Issue_Priority_name = map[int32]string{
		0: "PRIORITY_UNSPECIFIED",
		1: "P0",
		2: "P1",
		3: "P2",
		4: "P3",
		5: "P4",
	}
	Issue_Priority_value = map[string]int32{
		"PRIORITY_UNSPECIFIED": 0,
		"P0":                   1,
		"P1":                   2,
		"P2":                   3,
		"P3":                   4,
		"P4":                   5,
	}
)

Enum value maps for Issue_Priority.

View Source
var (
	Issue_Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "S0",
		2: "S1",
		3: "S2",
		4: "S3",
		5: "S4",
	}
	Issue_Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"S0":                   1,
		"S1":                   2,
		"S2":                   3,
		"S3":                   4,
		"S4":                   5,
	}
)

Enum value maps for Issue_Severity.

View Source
var (
	IssueAccessLimit_AccessLevel_name = map[int32]string{
		0: "ACCESS_LEVEL_UNSPECIFIED",
		1: "LIMIT_NONE",
		2: "LIMIT_VIEW",
		3: "LIMIT_APPEND",
		4: "LIMIT_VIEW_TRUSTED",
	}
	IssueAccessLimit_AccessLevel_value = map[string]int32{
		"ACCESS_LEVEL_UNSPECIFIED": 0,
		"LIMIT_NONE":               1,
		"LIMIT_VIEW":               2,
		"LIMIT_APPEND":             3,
		"LIMIT_VIEW_TRUSTED":       4,
	}
)

Enum value maps for IssueAccessLimit_AccessLevel.

View Source
var (
	GerritChange_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "MERGED",
	}
	GerritChange_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"MERGED":            2,
	}
)

Enum value maps for GerritChange_State.

View Source
var (
	IssueView_name = map[int32]string{
		0: "ISSUE_VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "FULL",
	}
	IssueView_value = map[string]int32{
		"ISSUE_VIEW_UNSPECIFIED": 0,
		"BASIC":                  1,
		"FULL":                   2,
	}
)

Enum value maps for IssueView.

View Source
var (
	IssueCommentView_name = map[int32]string{
		0: "ISSUE_COMMENT_VIEW_UNSPECIFIED",
		1: "ISSUE_COMMENT_VIEW_BASIC",
		2: "ISSUE_COMMENT_VIEW_FULL",
	}
	IssueCommentView_value = map[string]int32{
		"ISSUE_COMMENT_VIEW_UNSPECIFIED": 0,
		"ISSUE_COMMENT_VIEW_BASIC":       1,
		"ISSUE_COMMENT_VIEW_FULL":        2,
	}
)

Enum value maps for IssueCommentView.

View Source
var File_google_devtools_issuetracker_v1_issuetracker_proto protoreflect.FileDescriptor
View Source
var File_google_devtools_issuetracker_v1_issuetracker_service_proto protoreflect.FileDescriptor

Functions

func RegisterIssueTrackerServer

func RegisterIssueTrackerServer(s *grpc.Server, srv IssueTrackerServer)

Types

type Attachment

type Attachment struct {

	// Output only. Unique ID.
	AttachmentId int64 `protobuf:"varint,1,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"`
	// MIME type of the data.
	ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// Size of the data, in bytes.
	Length int64 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"`
	// Original file name.
	Filename string `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"`
	// Proto to uniquely identify an attachment for reading/writing its data.
	AttachmentDataRef *AttachmentDataRef `protobuf:"bytes,5,opt,name=attachment_data_ref,json=attachmentDataRef,proto3" json:"attachment_data_ref,omitempty"`
	// Output only. Current status of the attachment entity, e.g. ACTIVE or
	// DELETED.
	EntityStatus *EntityStatus `protobuf:"bytes,6,opt,name=entity_status,json=entityStatus,proto3" json:"entity_status,omitempty"`
	// Output only. Fingerprint of the attachment.
	Etag []byte `protobuf:"bytes,7,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Represents an issue attachment. Each attachment is owned by a single issue, designated on creation. After creation, it cannot be transferred to another issue.

func (*Attachment) Descriptor deprecated

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

Deprecated: Use Attachment.ProtoReflect.Descriptor instead.

func (*Attachment) GetAttachmentDataRef

func (x *Attachment) GetAttachmentDataRef() *AttachmentDataRef

func (*Attachment) GetAttachmentId

func (x *Attachment) GetAttachmentId() int64

func (*Attachment) GetContentType

func (x *Attachment) GetContentType() string

func (*Attachment) GetEntityStatus

func (x *Attachment) GetEntityStatus() *EntityStatus

func (*Attachment) GetEtag

func (x *Attachment) GetEtag() []byte

func (*Attachment) GetFilename

func (x *Attachment) GetFilename() string

func (*Attachment) GetLength

func (x *Attachment) GetLength() int64

func (*Attachment) ProtoMessage

func (*Attachment) ProtoMessage()

func (*Attachment) ProtoReflect

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

func (*Attachment) Reset

func (x *Attachment) Reset()

func (*Attachment) String

func (x *Attachment) String() string

type AttachmentDataRef

type AttachmentDataRef struct {

	// Unique identifier for the attachment data.
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// contains filtered or unexported fields
}

Contains resource name to uniquely identify attachments for reading/writing.

func (*AttachmentDataRef) Descriptor deprecated

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

Deprecated: Use AttachmentDataRef.ProtoReflect.Descriptor instead.

func (*AttachmentDataRef) GetResourceName

func (x *AttachmentDataRef) GetResourceName() string

func (*AttachmentDataRef) ProtoMessage

func (*AttachmentDataRef) ProtoMessage()

func (*AttachmentDataRef) ProtoReflect

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

func (*AttachmentDataRef) Reset

func (x *AttachmentDataRef) Reset()

func (*AttachmentDataRef) String

func (x *AttachmentDataRef) String() string

type BatchGetIssuesRequest

type BatchGetIssuesRequest struct {

	// Numeric ID of the issues to look up.
	IssueIds []int64 `protobuf:"varint,1,rep,packed,name=issue_ids,json=issueIds,proto3" json:"issue_ids,omitempty"`
	// The view of the issue to return.
	View IssueView `protobuf:"varint,2,opt,name=view,proto3,enum=google.devtools.issuetracker.v1.IssueView" json:"view,omitempty"`
	// Issue description view. When unspecified, it will default to BASIC.
	IssueDescriptionView IssueCommentView `` /* 178-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request object for IssueTracker.BatchGetIssues.

func (*BatchGetIssuesRequest) Descriptor deprecated

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

Deprecated: Use BatchGetIssuesRequest.ProtoReflect.Descriptor instead.

func (*BatchGetIssuesRequest) GetIssueDescriptionView

func (x *BatchGetIssuesRequest) GetIssueDescriptionView() IssueCommentView

func (*BatchGetIssuesRequest) GetIssueIds

func (x *BatchGetIssuesRequest) GetIssueIds() []int64

func (*BatchGetIssuesRequest) GetView

func (x *BatchGetIssuesRequest) GetView() IssueView

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 {

	// The requested issues.
	Issues []*Issue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"`
	// contains filtered or unexported fields
}

Response object for IssueTracker.BatchGetIssues.

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 CollectionUpdate

type CollectionUpdate struct {

	// Output only. Values added to the collection.
	AddedValues []*anypb.Any `protobuf:"bytes,1,rep,name=added_values,json=addedValues,proto3" json:"added_values,omitempty"`
	// Output only. Values removed from the collection.
	RemovedValues []*anypb.Any `protobuf:"bytes,2,rep,name=removed_values,json=removedValues,proto3" json:"removed_values,omitempty"`
	// contains filtered or unexported fields
}

Representation of a change to a collection.

func (*CollectionUpdate) Descriptor deprecated

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

Deprecated: Use CollectionUpdate.ProtoReflect.Descriptor instead.

func (*CollectionUpdate) GetAddedValues

func (x *CollectionUpdate) GetAddedValues() []*anypb.Any

func (*CollectionUpdate) GetRemovedValues

func (x *CollectionUpdate) GetRemovedValues() []*anypb.Any

func (*CollectionUpdate) ProtoMessage

func (*CollectionUpdate) ProtoMessage()

func (*CollectionUpdate) ProtoReflect

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

func (*CollectionUpdate) Reset

func (x *CollectionUpdate) Reset()

func (*CollectionUpdate) String

func (x *CollectionUpdate) String() string

type Component

type Component struct {

	// Output only. Unique ID. Assigned at creation time by the API backend.
	ComponentId int64 `protobuf:"varint,2,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"`
	// contains filtered or unexported fields
}

Represents a hierarchical container for issues, used for grouping issues into projects.

func (*Component) Descriptor deprecated

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

Deprecated: Use Component.ProtoReflect.Descriptor instead.

func (*Component) GetComponentId

func (x *Component) GetComponentId() int64

func (*Component) ProtoMessage

func (*Component) ProtoMessage()

func (*Component) ProtoReflect

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

func (*Component) Reset

func (x *Component) Reset()

func (*Component) String

func (x *Component) String() string

type CreateHotlistEntryRequest

type CreateHotlistEntryRequest struct {

	// Numeric ID of the hotlist.
	HotlistId int64 `protobuf:"varint,1,opt,name=hotlist_id,json=hotlistId,proto3" json:"hotlist_id,omitempty"`
	// HotlistEntry position will not be taken into account. Issues are always
	// prepended to the hotlist and have position = 1. If the issue is already
	// present on the hotlist it will be moved to position = 1.
	HotlistEntry *HotlistEntry `protobuf:"bytes,2,opt,name=hotlist_entry,json=hotlistEntry,proto3" json:"hotlist_entry,omitempty"`
	// contains filtered or unexported fields
}

Request object for IssueTracker.CreateHotlistEntry Used to add an issue to a hotlist

func (*CreateHotlistEntryRequest) Descriptor deprecated

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

Deprecated: Use CreateHotlistEntryRequest.ProtoReflect.Descriptor instead.

func (*CreateHotlistEntryRequest) GetHotlistEntry

func (x *CreateHotlistEntryRequest) GetHotlistEntry() *HotlistEntry

func (*CreateHotlistEntryRequest) GetHotlistId

func (x *CreateHotlistEntryRequest) GetHotlistId() int64

func (*CreateHotlistEntryRequest) ProtoMessage

func (*CreateHotlistEntryRequest) ProtoMessage()

func (*CreateHotlistEntryRequest) ProtoReflect

func (*CreateHotlistEntryRequest) Reset

func (x *CreateHotlistEntryRequest) Reset()

func (*CreateHotlistEntryRequest) String

func (x *CreateHotlistEntryRequest) String() string

type CreateIssueCommentRequest

type CreateIssueCommentRequest struct {

	// Numeric ID of the issue.
	IssueId int64 `protobuf:"varint,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// Required. Contains the comment text
	Comment *IssueComment `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	// Significance to assign to this IssueComment creation.
	SignificanceOverride EditSignificance `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request object for IssueTracker.CreateIssueComment. Only new text comment will be created.

func (*CreateIssueCommentRequest) Descriptor deprecated

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

Deprecated: Use CreateIssueCommentRequest.ProtoReflect.Descriptor instead.

func (*CreateIssueCommentRequest) GetComment

func (x *CreateIssueCommentRequest) GetComment() *IssueComment

func (*CreateIssueCommentRequest) GetIssueId

func (x *CreateIssueCommentRequest) GetIssueId() int64

func (*CreateIssueCommentRequest) GetSignificanceOverride

func (x *CreateIssueCommentRequest) GetSignificanceOverride() EditSignificance

func (*CreateIssueCommentRequest) ProtoMessage

func (*CreateIssueCommentRequest) ProtoMessage()

func (*CreateIssueCommentRequest) ProtoReflect

func (*CreateIssueCommentRequest) Reset

func (x *CreateIssueCommentRequest) Reset()

func (*CreateIssueCommentRequest) String

func (x *CreateIssueCommentRequest) String() string

type CreateIssueRelationshipRequest

type CreateIssueRelationshipRequest struct {

	// Numeric ID of the source issue.
	IssueId int64 `protobuf:"varint,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// Type of the relationship to create.
	RelationshipType IssueRelationshipType `` /* 169-byte string literal not displayed */
	// Issue relationship to create. The target issue is inserted after
	// the issue specified by previous_target_issue_id. To insert to the top,
	// leave previous_target_issue_id as 0.
	IssueRelationship *IssueRelationship `protobuf:"bytes,3,opt,name=issue_relationship,json=issueRelationship,proto3" json:"issue_relationship,omitempty"`
	// contains filtered or unexported fields
}

Request object for IssueTracker.CreateIssueRelationship.

func (*CreateIssueRelationshipRequest) Descriptor deprecated

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

Deprecated: Use CreateIssueRelationshipRequest.ProtoReflect.Descriptor instead.

func (*CreateIssueRelationshipRequest) GetIssueId

func (x *CreateIssueRelationshipRequest) GetIssueId() int64

func (*CreateIssueRelationshipRequest) GetIssueRelationship

func (x *CreateIssueRelationshipRequest) GetIssueRelationship() *IssueRelationship

func (*CreateIssueRelationshipRequest) GetRelationshipType

func (x *CreateIssueRelationshipRequest) GetRelationshipType() IssueRelationshipType

func (*CreateIssueRelationshipRequest) ProtoMessage

func (*CreateIssueRelationshipRequest) ProtoMessage()

func (*CreateIssueRelationshipRequest) ProtoReflect

func (*CreateIssueRelationshipRequest) Reset

func (x *CreateIssueRelationshipRequest) Reset()

func (*CreateIssueRelationshipRequest) String

type CreateIssueRequest

type CreateIssueRequest struct {

	// Required fields in the Issue.issue_state:
	//   - title
	//   - component_id
	//
	// Status requirements:
	//   - When an issue is NEW, issue_id must be absent.
	//   - When an issue is not NEW, an assignee must be provided.
	//   - A canonical_issue_id may not be set if the state is not DUPLICATE.
	//   - When an issue is in the VERIFIED state, it must have a verifier.
	//
	// If these conditions are not met, the response will be an error.
	// Additional fields:
	//   - A provided created_time will be ignored, and a value from the
	//     actual time of creation/save will be determined by the API
	//     implementation.
	//   - user will be set to the id of the requesting user.  A provided
	//     value will be ignored.
	//   - reporter, if not set or if set to a blank email address, will be set
	//     to the id of the requesting user.
	//   - issue_comment can be set with initial comment.
	//   - attachments can be set with attachment metadata. The
	//     attachment_data_ref field in the response will contain the attachment
	//     resource name to pass to ByteStream.Write to upload the actual
	//     attachment data.
	Issue *Issue `protobuf:"bytes,1,opt,name=issue,proto3" json:"issue,omitempty"`
	// Template configuration for the newly created issue.
	TemplateOptions *CreateIssueRequest_TemplateOptions `protobuf:"bytes,3,opt,name=template_options,json=templateOptions,proto3" json:"template_options,omitempty"`
	// contains filtered or unexported fields
}

Request object for IssueTracker.CreateIssue.

func (*CreateIssueRequest) Descriptor deprecated

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

Deprecated: Use CreateIssueRequest.ProtoReflect.Descriptor instead.

func (*CreateIssueRequest) GetIssue

func (x *CreateIssueRequest) GetIssue() *Issue

func (*CreateIssueRequest) GetTemplateOptions

func (x *CreateIssueRequest) GetTemplateOptions() *CreateIssueRequest_TemplateOptions

func (*CreateIssueRequest) ProtoMessage

func (*CreateIssueRequest) ProtoMessage()

func (*CreateIssueRequest) ProtoReflect

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

func (*CreateIssueRequest) Reset

func (x *CreateIssueRequest) Reset()

func (*CreateIssueRequest) String

func (x *CreateIssueRequest) String() string

type CreateIssueRequest_TemplateOptions

type CreateIssueRequest_TemplateOptions struct {

	// Whether to apply a template to the newly-created issue. Always true for
	// end users who are not granted EDIT permission on the issue. Otherwise,
	// default is false.
	ApplyTemplate bool `protobuf:"varint,1,opt,name=apply_template,json=applyTemplate,proto3" json:"apply_template,omitempty"`
	// The template ID to apply to this issue. To use the component's default
	// template, leave unset.
	TemplateId int64 `protobuf:"varint,2,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
	// contains filtered or unexported fields
}

Template configuration for the newly created issue.

func (*CreateIssueRequest_TemplateOptions) Descriptor deprecated

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

Deprecated: Use CreateIssueRequest_TemplateOptions.ProtoReflect.Descriptor instead.

func (*CreateIssueRequest_TemplateOptions) GetApplyTemplate

func (x *CreateIssueRequest_TemplateOptions) GetApplyTemplate() bool

func (*CreateIssueRequest_TemplateOptions) GetTemplateId

func (x *CreateIssueRequest_TemplateOptions) GetTemplateId() int64

func (*CreateIssueRequest_TemplateOptions) ProtoMessage

func (*CreateIssueRequest_TemplateOptions) ProtoMessage()

func (*CreateIssueRequest_TemplateOptions) ProtoReflect

func (*CreateIssueRequest_TemplateOptions) Reset

func (*CreateIssueRequest_TemplateOptions) String

type CustomField

type CustomField struct {

	// Output only. Unique ID. Assigned at creation time by the API backend.
	CustomFieldId int64 `protobuf:"varint,1,opt,name=custom_field_id,json=customFieldId,proto3" json:"custom_field_id,omitempty"`
	// ID of the component that owns this custom field.  May not be changed after
	// creation.
	ComponentId int64 `protobuf:"varint,2,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"`
	// Describes how the custom field value should be interpreted.
	Type CustomField_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.devtools.issuetracker.v1.CustomField_Type" json:"type,omitempty"`
	// Whether the custom field is considered a required field in the api.
	Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"`
	// The name used to represent the field.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// An optional description of the custom field.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// A default value that will be automatically set if none is provided by the
	// user.
	TypedDefaultValue *CustomFieldValue `protobuf:"bytes,10,opt,name=typed_default_value,json=typedDefaultValue,proto3" json:"typed_default_value,omitempty"`
	// Describes all allowed values. Used only for the ENUM type.
	EnumValues []string `protobuf:"bytes,8,rep,name=enum_values,json=enumValues,proto3" json:"enum_values,omitempty"`
	// Output only. An optional attribute to make the field available outside the
	// component where it's defined.
	Shared bool `protobuf:"varint,11,opt,name=shared,proto3" json:"shared,omitempty"`
	// contains filtered or unexported fields
}

Represents the definition of a custom field. Exists as part of a Component.

func (*CustomField) Descriptor deprecated

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

Deprecated: Use CustomField.ProtoReflect.Descriptor instead.

func (*CustomField) GetComponentId

func (x *CustomField) GetComponentId() int64

func (*CustomField) GetCustomFieldId

func (x *CustomField) GetCustomFieldId() int64

func (*CustomField) GetDescription

func (x *CustomField) GetDescription() string

func (*CustomField) GetEnumValues

func (x *CustomField) GetEnumValues() []string

func (*CustomField) GetName

func (x *CustomField) GetName() string

func (*CustomField) GetRequired

func (x *CustomField) GetRequired() bool

func (*CustomField) GetShared

func (x *CustomField) GetShared() bool

func (*CustomField) GetType

func (x *CustomField) GetType() CustomField_Type

func (*CustomField) GetTypedDefaultValue

func (x *CustomField) GetTypedDefaultValue() *CustomFieldValue

func (*CustomField) ProtoMessage

func (*CustomField) ProtoMessage()

func (*CustomField) ProtoReflect

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

func (*CustomField) Reset

func (x *CustomField) Reset()

func (*CustomField) String

func (x *CustomField) String() string

type CustomFieldValue

type CustomFieldValue struct {

	// Required. The numeric ID of the custom field that describes this value.
	CustomFieldId int64 `protobuf:"varint,1,opt,name=custom_field_id,json=customFieldId,proto3" json:"custom_field_id,omitempty"`
	// The actual value of a custom field for an issue.
	//
	// Types that are assignable to Value:
	//
	//	*CustomFieldValue_TextValue
	//	*CustomFieldValue_DateValue
	//	*CustomFieldValue_EnumValue
	//	*CustomFieldValue_NumericValue
	//	*CustomFieldValue_RepeatedTextValue
	//	*CustomFieldValue_RepeatedDateValue
	//	*CustomFieldValue_RepeatedEnumValue
	//	*CustomFieldValue_RepeatedNumericValue
	Value isCustomFieldValue_Value `protobuf_oneof:"value"`
	// A read-only string for displaying the value, regardless of type.
	// Date strings are in ISO-8601 format.
	DisplayString string `protobuf:"bytes,10,opt,name=display_string,json=displayString,proto3" json:"display_string,omitempty"`
	// contains filtered or unexported fields
}

Represents a value in an instance of a custom field. Exists as a part of an issue.

func (*CustomFieldValue) Descriptor deprecated

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

Deprecated: Use CustomFieldValue.ProtoReflect.Descriptor instead.

func (*CustomFieldValue) GetCustomFieldId

func (x *CustomFieldValue) GetCustomFieldId() int64

func (*CustomFieldValue) GetDateValue

func (x *CustomFieldValue) GetDateValue() *date.Date

func (*CustomFieldValue) GetDisplayString

func (x *CustomFieldValue) GetDisplayString() string

func (*CustomFieldValue) GetEnumValue

func (x *CustomFieldValue) GetEnumValue() string

func (*CustomFieldValue) GetNumericValue

func (x *CustomFieldValue) GetNumericValue() float64

func (*CustomFieldValue) GetRepeatedDateValue

func (x *CustomFieldValue) GetRepeatedDateValue() *CustomFieldValue_RepeatedDate

func (*CustomFieldValue) GetRepeatedEnumValue

func (x *CustomFieldValue) GetRepeatedEnumValue() *CustomFieldValue_RepeatedString

func (*CustomFieldValue) GetRepeatedNumericValue

func (x *CustomFieldValue) GetRepeatedNumericValue() *CustomFieldValue_RepeatedDouble

func (*CustomFieldValue) GetRepeatedTextValue

func (x *CustomFieldValue) GetRepeatedTextValue() *CustomFieldValue_RepeatedString

func (*CustomFieldValue) GetTextValue

func (x *CustomFieldValue) GetTextValue() string

func (*CustomFieldValue) GetValue

func (m *CustomFieldValue) GetValue() isCustomFieldValue_Value

func (*CustomFieldValue) ProtoMessage

func (*CustomFieldValue) ProtoMessage()

func (*CustomFieldValue) ProtoReflect

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

func (*CustomFieldValue) Reset

func (x *CustomFieldValue) Reset()

func (*CustomFieldValue) String

func (x *CustomFieldValue) String() string

type CustomFieldValue_DateValue

type CustomFieldValue_DateValue struct {
	// Corresponds to CustomFieldType.DATE.
	DateValue *date.Date `protobuf:"bytes,3,opt,name=date_value,json=dateValue,proto3,oneof"`
}

type CustomFieldValue_EnumValue

type CustomFieldValue_EnumValue struct {
	// Corresponds to CustomFieldType.ENUM.
	EnumValue string `protobuf:"bytes,4,opt,name=enum_value,json=enumValue,proto3,oneof"`
}

type CustomFieldValue_NumericValue

type CustomFieldValue_NumericValue struct {
	// Corresponds to CustomFieldType.NUMERIC.
	NumericValue float64 `protobuf:"fixed64,5,opt,name=numeric_value,json=numericValue,proto3,oneof"`
}

type CustomFieldValue_RepeatedDate

type CustomFieldValue_RepeatedDate struct {

	// The Date values.
	Values []*date.Date `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

A repeated Date.

func (*CustomFieldValue_RepeatedDate) Descriptor deprecated

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

Deprecated: Use CustomFieldValue_RepeatedDate.ProtoReflect.Descriptor instead.

func (*CustomFieldValue_RepeatedDate) GetValues

func (x *CustomFieldValue_RepeatedDate) GetValues() []*date.Date

func (*CustomFieldValue_RepeatedDate) ProtoMessage

func (*CustomFieldValue_RepeatedDate) ProtoMessage()

func (*CustomFieldValue_RepeatedDate) ProtoReflect

func (*CustomFieldValue_RepeatedDate) Reset

func (x *CustomFieldValue_RepeatedDate) Reset()

func (*CustomFieldValue_RepeatedDate) String

type CustomFieldValue_RepeatedDateValue

type CustomFieldValue_RepeatedDateValue struct {
	// Corresponds to CustomFieldType.REPEATED_DATE.
	RepeatedDateValue *CustomFieldValue_RepeatedDate `protobuf:"bytes,7,opt,name=repeated_date_value,json=repeatedDateValue,proto3,oneof"`
}

type CustomFieldValue_RepeatedDouble

type CustomFieldValue_RepeatedDouble struct {

	// The double values.
	Values []float64 `protobuf:"fixed64,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

A repeated Double.

func (*CustomFieldValue_RepeatedDouble) Descriptor deprecated

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

Deprecated: Use CustomFieldValue_RepeatedDouble.ProtoReflect.Descriptor instead.

func (*CustomFieldValue_RepeatedDouble) GetValues

func (x *CustomFieldValue_RepeatedDouble) GetValues() []float64

func (*CustomFieldValue_RepeatedDouble) ProtoMessage

func (*CustomFieldValue_RepeatedDouble) ProtoMessage()

func (*CustomFieldValue_RepeatedDouble) ProtoReflect

func (*CustomFieldValue_RepeatedDouble) Reset

func (*CustomFieldValue_RepeatedDouble) String

type CustomFieldValue_RepeatedEnumValue

type CustomFieldValue_RepeatedEnumValue struct {
	// Corresponds to CustomFieldType.REPEATED_ENUM.
	RepeatedEnumValue *CustomFieldValue_RepeatedString `protobuf:"bytes,8,opt,name=repeated_enum_value,json=repeatedEnumValue,proto3,oneof"`
}

type CustomFieldValue_RepeatedNumericValue

type CustomFieldValue_RepeatedNumericValue struct {
	// Corresponds to CustomFieldType.REPEATED_NUMERIC.
	RepeatedNumericValue *CustomFieldValue_RepeatedDouble `protobuf:"bytes,9,opt,name=repeated_numeric_value,json=repeatedNumericValue,proto3,oneof"`
}

type CustomFieldValue_RepeatedString

type CustomFieldValue_RepeatedString struct {

	// The string values.
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

A repeated String.

func (*CustomFieldValue_RepeatedString) Descriptor deprecated

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

Deprecated: Use CustomFieldValue_RepeatedString.ProtoReflect.Descriptor instead.

func (*CustomFieldValue_RepeatedString) GetValues

func (x *CustomFieldValue_RepeatedString) GetValues() []string

func (*CustomFieldValue_RepeatedString) ProtoMessage

func (*CustomFieldValue_RepeatedString) ProtoMessage()

func (*CustomFieldValue_RepeatedString) ProtoReflect

func (*CustomFieldValue_RepeatedString) Reset

func (*CustomFieldValue_RepeatedString) String

type CustomFieldValue_RepeatedTextValue

type CustomFieldValue_RepeatedTextValue struct {
	// Corresponds to CustomFieldType.REPEATED_TEXT.
	RepeatedTextValue *CustomFieldValue_RepeatedString `protobuf:"bytes,6,opt,name=repeated_text_value,json=repeatedTextValue,proto3,oneof"`
}

type CustomFieldValue_TextValue

type CustomFieldValue_TextValue struct {
	// Corresponds to CustomFieldType.TEXT.
	TextValue string `protobuf:"bytes,2,opt,name=text_value,json=textValue,proto3,oneof"`
}

type CustomField_Type

type CustomField_Type int32

Enumeration of the valid types of custom fields.

const (
	// Custom field value is undefined.
	CustomField_TYPE_UNSPECIFIED CustomField_Type = 0
	// Custom field value is text.
	CustomField_TEXT CustomField_Type = 1
	// Custom field value is a google.type.Date.
	CustomField_DATE CustomField_Type = 2
	// Custom field value is an enum.
	CustomField_ENUM CustomField_Type = 3
	// Custom field value is a number.
	CustomField_NUMERIC CustomField_Type = 4
	// Custom field value is a list of text values.
	CustomField_REPEATED_TEXT CustomField_Type = 5
	// Custom field value is a list of date values.
	CustomField_REPEATED_DATE CustomField_Type = 6
	// Custom field value is a list of enum values.
	CustomField_REPEATED_ENUM CustomField_Type = 7
	// Custom field value is a list of numeric values.
	CustomField_REPEATED_NUMERIC CustomField_Type = 8
)

func (CustomField_Type) Descriptor

func (CustomField_Type) Enum

func (CustomField_Type) EnumDescriptor deprecated

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

Deprecated: Use CustomField_Type.Descriptor instead.

func (CustomField_Type) Number

func (CustomField_Type) String

func (x CustomField_Type) String() string

func (CustomField_Type) Type

type DeleteHotlistEntryRequest

type DeleteHotlistEntryRequest struct {

	// Numeric ID of the hotlist.
	HotlistId int64 `protobuf:"varint,1,opt,name=hotlist_id,json=hotlistId,proto3" json:"hotlist_id,omitempty"`
	// Numeric ID of the issue to remove from hotlist
	IssueId int64 `protobuf:"varint,2,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// contains filtered or unexported fields
}

Request object for IssueTracker.DeleteHotlistEntry Used to delete an issue from a hotlist

func (*DeleteHotlistEntryRequest) Descriptor deprecated

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

Deprecated: Use DeleteHotlistEntryRequest.ProtoReflect.Descriptor instead.

func (*DeleteHotlistEntryRequest) GetHotlistId

func (x *DeleteHotlistEntryRequest) GetHotlistId() int64

func (*DeleteHotlistEntryRequest) GetIssueId

func (x *DeleteHotlistEntryRequest) GetIssueId() int64

func (*DeleteHotlistEntryRequest) ProtoMessage

func (*DeleteHotlistEntryRequest) ProtoMessage()

func (*DeleteHotlistEntryRequest) ProtoReflect

func (*DeleteHotlistEntryRequest) Reset

func (x *DeleteHotlistEntryRequest) Reset()

func (*DeleteHotlistEntryRequest) String

func (x *DeleteHotlistEntryRequest) String() string

type EditSignificance

type EditSignificance int32

Significance levels assigned to an edit, used to determine whether to send notifications.

const (
	// Default value. Let the API decide the significance of an edit.
	EditSignificance_EDIT_SIGNIFICANCE_UNSPECIFIED EditSignificance = 0
	// Describes an edit that should never generate a notification, regardless of
	// a user's interest in the issue.
	// The SILENT notification level is only there to support migrations from
	// other systems, during which we don't want to send emails.
	// Regular users should instead use MINOR or BULK, as appropriate, to limit
	// the amount of email sent.
	EditSignificance_SILENT EditSignificance = 1
	// Describes an edit that should only send notifications to users that are
	// closely-involved with an issue or have expressed a high level of interest
	// in the issue.
	EditSignificance_MINOR EditSignificance = 2
	// Describes an edit that should send notifications to all users involved or
	// interested in the issue.
	EditSignificance_MAJOR EditSignificance = 3
	// Describes an edit that was part of a bulk edit and should notify users in
	// digest form.
	EditSignificance_BULK EditSignificance = 4
	// Describes an edit that causes an issue to be closed.
	// Regular users should use MINOR or BULK, as appropriate, to limit
	// the amount of email sent.
	EditSignificance_CLOSING EditSignificance = 5
)

func (EditSignificance) Descriptor

func (EditSignificance) Enum

func (EditSignificance) EnumDescriptor deprecated

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

Deprecated: Use EditSignificance.Descriptor instead.

func (EditSignificance) Number

func (EditSignificance) String

func (x EditSignificance) String() string

func (EditSignificance) Type

type EntityStatus

type EntityStatus struct {

	// Current status of the entity
	Status EntityStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=google.devtools.issuetracker.v1.EntityStatus_Status" json:"status,omitempty"`
	// Reason for the current status. Status = ACTIVE iff reason = UNSPECIFIED
	Reason EntityStatus_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=google.devtools.issuetracker.v1.EntityStatus_Reason" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

Current status of an entity (issue, comment, attachment, etc) and reason

func (*EntityStatus) Descriptor deprecated

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

Deprecated: Use EntityStatus.ProtoReflect.Descriptor instead.

func (*EntityStatus) GetReason

func (x *EntityStatus) GetReason() EntityStatus_Reason

func (*EntityStatus) GetStatus

func (x *EntityStatus) GetStatus() EntityStatus_Status

func (*EntityStatus) ProtoMessage

func (*EntityStatus) ProtoMessage()

func (*EntityStatus) ProtoReflect

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

func (*EntityStatus) Reset

func (x *EntityStatus) Reset()

func (*EntityStatus) String

func (x *EntityStatus) String() string

type EntityStatus_Reason

type EntityStatus_Reason int32

Reasons for a status change from "active"

const (
	// Unspecified. The only valid reason when entity is active, and invalid if
	// it has any other status.
	EntityStatus_UNSPECIFIED EntityStatus_Reason = 0
	// Entity was marked at user request.
	EntityStatus_USER_REQUEST EntityStatus_Reason = 1
	// Entity was marked for spam or abuse.
	EntityStatus_ABUSE EntityStatus_Reason = 2
	// Entity was marked for restricted content.
	EntityStatus_RESTRICTED EntityStatus_Reason = 3
	// Entity was marked for expired retention.
	EntityStatus_RETENTION EntityStatus_Reason = 4
	// Entity was marked for account capabilities.
	EntityStatus_ACCOUNT_CAPABILITIES EntityStatus_Reason = 5
)

func (EntityStatus_Reason) Descriptor

func (EntityStatus_Reason) Enum

func (EntityStatus_Reason) EnumDescriptor deprecated

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

Deprecated: Use EntityStatus_Reason.Descriptor instead.

func (EntityStatus_Reason) Number

func (EntityStatus_Reason) String

func (x EntityStatus_Reason) String() string

func (EntityStatus_Reason) Type

type EntityStatus_Status

type EntityStatus_Status int32

Status of an entity, e.g. ACTIVE or DELETED

const (
	// Default value. Entity exists and is available for use.
	EntityStatus_ACTIVE EntityStatus_Status = 0
	// Entity is invisible except for administrative actions, i.e. undelete.
	EntityStatus_DELETED EntityStatus_Status = 1
	// Entity is irretrievably wiped.
	EntityStatus_PURGED EntityStatus_Status = 2
)

func (EntityStatus_Status) Descriptor

func (EntityStatus_Status) Enum

func (EntityStatus_Status) EnumDescriptor deprecated

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

Deprecated: Use EntityStatus_Status.Descriptor instead.

func (EntityStatus_Status) Number

func (EntityStatus_Status) String

func (x EntityStatus_Status) String() string

func (EntityStatus_Status) Type

type FieldId

type FieldId struct {

	// Contains a value that can be used to uniquely identify a field.
	//
	// Types that are assignable to IdType:
	//
	//	*FieldId_CustomFieldId
	//	*FieldId_StandardField_
	IdType isFieldId_IdType `protobuf_oneof:"id_type"`
	// contains filtered or unexported fields
}

Represents an identifier that can be used to uniquely identify either a standard or custom field.

func (*FieldId) Descriptor deprecated

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

Deprecated: Use FieldId.ProtoReflect.Descriptor instead.

func (*FieldId) GetCustomFieldId

func (x *FieldId) GetCustomFieldId() int64

func (*FieldId) GetIdType

func (m *FieldId) GetIdType() isFieldId_IdType

func (*FieldId) GetStandardField

func (x *FieldId) GetStandardField() FieldId_StandardField

func (*FieldId) ProtoMessage

func (*FieldId) ProtoMessage()

func (*FieldId) ProtoReflect

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

func (*FieldId) Reset

func (x *FieldId) Reset()

func (*FieldId) String

func (x *FieldId) String() string

type FieldId_CustomFieldId

type FieldId_CustomFieldId struct {
	// The ID of a custom field.
	CustomFieldId int64 `protobuf:"varint,1,opt,name=custom_field_id,json=customFieldId,proto3,oneof"`
}

type FieldId_StandardField

type FieldId_StandardField int32

Represents a standard field that is globally available.

const (
	// Standard field is undefined.
	FieldId_STANDARD_FIELD_UNSPECIFIED FieldId_StandardField = 0
	// The Reporter field.
	FieldId_REPORTER FieldId_StandardField = 1
	// The Assignee field.
	FieldId_ASSIGNEE FieldId_StandardField = 2
	// The Verifier field.
	FieldId_VERIFIER FieldId_StandardField = 3
	// The CC field.
	FieldId_CC FieldId_StandardField = 4
	// The Issue Type field.
	FieldId_TYPE FieldId_StandardField = 5
	// The Issue Status field.
	FieldId_STATUS FieldId_StandardField = 6
	// The Priority field.
	FieldId_PRIORITY FieldId_StandardField = 7
	// The Severity field.
	FieldId_SEVERITY FieldId_StandardField = 8
	// The Changelists field.
	FieldId_CHANGELISTS FieldId_StandardField = 9
	// The Pending Changelists field.
	FieldId_PENDING_CHANGELISTS FieldId_StandardField = 10
	// The Postmortems field.
	FieldId_POSTMORTEMS FieldId_StandardField = 11
	// The Found In field.
	FieldId_FOUND_IN FieldId_StandardField = 12
	// The Targeted To field.
	FieldId_TARGETED_TO FieldId_StandardField = 13
	// The Verified In field.
	FieldId_VERIFIED_IN FieldId_StandardField = 14
	// The In Production field.
	FieldId_IN_PRODUCTION FieldId_StandardField = 15
	// The SLO status field.
	FieldId_SLO_STATUS FieldId_StandardField = 16
	// The Team field.
	FieldId_TEAM FieldId_StandardField = 17
	// The Collaborators field.
	FieldId_COLLABORATORS FieldId_StandardField = 18
)

func (FieldId_StandardField) Descriptor

func (FieldId_StandardField) Enum

func (FieldId_StandardField) EnumDescriptor deprecated

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

Deprecated: Use FieldId_StandardField.Descriptor instead.

func (FieldId_StandardField) Number

func (FieldId_StandardField) String

func (x FieldId_StandardField) String() string

func (FieldId_StandardField) Type

type FieldId_StandardField_

type FieldId_StandardField_ struct {
	// A standard system field.
	StandardField FieldId_StandardField `` /* 134-byte string literal not displayed */
}

type FieldUpdate

type FieldUpdate struct {

	// Output only. The name of the field this diff represents.  The value of
	// field will match a name from the fields of IssueState.  A change in a
	// custom field value will be named 'custom_fields', and is treated as changes
	// to a single field, rather than a collection.  There may be more than one
	// custom field change in an IssueUpdate.
	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// The actual value of the diff.
	//
	// Types that are assignable to ValueUpdate:
	//
	//	*FieldUpdate_SingleValueUpdate
	//	*FieldUpdate_CollectionUpdate
	ValueUpdate isFieldUpdate_ValueUpdate `protobuf_oneof:"value_update"`
	// contains filtered or unexported fields
}

Represents an update to a single field in an issue.

func (*FieldUpdate) Descriptor deprecated

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

Deprecated: Use FieldUpdate.ProtoReflect.Descriptor instead.

func (*FieldUpdate) GetCollectionUpdate

func (x *FieldUpdate) GetCollectionUpdate() *CollectionUpdate

func (*FieldUpdate) GetField

func (x *FieldUpdate) GetField() string

func (*FieldUpdate) GetSingleValueUpdate

func (x *FieldUpdate) GetSingleValueUpdate() *SingleValueUpdate

func (*FieldUpdate) GetValueUpdate

func (m *FieldUpdate) GetValueUpdate() isFieldUpdate_ValueUpdate

func (*FieldUpdate) ProtoMessage

func (*FieldUpdate) ProtoMessage()

func (*FieldUpdate) ProtoReflect

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

func (*FieldUpdate) Reset

func (x *FieldUpdate) Reset()

func (*FieldUpdate) String

func (x *FieldUpdate) String() string

type FieldUpdate_CollectionUpdate

type FieldUpdate_CollectionUpdate struct {
	// Output only. Set if the field edited is a collection.
	CollectionUpdate *CollectionUpdate `protobuf:"bytes,4,opt,name=collection_update,json=collectionUpdate,proto3,oneof"`
}

type FieldUpdate_SingleValueUpdate

type FieldUpdate_SingleValueUpdate struct {
	// Set if the field edited has a single value.
	SingleValueUpdate *SingleValueUpdate `protobuf:"bytes,3,opt,name=single_value_update,json=singleValueUpdate,proto3,oneof"`
}

type GerritChange

type GerritChange struct {

	// The Gerrit host associated with this change
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// The Gerrit repo associated with this change
	Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	// The Gerrit change number for this change
	ChangeNumber int64 `protobuf:"varint,3,opt,name=change_number,json=changeNumber,proto3" json:"change_number,omitempty"`
	// The current state of the Gerrit change
	State GerritChange_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.devtools.issuetracker.v1.GerritChange_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

All the info needed to identify a fully-qualified Gerrit code change number, and what state it's in.

func (*GerritChange) Descriptor deprecated

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

Deprecated: Use GerritChange.ProtoReflect.Descriptor instead.

func (*GerritChange) GetChangeNumber

func (x *GerritChange) GetChangeNumber() int64

func (*GerritChange) GetHost

func (x *GerritChange) GetHost() string

func (*GerritChange) GetRepo

func (x *GerritChange) GetRepo() string

func (*GerritChange) GetState

func (x *GerritChange) GetState() GerritChange_State

func (*GerritChange) ProtoMessage

func (*GerritChange) ProtoMessage()

func (*GerritChange) ProtoReflect

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

func (*GerritChange) Reset

func (x *GerritChange) Reset()

func (*GerritChange) String

func (x *GerritChange) String() string

type GerritChange_State

type GerritChange_State int32

Represents the current state of a Gerrit change. ABANDONED is not a supported state. Changes that get abandoned will be deleted from the system.

const (
	// Unspecified.
	GerritChange_STATE_UNSPECIFIED GerritChange_State = 0
	// The change has not been submitted.
	GerritChange_PENDING GerritChange_State = 1
	// The change has been submitted.
	GerritChange_MERGED GerritChange_State = 2
)

func (GerritChange_State) Descriptor

func (GerritChange_State) Enum

func (GerritChange_State) EnumDescriptor deprecated

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

Deprecated: Use GerritChange_State.Descriptor instead.

func (GerritChange_State) Number

func (GerritChange_State) String

func (x GerritChange_State) String() string

func (GerritChange_State) Type

type GetAutomationAccessRequest

type GetAutomationAccessRequest struct {

	// The user whose access to check.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// The permission level to check.
	// One of the following strings:
	// "admin", "writer", "appender", "reader", "restricted_reader",
	// "restricted_plus_reader"
	Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
	// The resource whose access to check against.
	// For example "components/1234" (access to the component),
	// "components/1234/issueDefaults" (access to issues in the component).
	ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// contains filtered or unexported fields
}

Request object for IssueTracker.GetAutomationAccess.

func (*GetAutomationAccessRequest) Descriptor deprecated

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

Deprecated: Use GetAutomationAccessRequest.ProtoReflect.Descriptor instead.

func (*GetAutomationAccessRequest) GetRelation

func (x *GetAutomationAccessRequest) GetRelation() string

func (*GetAutomationAccessRequest) GetResourceName

func (x *GetAutomationAccessRequest) GetResourceName() string

func (*GetAutomationAccessRequest) GetUser

func (x *GetAutomationAccessRequest) GetUser() *User

func (*GetAutomationAccessRequest) ProtoMessage

func (*GetAutomationAccessRequest) ProtoMessage()

func (*GetAutomationAccessRequest) ProtoReflect

func (*GetAutomationAccessRequest) Reset

func (x *GetAutomationAccessRequest) Reset()

func (*GetAutomationAccessRequest) String

func (x *GetAutomationAccessRequest) String() string

type GetAutomationAccessResponse

type GetAutomationAccessResponse struct {

	// Whether the user has access.
	HasAccess bool `protobuf:"varint,1,opt,name=has_access,json=hasAccess,proto3" json:"has_access,omitempty"`
	// contains filtered or unexported fields
}

Response object for IssueTracker.GetAutomationAccess.

func (*GetAutomationAccessResponse) Descriptor deprecated

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

Deprecated: Use GetAutomationAccessResponse.ProtoReflect.Descriptor instead.

func (*GetAutomationAccessResponse) GetHasAccess

func (x *GetAutomationAccessResponse) GetHasAccess() bool

func (*GetAutomationAccessResponse) ProtoMessage

func (*GetAutomationAccessResponse) ProtoMessage()

func (*GetAutomationAccessResponse) ProtoReflect

func (*GetAutomationAccessResponse) Reset

func (x *GetAutomationAccessResponse) Reset()

func (*GetAutomationAccessResponse) String

func (x *GetAutomationAccessResponse) String() string

type GetComponentRequest

type GetComponentRequest struct {

	// Numeric ID of the component to look up.
	ComponentId int64 `protobuf:"varint,1,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"`
	// contains filtered or unexported fields
}

Request object for IssueTracker.GetComponent.

func (*GetComponentRequest) Descriptor deprecated

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

Deprecated: Use GetComponentRequest.ProtoReflect.Descriptor instead.

func (*GetComponentRequest) GetComponentId

func (x *GetComponentRequest) GetComponentId() int64

func (*GetComponentRequest) ProtoMessage

func (*GetComponentRequest) ProtoMessage()

func (*GetComponentRequest) ProtoReflect

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

func (*GetComponentRequest) Reset

func (x *GetComponentRequest) Reset()

func (*GetComponentRequest) String

func (x *GetComponentRequest) String() string

type GetIssueRequest

type GetIssueRequest struct {

	// Numeric ID of the issue to look up.
	IssueId int64 `protobuf:"varint,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// The view of the issue to return.
	View IssueView `protobuf:"varint,2,opt,name=view,proto3,enum=google.devtools.issuetracker.v1.IssueView" json:"view,omitempty"`
	// Issue description view. When unspecified, it will default to BASIC.
	IssueDescriptionView IssueCommentView `` /* 178-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request object for IssueTracker.GetIssue.

func (*GetIssueRequest) Descriptor deprecated

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

Deprecated: Use GetIssueRequest.ProtoReflect.Descriptor instead.

func (*GetIssueRequest) GetIssueDescriptionView

func (x *GetIssueRequest) GetIssueDescriptionView() IssueCommentView

func (*GetIssueRequest) GetIssueId

func (x *GetIssueRequest) GetIssueId() int64

func (*GetIssueRequest) GetView

func (x *GetIssueRequest) GetView() IssueView

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 HotlistEntry

type HotlistEntry struct {

	// Required. Numeric ID of an issue contained in a hotlist.
	IssueId int64 `protobuf:"varint,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// Position values for an ordered collection begin at 1 and increment to the
	// end of the collection.
	Position int32 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
	// Output only. The actual issue, for convenience.
	Issue *Issue `protobuf:"bytes,3,opt,name=issue,proto3" json:"issue,omitempty"`
	// contains filtered or unexported fields
}

An issue present in a hotlist. A collection of HotlistEntry's can be ordered or un-ordered. The HotlistEntry collection is added to or removed from by calling the CreateHotlistEntry and DeleteHotlistEntry methods. Although these methods only require view permission on the issue, the act of adding or removing a hotlist entry for an issue is reflected in the issue's change history and touches the issue modification date.

func (*HotlistEntry) Descriptor deprecated

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

Deprecated: Use HotlistEntry.ProtoReflect.Descriptor instead.

func (*HotlistEntry) GetIssue

func (x *HotlistEntry) GetIssue() *Issue

func (*HotlistEntry) GetIssueId

func (x *HotlistEntry) GetIssueId() int64

func (*HotlistEntry) GetPosition

func (x *HotlistEntry) GetPosition() int32

func (*HotlistEntry) ProtoMessage

func (*HotlistEntry) ProtoMessage()

func (*HotlistEntry) ProtoReflect

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

func (*HotlistEntry) Reset

func (x *HotlistEntry) Reset()

func (*HotlistEntry) String

func (x *HotlistEntry) String() string
type Hyperlink struct {

	// URL.
	Href *string `protobuf:"bytes,1,opt,name=href,proto3,oneof" json:"href,omitempty"`
	// contains filtered or unexported fields
}

Represents a hyperlink.

func (*Hyperlink) Descriptor deprecated

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

Deprecated: Use Hyperlink.ProtoReflect.Descriptor instead.

func (*Hyperlink) GetHref

func (x *Hyperlink) GetHref() string

func (*Hyperlink) ProtoMessage

func (*Hyperlink) ProtoMessage()

func (*Hyperlink) ProtoReflect

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

func (*Hyperlink) Reset

func (x *Hyperlink) Reset()

func (*Hyperlink) String

func (x *Hyperlink) String() string

type Issue

type Issue struct {

	// Output only. Unique ID. Assigned at creation time by the API backend.
	IssueId int64 `protobuf:"varint,2,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// The current state of the issue.  Will always be present.
	IssueState *IssueState `protobuf:"bytes,3,opt,name=issue_state,json=issueState,proto3" json:"issue_state,omitempty"`
	// Optional. The issue_comment field has different functions based on the
	// usage:
	//
	//   - In a CreateIssueRequest, this message should be used to provide
	//     an optional comment. Do not use this field to create attachments, use
	//     the attachments field below instead.
	//   - In the response to CreateIssue or ModifyIssue, this message contains
	//     the added comment.
	//   - In the response to GetIssue or ListIssues, this field is left unset.
	IssueComment *IssueComment `protobuf:"bytes,4,opt,name=issue_comment,json=issueComment,proto3" json:"issue_comment,omitempty"`
	// The attachment field has different functions based on usages (similar to
	// issue_comment):
	//
	//   - In a CreateIssueRequest, this message can be used to provide
	//     attachments as part of issue creation.
	//   - In the response to CreateIssue, this message contains
	//     the added attachments. It includes the
	//     resource names to pass to the ByteStream API to write attachment data.
	//   - In the response to GetIssue or ListIssues, this field is left unset.
	Attachments []*Attachment `protobuf:"bytes,18,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// Output only. The description of this issue. This field is set only when the
	// issue is the FULL view.
	Description *IssueComment `protobuf:"bytes,44,opt,name=description,proto3" json:"description,omitempty"`
	// When creating an issue the status_update field can be populated to create
	// an initial status_update on the issue.
	// In the response to GetIssue or ListIssues and the FULL view is requested,
	// it contains the latest status_update that has been put on the issue.
	StatusUpdate *StatusUpdate `protobuf:"bytes,43,opt,name=status_update,json=statusUpdate,proto3" json:"status_update,omitempty"`
	// Output only. Time when this issue was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	// Output only. Time when this issue was last modified.
	ModifiedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
	// Output only. Time when this issue was last modified by a "Major" edit.
	// See https://developers.google.com/issue-tracker/concepts/issues#edit_levels
	MajorModifiedTime *timestamppb.Timestamp `protobuf:"bytes,35,opt,name=major_modified_time,json=majorModifiedTime,proto3" json:"major_modified_time,omitempty"`
	// Output only. Time when this issue was last modified by a "Minor" or above
	// edit.
	// See https://developers.google.com/issue-tracker/concepts/issues#edit_levels
	MinorModifiedTime *timestamppb.Timestamp `protobuf:"bytes,36,opt,name=minor_modified_time,json=minorModifiedTime,proto3" json:"minor_modified_time,omitempty"`
	// Output only. The last modifier of the issue.
	LastModifier *User `protobuf:"bytes,14,opt,name=last_modifier,json=lastModifier,proto3" json:"last_modifier,omitempty"`
	// Output only. Time when this issue was resolved.
	ResolvedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=resolved_time,json=resolvedTime,proto3" json:"resolved_time,omitempty"`
	// Output only. Time when this issue was verified.
	VerifiedTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=verified_time,json=verifiedTime,proto3" json:"verified_time,omitempty"`
	// Output only. IssueUserData is private to the user requesting this issue.
	UserData *IssueUserData `protobuf:"bytes,9,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"`
	// Output only. The number of users who have upvoted this issue.
	VoteCount int64 `protobuf:"varint,10,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"`
	// Output only. A list of parent issue IDs.
	ParentIssueIds []int64 `protobuf:"varint,37,rep,packed,name=parent_issue_ids,json=parentIssueIds,proto3" json:"parent_issue_ids,omitempty"`
	// Output only. The current version of this issue.
	Version int32 `protobuf:"varint,12,opt,name=version,proto3" json:"version,omitempty"`
	// Output only. The fingerprint of the issue.
	Etag []byte `protobuf:"bytes,13,opt,name=etag,proto3" json:"etag,omitempty"`
	// Output only. The Custom Fields definitions effective in this issue, as
	// determined by the component it is currently in. For the
	// Custom Field values, see IssueState.custom_fields.
	CustomFields []*CustomField `protobuf:"bytes,15,rep,name=custom_fields,json=customFields,proto3" json:"custom_fields,omitempty"`
	// Output only. The complete, ordered list of all custom fields that are
	// visible on this issue.
	VisibleFields []*FieldId `protobuf:"bytes,34,rep,name=visible_fields,json=visibleFields,proto3" json:"visible_fields,omitempty"`
	// Output only. This field is set only when the issue is the FULL view.
	// A map from a child issue ID to parent issue IDs for all of the ancestors of
	// this issue. The values are based on cache. It is not transactionally
	// guaranteed, but eventually consistent.
	Ancestors map[int64]*Issue_SourceIssues `` /* 161-byte string literal not displayed */
	// Output only. This field is set only when the issue is the FULL view.
	// The number of child issues of this issue.
	ChildIssueCount int32 `protobuf:"varint,39,opt,name=child_issue_count,json=childIssueCount,proto3" json:"child_issue_count,omitempty"`
	// Output only. The number of descendant issues of this issue.
	DescendantIssueCount int32 `protobuf:"varint,45,opt,name=descendant_issue_count,json=descendantIssueCount,proto3" json:"descendant_issue_count,omitempty"`
	// Output only. The number of open descendant issues of this issue.
	OpenDescendantIssueCount int32 `` /* 139-byte string literal not displayed */
	// Output only. Whether or not the issue is in an archived state. Issue
	// archived through component archiving or per issue archiving will both be
	// considered as in an archived state.
	IsArchived bool `protobuf:"varint,40,opt,name=is_archived,json=isArchived,proto3" json:"is_archived,omitempty"`
	// Output only. This field is set only when the issue is the FULL view.
	// Related links present in comments on the issue.
	RelatedLinks []*RelatedLink `protobuf:"bytes,41,rep,name=related_links,json=relatedLinks,proto3" json:"related_links,omitempty"`
	// Output only. ID of the Tracker the issue belongs to. This value is cached
	// from the tracker_id of the Component that the issue is in. It is not
	// transactionally guaranteed, but eventually consistent.
	TrackerId int64 `protobuf:"varint,42,opt,name=tracker_id,json=trackerId,proto3" json:"tracker_id,omitempty"`
	// Output only. The statistical values of user activities.
	UserActivityStats *Issue_UserActivityStats `protobuf:"bytes,47,opt,name=user_activity_stats,json=userActivityStats,proto3" json:"user_activity_stats,omitempty"`
	// contains filtered or unexported fields
}

Represents the current state of an issue.

func (*Issue) Descriptor deprecated

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

Deprecated: Use Issue.ProtoReflect.Descriptor instead.

func (*Issue) GetAncestors

func (x *Issue) GetAncestors() map[int64]*Issue_SourceIssues

func (*Issue) GetAttachments

func (x *Issue) GetAttachments() []*Attachment

func (*Issue) GetChildIssueCount

func (x *Issue) GetChildIssueCount() int32

func (*Issue) GetCreatedTime

func (x *Issue) GetCreatedTime() *timestamppb.Timestamp

func (*Issue) GetCustomFields

func (x *Issue) GetCustomFields() []*CustomField

func (*Issue) GetDescendantIssueCount

func (x *Issue) GetDescendantIssueCount() int32

func (*Issue) GetDescription

func (x *Issue) GetDescription() *IssueComment

func (*Issue) GetEtag

func (x *Issue) GetEtag() []byte

func (*Issue) GetIsArchived

func (x *Issue) GetIsArchived() bool

func (*Issue) GetIssueComment

func (x *Issue) GetIssueComment() *IssueComment

func (*Issue) GetIssueId

func (x *Issue) GetIssueId() int64

func (*Issue) GetIssueState

func (x *Issue) GetIssueState() *IssueState

func (*Issue) GetLastModifier

func (x *Issue) GetLastModifier() *User

func (*Issue) GetMajorModifiedTime

func (x *Issue) GetMajorModifiedTime() *timestamppb.Timestamp

func (*Issue) GetMinorModifiedTime

func (x *Issue) GetMinorModifiedTime() *timestamppb.Timestamp

func (*Issue) GetModifiedTime

func (x *Issue) GetModifiedTime() *timestamppb.Timestamp

func (*Issue) GetOpenDescendantIssueCount

func (x *Issue) GetOpenDescendantIssueCount() int32

func (*Issue) GetParentIssueIds

func (x *Issue) GetParentIssueIds() []int64
func (x *Issue) GetRelatedLinks() []*RelatedLink

func (*Issue) GetResolvedTime

func (x *Issue) GetResolvedTime() *timestamppb.Timestamp

func (*Issue) GetStatusUpdate

func (x *Issue) GetStatusUpdate() *StatusUpdate

func (*Issue) GetTrackerId

func (x *Issue) GetTrackerId() int64

func (*Issue) GetUserActivityStats

func (x *Issue) GetUserActivityStats() *Issue_UserActivityStats

func (*Issue) GetUserData

func (x *Issue) GetUserData() *IssueUserData

func (*Issue) GetVerifiedTime

func (x *Issue) GetVerifiedTime() *timestamppb.Timestamp

func (*Issue) GetVersion

func (x *Issue) GetVersion() int32

func (*Issue) GetVisibleFields

func (x *Issue) GetVisibleFields() []*FieldId

func (*Issue) GetVoteCount

func (x *Issue) GetVoteCount() int64

func (*Issue) ProtoMessage

func (*Issue) ProtoMessage()

func (*Issue) ProtoReflect

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

func (*Issue) Reset

func (x *Issue) Reset()

func (*Issue) String

func (x *Issue) String() string

type IssueAccessLimit

type IssueAccessLimit struct {

	// The access level set on an issue.
	AccessLevel IssueAccessLimit_AccessLevel `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents the access limit set on an issue.

func (*IssueAccessLimit) Descriptor deprecated

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

Deprecated: Use IssueAccessLimit.ProtoReflect.Descriptor instead.

func (*IssueAccessLimit) GetAccessLevel

func (x *IssueAccessLimit) GetAccessLevel() IssueAccessLimit_AccessLevel

func (*IssueAccessLimit) ProtoMessage

func (*IssueAccessLimit) ProtoMessage()

func (*IssueAccessLimit) ProtoReflect

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

func (*IssueAccessLimit) Reset

func (x *IssueAccessLimit) Reset()

func (*IssueAccessLimit) String

func (x *IssueAccessLimit) String() string

type IssueAccessLimit_AccessLevel

type IssueAccessLimit_AccessLevel int32

The different access levels we can set on an issue.

const (
	// API will reject all access limits that are unspecified.
	IssueAccessLimit_ACCESS_LEVEL_UNSPECIFIED IssueAccessLimit_AccessLevel = 0
	// There are no access limits set on this issue.
	IssueAccessLimit_LIMIT_NONE IssueAccessLimit_AccessLevel = 1
	// Only actors on the issue retain view access.
	IssueAccessLimit_LIMIT_VIEW IssueAccessLimit_AccessLevel = 2
	// Only actors on the issue retain append (e.g. comment) access. Issue
	// admins also retain access
	IssueAccessLimit_LIMIT_APPEND IssueAccessLimit_AccessLevel = 3
	// Only actors on the issue or trusted (Full-time Googlers + Common tools by
	// default) users retain view access.
	IssueAccessLimit_LIMIT_VIEW_TRUSTED IssueAccessLimit_AccessLevel = 4
)

func (IssueAccessLimit_AccessLevel) Descriptor

func (IssueAccessLimit_AccessLevel) Enum

func (IssueAccessLimit_AccessLevel) EnumDescriptor deprecated

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

Deprecated: Use IssueAccessLimit_AccessLevel.Descriptor instead.

func (IssueAccessLimit_AccessLevel) Number

func (IssueAccessLimit_AccessLevel) String

func (IssueAccessLimit_AccessLevel) Type

type IssueComment

type IssueComment struct {

	// Output only. Issue ID for this issue comment.  It uniquely identifies the
	// issue this comment belongs to.
	IssueId int64 `protobuf:"varint,6,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// Output only. Comment number for this issue comment. This is the 1-based
	// position of the comment in the stream of comments associated with the
	// issue.
	CommentNumber int32 `protobuf:"varint,7,opt,name=comment_number,json=commentNumber,proto3" json:"comment_number,omitempty"`
	// Issue comment entered by the user.
	Comment string `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

A container for user-entered text and attachments provided as a part of an update to an issue or issue creation. All fields in this message are optional. It could have been named "Comment", but Issue Comment was chosen to emphasize that it's a dependent child of issue. When IssueCommentView is unspecified, it will be returned in basic view.

func (*IssueComment) Descriptor deprecated

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

Deprecated: Use IssueComment.ProtoReflect.Descriptor instead.

func (*IssueComment) GetComment

func (x *IssueComment) GetComment() string

func (*IssueComment) GetCommentNumber

func (x *IssueComment) GetCommentNumber() int32

func (*IssueComment) GetIssueId

func (x *IssueComment) GetIssueId() int64

func (*IssueComment) ProtoMessage

func (*IssueComment) ProtoMessage()

func (*IssueComment) ProtoReflect

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

func (*IssueComment) Reset

func (x *IssueComment) Reset()

func (*IssueComment) String

func (x *IssueComment) String() string

type IssueCommentView

type IssueCommentView int32

Issue comment view that specifies which fields are returned. Note: view names are prefixed to avoid name collision with other view enums.

const (
	// The default / unset value. The API will default to the BASIC view.
	IssueCommentView_ISSUE_COMMENT_VIEW_UNSPECIFIED IssueCommentView = 0
	// Include everything except for the formatted_comment field.
	IssueCommentView_ISSUE_COMMENT_VIEW_BASIC IssueCommentView = 1
	// Include everything.
	IssueCommentView_ISSUE_COMMENT_VIEW_FULL IssueCommentView = 2
)

func (IssueCommentView) Descriptor

func (IssueCommentView) Enum

func (IssueCommentView) EnumDescriptor deprecated

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

Deprecated: Use IssueCommentView.Descriptor instead.

func (IssueCommentView) Number

func (IssueCommentView) String

func (x IssueCommentView) String() string

func (IssueCommentView) Type

type IssueReference

type IssueReference struct {

	// Issue ID.
	IssueId *int64 `protobuf:"varint,1,opt,name=issue_id,json=issueId,proto3,oneof" json:"issue_id,omitempty"`
	// The comment number the reference is pointing to.  If not referencing a
	// specific comment, 0.
	CommentNumber *int32 `protobuf:"varint,2,opt,name=comment_number,json=commentNumber,proto3,oneof" json:"comment_number,omitempty"`
	// contains filtered or unexported fields
}

Represents a reference to an issue.

func (*IssueReference) Descriptor deprecated

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

Deprecated: Use IssueReference.ProtoReflect.Descriptor instead.

func (*IssueReference) GetCommentNumber

func (x *IssueReference) GetCommentNumber() int32

func (*IssueReference) GetIssueId

func (x *IssueReference) GetIssueId() int64

func (*IssueReference) ProtoMessage

func (*IssueReference) ProtoMessage()

func (*IssueReference) ProtoReflect

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

func (*IssueReference) Reset

func (x *IssueReference) Reset()

func (*IssueReference) String

func (x *IssueReference) String() string

type IssueRelationship

type IssueRelationship struct {

	// Numeric ID of the target issue.
	TargetIssueId int64 `protobuf:"varint,1,opt,name=target_issue_id,json=targetIssueId,proto3" json:"target_issue_id,omitempty"`
	// Numeric ID of the target issue that is ordered to be before the target
	// issue of this issue relationship. 0 if the target issue of this issue
	// relationship is at the top.
	AfterIssueId int64 `protobuf:"varint,2,opt,name=after_issue_id,json=afterIssueId,proto3" json:"after_issue_id,omitempty"`
	// Output only. It's set only if the caller has read access to the target
	// issue.
	TargetIssue *Issue `protobuf:"bytes,3,opt,name=target_issue,json=targetIssue,proto3" json:"target_issue,omitempty"`
	// contains filtered or unexported fields
}

Represents a relationship between issues.

func (*IssueRelationship) Descriptor deprecated

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

Deprecated: Use IssueRelationship.ProtoReflect.Descriptor instead.

func (*IssueRelationship) GetAfterIssueId

func (x *IssueRelationship) GetAfterIssueId() int64

func (*IssueRelationship) GetTargetIssue

func (x *IssueRelationship) GetTargetIssue() *Issue

func (*IssueRelationship) GetTargetIssueId

func (x *IssueRelationship) GetTargetIssueId() int64

func (*IssueRelationship) ProtoMessage

func (*IssueRelationship) ProtoMessage()

func (*IssueRelationship) ProtoReflect

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

func (*IssueRelationship) Reset

func (x *IssueRelationship) Reset()

func (*IssueRelationship) String

func (x *IssueRelationship) String() string

type IssueRelationshipType

type IssueRelationshipType int32

Represents a type of relationships between issues.

const (
	// Unspecified. Invalid state.
	IssueRelationshipType_ISSUE_RELATIONSHIP_TYPE_UNSPECIFIED IssueRelationshipType = 0
	// Parent / child relationship.
	IssueRelationshipType_CHILD IssueRelationshipType = 1
	// Dependency relationship.
	//
	// Deprecated: Marked as deprecated in google/devtools/issuetracker/v1/issuetracker.proto.
	IssueRelationshipType_DEPENDENCY IssueRelationshipType = 2
	// Linked relationship.
	//
	// Deprecated: Marked as deprecated in google/devtools/issuetracker/v1/issuetracker.proto.
	IssueRelationshipType_LINKED IssueRelationshipType = 3
)

func (IssueRelationshipType) Descriptor

func (IssueRelationshipType) Enum

func (IssueRelationshipType) EnumDescriptor deprecated

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

Deprecated: Use IssueRelationshipType.Descriptor instead.

func (IssueRelationshipType) Number

func (IssueRelationshipType) String

func (x IssueRelationshipType) String() string

func (IssueRelationshipType) Type

type IssueState

type IssueState struct {

	// Required. Component this issue belongs to.
	ComponentId int64 `protobuf:"varint,1,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"`
	// Required. The current type of the issue.
	Type Issue_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.devtools.issuetracker.v1.Issue_Type" json:"type,omitempty"`
	// Required. The current state of the issue.
	Status Issue_Status `protobuf:"varint,3,opt,name=status,proto3,enum=google.devtools.issuetracker.v1.Issue_Status" json:"status,omitempty"`
	// Required. The current priority of the issue.
	Priority Issue_Priority `protobuf:"varint,4,opt,name=priority,proto3,enum=google.devtools.issuetracker.v1.Issue_Priority" json:"priority,omitempty"`
	// Required. The current severity of the issue.
	Severity Issue_Severity `protobuf:"varint,5,opt,name=severity,proto3,enum=google.devtools.issuetracker.v1.Issue_Severity" json:"severity,omitempty"`
	// Required. Short summary of the issue.
	Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
	// *Required except for CreateIssue calls.* The reporter of the issue.
	// On CreateIssue calls only, if not set or if set to a blank email address,
	// will be set to the id of the requesting user.
	Reporter *User `protobuf:"bytes,7,opt,name=reporter,proto3" json:"reporter,omitempty"`
	// The current assignee of the issue.
	Assignee *User `protobuf:"bytes,8,opt,name=assignee,proto3" json:"assignee,omitempty"`
	// The current verifier of the issue.
	Verifier *User `protobuf:"bytes,9,opt,name=verifier,proto3" json:"verifier,omitempty"`
	// CCed users and list addresses on this issue.
	Ccs []*User `protobuf:"bytes,10,rep,name=ccs,proto3" json:"ccs,omitempty"`
	// Users collaborating on the issue. This field isn't generally available yet.
	Collaborators []*User `protobuf:"bytes,31,rep,name=collaborators,proto3" json:"collaborators,omitempty"`
	// If the issue has an IssueStatus of DUPLICATE, this field will
	// be populated with the issue id this is marked as a duplicate of.
	CanonicalIssueId int64 `protobuf:"varint,11,opt,name=canonical_issue_id,json=canonicalIssueId,proto3" json:"canonical_issue_id,omitempty"`
	// A list of issue ids that block completion of this issue.
	BlockedByIssueIds []int64 `protobuf:"varint,12,rep,packed,name=blocked_by_issue_ids,json=blockedByIssueIds,proto3" json:"blocked_by_issue_ids,omitempty"`
	// A list of issue ids that are blocked by this issue.
	BlockingIssueIds []int64 `protobuf:"varint,13,rep,packed,name=blocking_issue_ids,json=blockingIssueIds,proto3" json:"blocking_issue_ids,omitempty"`
	// All of the hotlists currently applied to the issue.
	HotlistIds []int64 `protobuf:"varint,14,rep,packed,name=hotlist_ids,json=hotlistIds,proto3" json:"hotlist_ids,omitempty"`
	// The custom field values currently set on the issue.
	CustomFields []*CustomFieldValue `protobuf:"bytes,15,rep,name=custom_fields,json=customFields,proto3" json:"custom_fields,omitempty"`
	// A collection of fully-qualified Gerrit code change numbers.
	GerritChanges []*GerritChange `protobuf:"bytes,35,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"`
	// A collection of release versions affected by this issue.
	FoundInVersions []string `protobuf:"bytes,17,rep,name=found_in_versions,json=foundInVersions,proto3" json:"found_in_versions,omitempty"`
	// The targeted release versions that will include the fix for this issue.
	TargetedToVersions []string `protobuf:"bytes,18,rep,name=targeted_to_versions,json=targetedToVersions,proto3" json:"targeted_to_versions,omitempty"`
	// The release versions which have been confirmed as verified.
	VerifiedInVersions []string `protobuf:"bytes,19,rep,name=verified_in_versions,json=verifiedInVersions,proto3" json:"verified_in_versions,omitempty"`
	// Whether or not the behavior of this issue is exhibited in production.
	InProd bool `protobuf:"varint,20,opt,name=in_prod,json=inProd,proto3" json:"in_prod,omitempty"`
	// Output only. Whether the issue has been archived through per issue
	// archiving. Note: use Issue.is_archived to decide if the issue is in an
	// archived state because issue can also be archived through component.
	IsArchived bool `protobuf:"varint,21,opt,name=is_archived,json=isArchived,proto3" json:"is_archived,omitempty"`
	// Output only. The ids of duplicate issues that have marked this one as
	// their canonical issue.
	DuplicateIssueIds []int64 `protobuf:"varint,22,rep,packed,name=duplicate_issue_ids,json=duplicateIssueIds,proto3" json:"duplicate_issue_ids,omitempty"`
	// Output only. Current status of the issue entity.
	EntityStatus *EntityStatus `protobuf:"bytes,25,opt,name=entity_status,json=entityStatus,proto3" json:"entity_status,omitempty"`
	// The access limit set on this issue.
	AccessLimit *IssueAccessLimit `protobuf:"bytes,32,opt,name=access_limit,json=accessLimit,proto3" json:"access_limit,omitempty"`
	// contains filtered or unexported fields
}

Contains the current state of an issue.

func (*IssueState) Descriptor deprecated

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

Deprecated: Use IssueState.ProtoReflect.Descriptor instead.

func (*IssueState) GetAccessLimit

func (x *IssueState) GetAccessLimit() *IssueAccessLimit

func (*IssueState) GetAssignee

func (x *IssueState) GetAssignee() *User

func (*IssueState) GetBlockedByIssueIds

func (x *IssueState) GetBlockedByIssueIds() []int64

func (*IssueState) GetBlockingIssueIds

func (x *IssueState) GetBlockingIssueIds() []int64

func (*IssueState) GetCanonicalIssueId

func (x *IssueState) GetCanonicalIssueId() int64

func (*IssueState) GetCcs

func (x *IssueState) GetCcs() []*User

func (*IssueState) GetCollaborators

func (x *IssueState) GetCollaborators() []*User

func (*IssueState) GetComponentId

func (x *IssueState) GetComponentId() int64

func (*IssueState) GetCustomFields

func (x *IssueState) GetCustomFields() []*CustomFieldValue

func (*IssueState) GetDuplicateIssueIds

func (x *IssueState) GetDuplicateIssueIds() []int64

func (*IssueState) GetEntityStatus

func (x *IssueState) GetEntityStatus() *EntityStatus

func (*IssueState) GetFoundInVersions

func (x *IssueState) GetFoundInVersions() []string

func (*IssueState) GetGerritChanges

func (x *IssueState) GetGerritChanges() []*GerritChange

func (*IssueState) GetHotlistIds

func (x *IssueState) GetHotlistIds() []int64

func (*IssueState) GetInProd

func (x *IssueState) GetInProd() bool

func (*IssueState) GetIsArchived

func (x *IssueState) GetIsArchived() bool

func (*IssueState) GetPriority

func (x *IssueState) GetPriority() Issue_Priority

func (*IssueState) GetReporter

func (x *IssueState) GetReporter() *User

func (*IssueState) GetSeverity

func (x *IssueState) GetSeverity() Issue_Severity

func (*IssueState) GetStatus

func (x *IssueState) GetStatus() Issue_Status

func (*IssueState) GetTargetedToVersions

func (x *IssueState) GetTargetedToVersions() []string

func (*IssueState) GetTitle

func (x *IssueState) GetTitle() string

func (*IssueState) GetType

func (x *IssueState) GetType() Issue_Type

func (*IssueState) GetVerifiedInVersions

func (x *IssueState) GetVerifiedInVersions() []string

func (*IssueState) GetVerifier

func (x *IssueState) GetVerifier() *User

func (*IssueState) ProtoMessage

func (*IssueState) ProtoMessage()

func (*IssueState) ProtoReflect

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

func (*IssueState) Reset

func (x *IssueState) Reset()

func (*IssueState) String

func (x *IssueState) String() string

type IssueTrackerClient

type IssueTrackerClient interface {
	// Gets a component, including its parent hierarchy info.
	GetComponent(ctx context.Context, in *GetComponentRequest, opts ...grpc.CallOption) (*Component, error)
	// Searches issues in the search cache (which may be stale), then returns the
	// current state of the matched issues (which may no longer match
	// ListIssuesRequest.query and may no longer be in the order indicated by
	// ListIssuesRequest.order_by).
	ListIssues(ctx context.Context, in *ListIssuesRequest, opts ...grpc.CallOption) (*ListIssuesResponse, error)
	// Gets multiple issues with their current state by their ID. Non-existing
	// issues, or issues that the caller does not have access to, are silently
	// ignored. Note: The maximum number of issues that can be retrieved in one
	// call is limited to 100.
	BatchGetIssues(ctx context.Context, in *BatchGetIssuesRequest, opts ...grpc.CallOption) (*BatchGetIssuesResponse, error)
	// Gets an issue with its current state.
	GetIssue(ctx context.Context, in *GetIssueRequest, opts ...grpc.CallOption) (*Issue, error)
	// Creates a new issue within a component, and returns the new object.
	CreateIssue(ctx context.Context, in *CreateIssueRequest, opts ...grpc.CallOption) (*Issue, error)
	// Updates an issue based on add and remove IssueState.  Returns the
	// modified issue.
	ModifyIssue(ctx context.Context, in *ModifyIssueRequest, opts ...grpc.CallOption) (*Issue, error)
	// Creates a new issue relationship.
	// Requires issue EDIT on the source issue and issue VIEW on the target issue.
	// For relationship_type = CHILD, requires issue EDIT on the source issue and
	// issue VIEW on the target issue.
	CreateIssueRelationship(ctx context.Context, in *CreateIssueRelationshipRequest, opts ...grpc.CallOption) (*IssueRelationship, error)
	// Lists issue relationships under an issue of a type.
	// Requires issue VIEW on the source issue. All target issues are included
	// regardless of the caller's issue view access. target_issue_id is always
	// set. target_issue is set only if the caller has issue VIEW access to the
	// target issue.
	ListIssueRelationships(ctx context.Context, in *ListIssueRelationshipsRequest, opts ...grpc.CallOption) (*ListIssueRelationshipsResponse, error)
	// Fetch a collection of IssueUpdate objects representing the change
	// history of an issue, ordered by IssueUpdate.version.
	ListIssueUpdates(ctx context.Context, in *ListIssueUpdatesRequest, opts ...grpc.CallOption) (*ListIssueUpdatesResponse, error)
	// Creates a new issue comment in an issue
	CreateIssueComment(ctx context.Context, in *CreateIssueCommentRequest, opts ...grpc.CallOption) (*IssueComment, error)
	// Fetches a list of IssueComment objects.
	ListIssueComments(ctx context.Context, in *ListIssueCommentsRequest, opts ...grpc.CallOption) (*ListIssueCommentsResponse, error)
	// Updates an issue comment.
	// NB: The comment manipulation methods does not use the attachment field in
	// IssueComment.
	UpdateIssueComment(ctx context.Context, in *UpdateIssueCommentRequest, opts ...grpc.CallOption) (*IssueComment, error)
	// List attachments that belong to an issue. Only returns attachment metadata.
	ListAttachments(ctx context.Context, in *ListAttachmentsRequest, opts ...grpc.CallOption) (*ListAttachmentsResponse, error)
	// Adds an issue to a hotlist by creating a HotlistEntry. Returns the created
	// HotlistEntry.
	// Requires hotlist APPEND and issue VIEW permission
	CreateHotlistEntry(ctx context.Context, in *CreateHotlistEntryRequest, opts ...grpc.CallOption) (*HotlistEntry, error)
	// Removes an issue from a hotlist by deleting hotlistEntry. Removing an issue
	// from a hotlist it does not belong to will do nothing and return.
	// Requires hotlist APPEND and issue VIEW permission
	DeleteHotlistEntry(ctx context.Context, in *DeleteHotlistEntryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Checks that automation has permission on a resource.
	// Does not require any permission on the resource
	GetAutomationAccess(ctx context.Context, in *GetAutomationAccessRequest, opts ...grpc.CallOption) (*GetAutomationAccessResponse, error)
}

IssueTrackerClient is the client API for IssueTracker service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type IssueTrackerServer

type IssueTrackerServer interface {
	// Gets a component, including its parent hierarchy info.
	GetComponent(context.Context, *GetComponentRequest) (*Component, error)
	// Searches issues in the search cache (which may be stale), then returns the
	// current state of the matched issues (which may no longer match
	// ListIssuesRequest.query and may no longer be in the order indicated by
	// ListIssuesRequest.order_by).
	ListIssues(context.Context, *ListIssuesRequest) (*ListIssuesResponse, error)
	// Gets multiple issues with their current state by their ID. Non-existing
	// issues, or issues that the caller does not have access to, are silently
	// ignored. Note: The maximum number of issues that can be retrieved in one
	// call is limited to 100.
	BatchGetIssues(context.Context, *BatchGetIssuesRequest) (*BatchGetIssuesResponse, error)
	// Gets an issue with its current state.
	GetIssue(context.Context, *GetIssueRequest) (*Issue, error)
	// Creates a new issue within a component, and returns the new object.
	CreateIssue(context.Context, *CreateIssueRequest) (*Issue, error)
	// Updates an issue based on add and remove IssueState.  Returns the
	// modified issue.
	ModifyIssue(context.Context, *ModifyIssueRequest) (*Issue, error)
	// Creates a new issue relationship.
	// Requires issue EDIT on the source issue and issue VIEW on the target issue.
	// For relationship_type = CHILD, requires issue EDIT on the source issue and
	// issue VIEW on the target issue.
	CreateIssueRelationship(context.Context, *CreateIssueRelationshipRequest) (*IssueRelationship, error)
	// Lists issue relationships under an issue of a type.
	// Requires issue VIEW on the source issue. All target issues are included
	// regardless of the caller's issue view access. target_issue_id is always
	// set. target_issue is set only if the caller has issue VIEW access to the
	// target issue.
	ListIssueRelationships(context.Context, *ListIssueRelationshipsRequest) (*ListIssueRelationshipsResponse, error)
	// Fetch a collection of IssueUpdate objects representing the change
	// history of an issue, ordered by IssueUpdate.version.
	ListIssueUpdates(context.Context, *ListIssueUpdatesRequest) (*ListIssueUpdatesResponse, error)
	// Creates a new issue comment in an issue
	CreateIssueComment(context.Context, *CreateIssueCommentRequest) (*IssueComment, error)
	// Fetches a list of IssueComment objects.
	ListIssueComments(context.Context, *ListIssueCommentsRequest) (*ListIssueCommentsResponse, error)
	// Updates an issue comment.
	// NB: The comment manipulation methods does not use the attachment field in
	// IssueComment.
	UpdateIssueComment(context.Context, *UpdateIssueCommentRequest) (*IssueComment, error)
	// List attachments that belong to an issue. Only returns attachment metadata.
	ListAttachments(context.Context, *ListAttachmentsRequest) (*ListAttachmentsResponse, error)
	// Adds an issue to a hotlist by creating a HotlistEntry. Returns the created
	// HotlistEntry.
	// Requires hotlist APPEND and issue VIEW permission
	CreateHotlistEntry(context.Context, *CreateHotlistEntryRequest) (*HotlistEntry, error)
	// Removes an issue from a hotlist by deleting hotlistEntry. Removing an issue
	// from a hotlist it does not belong to will do nothing and return.
	// Requires hotlist APPEND and issue VIEW permission
	DeleteHotlistEntry(context.Context, *DeleteHotlistEntryRequest) (*emptypb.Empty, error)
	// Checks that automation has permission on a resource.
	// Does not require any permission on the resource
	GetAutomationAccess(context.Context, *GetAutomationAccessRequest) (*GetAutomationAccessResponse, error)
}

IssueTrackerServer is the server API for IssueTracker service.

type IssueUpdate

type IssueUpdate struct {

	// Output only. Author of the update.
	Author *User `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
	// Output only. Time that the Issue update occurred.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Output only. The StatusUpdate entered by a user.
	StatusUpdate *StatusUpdate `protobuf:"bytes,9,opt,name=status_update,json=statusUpdate,proto3" json:"status_update,omitempty"`
	// Output only. The set of updates representing this particular Issue update.
	FieldUpdates []*FieldUpdate `protobuf:"bytes,6,rep,name=field_updates,json=fieldUpdates,proto3" json:"field_updates,omitempty"`
	// contains filtered or unexported fields
}

A set of changes made to an issue, represented as a collection of diffs. A collection of IssueUpdate messages can represent the full change history of an issue.

func (*IssueUpdate) Descriptor deprecated

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

Deprecated: Use IssueUpdate.ProtoReflect.Descriptor instead.

func (*IssueUpdate) GetAuthor

func (x *IssueUpdate) GetAuthor() *User

func (*IssueUpdate) GetFieldUpdates

func (x *IssueUpdate) GetFieldUpdates() []*FieldUpdate

func (*IssueUpdate) GetStatusUpdate

func (x *IssueUpdate) GetStatusUpdate() *StatusUpdate

func (*IssueUpdate) GetTimestamp

func (x *IssueUpdate) GetTimestamp() *timestamppb.Timestamp

func (*IssueUpdate) ProtoMessage

func (*IssueUpdate) ProtoMessage()

func (*IssueUpdate) ProtoReflect

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

func (*IssueUpdate) Reset

func (x *IssueUpdate) Reset()

func (*IssueUpdate) String

func (x *IssueUpdate) String() string

type IssueUserData

type IssueUserData struct {

	// True if the user has starred the issue.
	HasStarred bool `protobuf:"varint,1,opt,name=has_starred,json=hasStarred,proto3" json:"has_starred,omitempty"`
	// True if the user has upvoted the issue.
	HasUpvoted bool `protobuf:"varint,2,opt,name=has_upvoted,json=hasUpvoted,proto3" json:"has_upvoted,omitempty"`
	// contains filtered or unexported fields
}

Represents issue-related data private to a requesting user.

func (*IssueUserData) Descriptor deprecated

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

Deprecated: Use IssueUserData.ProtoReflect.Descriptor instead.

func (*IssueUserData) GetHasStarred

func (x *IssueUserData) GetHasStarred() bool

func (*IssueUserData) GetHasUpvoted

func (x *IssueUserData) GetHasUpvoted() bool

func (*IssueUserData) ProtoMessage

func (*IssueUserData) ProtoMessage()

func (*IssueUserData) ProtoReflect

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

func (*IssueUserData) Reset

func (x *IssueUserData) Reset()

func (*IssueUserData) String

func (x *IssueUserData) String() string

type IssueView

type IssueView int32

View on Issue. Pass this enum to rpcs that returns an Issue message to control which subsets of fields to get.

const (
	// Unspecified. It defaults to BASIC.
	IssueView_ISSUE_VIEW_UNSPECIFIED IssueView = 0
	// Basic fields.
	IssueView_BASIC IssueView = 1
	// Include all fields.
	IssueView_FULL IssueView = 2
)

func (IssueView) Descriptor

func (IssueView) Descriptor() protoreflect.EnumDescriptor

func (IssueView) Enum

func (x IssueView) Enum() *IssueView

func (IssueView) EnumDescriptor deprecated

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

Deprecated: Use IssueView.Descriptor instead.

func (IssueView) Number

func (x IssueView) Number() protoreflect.EnumNumber

func (IssueView) String

func (x IssueView) String() string

func (IssueView) Type

type Issue_Priority

type Issue_Priority int32

5-point scale of issue priority, used to indicate importance of issue.

const (
	// Unspecified.  Invalid state.
	Issue_PRIORITY_UNSPECIFIED Issue_Priority = 0
	// P0
	Issue_P0 Issue_Priority = 1
	// P1
	Issue_P1 Issue_Priority = 2
	// P2
	Issue_P2 Issue_Priority = 3
	// P3
	Issue_P3 Issue_Priority = 4
	// P4
	Issue_P4 Issue_Priority = 5
)

func (Issue_Priority) Descriptor

func (Issue_Priority) Enum

func (x Issue_Priority) Enum() *Issue_Priority

func (Issue_Priority) EnumDescriptor deprecated

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

Deprecated: Use Issue_Priority.Descriptor instead.

func (Issue_Priority) Number

func (Issue_Priority) String

func (x Issue_Priority) String() string

func (Issue_Priority) Type

type Issue_Severity

type Issue_Severity int32

5-point scale of issue severity, used to indicate impact of issue.

const (
	// Unspecified.  Invalid state.
	Issue_SEVERITY_UNSPECIFIED Issue_Severity = 0
	// S0
	Issue_S0 Issue_Severity = 1
	// S1
	Issue_S1 Issue_Severity = 2
	// S2
	Issue_S2 Issue_Severity = 3
	// S3
	Issue_S3 Issue_Severity = 4
	// S4
	Issue_S4 Issue_Severity = 5
)

func (Issue_Severity) Descriptor

func (Issue_Severity) Enum

func (x Issue_Severity) Enum() *Issue_Severity

func (Issue_Severity) EnumDescriptor deprecated

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

Deprecated: Use Issue_Severity.Descriptor instead.

func (Issue_Severity) Number

func (Issue_Severity) String

func (x Issue_Severity) String() string

func (Issue_Severity) Type

type Issue_SourceIssues

type Issue_SourceIssues struct {

	// Parent issue IDs for parent/child relationships.
	SourceIssueIds []int64 `protobuf:"varint,1,rep,packed,name=source_issue_ids,json=sourceIssueIds,proto3" json:"source_issue_ids,omitempty"`
	// contains filtered or unexported fields
}

Source issue IDs to store ancestor cache.

func (*Issue_SourceIssues) Descriptor deprecated

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

Deprecated: Use Issue_SourceIssues.ProtoReflect.Descriptor instead.

func (*Issue_SourceIssues) GetSourceIssueIds

func (x *Issue_SourceIssues) GetSourceIssueIds() []int64

func (*Issue_SourceIssues) ProtoMessage

func (*Issue_SourceIssues) ProtoMessage()

func (*Issue_SourceIssues) ProtoReflect

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

func (*Issue_SourceIssues) Reset

func (x *Issue_SourceIssues) Reset()

func (*Issue_SourceIssues) String

func (x *Issue_SourceIssues) String() string

type Issue_Status

type Issue_Status int32

Valid states for an issue.

const (
	// Unspecified.  Invalid state.
	Issue_STATUS_UNSPECIFIED Issue_Status = 0
	// Issue is unassigned.
	Issue_NEW Issue_Status = 1
	// Issue has been assigned.
	Issue_ASSIGNED Issue_Status = 2
	// Issue has been accepted as a task by the assignee.
	Issue_ACCEPTED Issue_Status = 3
	// Issue has been marked Fixed.
	Issue_FIXED Issue_Status = 4
	// Issue has been marked Verified.
	Issue_VERIFIED Issue_Status = 5
	// Issue has been marked: Won't Fix (Not Reproducible).
	Issue_NOT_REPRODUCIBLE Issue_Status = 6
	// Issue has been marked: Won't Fix (Intended Behavior).
	Issue_INTENDED_BEHAVIOR Issue_Status = 7
	// Issue has been marked: Won't Fix (Obsolete).
	Issue_OBSOLETE Issue_Status = 8
	// Issue has been marked: Won't Fix (Infeasible).
	Issue_INFEASIBLE Issue_Status = 9
	// Issue has been marked as a duplicate of another issue.
	Issue_DUPLICATE Issue_Status = 10
)

func (Issue_Status) Descriptor

func (Issue_Status) Enum

func (x Issue_Status) Enum() *Issue_Status

func (Issue_Status) EnumDescriptor deprecated

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

Deprecated: Use Issue_Status.Descriptor instead.

func (Issue_Status) Number

func (Issue_Status) String

func (x Issue_Status) String() string

func (Issue_Status) Type

type Issue_Type

type Issue_Type int32

Valid types for an issue. WARNING: please note it's possible that we add more issue types in the future. Therefore you must not treat the issue types as a fixed set, but instead you should handle new unknown issue types in your code, e.g. add a default case when using switch statement.

const (
	// Unspecified.  Invalid state.
	Issue_TYPE_UNSPECIFIED Issue_Type = 0
	// Bug
	Issue_BUG Issue_Type = 1
	// Feature Request
	Issue_FEATURE_REQUEST Issue_Type = 2
	// Customer Issue
	Issue_CUSTOMER_ISSUE Issue_Type = 3
	// Internal Cleanup
	Issue_INTERNAL_CLEANUP Issue_Type = 4
	// Process
	Issue_PROCESS Issue_Type = 5
	// Vulnerability (e.g. security or privacy)
	Issue_VULNERABILITY Issue_Type = 6
	// Privacy Issue
	Issue_PRIVACY_ISSUE Issue_Type = 7
	// Portfolio (NOT SUPPORTED YET)
	Issue_PORTFOLIO Issue_Type = 8
	// Program (NOT SUPPORTED YET)
	Issue_PROGRAM Issue_Type = 9
	// Project
	Issue_PROJECT Issue_Type = 10
	// Feature
	Issue_FEATURE Issue_Type = 11
	// Milestone
	Issue_MILESTONE Issue_Type = 12
	// Epic
	Issue_EPIC Issue_Type = 13
	// Story
	Issue_STORY Issue_Type = 14
	// Task
	Issue_TASK Issue_Type = 15
)

func (Issue_Type) Descriptor

func (Issue_Type) Descriptor() protoreflect.EnumDescriptor

func (Issue_Type) Enum

func (x Issue_Type) Enum() *Issue_Type

func (Issue_Type) EnumDescriptor deprecated

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

Deprecated: Use Issue_Type.Descriptor instead.

func (Issue_Type) Number

func (x Issue_Type) Number() protoreflect.EnumNumber

func (Issue_Type) String

func (x Issue_Type) String() string

func (Issue_Type) Type

type Issue_UserActivityStats

type Issue_UserActivityStats struct {

	// Output only. the total view count in the past 1 day;
	OneDayViewCount int64 `protobuf:"varint,1,opt,name=one_day_view_count,json=oneDayViewCount,proto3" json:"one_day_view_count,omitempty"`
	// Output only. the total view count in the past 7 days;
	SevenDayViewCount int64 `protobuf:"varint,2,opt,name=seven_day_view_count,json=sevenDayViewCount,proto3" json:"seven_day_view_count,omitempty"`
	// Output only. the total view count in the past 30 days;
	ThirtyDayViewCount int64 `protobuf:"varint,3,opt,name=thirty_day_view_count,json=thirtyDayViewCount,proto3" json:"thirty_day_view_count,omitempty"`
	// contains filtered or unexported fields
}

The statistical values, for example, the total view count for the past days, of user activities to an issue.

func (*Issue_UserActivityStats) Descriptor deprecated

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

Deprecated: Use Issue_UserActivityStats.ProtoReflect.Descriptor instead.

func (*Issue_UserActivityStats) GetOneDayViewCount

func (x *Issue_UserActivityStats) GetOneDayViewCount() int64

func (*Issue_UserActivityStats) GetSevenDayViewCount

func (x *Issue_UserActivityStats) GetSevenDayViewCount() int64

func (*Issue_UserActivityStats) GetThirtyDayViewCount

func (x *Issue_UserActivityStats) GetThirtyDayViewCount() int64

func (*Issue_UserActivityStats) ProtoMessage

func (*Issue_UserActivityStats) ProtoMessage()

func (*Issue_UserActivityStats) ProtoReflect

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

func (*Issue_UserActivityStats) Reset

func (x *Issue_UserActivityStats) Reset()

func (*Issue_UserActivityStats) String

func (x *Issue_UserActivityStats) String() string

type ListAttachmentsRequest

type ListAttachmentsRequest struct {

	// Numeric ID of the issue.
	IssueId int64 `protobuf:"varint,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// contains filtered or unexported fields
}

Request object for IssueTracker.ListAttachments.

func (*ListAttachmentsRequest) Descriptor deprecated

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

Deprecated: Use ListAttachmentsRequest.ProtoReflect.Descriptor instead.

func (*ListAttachmentsRequest) GetIssueId

func (x *ListAttachmentsRequest) GetIssueId() int64

func (*ListAttachmentsRequest) ProtoMessage

func (*ListAttachmentsRequest) ProtoMessage()

func (*ListAttachmentsRequest) ProtoReflect

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

func (*ListAttachmentsRequest) Reset

func (x *ListAttachmentsRequest) Reset()

func (*ListAttachmentsRequest) String

func (x *ListAttachmentsRequest) String() string

type ListAttachmentsResponse

type ListAttachmentsResponse struct {

	// Metadata of attachments on the specified issue.
	Attachments []*Attachment `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// contains filtered or unexported fields
}

Response object for IssueTracker.ListAttachments.

func (*ListAttachmentsResponse) Descriptor deprecated

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

Deprecated: Use ListAttachmentsResponse.ProtoReflect.Descriptor instead.

func (*ListAttachmentsResponse) GetAttachments

func (x *ListAttachmentsResponse) GetAttachments() []*Attachment

func (*ListAttachmentsResponse) ProtoMessage

func (*ListAttachmentsResponse) ProtoMessage()

func (*ListAttachmentsResponse) ProtoReflect

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

func (*ListAttachmentsResponse) Reset

func (x *ListAttachmentsResponse) Reset()

func (*ListAttachmentsResponse) String

func (x *ListAttachmentsResponse) String() string

type ListIssueCommentsRequest

type ListIssueCommentsRequest struct {

	// Numeric ID of the issue.
	IssueId int64 `protobuf:"varint,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// Comments are sorted by created_time. Can be specified as either
	// ASC or DESC. Default is DESC.
	SortBy string `protobuf:"bytes,2,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"`
	// The number of results to return. Default 25.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. Pagination token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Issue comment view. When unspecified, it will default to BASIC.
	IssueCommentView IssueCommentView `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request object for IssueTracker.ListIssueComments.

func (*ListIssueCommentsRequest) Descriptor deprecated

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

Deprecated: Use ListIssueCommentsRequest.ProtoReflect.Descriptor instead.

func (*ListIssueCommentsRequest) GetIssueCommentView

func (x *ListIssueCommentsRequest) GetIssueCommentView() IssueCommentView

func (*ListIssueCommentsRequest) GetIssueId

func (x *ListIssueCommentsRequest) GetIssueId() int64

func (*ListIssueCommentsRequest) GetPageSize

func (x *ListIssueCommentsRequest) GetPageSize() int32

func (*ListIssueCommentsRequest) GetPageToken

func (x *ListIssueCommentsRequest) GetPageToken() string

func (*ListIssueCommentsRequest) GetSortBy

func (x *ListIssueCommentsRequest) GetSortBy() string

func (*ListIssueCommentsRequest) ProtoMessage

func (*ListIssueCommentsRequest) ProtoMessage()

func (*ListIssueCommentsRequest) ProtoReflect

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

func (*ListIssueCommentsRequest) Reset

func (x *ListIssueCommentsRequest) Reset()

func (*ListIssueCommentsRequest) String

func (x *ListIssueCommentsRequest) String() string

type ListIssueCommentsResponse

type ListIssueCommentsResponse struct {

	// The current page of IssueComments.
	IssueComments []*IssueComment `protobuf:"bytes,1,rep,name=issue_comments,json=issueComments,proto3" json:"issue_comments,omitempty"`
	// Pagination token for next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Total number of results.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

Response object for IssueTracker.ListIssueComments.

func (*ListIssueCommentsResponse) Descriptor deprecated

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

Deprecated: Use ListIssueCommentsResponse.ProtoReflect.Descriptor instead.

func (*ListIssueCommentsResponse) GetIssueComments

func (x *ListIssueCommentsResponse) GetIssueComments() []*IssueComment

func (*ListIssueCommentsResponse) GetNextPageToken

func (x *ListIssueCommentsResponse) GetNextPageToken() string

func (*ListIssueCommentsResponse) GetTotalSize

func (x *ListIssueCommentsResponse) GetTotalSize() int32

func (*ListIssueCommentsResponse) ProtoMessage

func (*ListIssueCommentsResponse) ProtoMessage()

func (*ListIssueCommentsResponse) ProtoReflect

func (*ListIssueCommentsResponse) Reset

func (x *ListIssueCommentsResponse) Reset()

func (*ListIssueCommentsResponse) String

func (x *ListIssueCommentsResponse) String() string

type ListIssueRelationshipsRequest

type ListIssueRelationshipsRequest struct {

	// Numeric ID of the source issue.
	IssueId int64 `protobuf:"varint,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// Type of the relationship to list.
	RelationshipType IssueRelationshipType `` /* 169-byte string literal not displayed */
	// The view of the issue to return.
	View IssueView `protobuf:"varint,3,opt,name=view,proto3,enum=google.devtools.issuetracker.v1.IssueView" json:"view,omitempty"`
	// Issue description view. When unspecified, it will default to BASIC.
	IssueDescriptionView IssueCommentView `` /* 178-byte string literal not displayed */
	// Use specific atoms described here to refine results. By default, result
	// will not include issue relationships where target issue has been archived.
	// Query atoms:
	//
	//	include_archived:[true|false]
	Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

Request object for IssueTracker.ListIssueRelationships.

func (*ListIssueRelationshipsRequest) Descriptor deprecated

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

Deprecated: Use ListIssueRelationshipsRequest.ProtoReflect.Descriptor instead.

func (*ListIssueRelationshipsRequest) GetIssueDescriptionView

func (x *ListIssueRelationshipsRequest) GetIssueDescriptionView() IssueCommentView

func (*ListIssueRelationshipsRequest) GetIssueId

func (x *ListIssueRelationshipsRequest) GetIssueId() int64

func (*ListIssueRelationshipsRequest) GetQuery

func (x *ListIssueRelationshipsRequest) GetQuery() string

func (*ListIssueRelationshipsRequest) GetRelationshipType

func (x *ListIssueRelationshipsRequest) GetRelationshipType() IssueRelationshipType

func (*ListIssueRelationshipsRequest) GetView

func (*ListIssueRelationshipsRequest) ProtoMessage

func (*ListIssueRelationshipsRequest) ProtoMessage()

func (*ListIssueRelationshipsRequest) ProtoReflect

func (*ListIssueRelationshipsRequest) Reset

func (x *ListIssueRelationshipsRequest) Reset()

func (*ListIssueRelationshipsRequest) String

type ListIssueRelationshipsResponse

type ListIssueRelationshipsResponse struct {

	// List of issue relationships. All target issues are included regardless of
	// the caller's issue view access. target_issue_id is always set. target_issue
	// is set only if the caller has issue VIEW access to the target issue.
	IssueRelationships []*IssueRelationship `protobuf:"bytes,1,rep,name=issue_relationships,json=issueRelationships,proto3" json:"issue_relationships,omitempty"`
	// contains filtered or unexported fields
}

Response object for IssueTracker.ListIssueRelationships.

func (*ListIssueRelationshipsResponse) Descriptor deprecated

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

Deprecated: Use ListIssueRelationshipsResponse.ProtoReflect.Descriptor instead.

func (*ListIssueRelationshipsResponse) GetIssueRelationships

func (x *ListIssueRelationshipsResponse) GetIssueRelationships() []*IssueRelationship

func (*ListIssueRelationshipsResponse) ProtoMessage

func (*ListIssueRelationshipsResponse) ProtoMessage()

func (*ListIssueRelationshipsResponse) ProtoReflect

func (*ListIssueRelationshipsResponse) Reset

func (x *ListIssueRelationshipsResponse) Reset()

func (*ListIssueRelationshipsResponse) String

type ListIssueUpdatesRequest

type ListIssueUpdatesRequest struct {

	// Numeric ID of the issue.
	IssueId int64 `protobuf:"varint,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// Updates are sorted by version. Can be specified as either
	// ASC or DESC. Default is DESC.
	SortBy string `protobuf:"bytes,2,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"`
	// If 0, the full set of IssueUpdates will be returned. Default 0.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. Pagination token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Issue comment view. When unspecified, it will default to BASIC.
	IssueCommentView IssueCommentView `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request object for IssueTracker.ListIssueUpdates.

func (*ListIssueUpdatesRequest) Descriptor deprecated

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

Deprecated: Use ListIssueUpdatesRequest.ProtoReflect.Descriptor instead.

func (*ListIssueUpdatesRequest) GetIssueCommentView

func (x *ListIssueUpdatesRequest) GetIssueCommentView() IssueCommentView

func (*ListIssueUpdatesRequest) GetIssueId

func (x *ListIssueUpdatesRequest) GetIssueId() int64

func (*ListIssueUpdatesRequest) GetPageSize

func (x *ListIssueUpdatesRequest) GetPageSize() int32

func (*ListIssueUpdatesRequest) GetPageToken

func (x *ListIssueUpdatesRequest) GetPageToken() string

func (*ListIssueUpdatesRequest) GetSortBy

func (x *ListIssueUpdatesRequest) GetSortBy() string

func (*ListIssueUpdatesRequest) ProtoMessage

func (*ListIssueUpdatesRequest) ProtoMessage()

func (*ListIssueUpdatesRequest) ProtoReflect

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

func (*ListIssueUpdatesRequest) Reset

func (x *ListIssueUpdatesRequest) Reset()

func (*ListIssueUpdatesRequest) String

func (x *ListIssueUpdatesRequest) String() string

type ListIssueUpdatesResponse

type ListIssueUpdatesResponse struct {

	// The current page of IssueUpdates.
	IssueUpdates []*IssueUpdate `protobuf:"bytes,1,rep,name=issue_updates,json=issueUpdates,proto3" json:"issue_updates,omitempty"`
	// Pagination token for next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Total number of results.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

Response object for IssueTracker.ListIssueUpdates.

func (*ListIssueUpdatesResponse) Descriptor deprecated

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

Deprecated: Use ListIssueUpdatesResponse.ProtoReflect.Descriptor instead.

func (*ListIssueUpdatesResponse) GetIssueUpdates

func (x *ListIssueUpdatesResponse) GetIssueUpdates() []*IssueUpdate

func (*ListIssueUpdatesResponse) GetNextPageToken

func (x *ListIssueUpdatesResponse) GetNextPageToken() string

func (*ListIssueUpdatesResponse) GetTotalSize

func (x *ListIssueUpdatesResponse) GetTotalSize() int32

func (*ListIssueUpdatesResponse) ProtoMessage

func (*ListIssueUpdatesResponse) ProtoMessage()

func (*ListIssueUpdatesResponse) ProtoReflect

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

func (*ListIssueUpdatesResponse) Reset

func (x *ListIssueUpdatesResponse) Reset()

func (*ListIssueUpdatesResponse) String

func (x *ListIssueUpdatesResponse) String() string

type ListIssuesRequest

type ListIssuesRequest struct {

	// Required. Query language for issues requests is defined at:
	// https://developers.google.com/issue-tracker/concepts/search-query-language.
	// Issues returned in the response will have matched this query at some point
	// in the hopefully-recent past.
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// Order parameter.  Order is ascending ("asc") by default, but can
	// be defined with the sort field followed by a space and "asc" or
	// "desc".
	//
	// Examples:
	//
	//	"issue_id",
	//	"modified_time asc",
	//
	// (Note that the issues are ordered based on a state that's possibly less
	// recent than the one that's returned, so the returned issues may not be in
	// the indicated order if they're ordered based on a property which can
	// change.)
	//
	// Secondary sorts may be specified in comma-separated format.
	//
	// Examples:
	//
	//	"priority asc, created_time desc"
	//	"custom_field:1234, modified_time desc"
	//
	// Valid sort fields are:
	//
	//   - archived
	//   - assignee
	//   - cc_count
	//   - component_path
	//   - created_time
	//   - custom_field:<id>
	//   - descendant_count
	//   - deletion_time
	//   - duplicate_count
	//   - found_in_versions
	//   - in_prod
	//   - issue_id
	//   - last_modifier
	//   - modified_time
	//   - one_day_view_count
	//   - open_descendant_count
	//   - priority
	//   - reporter
	//   - seven_day_view_count
	//   - severity
	//   - status
	//   - targeted_to_versions
	//   - thirty_day_view_count
	//   - title
	//   - type
	//   - verified_in_versions
	//   - verified_time
	//   - verifier
	//   - vote_count
	//   - access_level (derived from the issue access limit field)
	OrderBy string `protobuf:"bytes,2,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Default page_size = 25.
	// Maximum page_size = 500.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. Pagination token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The view of the issue to return.
	View IssueView `protobuf:"varint,5,opt,name=view,proto3,enum=google.devtools.issuetracker.v1.IssueView" json:"view,omitempty"`
	// Issue description view. When unspecified, it will default to BASIC.
	IssueDescriptionView IssueCommentView `` /* 178-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request object for IssueTracker.ListIssues.

func (*ListIssuesRequest) Descriptor deprecated

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

Deprecated: Use ListIssuesRequest.ProtoReflect.Descriptor instead.

func (*ListIssuesRequest) GetIssueDescriptionView

func (x *ListIssuesRequest) GetIssueDescriptionView() IssueCommentView

func (*ListIssuesRequest) GetOrderBy

func (x *ListIssuesRequest) GetOrderBy() string

func (*ListIssuesRequest) GetPageSize

func (x *ListIssuesRequest) GetPageSize() int32

func (*ListIssuesRequest) GetPageToken

func (x *ListIssuesRequest) GetPageToken() string

func (*ListIssuesRequest) GetQuery

func (x *ListIssuesRequest) GetQuery() string

func (*ListIssuesRequest) GetView

func (x *ListIssuesRequest) GetView() IssueView

func (*ListIssuesRequest) ProtoMessage

func (*ListIssuesRequest) ProtoMessage()

func (*ListIssuesRequest) ProtoReflect

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

func (*ListIssuesRequest) Reset

func (x *ListIssuesRequest) Reset()

func (*ListIssuesRequest) String

func (x *ListIssuesRequest) String() string

type ListIssuesResponse

type ListIssuesResponse struct {

	// The current page of issues.
	Issues []*Issue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"`
	// Pagination token for next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Total number of results. This is an approximation.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

Response object for IssueTracker.ListIssues.

func (*ListIssuesResponse) Descriptor deprecated

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

Deprecated: Use ListIssuesResponse.ProtoReflect.Descriptor instead.

func (*ListIssuesResponse) GetIssues

func (x *ListIssuesResponse) GetIssues() []*Issue

func (*ListIssuesResponse) GetNextPageToken

func (x *ListIssuesResponse) GetNextPageToken() string

func (*ListIssuesResponse) GetTotalSize

func (x *ListIssuesResponse) GetTotalSize() int32

func (*ListIssuesResponse) ProtoMessage

func (*ListIssuesResponse) ProtoMessage()

func (*ListIssuesResponse) ProtoReflect

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

func (*ListIssuesResponse) Reset

func (x *ListIssuesResponse) Reset()

func (*ListIssuesResponse) String

func (x *ListIssuesResponse) String() string

type ModifyIssueRequest

type ModifyIssueRequest struct {

	// Numeric ID of the issue to update.
	IssueId int64 `protobuf:"varint,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// Field mask indicating what fields are set in the add IssueState.
	// Note that if any fields need to be set, this mask is required. If it is
	// not provided, the add IssueState will be ignored.
	AddMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=add_mask,json=addMask,proto3" json:"add_mask,omitempty"`
	// Fields present that are single value fields will replace the
	// current value. Fields that are collections will append the
	// values provided. Note that if any fields need to be set, add_mask above is
	// required. If it is not provided, the add IssueState will be ignored.
	Add *IssueState `protobuf:"bytes,3,opt,name=add,proto3" json:"add,omitempty"`
	// Field mask indicating what fields are set in the remove IssueState.
	// Note that if any fields need to be cleared, this mask is required. If it
	// is not provided, the remove IssueState will be ignored.
	RemoveMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=remove_mask,json=removeMask,proto3" json:"remove_mask,omitempty"`
	// Fields present that are single value fields with an empty value
	// will clear the current value. Fields that are collections will
	// remove the values provided. Note that if any fields need to be cleared,
	// remove_mask above is required. If it is not provided, the remove IssueState
	// will be ignored.
	Remove *IssueState `protobuf:"bytes,5,opt,name=remove,proto3" json:"remove,omitempty"`
	// A comment and/or attachments to append to this issue.
	IssueComment *IssueComment `protobuf:"bytes,6,opt,name=issue_comment,json=issueComment,proto3" json:"issue_comment,omitempty"`
	// contains filtered or unexported fields
}

Request object for IssueTracker.ModifyIssue.

func (*ModifyIssueRequest) Descriptor deprecated

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

Deprecated: Use ModifyIssueRequest.ProtoReflect.Descriptor instead.

func (*ModifyIssueRequest) GetAdd

func (x *ModifyIssueRequest) GetAdd() *IssueState

func (*ModifyIssueRequest) GetAddMask

func (x *ModifyIssueRequest) GetAddMask() *fieldmaskpb.FieldMask

func (*ModifyIssueRequest) GetIssueComment

func (x *ModifyIssueRequest) GetIssueComment() *IssueComment

func (*ModifyIssueRequest) GetIssueId

func (x *ModifyIssueRequest) GetIssueId() int64

func (*ModifyIssueRequest) GetRemove

func (x *ModifyIssueRequest) GetRemove() *IssueState

func (*ModifyIssueRequest) GetRemoveMask

func (x *ModifyIssueRequest) GetRemoveMask() *fieldmaskpb.FieldMask

func (*ModifyIssueRequest) ProtoMessage

func (*ModifyIssueRequest) ProtoMessage()

func (*ModifyIssueRequest) ProtoReflect

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

func (*ModifyIssueRequest) Reset

func (x *ModifyIssueRequest) Reset()

func (*ModifyIssueRequest) String

func (x *ModifyIssueRequest) String() string
type RelatedLink struct {

	// The link.
	//
	// Types that are assignable to Link:
	//
	//	*RelatedLink_Hyperlink
	//	*RelatedLink_IssueReference
	Link isRelatedLink_Link `protobuf_oneof:"link"`
	// The comment number this RelatedLink was extracted from.
	SourceCommentNumber int32 `protobuf:"varint,3,opt,name=source_comment_number,json=sourceCommentNumber,proto3" json:"source_comment_number,omitempty"`
	// contains filtered or unexported fields
}

A related link is a reference within a comment to some other entity.

func (*RelatedLink) Descriptor deprecated

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

Deprecated: Use RelatedLink.ProtoReflect.Descriptor instead.

func (x *RelatedLink) GetHyperlink() *Hyperlink

func (*RelatedLink) GetIssueReference

func (x *RelatedLink) GetIssueReference() *IssueReference
func (m *RelatedLink) GetLink() isRelatedLink_Link

func (*RelatedLink) GetSourceCommentNumber

func (x *RelatedLink) GetSourceCommentNumber() int32

func (*RelatedLink) ProtoMessage

func (*RelatedLink) ProtoMessage()

func (*RelatedLink) ProtoReflect

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

func (*RelatedLink) Reset

func (x *RelatedLink) Reset()

func (*RelatedLink) String

func (x *RelatedLink) String() string
type RelatedLink_Hyperlink struct {
	// A hyperlink.
	Hyperlink *Hyperlink `protobuf:"bytes,1,opt,name=hyperlink,proto3,oneof"`
}
type RelatedLink_IssueReference struct {
	// A reference to another issue in the tracker.
	IssueReference *IssueReference `protobuf:"bytes,2,opt,name=issue_reference,json=issueReference,proto3,oneof"`
}

type SingleValueUpdate

type SingleValueUpdate struct {

	// Output only. May be null. The value previous to this IssueUpdate.
	OldValue *anypb.Any `protobuf:"bytes,1,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	// Output only. May be null. The new value set by this IssueUpdate.
	NewValue *anypb.Any `protobuf:"bytes,2,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// contains filtered or unexported fields
}

If both old and new values are set, they will always be of the same type.

func (*SingleValueUpdate) Descriptor deprecated

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

Deprecated: Use SingleValueUpdate.ProtoReflect.Descriptor instead.

func (*SingleValueUpdate) GetNewValue

func (x *SingleValueUpdate) GetNewValue() *anypb.Any

func (*SingleValueUpdate) GetOldValue

func (x *SingleValueUpdate) GetOldValue() *anypb.Any

func (*SingleValueUpdate) ProtoMessage

func (*SingleValueUpdate) ProtoMessage()

func (*SingleValueUpdate) ProtoReflect

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

func (*SingleValueUpdate) Reset

func (x *SingleValueUpdate) Reset()

func (*SingleValueUpdate) String

func (x *SingleValueUpdate) String() string

type StatusUpdate

type StatusUpdate struct {

	// Output only. Uniquely identifies the issue this statusUpdate belongs to.
	IssueId int64 `protobuf:"varint,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// StatusUpdate entered by the user.
	UpdateText string `protobuf:"bytes,2,opt,name=update_text,json=updateText,proto3" json:"update_text,omitempty"`
	// Output only. The user who authored this status update.
	Author *User `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"`
	// Output only. The time that this statusUpdate was created
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Current status of the status update
	EntityStatus *EntityStatus `protobuf:"bytes,8,opt,name=entity_status,json=entityStatus,proto3" json:"entity_status,omitempty"`
	// contains filtered or unexported fields
}

The StatusUpdate field on an issue.

func (*StatusUpdate) Descriptor deprecated

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

Deprecated: Use StatusUpdate.ProtoReflect.Descriptor instead.

func (*StatusUpdate) GetAuthor

func (x *StatusUpdate) GetAuthor() *User

func (*StatusUpdate) GetEntityStatus

func (x *StatusUpdate) GetEntityStatus() *EntityStatus

func (*StatusUpdate) GetIssueId

func (x *StatusUpdate) GetIssueId() int64

func (*StatusUpdate) GetUpdateText

func (x *StatusUpdate) GetUpdateText() string

func (*StatusUpdate) GetUpdateTime

func (x *StatusUpdate) GetUpdateTime() *timestamppb.Timestamp

func (*StatusUpdate) ProtoMessage

func (*StatusUpdate) ProtoMessage()

func (*StatusUpdate) ProtoReflect

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

func (*StatusUpdate) Reset

func (x *StatusUpdate) Reset()

func (*StatusUpdate) String

func (x *StatusUpdate) String() string

type UnimplementedIssueTrackerServer

type UnimplementedIssueTrackerServer struct {
}

UnimplementedIssueTrackerServer can be embedded to have forward compatible implementations.

func (*UnimplementedIssueTrackerServer) BatchGetIssues

func (*UnimplementedIssueTrackerServer) CreateHotlistEntry

func (*UnimplementedIssueTrackerServer) CreateIssue

func (*UnimplementedIssueTrackerServer) CreateIssueComment

func (*UnimplementedIssueTrackerServer) CreateIssueRelationship

func (*UnimplementedIssueTrackerServer) DeleteHotlistEntry

func (*UnimplementedIssueTrackerServer) GetAutomationAccess

func (*UnimplementedIssueTrackerServer) GetComponent

func (*UnimplementedIssueTrackerServer) GetIssue

func (*UnimplementedIssueTrackerServer) ListAttachments

func (*UnimplementedIssueTrackerServer) ListIssueComments

func (*UnimplementedIssueTrackerServer) ListIssueUpdates

func (*UnimplementedIssueTrackerServer) ListIssues

func (*UnimplementedIssueTrackerServer) ModifyIssue

func (*UnimplementedIssueTrackerServer) UpdateIssueComment

type UpdateIssueCommentRequest

type UpdateIssueCommentRequest struct {

	// Numeric ID of the issue.
	IssueId int64 `protobuf:"varint,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// The comment index of the particular issue, must match an existing number
	CommentNumber int32 `protobuf:"varint,2,opt,name=comment_number,json=commentNumber,proto3" json:"comment_number,omitempty"`
	// The new summary for the comment
	Comment *IssueComment `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

Request object for IssueTracker.UpdateIssueComment.

func (*UpdateIssueCommentRequest) Descriptor deprecated

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

Deprecated: Use UpdateIssueCommentRequest.ProtoReflect.Descriptor instead.

func (*UpdateIssueCommentRequest) GetComment

func (x *UpdateIssueCommentRequest) GetComment() *IssueComment

func (*UpdateIssueCommentRequest) GetCommentNumber

func (x *UpdateIssueCommentRequest) GetCommentNumber() int32

func (*UpdateIssueCommentRequest) GetIssueId

func (x *UpdateIssueCommentRequest) GetIssueId() int64

func (*UpdateIssueCommentRequest) ProtoMessage

func (*UpdateIssueCommentRequest) ProtoMessage()

func (*UpdateIssueCommentRequest) ProtoReflect

func (*UpdateIssueCommentRequest) Reset

func (x *UpdateIssueCommentRequest) Reset()

func (*UpdateIssueCommentRequest) String

func (x *UpdateIssueCommentRequest) String() string

type User

type User struct {

	// The user's email address, including domain name.
	// Blank (i.e. the empty string) if the user's identity is not visible to
	// the caller.
	EmailAddress string `protobuf:"bytes,1,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
	// Output only. A displayable obfuscated email address. Cannot be used to
	// update data, but may be present when retrieving data if the canonical
	// email_address is not visible to the caller.
	ObfuscatedEmailAddress string `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents a user. The canonical identifier for a user is the email address. This MUST be set when updating data. When retrieving data, in some cases the canonical email address may not be visible to the caller. In this case, the email_address field will be left blank, and one of the other non-canonical fields may be set in its place.

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmailAddress

func (x *User) GetEmailAddress() string

func (*User) GetObfuscatedEmailAddress

func (x *User) GetObfuscatedEmailAddress() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

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