Package cloud.google.com/go/securesourcemanager/apiv1/securesourcemanagerpb (v1.4.1)

Constants

SecureSourceManager_ListInstances_FullMethodName, SecureSourceManager_GetInstance_FullMethodName, SecureSourceManager_CreateInstance_FullMethodName, SecureSourceManager_DeleteInstance_FullMethodName, SecureSourceManager_ListRepositories_FullMethodName, SecureSourceManager_GetRepository_FullMethodName, SecureSourceManager_CreateRepository_FullMethodName, SecureSourceManager_UpdateRepository_FullMethodName, SecureSourceManager_DeleteRepository_FullMethodName, SecureSourceManager_ListHooks_FullMethodName, SecureSourceManager_GetHook_FullMethodName, SecureSourceManager_CreateHook_FullMethodName, SecureSourceManager_UpdateHook_FullMethodName, SecureSourceManager_DeleteHook_FullMethodName, SecureSourceManager_GetIamPolicyRepo_FullMethodName, SecureSourceManager_SetIamPolicyRepo_FullMethodName, SecureSourceManager_TestIamPermissionsRepo_FullMethodName, SecureSourceManager_CreateBranchRule_FullMethodName, SecureSourceManager_ListBranchRules_FullMethodName, SecureSourceManager_GetBranchRule_FullMethodName, SecureSourceManager_UpdateBranchRule_FullMethodName, SecureSourceManager_DeleteBranchRule_FullMethodName, SecureSourceManager_CreatePullRequest_FullMethodName, SecureSourceManager_GetPullRequest_FullMethodName, SecureSourceManager_ListPullRequests_FullMethodName, SecureSourceManager_UpdatePullRequest_FullMethodName, SecureSourceManager_MergePullRequest_FullMethodName, SecureSourceManager_OpenPullRequest_FullMethodName, SecureSourceManager_ClosePullRequest_FullMethodName, SecureSourceManager_ListPullRequestFileDiffs_FullMethodName, SecureSourceManager_FetchTree_FullMethodName, SecureSourceManager_FetchBlob_FullMethodName, SecureSourceManager_CreateIssue_FullMethodName, SecureSourceManager_GetIssue_FullMethodName, SecureSourceManager_ListIssues_FullMethodName, SecureSourceManager_UpdateIssue_FullMethodName, SecureSourceManager_DeleteIssue_FullMethodName, SecureSourceManager_OpenIssue_FullMethodName, SecureSourceManager_CloseIssue_FullMethodName, SecureSourceManager_GetPullRequestComment_FullMethodName, SecureSourceManager_ListPullRequestComments_FullMethodName, SecureSourceManager_CreatePullRequestComment_FullMethodName, SecureSourceManager_UpdatePullRequestComment_FullMethodName, SecureSourceManager_DeletePullRequestComment_FullMethodName, SecureSourceManager_BatchCreatePullRequestComments_FullMethodName, SecureSourceManager_ResolvePullRequestComments_FullMethodName, SecureSourceManager_UnresolvePullRequestComments_FullMethodName, SecureSourceManager_CreateIssueComment_FullMethodName, SecureSourceManager_GetIssueComment_FullMethodName, SecureSourceManager_ListIssueComments_FullMethodName, SecureSourceManager_UpdateIssueComment_FullMethodName, SecureSourceManager_DeleteIssueComment_FullMethodName

const (
	SecureSourceManager_ListInstances_FullMethodName                  = "/google.cloud.securesourcemanager.v1.SecureSourceManager/ListInstances"
	SecureSourceManager_GetInstance_FullMethodName                    = "/google.cloud.securesourcemanager.v1.SecureSourceManager/GetInstance"
	SecureSourceManager_CreateInstance_FullMethodName                 = "/google.cloud.securesourcemanager.v1.SecureSourceManager/CreateInstance"
	SecureSourceManager_DeleteInstance_FullMethodName                 = "/google.cloud.securesourcemanager.v1.SecureSourceManager/DeleteInstance"
	SecureSourceManager_ListRepositories_FullMethodName               = "/google.cloud.securesourcemanager.v1.SecureSourceManager/ListRepositories"
	SecureSourceManager_GetRepository_FullMethodName                  = "/google.cloud.securesourcemanager.v1.SecureSourceManager/GetRepository"
	SecureSourceManager_CreateRepository_FullMethodName               = "/google.cloud.securesourcemanager.v1.SecureSourceManager/CreateRepository"
	SecureSourceManager_UpdateRepository_FullMethodName               = "/google.cloud.securesourcemanager.v1.SecureSourceManager/UpdateRepository"
	SecureSourceManager_DeleteRepository_FullMethodName               = "/google.cloud.securesourcemanager.v1.SecureSourceManager/DeleteRepository"
	SecureSourceManager_ListHooks_FullMethodName                      = "/google.cloud.securesourcemanager.v1.SecureSourceManager/ListHooks"
	SecureSourceManager_GetHook_FullMethodName                        = "/google.cloud.securesourcemanager.v1.SecureSourceManager/GetHook"
	SecureSourceManager_CreateHook_FullMethodName                     = "/google.cloud.securesourcemanager.v1.SecureSourceManager/CreateHook"
	SecureSourceManager_UpdateHook_FullMethodName                     = "/google.cloud.securesourcemanager.v1.SecureSourceManager/UpdateHook"
	SecureSourceManager_DeleteHook_FullMethodName                     = "/google.cloud.securesourcemanager.v1.SecureSourceManager/DeleteHook"
	SecureSourceManager_GetIamPolicyRepo_FullMethodName               = "/google.cloud.securesourcemanager.v1.SecureSourceManager/GetIamPolicyRepo"
	SecureSourceManager_SetIamPolicyRepo_FullMethodName               = "/google.cloud.securesourcemanager.v1.SecureSourceManager/SetIamPolicyRepo"
	SecureSourceManager_TestIamPermissionsRepo_FullMethodName         = "/google.cloud.securesourcemanager.v1.SecureSourceManager/TestIamPermissionsRepo"
	SecureSourceManager_CreateBranchRule_FullMethodName               = "/google.cloud.securesourcemanager.v1.SecureSourceManager/CreateBranchRule"
	SecureSourceManager_ListBranchRules_FullMethodName                = "/google.cloud.securesourcemanager.v1.SecureSourceManager/ListBranchRules"
	SecureSourceManager_GetBranchRule_FullMethodName                  = "/google.cloud.securesourcemanager.v1.SecureSourceManager/GetBranchRule"
	SecureSourceManager_UpdateBranchRule_FullMethodName               = "/google.cloud.securesourcemanager.v1.SecureSourceManager/UpdateBranchRule"
	SecureSourceManager_DeleteBranchRule_FullMethodName               = "/google.cloud.securesourcemanager.v1.SecureSourceManager/DeleteBranchRule"
	SecureSourceManager_CreatePullRequest_FullMethodName              = "/google.cloud.securesourcemanager.v1.SecureSourceManager/CreatePullRequest"
	SecureSourceManager_GetPullRequest_FullMethodName                 = "/google.cloud.securesourcemanager.v1.SecureSourceManager/GetPullRequest"
	SecureSourceManager_ListPullRequests_FullMethodName               = "/google.cloud.securesourcemanager.v1.SecureSourceManager/ListPullRequests"
	SecureSourceManager_UpdatePullRequest_FullMethodName              = "/google.cloud.securesourcemanager.v1.SecureSourceManager/UpdatePullRequest"
	SecureSourceManager_MergePullRequest_FullMethodName               = "/google.cloud.securesourcemanager.v1.SecureSourceManager/MergePullRequest"
	SecureSourceManager_OpenPullRequest_FullMethodName                = "/google.cloud.securesourcemanager.v1.SecureSourceManager/OpenPullRequest"
	SecureSourceManager_ClosePullRequest_FullMethodName               = "/google.cloud.securesourcemanager.v1.SecureSourceManager/ClosePullRequest"
	SecureSourceManager_ListPullRequestFileDiffs_FullMethodName       = "/google.cloud.securesourcemanager.v1.SecureSourceManager/ListPullRequestFileDiffs"
	SecureSourceManager_FetchTree_FullMethodName                      = "/google.cloud.securesourcemanager.v1.SecureSourceManager/FetchTree"
	SecureSourceManager_FetchBlob_FullMethodName                      = "/google.cloud.securesourcemanager.v1.SecureSourceManager/FetchBlob"
	SecureSourceManager_CreateIssue_FullMethodName                    = "/google.cloud.securesourcemanager.v1.SecureSourceManager/CreateIssue"
	SecureSourceManager_GetIssue_FullMethodName                       = "/google.cloud.securesourcemanager.v1.SecureSourceManager/GetIssue"
	SecureSourceManager_ListIssues_FullMethodName                     = "/google.cloud.securesourcemanager.v1.SecureSourceManager/ListIssues"
	SecureSourceManager_UpdateIssue_FullMethodName                    = "/google.cloud.securesourcemanager.v1.SecureSourceManager/UpdateIssue"
	SecureSourceManager_DeleteIssue_FullMethodName                    = "/google.cloud.securesourcemanager.v1.SecureSourceManager/DeleteIssue"
	SecureSourceManager_OpenIssue_FullMethodName                      = "/google.cloud.securesourcemanager.v1.SecureSourceManager/OpenIssue"
	SecureSourceManager_CloseIssue_FullMethodName                     = "/google.cloud.securesourcemanager.v1.SecureSourceManager/CloseIssue"
	SecureSourceManager_GetPullRequestComment_FullMethodName          = "/google.cloud.securesourcemanager.v1.SecureSourceManager/GetPullRequestComment"
	SecureSourceManager_ListPullRequestComments_FullMethodName        = "/google.cloud.securesourcemanager.v1.SecureSourceManager/ListPullRequestComments"
	SecureSourceManager_CreatePullRequestComment_FullMethodName       = "/google.cloud.securesourcemanager.v1.SecureSourceManager/CreatePullRequestComment"
	SecureSourceManager_UpdatePullRequestComment_FullMethodName       = "/google.cloud.securesourcemanager.v1.SecureSourceManager/UpdatePullRequestComment"
	SecureSourceManager_DeletePullRequestComment_FullMethodName       = "/google.cloud.securesourcemanager.v1.SecureSourceManager/DeletePullRequestComment"
	SecureSourceManager_BatchCreatePullRequestComments_FullMethodName = "/google.cloud.securesourcemanager.v1.SecureSourceManager/BatchCreatePullRequestComments"
	SecureSourceManager_ResolvePullRequestComments_FullMethodName     = "/google.cloud.securesourcemanager.v1.SecureSourceManager/ResolvePullRequestComments"
	SecureSourceManager_UnresolvePullRequestComments_FullMethodName   = "/google.cloud.securesourcemanager.v1.SecureSourceManager/UnresolvePullRequestComments"
	SecureSourceManager_CreateIssueComment_FullMethodName             = "/google.cloud.securesourcemanager.v1.SecureSourceManager/CreateIssueComment"
	SecureSourceManager_GetIssueComment_FullMethodName                = "/google.cloud.securesourcemanager.v1.SecureSourceManager/GetIssueComment"
	SecureSourceManager_ListIssueComments_FullMethodName              = "/google.cloud.securesourcemanager.v1.SecureSourceManager/ListIssueComments"
	SecureSourceManager_UpdateIssueComment_FullMethodName             = "/google.cloud.securesourcemanager.v1.SecureSourceManager/UpdateIssueComment"
	SecureSourceManager_DeleteIssueComment_FullMethodName             = "/google.cloud.securesourcemanager.v1.SecureSourceManager/DeleteIssueComment"
)

Variables

Instance_State_name, Instance_State_value

var (
	Instance_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "DELETING",
		4: "PAUSED",
		6: "UNKNOWN",
	}
	Instance_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"DELETING":          3,
		"PAUSED":            4,
		"UNKNOWN":           6,
	}
)

Enum value maps for Instance_State.

Instance_StateNote_name, Instance_StateNote_value

var (
	Instance_StateNote_name = map[int32]string{
		0: "STATE_NOTE_UNSPECIFIED",
		1: "PAUSED_CMEK_UNAVAILABLE",
		2: "INSTANCE_RESUMING",
	}
	Instance_StateNote_value = map[string]int32{
		"STATE_NOTE_UNSPECIFIED":  0,
		"PAUSED_CMEK_UNAVAILABLE": 1,
		"INSTANCE_RESUMING":       2,
	}
)

Enum value maps for Instance_StateNote.

Hook_HookEventType_name, Hook_HookEventType_value

var (
	Hook_HookEventType_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "PUSH",
		2: "PULL_REQUEST",
	}
	Hook_HookEventType_value = map[string]int32{
		"UNSPECIFIED":  0,
		"PUSH":         1,
		"PULL_REQUEST": 2,
	}
)

Enum value maps for Hook_HookEventType.

PullRequest_State_name, PullRequest_State_value

var (
	PullRequest_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "OPEN",
		2: "CLOSED",
		3: "MERGED",
	}
	PullRequest_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"OPEN":              1,
		"CLOSED":            2,
		"MERGED":            3,
	}
)

Enum value maps for PullRequest_State.

FileDiff_Action_name, FileDiff_Action_value

var (
	FileDiff_Action_name = map[int32]string{
		0: "ACTION_UNSPECIFIED",
		1: "ADDED",
		2: "MODIFIED",
		3: "DELETED",
	}
	FileDiff_Action_value = map[string]int32{
		"ACTION_UNSPECIFIED": 0,
		"ADDED":              1,
		"MODIFIED":           2,
		"DELETED":            3,
	}
)

Enum value maps for FileDiff_Action.

Issue_State_name, Issue_State_value

var (
	Issue_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "OPEN",
		2: "CLOSED",
	}
	Issue_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"OPEN":              1,
		"CLOSED":            2,
	}
)

Enum value maps for Issue_State.

PullRequestComment_Review_ActionType_name, PullRequestComment_Review_ActionType_value

var (
	PullRequestComment_Review_ActionType_name = map[int32]string{
		0: "ACTION_TYPE_UNSPECIFIED",
		1: "COMMENT",
		2: "CHANGE_REQUESTED",
		3: "APPROVED",
	}
	PullRequestComment_Review_ActionType_value = map[string]int32{
		"ACTION_TYPE_UNSPECIFIED": 0,
		"COMMENT":                 1,
		"CHANGE_REQUESTED":        2,
		"APPROVED":                3,
	}
)

Enum value maps for PullRequestComment_Review_ActionType.

TreeEntry_ObjectType_name, TreeEntry_ObjectType_value

var (
	TreeEntry_ObjectType_name = map[int32]string{
		0: "OBJECT_TYPE_UNSPECIFIED",
		1: "TREE",
		2: "BLOB",
		3: "COMMIT",
	}
	TreeEntry_ObjectType_value = map[string]int32{
		"OBJECT_TYPE_UNSPECIFIED": 0,
		"TREE":                    1,
		"BLOB":                    2,
		"COMMIT":                  3,
	}
)

Enum value maps for TreeEntry_ObjectType.

File_google_cloud_securesourcemanager_v1_secure_source_manager_proto

var File_google_cloud_securesourcemanager_v1_secure_source_manager_proto protoreflect.FileDescriptor

SecureSourceManager_ServiceDesc

var SecureSourceManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.securesourcemanager.v1.SecureSourceManager",
	HandlerType: (*SecureSourceManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListInstances",
			Handler:    _SecureSourceManager_ListInstances_Handler,
		},
		{
			MethodName: "GetInstance",
			Handler:    _SecureSourceManager_GetInstance_Handler,
		},
		{
			MethodName: "CreateInstance",
			Handler:    _SecureSourceManager_CreateInstance_Handler,
		},
		{
			MethodName: "DeleteInstance",
			Handler:    _SecureSourceManager_DeleteInstance_Handler,
		},
		{
			MethodName: "ListRepositories",
			Handler:    _SecureSourceManager_ListRepositories_Handler,
		},
		{
			MethodName: "GetRepository",
			Handler:    _SecureSourceManager_GetRepository_Handler,
		},
		{
			MethodName: "CreateRepository",
			Handler:    _SecureSourceManager_CreateRepository_Handler,
		},
		{
			MethodName: "UpdateRepository",
			Handler:    _SecureSourceManager_UpdateRepository_Handler,
		},
		{
			MethodName: "DeleteRepository",
			Handler:    _SecureSourceManager_DeleteRepository_Handler,
		},
		{
			MethodName: "ListHooks",
			Handler:    _SecureSourceManager_ListHooks_Handler,
		},
		{
			MethodName: "GetHook",
			Handler:    _SecureSourceManager_GetHook_Handler,
		},
		{
			MethodName: "CreateHook",
			Handler:    _SecureSourceManager_CreateHook_Handler,
		},
		{
			MethodName: "UpdateHook",
			Handler:    _SecureSourceManager_UpdateHook_Handler,
		},
		{
			MethodName: "DeleteHook",
			Handler:    _SecureSourceManager_DeleteHook_Handler,
		},
		{
			MethodName: "GetIamPolicyRepo",
			Handler:    _SecureSourceManager_GetIamPolicyRepo_Handler,
		},
		{
			MethodName: "SetIamPolicyRepo",
			Handler:    _SecureSourceManager_SetIamPolicyRepo_Handler,
		},
		{
			MethodName: "TestIamPermissionsRepo",
			Handler:    _SecureSourceManager_TestIamPermissionsRepo_Handler,
		},
		{
			MethodName: "CreateBranchRule",
			Handler:    _SecureSourceManager_CreateBranchRule_Handler,
		},
		{
			MethodName: "ListBranchRules",
			Handler:    _SecureSourceManager_ListBranchRules_Handler,
		},
		{
			MethodName: "GetBranchRule",
			Handler:    _SecureSourceManager_GetBranchRule_Handler,
		},
		{
			MethodName: "UpdateBranchRule",
			Handler:    _SecureSourceManager_UpdateBranchRule_Handler,
		},
		{
			MethodName: "DeleteBranchRule",
			Handler:    _SecureSourceManager_DeleteBranchRule_Handler,
		},
		{
			MethodName: "CreatePullRequest",
			Handler:    _SecureSourceManager_CreatePullRequest_Handler,
		},
		{
			MethodName: "GetPullRequest",
			Handler:    _SecureSourceManager_GetPullRequest_Handler,
		},
		{
			MethodName: "ListPullRequests",
			Handler:    _SecureSourceManager_ListPullRequests_Handler,
		},
		{
			MethodName: "UpdatePullRequest",
			Handler:    _SecureSourceManager_UpdatePullRequest_Handler,
		},
		{
			MethodName: "MergePullRequest",
			Handler:    _SecureSourceManager_MergePullRequest_Handler,
		},
		{
			MethodName: "OpenPullRequest",
			Handler:    _SecureSourceManager_OpenPullRequest_Handler,
		},
		{
			MethodName: "ClosePullRequest",
			Handler:    _SecureSourceManager_ClosePullRequest_Handler,
		},
		{
			MethodName: "ListPullRequestFileDiffs",
			Handler:    _SecureSourceManager_ListPullRequestFileDiffs_Handler,
		},
		{
			MethodName: "FetchTree",
			Handler:    _SecureSourceManager_FetchTree_Handler,
		},
		{
			MethodName: "FetchBlob",
			Handler:    _SecureSourceManager_FetchBlob_Handler,
		},
		{
			MethodName: "CreateIssue",
			Handler:    _SecureSourceManager_CreateIssue_Handler,
		},
		{
			MethodName: "GetIssue",
			Handler:    _SecureSourceManager_GetIssue_Handler,
		},
		{
			MethodName: "ListIssues",
			Handler:    _SecureSourceManager_ListIssues_Handler,
		},
		{
			MethodName: "UpdateIssue",
			Handler:    _SecureSourceManager_UpdateIssue_Handler,
		},
		{
			MethodName: "DeleteIssue",
			Handler:    _SecureSourceManager_DeleteIssue_Handler,
		},
		{
			MethodName: "OpenIssue",
			Handler:    _SecureSourceManager_OpenIssue_Handler,
		},
		{
			MethodName: "CloseIssue",
			Handler:    _SecureSourceManager_CloseIssue_Handler,
		},
		{
			MethodName: "GetPullRequestComment",
			Handler:    _SecureSourceManager_GetPullRequestComment_Handler,
		},
		{
			MethodName: "ListPullRequestComments",
			Handler:    _SecureSourceManager_ListPullRequestComments_Handler,
		},
		{
			MethodName: "CreatePullRequestComment",
			Handler:    _SecureSourceManager_CreatePullRequestComment_Handler,
		},
		{
			MethodName: "UpdatePullRequestComment",
			Handler:    _SecureSourceManager_UpdatePullRequestComment_Handler,
		},
		{
			MethodName: "DeletePullRequestComment",
			Handler:    _SecureSourceManager_DeletePullRequestComment_Handler,
		},
		{
			MethodName: "BatchCreatePullRequestComments",
			Handler:    _SecureSourceManager_BatchCreatePullRequestComments_Handler,
		},
		{
			MethodName: "ResolvePullRequestComments",
			Handler:    _SecureSourceManager_ResolvePullRequestComments_Handler,
		},
		{
			MethodName: "UnresolvePullRequestComments",
			Handler:    _SecureSourceManager_UnresolvePullRequestComments_Handler,
		},
		{
			MethodName: "CreateIssueComment",
			Handler:    _SecureSourceManager_CreateIssueComment_Handler,
		},
		{
			MethodName: "GetIssueComment",
			Handler:    _SecureSourceManager_GetIssueComment_Handler,
		},
		{
			MethodName: "ListIssueComments",
			Handler:    _SecureSourceManager_ListIssueComments_Handler,
		},
		{
			MethodName: "UpdateIssueComment",
			Handler:    _SecureSourceManager_UpdateIssueComment_Handler,
		},
		{
			MethodName: "DeleteIssueComment",
			Handler:    _SecureSourceManager_DeleteIssueComment_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/securesourcemanager/v1/secure_source_manager.proto",
}

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

Functions

func RegisterSecureSourceManagerServer

func RegisterSecureSourceManagerServer(s grpc.ServiceRegistrar, srv SecureSourceManagerServer)

BatchCreatePullRequestCommentsRequest

type BatchCreatePullRequestCommentsRequest struct {

	// Required. The pull request in which to create the pull request comments.
	// Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The request message specifying the resources to create. There
	// should be exactly one CreatePullRequestCommentRequest with CommentDetail
	// being REVIEW in the list, and no more than 100
	// CreatePullRequestCommentRequests with CommentDetail being CODE in the list
	Requests []*CreatePullRequestCommentRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

The request to batch create pull request comments.

func (*BatchCreatePullRequestCommentsRequest) Descriptor

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

Deprecated: Use BatchCreatePullRequestCommentsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreatePullRequestCommentsRequest) GetParent

func (*BatchCreatePullRequestCommentsRequest) GetRequests

func (*BatchCreatePullRequestCommentsRequest) ProtoMessage

func (*BatchCreatePullRequestCommentsRequest) ProtoMessage()

func (*BatchCreatePullRequestCommentsRequest) ProtoReflect

func (*BatchCreatePullRequestCommentsRequest) Reset

func (*BatchCreatePullRequestCommentsRequest) String

BatchCreatePullRequestCommentsResponse

type BatchCreatePullRequestCommentsResponse struct {

	// The list of pull request comments created.
	PullRequestComments []*PullRequestComment `protobuf:"bytes,1,rep,name=pull_request_comments,json=pullRequestComments,proto3" json:"pull_request_comments,omitempty"`
	// contains filtered or unexported fields
}

The response to batch create pull request comments.

func (*BatchCreatePullRequestCommentsResponse) Descriptor

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

Deprecated: Use BatchCreatePullRequestCommentsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreatePullRequestCommentsResponse) GetPullRequestComments

func (x *BatchCreatePullRequestCommentsResponse) GetPullRequestComments() []*PullRequestComment

func (*BatchCreatePullRequestCommentsResponse) ProtoMessage

func (*BatchCreatePullRequestCommentsResponse) ProtoReflect

func (*BatchCreatePullRequestCommentsResponse) Reset

func (*BatchCreatePullRequestCommentsResponse) String

BranchRule

type BranchRule struct {

	// Optional. A unique identifier for a BranchRule. The name should be of the
	// format:
	// `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Unique identifier of the repository.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// Output only. Create timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. User annotations. These attributes can only be set and used by
	// the user. See https://google.aip.dev/128#annotations for more details such
	// as format and size limitations.
	Annotations map[string]string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Optional. This checksum is computed by the server based on the value of
	// other fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. The pattern of the branch that can match to this BranchRule.
	// Specified as regex.
	// .* for all branches. Examples: main, (main|release.*).
	// Current MVP phase only support `.*` for wildcard.
	IncludePattern string `protobuf:"bytes,7,opt,name=include_pattern,json=includePattern,proto3" json:"include_pattern,omitempty"`
	// Optional. Determines if the branch rule is disabled or not.
	Disabled bool `protobuf:"varint,8,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Optional. Determines if the branch rule requires a pull request or not.
	RequirePullRequest bool `protobuf:"varint,9,opt,name=require_pull_request,json=requirePullRequest,proto3" json:"require_pull_request,omitempty"`
	// Optional. The minimum number of reviews required for the branch rule to be
	// matched.
	MinimumReviewsCount int32 `protobuf:"varint,10,opt,name=minimum_reviews_count,json=minimumReviewsCount,proto3" json:"minimum_reviews_count,omitempty"`
	// Optional. The minimum number of approvals required for the branch rule to
	// be matched.
	MinimumApprovalsCount int32 `protobuf:"varint,11,opt,name=minimum_approvals_count,json=minimumApprovalsCount,proto3" json:"minimum_approvals_count,omitempty"`
	// Optional. Determines if require comments resolved before merging to the
	// branch.
	RequireCommentsResolved bool `protobuf:"varint,12,opt,name=require_comments_resolved,json=requireCommentsResolved,proto3" json:"require_comments_resolved,omitempty"`
	// Optional. Determines if allow stale reviews or approvals before merging to
	// the branch.
	AllowStaleReviews bool `protobuf:"varint,15,opt,name=allow_stale_reviews,json=allowStaleReviews,proto3" json:"allow_stale_reviews,omitempty"`
	// Optional. Determines if require linear history before merging to the
	// branch.
	RequireLinearHistory bool `protobuf:"varint,13,opt,name=require_linear_history,json=requireLinearHistory,proto3" json:"require_linear_history,omitempty"`
	// Optional. List of required status checks before merging to the branch.
	RequiredStatusChecks []*BranchRule_Check `protobuf:"bytes,14,rep,name=required_status_checks,json=requiredStatusChecks,proto3" json:"required_status_checks,omitempty"`
	// contains filtered or unexported fields
}

Metadata of a BranchRule. BranchRule is the protection rule to enforce pre-defined rules on designated branches within a repository.

func (*BranchRule) Descriptor

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

Deprecated: Use BranchRule.ProtoReflect.Descriptor instead.

func (*BranchRule) GetAllowStaleReviews

func (x *BranchRule) GetAllowStaleReviews() bool

func (*BranchRule) GetAnnotations

func (x *BranchRule) GetAnnotations() map[string]string

func (*BranchRule) GetCreateTime

func (x *BranchRule) GetCreateTime() *timestamppb.Timestamp

func (*BranchRule) GetDisabled

func (x *BranchRule) GetDisabled() bool

func (*BranchRule) GetEtag

func (x *BranchRule) GetEtag() string

func (*BranchRule) GetIncludePattern

func (x *BranchRule) GetIncludePattern() string

func (*BranchRule) GetMinimumApprovalsCount

func (x *BranchRule) GetMinimumApprovalsCount() int32

func (*BranchRule) GetMinimumReviewsCount

func (x *BranchRule) GetMinimumReviewsCount() int32

func (*BranchRule) GetName

func (x *BranchRule) GetName() string

func (*BranchRule) GetRequireCommentsResolved

func (x *BranchRule) GetRequireCommentsResolved() bool

func (*BranchRule) GetRequireLinearHistory

func (x *BranchRule) GetRequireLinearHistory() bool

func (*BranchRule) GetRequirePullRequest

func (x *BranchRule) GetRequirePullRequest() bool

func (*BranchRule) GetRequiredStatusChecks

func (x *BranchRule) GetRequiredStatusChecks() []*BranchRule_Check

func (*BranchRule) GetUid

func (x *BranchRule) GetUid() string

func (*BranchRule) GetUpdateTime

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

func (*BranchRule) ProtoMessage

func (*BranchRule) ProtoMessage()

func (*BranchRule) ProtoReflect

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

func (*BranchRule) Reset

func (x *BranchRule) Reset()

func (*BranchRule) String

func (x *BranchRule) String() string

BranchRule_Check

type BranchRule_Check struct {

	// Required. The context of the check.
	Context string `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

Check is a type for status check.

func (*BranchRule_Check) Descriptor

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

Deprecated: Use BranchRule_Check.ProtoReflect.Descriptor instead.

func (*BranchRule_Check) GetContext

func (x *BranchRule_Check) GetContext() string

func (*BranchRule_Check) ProtoMessage

func (*BranchRule_Check) ProtoMessage()

func (*BranchRule_Check) ProtoReflect

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

func (*BranchRule_Check) Reset

func (x *BranchRule_Check) Reset()

func (*BranchRule_Check) String

func (x *BranchRule_Check) String() string

CloseIssueRequest

type CloseIssueRequest struct {

	// Required. Name of the issue to close.
	// The format is
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The current etag of the issue.
	// If the etag is provided and does not match the current etag of the issue,
	// closing will be blocked and an ABORTED error will be returned.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

The request to close an issue.

func (*CloseIssueRequest) Descriptor

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

Deprecated: Use CloseIssueRequest.ProtoReflect.Descriptor instead.

func (*CloseIssueRequest) GetEtag

func (x *CloseIssueRequest) GetEtag() string

func (*CloseIssueRequest) GetName

func (x *CloseIssueRequest) GetName() string

func (*CloseIssueRequest) ProtoMessage

func (*CloseIssueRequest) ProtoMessage()

func (*CloseIssueRequest) ProtoReflect

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

func (*CloseIssueRequest) Reset

func (x *CloseIssueRequest) Reset()

func (*CloseIssueRequest) String

func (x *CloseIssueRequest) String() string

ClosePullRequestRequest

type ClosePullRequestRequest struct {

	// Required. The pull request to close.
	// Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

ClosePullRequestRequest is the request to close a pull request.

func (*ClosePullRequestRequest) Descriptor

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

Deprecated: Use ClosePullRequestRequest.ProtoReflect.Descriptor instead.

func (*ClosePullRequestRequest) GetName

func (x *ClosePullRequestRequest) GetName() string

func (*ClosePullRequestRequest) ProtoMessage

func (*ClosePullRequestRequest) ProtoMessage()

func (*ClosePullRequestRequest) ProtoReflect

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

func (*ClosePullRequestRequest) Reset

func (x *ClosePullRequestRequest) Reset()

func (*ClosePullRequestRequest) String

func (x *ClosePullRequestRequest) String() string

CreateBranchRuleRequest

type CreateBranchRuleRequest struct {
	Parent       string      `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	BranchRule   *BranchRule `protobuf:"bytes,2,opt,name=branch_rule,json=branchRule,proto3" json:"branch_rule,omitempty"`
	BranchRuleId string      `protobuf:"bytes,3,opt,name=branch_rule_id,json=branchRuleId,proto3" json:"branch_rule_id,omitempty"`
	// contains filtered or unexported fields
}

CreateBranchRuleRequest is the request to create a branch rule.

func (*CreateBranchRuleRequest) Descriptor

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

Deprecated: Use CreateBranchRuleRequest.ProtoReflect.Descriptor instead.

func (*CreateBranchRuleRequest) GetBranchRule

func (x *CreateBranchRuleRequest) GetBranchRule() *BranchRule

func (*CreateBranchRuleRequest) GetBranchRuleId

func (x *CreateBranchRuleRequest) GetBranchRuleId() string

func (*CreateBranchRuleRequest) GetParent

func (x *CreateBranchRuleRequest) GetParent() string

func (*CreateBranchRuleRequest) ProtoMessage

func (*CreateBranchRuleRequest) ProtoMessage()

func (*CreateBranchRuleRequest) ProtoReflect

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

func (*CreateBranchRuleRequest) Reset

func (x *CreateBranchRuleRequest) Reset()

func (*CreateBranchRuleRequest) String

func (x *CreateBranchRuleRequest) String() string

CreateHookRequest

type CreateHookRequest struct {

	// Required. The repository in which to create the hook. Values are of the
	// form
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The resource being created.
	Hook *Hook `protobuf:"bytes,2,opt,name=hook,proto3" json:"hook,omitempty"`
	// Required. The ID to use for the hook, which will become the final component
	// of the hook's resource name. This value restricts to lower-case letters,
	// numbers, and hyphen, with the first character a letter, the last a letter
	// or a number, and a 63 character maximum.
	HookId string `protobuf:"bytes,3,opt,name=hook_id,json=hookId,proto3" json:"hook_id,omitempty"`
	// contains filtered or unexported fields
}

CreateHookRequest is the request for creating a hook.

func (*CreateHookRequest) Descriptor

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

Deprecated: Use CreateHookRequest.ProtoReflect.Descriptor instead.

func (*CreateHookRequest) GetHook

func (x *CreateHookRequest) GetHook() *Hook

func (*CreateHookRequest) GetHookId

func (x *CreateHookRequest) GetHookId() string

func (*CreateHookRequest) GetParent

func (x *CreateHookRequest) GetParent() string

func (*CreateHookRequest) ProtoMessage

func (*CreateHookRequest) ProtoMessage()

func (*CreateHookRequest) ProtoReflect

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

func (*CreateHookRequest) Reset

func (x *CreateHookRequest) Reset()

func (*CreateHookRequest) String

func (x *CreateHookRequest) String() string

CreateInstanceRequest

type CreateInstanceRequest struct {

	// Required. Value for parent.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. ID of the instance to be created.
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// Required. The resource being created.
	Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

CreateInstanceRequest is the request for creating an instance.

func (*CreateInstanceRequest) Descriptor

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

Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateInstanceRequest) GetInstance

func (x *CreateInstanceRequest) GetInstance() *Instance

func (*CreateInstanceRequest) GetInstanceId

func (x *CreateInstanceRequest) GetInstanceId() string

func (*CreateInstanceRequest) GetParent

func (x *CreateInstanceRequest) GetParent() string

func (*CreateInstanceRequest) GetRequestId

func (x *CreateInstanceRequest) GetRequestId() string

func (*CreateInstanceRequest) ProtoMessage

func (*CreateInstanceRequest) ProtoMessage()

func (*CreateInstanceRequest) ProtoReflect

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

func (*CreateInstanceRequest) Reset

func (x *CreateInstanceRequest) Reset()

func (*CreateInstanceRequest) String

func (x *CreateInstanceRequest) String() string

CreateIssueCommentRequest

type CreateIssueCommentRequest struct {

	// Required. The issue in which to create the issue comment. Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The issue comment to create.
	IssueComment *IssueComment `protobuf:"bytes,2,opt,name=issue_comment,json=issueComment,proto3" json:"issue_comment,omitempty"`
	// contains filtered or unexported fields
}

The request to create an issue comment.

func (*CreateIssueCommentRequest) Descriptor

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

Deprecated: Use CreateIssueCommentRequest.ProtoReflect.Descriptor instead.

func (*CreateIssueCommentRequest) GetIssueComment

func (x *CreateIssueCommentRequest) GetIssueComment() *IssueComment

func (*CreateIssueCommentRequest) GetParent

func (x *CreateIssueCommentRequest) GetParent() string

func (*CreateIssueCommentRequest) ProtoMessage

func (*CreateIssueCommentRequest) ProtoMessage()

func (*CreateIssueCommentRequest) ProtoReflect

func (*CreateIssueCommentRequest) Reset

func (x *CreateIssueCommentRequest) Reset()

func (*CreateIssueCommentRequest) String

func (x *CreateIssueCommentRequest) String() string

CreateIssueRequest

type CreateIssueRequest struct {

	// Required. The repository in which to create the issue. Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The issue to create.
	Issue *Issue `protobuf:"bytes,2,opt,name=issue,proto3" json:"issue,omitempty"`
	// contains filtered or unexported fields
}

The request to create an issue.

func (*CreateIssueRequest) Descriptor

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

Deprecated: Use CreateIssueRequest.ProtoReflect.Descriptor instead.

func (*CreateIssueRequest) GetIssue

func (x *CreateIssueRequest) GetIssue() *Issue

func (*CreateIssueRequest) GetParent

func (x *CreateIssueRequest) GetParent() string

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

CreatePullRequestCommentRequest

type CreatePullRequestCommentRequest struct {

	// Required. The pull request in which to create the pull request comment.
	// Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The pull request comment to create.
	PullRequestComment *PullRequestComment `protobuf:"bytes,2,opt,name=pull_request_comment,json=pullRequestComment,proto3" json:"pull_request_comment,omitempty"`
	// contains filtered or unexported fields
}

The request to create a pull request comment.

func (*CreatePullRequestCommentRequest) Descriptor

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

Deprecated: Use CreatePullRequestCommentRequest.ProtoReflect.Descriptor instead.

func (*CreatePullRequestCommentRequest) GetParent

func (x *CreatePullRequestCommentRequest) GetParent() string

func (*CreatePullRequestCommentRequest) GetPullRequestComment

func (x *CreatePullRequestCommentRequest) GetPullRequestComment() *PullRequestComment

func (*CreatePullRequestCommentRequest) ProtoMessage

func (*CreatePullRequestCommentRequest) ProtoMessage()

func (*CreatePullRequestCommentRequest) ProtoReflect

func (*CreatePullRequestCommentRequest) Reset

func (*CreatePullRequestCommentRequest) String

CreatePullRequestRequest

type CreatePullRequestRequest struct {

	// Required. The repository that the pull request is created from. Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The pull request to create.
	PullRequest *PullRequest `protobuf:"bytes,2,opt,name=pull_request,json=pullRequest,proto3" json:"pull_request,omitempty"`
	// contains filtered or unexported fields
}

CreatePullRequestRequest is the request to create a pull request.

func (*CreatePullRequestRequest) Descriptor

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

Deprecated: Use CreatePullRequestRequest.ProtoReflect.Descriptor instead.

func (*CreatePullRequestRequest) GetParent

func (x *CreatePullRequestRequest) GetParent() string

func (*CreatePullRequestRequest) GetPullRequest

func (x *CreatePullRequestRequest) GetPullRequest() *PullRequest

func (*CreatePullRequestRequest) ProtoMessage

func (*CreatePullRequestRequest) ProtoMessage()

func (*CreatePullRequestRequest) ProtoReflect

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

func (*CreatePullRequestRequest) Reset

func (x *CreatePullRequestRequest) Reset()

func (*CreatePullRequestRequest) String

func (x *CreatePullRequestRequest) String() string

CreateRepositoryRequest

type CreateRepositoryRequest struct {

	// Required. The project in which to create the repository. Values are of the
	// form `projects/{project_number}/locations/{location_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The resource being created.
	Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	// Required. The ID to use for the repository, which will become the final
	// component of the repository's resource name. This value should be 4-63
	// characters, and valid characters are /[a-z][0-9]-/.
	RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// contains filtered or unexported fields
}

CreateRepositoryRequest is the request for creating a repository.

func (*CreateRepositoryRequest) Descriptor

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

Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.

func (*CreateRepositoryRequest) GetParent

func (x *CreateRepositoryRequest) GetParent() string

func (*CreateRepositoryRequest) GetRepository

func (x *CreateRepositoryRequest) GetRepository() *Repository

func (*CreateRepositoryRequest) GetRepositoryId

func (x *CreateRepositoryRequest) GetRepositoryId() string

func (*CreateRepositoryRequest) ProtoMessage

func (*CreateRepositoryRequest) ProtoMessage()

func (*CreateRepositoryRequest) ProtoReflect

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

func (*CreateRepositoryRequest) Reset

func (x *CreateRepositoryRequest) Reset()

func (*CreateRepositoryRequest) String

func (x *CreateRepositoryRequest) String() string

DeleteBranchRuleRequest

type DeleteBranchRuleRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set to true, and the branch rule is not found, the request
	// will succeed but no action will be taken on the server.
	AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

DeleteBranchRuleRequest is the request to delete a branch rule.

func (*DeleteBranchRuleRequest) Descriptor

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

Deprecated: Use DeleteBranchRuleRequest.ProtoReflect.Descriptor instead.

func (*DeleteBranchRuleRequest) GetAllowMissing

func (x *DeleteBranchRuleRequest) GetAllowMissing() bool

func (*DeleteBranchRuleRequest) GetName

func (x *DeleteBranchRuleRequest) GetName() string

func (*DeleteBranchRuleRequest) ProtoMessage

func (*DeleteBranchRuleRequest) ProtoMessage()

func (*DeleteBranchRuleRequest) ProtoReflect

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

func (*DeleteBranchRuleRequest) Reset

func (x *DeleteBranchRuleRequest) Reset()

func (*DeleteBranchRuleRequest) String

func (x *DeleteBranchRuleRequest) String() string

DeleteHookRequest

type DeleteHookRequest struct {

	// Required. Name of the hook to delete.
	// The format is
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteHookRequest is the request to delete a hook.

func (*DeleteHookRequest) Descriptor

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

Deprecated: Use DeleteHookRequest.ProtoReflect.Descriptor instead.

func (*DeleteHookRequest) GetName

func (x *DeleteHookRequest) GetName() string

func (*DeleteHookRequest) ProtoMessage

func (*DeleteHookRequest) ProtoMessage()

func (*DeleteHookRequest) ProtoReflect

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

func (*DeleteHookRequest) Reset

func (x *DeleteHookRequest) Reset()

func (*DeleteHookRequest) String

func (x *DeleteHookRequest) String() string

DeleteInstanceRequest

type DeleteInstanceRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

DeleteInstanceRequest is the request for deleting an instance.

func (*DeleteInstanceRequest) Descriptor

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

Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.

func (*DeleteInstanceRequest) GetName

func (x *DeleteInstanceRequest) GetName() string

func (*DeleteInstanceRequest) GetRequestId

func (x *DeleteInstanceRequest) GetRequestId() string

func (*DeleteInstanceRequest) ProtoMessage

func (*DeleteInstanceRequest) ProtoMessage()

func (*DeleteInstanceRequest) ProtoReflect

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

func (*DeleteInstanceRequest) Reset

func (x *DeleteInstanceRequest) Reset()

func (*DeleteInstanceRequest) String

func (x *DeleteInstanceRequest) String() string

DeleteIssueCommentRequest

type DeleteIssueCommentRequest struct {

	// Required. Name of the issue comment to delete.
	// The format is
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}/issueComments/{comment_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request to delete an issue comment.

func (*DeleteIssueCommentRequest) Descriptor

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

Deprecated: Use DeleteIssueCommentRequest.ProtoReflect.Descriptor instead.

func (*DeleteIssueCommentRequest) GetName

func (x *DeleteIssueCommentRequest) GetName() string

func (*DeleteIssueCommentRequest) ProtoMessage

func (*DeleteIssueCommentRequest) ProtoMessage()

func (*DeleteIssueCommentRequest) ProtoReflect

func (*DeleteIssueCommentRequest) Reset

func (x *DeleteIssueCommentRequest) Reset()

func (*DeleteIssueCommentRequest) String

func (x *DeleteIssueCommentRequest) String() string

DeleteIssueRequest

type DeleteIssueRequest struct {

	// Required. Name of the issue to delete.
	// The format is
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The current etag of the issue.
	// If the etag is provided and does not match the current etag of the issue,
	// deletion will be blocked and an ABORTED error will be returned.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

The request to delete an issue.

func (*DeleteIssueRequest) Descriptor

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

Deprecated: Use DeleteIssueRequest.ProtoReflect.Descriptor instead.

func (*DeleteIssueRequest) GetEtag

func (x *DeleteIssueRequest) GetEtag() string

func (*DeleteIssueRequest) GetName

func (x *DeleteIssueRequest) GetName() string

func (*DeleteIssueRequest) ProtoMessage

func (*DeleteIssueRequest) ProtoMessage()

func (*DeleteIssueRequest) ProtoReflect

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

func (*DeleteIssueRequest) Reset

func (x *DeleteIssueRequest) Reset()

func (*DeleteIssueRequest) String

func (x *DeleteIssueRequest) String() string

DeletePullRequestCommentRequest

type DeletePullRequestCommentRequest struct {

	// Required. Name of the pull request comment to delete.
	// The format is
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request to delete a pull request comment. A Review PullRequestComment cannot be deleted.

func (*DeletePullRequestCommentRequest) Descriptor

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

Deprecated: Use DeletePullRequestCommentRequest.ProtoReflect.Descriptor instead.

func (*DeletePullRequestCommentRequest) GetName

func (*DeletePullRequestCommentRequest) ProtoMessage

func (*DeletePullRequestCommentRequest) ProtoMessage()

func (*DeletePullRequestCommentRequest) ProtoReflect

func (*DeletePullRequestCommentRequest) Reset

func (*DeletePullRequestCommentRequest) String

DeleteRepositoryRequest

type DeleteRepositoryRequest struct {

	// Required. Name of the repository to delete.
	// The format is
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set to true, and the repository is not found, the request will
	// succeed but no action will be taken on the server.
	AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

DeleteRepositoryRequest is the request to delete a repository.

func (*DeleteRepositoryRequest) Descriptor

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

Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryRequest) GetAllowMissing

func (x *DeleteRepositoryRequest) GetAllowMissing() bool

func (*DeleteRepositoryRequest) GetName

func (x *DeleteRepositoryRequest) GetName() string

func (*DeleteRepositoryRequest) ProtoMessage

func (*DeleteRepositoryRequest) ProtoMessage()

func (*DeleteRepositoryRequest) ProtoReflect

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

func (*DeleteRepositoryRequest) Reset

func (x *DeleteRepositoryRequest) Reset()

func (*DeleteRepositoryRequest) String

func (x *DeleteRepositoryRequest) String() string

FetchBlobRequest

type FetchBlobRequest struct {

	// Required. The format is
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`.
	// Specifies the repository containing the blob.
	Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// Required. The SHA-1 hash of the blob to retrieve.
	Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
	// contains filtered or unexported fields
}

Request message for fetching a blob (file content) from a repository.

func (*FetchBlobRequest) Descriptor

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

Deprecated: Use FetchBlobRequest.ProtoReflect.Descriptor instead.

func (*FetchBlobRequest) GetRepository

func (x *FetchBlobRequest) GetRepository() string

func (*FetchBlobRequest) GetSha

func (x *FetchBlobRequest) GetSha() string

func (*FetchBlobRequest) ProtoMessage

func (*FetchBlobRequest) ProtoMessage()

func (*FetchBlobRequest) ProtoReflect

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

func (*FetchBlobRequest) Reset

func (x *FetchBlobRequest) Reset()

func (*FetchBlobRequest) String

func (x *FetchBlobRequest) String() string

FetchBlobResponse

type FetchBlobResponse struct {

	// The SHA-1 hash of the blob.
	Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"`
	// The content of the blob, encoded as base64.
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

Response message containing the content of a blob.

func (*FetchBlobResponse) Descriptor

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

Deprecated: Use FetchBlobResponse.ProtoReflect.Descriptor instead.

func (*FetchBlobResponse) GetContent

func (x *FetchBlobResponse) GetContent() string

func (*FetchBlobResponse) GetSha

func (x *FetchBlobResponse) GetSha() string

func (*FetchBlobResponse) ProtoMessage

func (*FetchBlobResponse) ProtoMessage()

func (*FetchBlobResponse) ProtoReflect

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

func (*FetchBlobResponse) Reset

func (x *FetchBlobResponse) Reset()

func (*FetchBlobResponse) String

func (x *FetchBlobResponse) String() string

FetchTreeRequest

type FetchTreeRequest struct {

	// Required. The format is
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`.
	// Specifies the repository to fetch the tree from.
	Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// Optional. `ref` can be a SHA-1 hash, a branch name, or a tag. Specifies
	// which tree to fetch. If not specified, the default branch will be used.
	Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	// Optional. If true, include all subfolders and their files in the response.
	// If false, only the immediate children are returned.
	Recursive bool `protobuf:"varint,3,opt,name=recursive,proto3" json:"recursive,omitempty"`
	// Optional. Requested page size.  Server may return fewer items than
	// requested. If unspecified, at most 10,000 items will be returned.
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for fetching a tree structure from a repository.

func (*FetchTreeRequest) Descriptor

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

Deprecated: Use FetchTreeRequest.ProtoReflect.Descriptor instead.

func (*FetchTreeRequest) GetPageSize

func (x *FetchTreeRequest) GetPageSize() int32

func (*FetchTreeRequest) GetPageToken

func (x *FetchTreeRequest) GetPageToken() string

func (*FetchTreeRequest) GetRecursive

func (x *FetchTreeRequest) GetRecursive() bool

func (*FetchTreeRequest) GetRef

func (x *FetchTreeRequest) GetRef() string

func (*FetchTreeRequest) GetRepository

func (x *FetchTreeRequest) GetRepository() string

func (*FetchTreeRequest) ProtoMessage

func (*FetchTreeRequest) ProtoMessage()

func (*FetchTreeRequest) ProtoReflect

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

func (*FetchTreeRequest) Reset

func (x *FetchTreeRequest) Reset()

func (*FetchTreeRequest) String

func (x *FetchTreeRequest) String() string

FetchTreeResponse

type FetchTreeResponse struct {

	// The list of TreeEntry objects.
	TreeEntries []*TreeEntry `protobuf:"bytes,1,rep,name=tree_entries,json=treeEntries,proto3" json:"tree_entries,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message containing a list of TreeEntry objects.

func (*FetchTreeResponse) Descriptor

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

Deprecated: Use FetchTreeResponse.ProtoReflect.Descriptor instead.

func (*FetchTreeResponse) GetNextPageToken

func (x *FetchTreeResponse) GetNextPageToken() string

func (*FetchTreeResponse) GetTreeEntries

func (x *FetchTreeResponse) GetTreeEntries() []*TreeEntry

func (*FetchTreeResponse) ProtoMessage

func (*FetchTreeResponse) ProtoMessage()

func (*FetchTreeResponse) ProtoReflect

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

func (*FetchTreeResponse) Reset

func (x *FetchTreeResponse) Reset()

func (*FetchTreeResponse) String

func (x *FetchTreeResponse) String() string

FileDiff

type FileDiff struct {

	// Output only. The name of the file.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The action taken on the file (eg. added, modified, deleted).
	Action FileDiff_Action `protobuf:"varint,2,opt,name=action,proto3,enum=google.cloud.securesourcemanager.v1.FileDiff_Action" json:"action,omitempty"`
	// Output only. The commit pointing to the file changes.
	Sha string `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty"`
	// Output only. The git patch containing the file changes.
	Patch string `protobuf:"bytes,4,opt,name=patch,proto3" json:"patch,omitempty"`
	// contains filtered or unexported fields
}

Metadata of a FileDiff. FileDiff represents a single file diff in a pull request.

func (*FileDiff) Descriptor

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

Deprecated: Use FileDiff.ProtoReflect.Descriptor instead.

func (*FileDiff) GetAction

func (x *FileDiff) GetAction() FileDiff_Action

func (*FileDiff) GetName

func (x *FileDiff) GetName() string

func (*FileDiff) GetPatch

func (x *FileDiff) GetPatch() string

func (*FileDiff) GetSha

func (x *FileDiff) GetSha() string

func (*FileDiff) ProtoMessage

func (*FileDiff) ProtoMessage()

func (*FileDiff) ProtoReflect

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

func (*FileDiff) Reset

func (x *FileDiff) Reset()

func (*FileDiff) String

func (x *FileDiff) String() string

FileDiff_Action

type FileDiff_Action int32

Action taken on the file.

FileDiff_ACTION_UNSPECIFIED, FileDiff_ADDED, FileDiff_MODIFIED, FileDiff_DELETED

const (
	// Unspecified.
	FileDiff_ACTION_UNSPECIFIED FileDiff_Action = 0
	// The file was added.
	FileDiff_ADDED FileDiff_Action = 1
	// The file was modified.
	FileDiff_MODIFIED FileDiff_Action = 2
	// The file was deleted.
	FileDiff_DELETED FileDiff_Action = 3
)

func (FileDiff_Action) Descriptor

func (FileDiff_Action) Enum

func (x FileDiff_Action) Enum() *FileDiff_Action

func (FileDiff_Action) EnumDescriptor

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

Deprecated: Use FileDiff_Action.Descriptor instead.

func (FileDiff_Action) Number

func (FileDiff_Action) String

func (x FileDiff_Action) String() string

func (FileDiff_Action) Type

GetBranchRuleRequest

type GetBranchRuleRequest struct {

	// Required. Name of the repository to retrieve.
	// The format is
	// `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetBranchRuleRequest is the request for getting a branch rule.

func (*GetBranchRuleRequest) Descriptor

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

Deprecated: Use GetBranchRuleRequest.ProtoReflect.Descriptor instead.

func (*GetBranchRuleRequest) GetName

func (x *GetBranchRuleRequest) GetName() string

func (*GetBranchRuleRequest) ProtoMessage

func (*GetBranchRuleRequest) ProtoMessage()

func (*GetBranchRuleRequest) ProtoReflect

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

func (*GetBranchRuleRequest) Reset

func (x *GetBranchRuleRequest) Reset()

func (*GetBranchRuleRequest) String

func (x *GetBranchRuleRequest) String() string

GetHookRequest

type GetHookRequest struct {

	// Required. Name of the hook to retrieve.
	// The format is
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetHookRequest is the request for getting a hook.

func (*GetHookRequest) Descriptor

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

Deprecated: Use GetHookRequest.ProtoReflect.Descriptor instead.

func (*GetHookRequest) GetName

func (x *GetHookRequest) GetName() string

func (*GetHookRequest) ProtoMessage

func (*GetHookRequest) ProtoMessage()

func (*GetHookRequest) ProtoReflect

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

func (*GetHookRequest) Reset

func (x *GetHookRequest) Reset()

func (*GetHookRequest) String

func (x *GetHookRequest) String() string

GetInstanceRequest

type GetInstanceRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetInstanceRequest is the request for getting an instance.

func (*GetInstanceRequest) Descriptor

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

Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceRequest) GetName

func (x *GetInstanceRequest) GetName() string

func (*GetInstanceRequest) ProtoMessage

func (*GetInstanceRequest) ProtoMessage()

func (*GetInstanceRequest) ProtoReflect

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

func (*GetInstanceRequest) Reset

func (x *GetInstanceRequest) Reset()

func (*GetInstanceRequest) String

func (x *GetInstanceRequest) String() string

GetIssueCommentRequest

type GetIssueCommentRequest struct {

	// Required. Name of the issue comment to retrieve.
	// The format is
	// `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}/issueComments/{comment_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request to get an issue comment.

func (*GetIssueCommentRequest) Descriptor

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

Deprecated: Use GetIssueCommentRequest.ProtoReflect.Descriptor instead.

func (*GetIssueCommentRequest) GetName

func (x *GetIssueCommentRequest) GetName() string

func (*GetIssueCommentRequest) ProtoMessage

func (*GetIssueCommentRequest) ProtoMessage()

func (*GetIssueCommentRequest) ProtoReflect

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

func (*GetIssueCommentRequest) Reset

func (x *GetIssueCommentRequest) Reset()

func (*GetIssueCommentRequest) String

func (x *GetIssueCommentRequest) String() string

GetIssueRequest

type GetIssueRequest struct {

	// Required. Name of the issue to retrieve.
	// The format is
	// `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request to get an issue.

func (*GetIssueRequest) Descriptor

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

Deprecated: Use GetIssueRequest.ProtoReflect.Descriptor instead.

func (*GetIssueRequest) GetName

func (x *GetIssueRequest) GetName() string

func (*GetIssueRequest) ProtoMessage

func (*GetIssueRequest) ProtoMessage()

func (*GetIssueRequest) ProtoReflect

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

func (*GetIssueRequest) Reset

func (x *GetIssueRequest) Reset()

func (*GetIssueRequest) String

func (x *GetIssueRequest) String() string

GetPullRequestCommentRequest

type GetPullRequestCommentRequest struct {

	// Required. Name of the pull request comment to retrieve.
	// The format is
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request to get a pull request comment.

func (*GetPullRequestCommentRequest) Descriptor

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

Deprecated: Use GetPullRequestCommentRequest.ProtoReflect.Descriptor instead.

func (*GetPullRequestCommentRequest) GetName

func (x *GetPullRequestCommentRequest) GetName() string

func (*GetPullRequestCommentRequest) ProtoMessage

func (*GetPullRequestCommentRequest) ProtoMessage()

func (*GetPullRequestCommentRequest) ProtoReflect

func (*GetPullRequestCommentRequest) Reset

func (x *GetPullRequestCommentRequest) Reset()

func (*GetPullRequestCommentRequest) String

GetPullRequestRequest

type GetPullRequestRequest struct {

	// Required. Name of the pull request to retrieve.
	// The format is
	// `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetPullRequestRequest is the request to get a pull request.

func (*GetPullRequestRequest) Descriptor

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

Deprecated: Use GetPullRequestRequest.ProtoReflect.Descriptor instead.

func (*GetPullRequestRequest) GetName

func (x *GetPullRequestRequest) GetName() string

func (*GetPullRequestRequest) ProtoMessage

func (*GetPullRequestRequest) ProtoMessage()

func (*GetPullRequestRequest) ProtoReflect

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

func (*GetPullRequestRequest) Reset

func (x *GetPullRequestRequest) Reset()

func (*GetPullRequestRequest) String

func (x *GetPullRequestRequest) String() string

GetRepositoryRequest

type GetRepositoryRequest struct {

	// Required. Name of the repository to retrieve.
	// The format is
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetRepositoryRequest is the request for getting a repository.

func (*GetRepositoryRequest) Descriptor

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

Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.

func (*GetRepositoryRequest) GetName

func (x *GetRepositoryRequest) GetName() string

func (*GetRepositoryRequest) ProtoMessage

func (*GetRepositoryRequest) ProtoMessage()

func (*GetRepositoryRequest) ProtoReflect

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

func (*GetRepositoryRequest) Reset

func (x *GetRepositoryRequest) Reset()

func (*GetRepositoryRequest) String

func (x *GetRepositoryRequest) String() string

Hook

type Hook struct {

	// Identifier. A unique identifier for a Hook. The name should be of the
	// format:
	// `projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The target URI to which the payloads will be delivered.
	TargetUri string `protobuf:"bytes,2,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"`
	// Optional. Determines if the hook disabled or not.
	// Set to true to stop sending traffic.
	Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Optional. The events that trigger hook on.
	Events []Hook_HookEventType `protobuf:"varint,4,rep,packed,name=events,proto3,enum=google.cloud.securesourcemanager.v1.Hook_HookEventType" json:"events,omitempty"`
	// Output only. Create timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Unique identifier of the hook.
	Uid string `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"`
	// Optional. The trigger option for push events.
	PushOption *Hook_PushOption `protobuf:"bytes,9,opt,name=push_option,json=pushOption,proto3" json:"push_option,omitempty"`
	// Optional. The sensitive query string to be appended to the target URI.
	SensitiveQueryString string `protobuf:"bytes,10,opt,name=sensitive_query_string,json=sensitiveQueryString,proto3" json:"sensitive_query_string,omitempty"`
	// contains filtered or unexported fields
}

Metadata of a Secure Source Manager Hook.

func (*Hook) Descriptor

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

Deprecated: Use Hook.ProtoReflect.Descriptor instead.

func (*Hook) GetCreateTime

func (x *Hook) GetCreateTime() *timestamppb.Timestamp

func (*Hook) GetDisabled

func (x *Hook) GetDisabled() bool

func (*Hook) GetEvents

func (x *Hook) GetEvents() []Hook_HookEventType

func (*Hook) GetName

func (x *Hook) GetName() string

func (*Hook) GetPushOption

func (x *Hook) GetPushOption() *Hook_PushOption

func (*Hook) GetSensitiveQueryString

func (x *Hook) GetSensitiveQueryString() string

func (*Hook) GetTargetUri

func (x *Hook) GetTargetUri() string

func (*Hook) GetUid

func (x *Hook) GetUid() string

func (*Hook) GetUpdateTime

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

func (*Hook) ProtoMessage

func (*Hook) ProtoMessage()

func (*Hook) ProtoReflect

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

func (*Hook) Reset

func (x *Hook) Reset()

func (*Hook) String

func (x *Hook) String() string

Hook_HookEventType

type Hook_HookEventType int32

Hook_UNSPECIFIED, Hook_PUSH, Hook_PULL_REQUEST

const (
	// Unspecified.
	Hook_UNSPECIFIED Hook_HookEventType = 0
	// Push events are triggered when pushing to the repository.
	Hook_PUSH Hook_HookEventType = 1
	// Pull request events are triggered when a pull request is opened, closed,
	// reopened, or edited.
	Hook_PULL_REQUEST Hook_HookEventType = 2
)

func (Hook_HookEventType) Descriptor

func (Hook_HookEventType) Enum

func (Hook_HookEventType) EnumDescriptor

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

Deprecated: Use Hook_HookEventType.Descriptor instead.

func (Hook_HookEventType) Number

func (Hook_HookEventType) String

func (x Hook_HookEventType) String() string

func (Hook_HookEventType) Type

Hook_PushOption

type Hook_PushOption struct {

	// Optional. Trigger hook for matching branches only.
	// Specified as glob pattern. If empty or *, events for all branches are
	// reported. Examples: main, {main,release*}.
	// See https://pkg.go.dev/github.com/gobwas/glob documentation.
	BranchFilter string `protobuf:"bytes,1,opt,name=branch_filter,json=branchFilter,proto3" json:"branch_filter,omitempty"`
	// contains filtered or unexported fields
}

func (*Hook_PushOption) Descriptor

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

Deprecated: Use Hook_PushOption.ProtoReflect.Descriptor instead.

func (*Hook_PushOption) GetBranchFilter

func (x *Hook_PushOption) GetBranchFilter() string

func (*Hook_PushOption) ProtoMessage

func (*Hook_PushOption) ProtoMessage()

func (*Hook_PushOption) ProtoReflect

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

func (*Hook_PushOption) Reset

func (x *Hook_PushOption) Reset()

func (*Hook_PushOption) String

func (x *Hook_PushOption) String() string

Instance

type Instance struct {

	// Optional. A unique identifier for an instance. The name should be of the
	// format:
	// `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
	//
	// `project_number`: Maps to a unique int64 id assigned to each project.
	//
	// `location_id`: Refers to the region where the instance will be deployed.
	// Since Secure Source Manager is a regional service, it must be one of the
	// valid GCP regions.
	//
	// `instance_id`: User provided name for the instance, must be unique for a
	// project_number and location_id combination.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Create timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. Labels as key value pairs.
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Optional. Private settings for private instance.
	PrivateConfig *Instance_PrivateConfig `protobuf:"bytes,13,opt,name=private_config,json=privateConfig,proto3" json:"private_config,omitempty"`
	// Output only. Current state of the instance.
	State Instance_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.securesourcemanager.v1.Instance_State" json:"state,omitempty"`
	// Output only. An optional field providing information about the current
	// instance state.
	StateNote Instance_StateNote `protobuf:"varint,10,opt,name=state_note,json=stateNote,proto3,enum=google.cloud.securesourcemanager.v1.Instance_StateNote" json:"state_note,omitempty"`
	// Optional. Immutable. Customer-managed encryption key name, in the format
	// projects/*/locations/*/keyRings/*/cryptoKeys/*.
	KmsKey string `protobuf:"bytes,11,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
	// Output only. A list of hostnames for this instance.
	HostConfig *Instance_HostConfig `protobuf:"bytes,9,opt,name=host_config,json=hostConfig,proto3" json:"host_config,omitempty"`
	// Optional. Configuration for Workforce Identity Federation to support
	// third party identity provider. If unset, defaults to the Google OIDC IdP.
	WorkforceIdentityFederationConfig *Instance_WorkforceIdentityFederationConfig `protobuf:"bytes,14,opt,name=workforce_identity_federation_config,json=workforceIdentityFederationConfig,proto3" json:"workforce_identity_federation_config,omitempty"`
	// contains filtered or unexported fields
}

A resource that represents a Secure Source Manager instance.

func (*Instance) Descriptor

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetCreateTime

func (x *Instance) GetCreateTime() *timestamppb.Timestamp

func (*Instance) GetHostConfig

func (x *Instance) GetHostConfig() *Instance_HostConfig

func (*Instance) GetKmsKey

func (x *Instance) GetKmsKey() string

func (*Instance) GetLabels

func (x *Instance) GetLabels() map[string]string

func (*Instance) GetName

func (x *Instance) GetName() string

func (*Instance) GetPrivateConfig

func (x *Instance) GetPrivateConfig() *Instance_PrivateConfig

func (*Instance) GetState

func (x *Instance) GetState() Instance_State

func (*Instance) GetStateNote

func (x *Instance) GetStateNote() Instance_StateNote

func (*Instance) GetUpdateTime

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

func (*Instance) GetWorkforceIdentityFederationConfig

func (x *Instance) GetWorkforceIdentityFederationConfig() *Instance_WorkforceIdentityFederationConfig

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

Instance_HostConfig

type Instance_HostConfig struct {

	// Output only. HTML hostname.
	Html string `protobuf:"bytes,1,opt,name=html,proto3" json:"html,omitempty"`
	// Output only. API hostname.
	Api string `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"`
	// Output only. Git HTTP hostname.
	GitHttp string `protobuf:"bytes,3,opt,name=git_http,json=gitHttp,proto3" json:"git_http,omitempty"`
	// Output only. Git SSH hostname.
	GitSsh string `protobuf:"bytes,4,opt,name=git_ssh,json=gitSsh,proto3" json:"git_ssh,omitempty"`
	// contains filtered or unexported fields
}

HostConfig has different instance endpoints.

func (*Instance_HostConfig) Descriptor

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

Deprecated: Use Instance_HostConfig.ProtoReflect.Descriptor instead.

func (*Instance_HostConfig) GetApi

func (x *Instance_HostConfig) GetApi() string

func (*Instance_HostConfig) GetGitHttp

func (x *Instance_HostConfig) GetGitHttp() string

func (*Instance_HostConfig) GetGitSsh

func (x *Instance_HostConfig) GetGitSsh() string

func (*Instance_HostConfig) GetHtml

func (x *Instance_HostConfig) GetHtml() string

func (*Instance_HostConfig) ProtoMessage

func (*Instance_HostConfig) ProtoMessage()

func (*Instance_HostConfig) ProtoReflect

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

func (*Instance_HostConfig) Reset

func (x *Instance_HostConfig) Reset()

func (*Instance_HostConfig) String

func (x *Instance_HostConfig) String() string

Instance_PrivateConfig

type Instance_PrivateConfig struct {

	// Required. Immutable. Indicate if it's private instance.
	IsPrivate bool `protobuf:"varint,1,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"`
	// Optional. Immutable. CA pool resource, resource must in the format of
	// `projects/{project}/locations/{location}/caPools/{ca_pool}`.
	CaPool string `protobuf:"bytes,2,opt,name=ca_pool,json=caPool,proto3" json:"ca_pool,omitempty"`
	// Output only. Service Attachment for HTTP, resource is in the format of
	// `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.
	HttpServiceAttachment string `protobuf:"bytes,3,opt,name=http_service_attachment,json=httpServiceAttachment,proto3" json:"http_service_attachment,omitempty"`
	// Output only. Service Attachment for SSH, resource is in the format of
	// `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.
	SshServiceAttachment string `protobuf:"bytes,4,opt,name=ssh_service_attachment,json=sshServiceAttachment,proto3" json:"ssh_service_attachment,omitempty"`
	// Optional. Additional allowed projects for setting up PSC connections.
	// Instance host project is automatically allowed and does not need to be
	// included in this list.
	PscAllowedProjects []string `protobuf:"bytes,6,rep,name=psc_allowed_projects,json=pscAllowedProjects,proto3" json:"psc_allowed_projects,omitempty"`
	// contains filtered or unexported fields
}

PrivateConfig includes settings for private instance.

func (*Instance_PrivateConfig) Descriptor

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

Deprecated: Use Instance_PrivateConfig.ProtoReflect.Descriptor instead.

func (*Instance_PrivateConfig) GetCaPool

func (x *Instance_PrivateConfig) GetCaPool() string

func (*Instance_PrivateConfig) GetHttpServiceAttachment

func (x *Instance_PrivateConfig) GetHttpServiceAttachment() string

func (*Instance_PrivateConfig) GetIsPrivate

func (x *Instance_PrivateConfig) GetIsPrivate() bool

func (*Instance_PrivateConfig) GetPscAllowedProjects

func (x *Instance_PrivateConfig) GetPscAllowedProjects() []string

func (*Instance_PrivateConfig) GetSshServiceAttachment

func (x *Instance_PrivateConfig) GetSshServiceAttachment() string

func (*Instance_PrivateConfig) ProtoMessage

func (*Instance_PrivateConfig) ProtoMessage()

func (*Instance_PrivateConfig) ProtoReflect

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

func (*Instance_PrivateConfig) Reset

func (x *Instance_PrivateConfig) Reset()

func (*Instance_PrivateConfig) String

func (x *Instance_PrivateConfig) String() string

Instance_State

type Instance_State int32

Secure Source Manager instance state.

Instance_STATE_UNSPECIFIED, Instance_CREATING, Instance_ACTIVE, Instance_DELETING, Instance_PAUSED, Instance_UNKNOWN

const (
	// Not set. This should only be the case for incoming requests.
	Instance_STATE_UNSPECIFIED Instance_State = 0
	// Instance is being created.
	Instance_CREATING Instance_State = 1
	// Instance is ready.
	Instance_ACTIVE Instance_State = 2
	// Instance is being deleted.
	Instance_DELETING Instance_State = 3
	// Instance is paused.
	Instance_PAUSED Instance_State = 4
	// Instance is unknown, we are not sure if it's functioning.
	Instance_UNKNOWN Instance_State = 6
)

func (Instance_State) Descriptor

func (Instance_State) Enum

func (x Instance_State) Enum() *Instance_State

func (Instance_State) EnumDescriptor

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

Deprecated: Use Instance_State.Descriptor instead.

func (Instance_State) Number

func (Instance_State) String

func (x Instance_State) String() string

func (Instance_State) Type

Instance_StateNote

type Instance_StateNote int32

Provides information about the current instance state.

Instance_STATE_NOTE_UNSPECIFIED, Instance_PAUSED_CMEK_UNAVAILABLE, Instance_INSTANCE_RESUMING

const (
	// STATE_NOTE_UNSPECIFIED as the first value of State.
	Instance_STATE_NOTE_UNSPECIFIED Instance_StateNote = 0
	// CMEK access is unavailable.
	Instance_PAUSED_CMEK_UNAVAILABLE Instance_StateNote = 1
	// INSTANCE_RESUMING indicates that the instance was previously paused
	// and is under the process of being brought back.
	//
	// Deprecated: Marked as deprecated in google/cloud/securesourcemanager/v1/secure_source_manager.proto.
	Instance_INSTANCE_RESUMING Instance_StateNote = 2
)

func (Instance_StateNote) Descriptor

func (Instance_StateNote) Enum

func (Instance_StateNote) EnumDescriptor

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

Deprecated: Use Instance_StateNote.Descriptor instead.

func (Instance_StateNote) Number

func (Instance_StateNote) String

func (x Instance_StateNote) String() string

func (Instance_StateNote) Type

Instance_WorkforceIdentityFederationConfig

type Instance_WorkforceIdentityFederationConfig struct {

	// Optional. Immutable. Whether Workforce Identity Federation is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

WorkforceIdentityFederationConfig allows this instance to support users from external identity providers.

func (*Instance_WorkforceIdentityFederationConfig) Descriptor

Deprecated: Use Instance_WorkforceIdentityFederationConfig.ProtoReflect.Descriptor instead.

func (*Instance_WorkforceIdentityFederationConfig) GetEnabled

func (*Instance_WorkforceIdentityFederationConfig) ProtoMessage

func (*Instance_WorkforceIdentityFederationConfig) ProtoReflect

func (*Instance_WorkforceIdentityFederationConfig) Reset

func (*Instance_WorkforceIdentityFederationConfig) String

Issue

type Issue struct {

	// Identifier. Unique identifier for an issue. The issue id is generated by
	// the server. Format:
	// `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Issue title.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Optional. Issue body. Provides a detailed description of the issue.
	Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	// Output only. State of the issue.
	State Issue_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.securesourcemanager.v1.Issue_State" json:"state,omitempty"`
	// Output only. Creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Last updated timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Close timestamp (if closed). Cleared when is re-opened.
	CloseTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
	// Optional. This checksum is computed by the server based on the value of
	// other fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Metadata of an Issue.

func (*Issue) Descriptor

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

Deprecated: Use Issue.ProtoReflect.Descriptor instead.

func (*Issue) GetBody

func (x *Issue) GetBody() string

func (*Issue) GetCloseTime

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

func (*Issue) GetCreateTime

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

func (*Issue) GetEtag

func (x *Issue) GetEtag() string

func (*Issue) GetName

func (x *Issue) GetName() string

func (*Issue) GetState

func (x *Issue) GetState() Issue_State

func (*Issue) GetTitle

func (x *Issue) GetTitle() string

func (*Issue) GetUpdateTime

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

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

IssueComment

type IssueComment struct {

	// Identifier. Unique identifier for an issue comment. The comment id is
	// generated by the server. Format:
	// `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The comment body.
	Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// Output only. Creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Last updated timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

IssueComment represents a comment on an issue.

func (*IssueComment) Descriptor

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

Deprecated: Use IssueComment.ProtoReflect.Descriptor instead.

func (*IssueComment) GetBody

func (x *IssueComment) GetBody() string

func (*IssueComment) GetCreateTime

func (x *IssueComment) GetCreateTime() *timestamppb.Timestamp

func (*IssueComment) GetName

func (x *IssueComment) GetName() string

func (*IssueComment) GetUpdateTime

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

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

Issue_State

type Issue_State int32

Possible states of an issue.

Issue_STATE_UNSPECIFIED, Issue_OPEN, Issue_CLOSED

const (
	// Unspecified.
	Issue_STATE_UNSPECIFIED Issue_State = 0
	// An open issue.
	Issue_OPEN Issue_State = 1
	// A closed issue.
	Issue_CLOSED Issue_State = 2
)

func (Issue_State) Descriptor

func (Issue_State) Enum

func (x Issue_State) Enum() *Issue_State

func (Issue_State) EnumDescriptor

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

Deprecated: Use Issue_State.Descriptor instead.

func (Issue_State) Number

func (x Issue_State) Number() protoreflect.EnumNumber

func (Issue_State) String

func (x Issue_State) String() string

func (Issue_State) Type

ListBranchRulesRequest

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

ListBranchRulesRequest is the request to list branch rules.

func (*ListBranchRulesRequest) Descriptor

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

Deprecated: Use ListBranchRulesRequest.ProtoReflect.Descriptor instead.

func (*ListBranchRulesRequest) GetPageSize

func (x *ListBranchRulesRequest) GetPageSize() int32

func (*ListBranchRulesRequest) GetPageToken

func (x *ListBranchRulesRequest) GetPageToken() string

func (*ListBranchRulesRequest) GetParent

func (x *ListBranchRulesRequest) GetParent() string

func (*ListBranchRulesRequest) ProtoMessage

func (*ListBranchRulesRequest) ProtoMessage()

func (*ListBranchRulesRequest) ProtoReflect

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

func (*ListBranchRulesRequest) Reset

func (x *ListBranchRulesRequest) Reset()

func (*ListBranchRulesRequest) String

func (x *ListBranchRulesRequest) String() string

ListBranchRulesResponse

type ListBranchRulesResponse struct {

	// The list of branch rules.
	BranchRules []*BranchRule `protobuf:"bytes,1,rep,name=branch_rules,json=branchRules,proto3" json:"branch_rules,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

ListBranchRulesResponse is the response to listing branchRules.

func (*ListBranchRulesResponse) Descriptor

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

Deprecated: Use ListBranchRulesResponse.ProtoReflect.Descriptor instead.

func (*ListBranchRulesResponse) GetBranchRules

func (x *ListBranchRulesResponse) GetBranchRules() []*BranchRule

func (*ListBranchRulesResponse) GetNextPageToken

func (x *ListBranchRulesResponse) GetNextPageToken() string

func (*ListBranchRulesResponse) ProtoMessage

func (*ListBranchRulesResponse) ProtoMessage()

func (*ListBranchRulesResponse) ProtoReflect

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

func (*ListBranchRulesResponse) Reset

func (x *ListBranchRulesResponse) Reset()

func (*ListBranchRulesResponse) String

func (x *ListBranchRulesResponse) String() string

ListHooksRequest

type ListHooksRequest struct {

	// Required. Parent value for ListHooksRequest.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

ListHooksRequest is request to list hooks.

func (*ListHooksRequest) Descriptor

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

Deprecated: Use ListHooksRequest.ProtoReflect.Descriptor instead.

func (*ListHooksRequest) GetPageSize

func (x *ListHooksRequest) GetPageSize() int32

func (*ListHooksRequest) GetPageToken

func (x *ListHooksRequest) GetPageToken() string

func (*ListHooksRequest) GetParent

func (x *ListHooksRequest) GetParent() string

func (*ListHooksRequest) ProtoMessage

func (*ListHooksRequest) ProtoMessage()

func (*ListHooksRequest) ProtoReflect

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

func (*ListHooksRequest) Reset

func (x *ListHooksRequest) Reset()

func (*ListHooksRequest) String

func (x *ListHooksRequest) String() string

ListHooksResponse

type ListHooksResponse struct {

	// The list of hooks.
	Hooks []*Hook `protobuf:"bytes,1,rep,name=hooks,proto3" json:"hooks,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

ListHooksResponse is response to list hooks.

func (*ListHooksResponse) Descriptor

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

Deprecated: Use ListHooksResponse.ProtoReflect.Descriptor instead.

func (*ListHooksResponse) GetHooks

func (x *ListHooksResponse) GetHooks() []*Hook

func (*ListHooksResponse) GetNextPageToken

func (x *ListHooksResponse) GetNextPageToken() string

func (*ListHooksResponse) ProtoMessage

func (*ListHooksResponse) ProtoMessage()

func (*ListHooksResponse) ProtoReflect

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

func (*ListHooksResponse) Reset

func (x *ListHooksResponse) Reset()

func (*ListHooksResponse) String

func (x *ListHooksResponse) String() string

ListInstancesRequest

type ListInstancesRequest struct {

	// Required. Parent value for ListInstancesRequest.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer items than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filter for filtering results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Hint for how to order the results.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

ListInstancesRequest is the request to list instances.

func (*ListInstancesRequest) Descriptor

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

Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListInstancesRequest) GetFilter

func (x *ListInstancesRequest) GetFilter() string

func (*ListInstancesRequest) GetOrderBy

func (x *ListInstancesRequest) GetOrderBy() string

func (*ListInstancesRequest) GetPageSize

func (x *ListInstancesRequest) GetPageSize() int32

func (*ListInstancesRequest) GetPageToken

func (x *ListInstancesRequest) GetPageToken() string

func (*ListInstancesRequest) GetParent

func (x *ListInstancesRequest) GetParent() string

func (*ListInstancesRequest) ProtoMessage

func (*ListInstancesRequest) ProtoMessage()

func (*ListInstancesRequest) ProtoReflect

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

func (*ListInstancesRequest) Reset

func (x *ListInstancesRequest) Reset()

func (*ListInstancesRequest) String

func (x *ListInstancesRequest) String() string

ListInstancesResponse

type ListInstancesResponse struct {

	// The list of instances.
	Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInstancesResponse) Descriptor

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

Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.

func (*ListInstancesResponse) GetInstances

func (x *ListInstancesResponse) GetInstances() []*Instance

func (*ListInstancesResponse) GetNextPageToken

func (x *ListInstancesResponse) GetNextPageToken() string

func (*ListInstancesResponse) GetUnreachable

func (x *ListInstancesResponse) GetUnreachable() []string

func (*ListInstancesResponse) ProtoMessage

func (*ListInstancesResponse) ProtoMessage()

func (*ListInstancesResponse) ProtoReflect

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

func (*ListInstancesResponse) Reset

func (x *ListInstancesResponse) Reset()

func (*ListInstancesResponse) String

func (x *ListInstancesResponse) String() string

ListIssueCommentsRequest

type ListIssueCommentsRequest struct {

	// Required. The issue in which to list the comments. Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The request to list issue comments.

func (*ListIssueCommentsRequest) Descriptor

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

Deprecated: Use ListIssueCommentsRequest.ProtoReflect.Descriptor instead.

func (*ListIssueCommentsRequest) GetPageSize

func (x *ListIssueCommentsRequest) GetPageSize() int32

func (*ListIssueCommentsRequest) GetPageToken

func (x *ListIssueCommentsRequest) GetPageToken() string

func (*ListIssueCommentsRequest) GetParent

func (x *ListIssueCommentsRequest) GetParent() 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

ListIssueCommentsResponse

type ListIssueCommentsResponse struct {

	// The list of issue comments.
	IssueComments []*IssueComment `protobuf:"bytes,1,rep,name=issue_comments,json=issueComments,proto3" json:"issue_comments,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response to list issue comments.

func (*ListIssueCommentsResponse) Descriptor

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) ProtoMessage

func (*ListIssueCommentsResponse) ProtoMessage()

func (*ListIssueCommentsResponse) ProtoReflect

func (*ListIssueCommentsResponse) Reset

func (x *ListIssueCommentsResponse) Reset()

func (*ListIssueCommentsResponse) String

func (x *ListIssueCommentsResponse) String() string

ListIssuesRequest

type ListIssuesRequest struct {

	// Required. The repository in which to list issues. Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Used to filter the resulting issues list.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

The request to list issues.

func (*ListIssuesRequest) Descriptor

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

Deprecated: Use ListIssuesRequest.ProtoReflect.Descriptor instead.

func (*ListIssuesRequest) GetFilter

func (x *ListIssuesRequest) GetFilter() string

func (*ListIssuesRequest) GetPageSize

func (x *ListIssuesRequest) GetPageSize() int32

func (*ListIssuesRequest) GetPageToken

func (x *ListIssuesRequest) GetPageToken() string

func (*ListIssuesRequest) GetParent

func (x *ListIssuesRequest) GetParent() string

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

ListIssuesResponse

type ListIssuesResponse struct {

	// The list of issues.
	Issues []*Issue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response to list issues.

func (*ListIssuesResponse) Descriptor

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) 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

ListPullRequestCommentsRequest

type ListPullRequestCommentsRequest struct {

	// Required. The pull request in which to list pull request comments. Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. If unspecified, at most 100 pull request
	// comments will be returned. The maximum value is 100; values above 100 will
	// be coerced to 100.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The request to list pull request comments.

func (*ListPullRequestCommentsRequest) Descriptor

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

Deprecated: Use ListPullRequestCommentsRequest.ProtoReflect.Descriptor instead.

func (*ListPullRequestCommentsRequest) GetPageSize

func (x *ListPullRequestCommentsRequest) GetPageSize() int32

func (*ListPullRequestCommentsRequest) GetPageToken

func (x *ListPullRequestCommentsRequest) GetPageToken() string

func (*ListPullRequestCommentsRequest) GetParent

func (x *ListPullRequestCommentsRequest) GetParent() string

func (*ListPullRequestCommentsRequest) ProtoMessage

func (*ListPullRequestCommentsRequest) ProtoMessage()

func (*ListPullRequestCommentsRequest) ProtoReflect

func (*ListPullRequestCommentsRequest) Reset

func (x *ListPullRequestCommentsRequest) Reset()

func (*ListPullRequestCommentsRequest) String

ListPullRequestCommentsResponse

type ListPullRequestCommentsResponse struct {

	// The list of pull request comments.
	PullRequestComments []*PullRequestComment `protobuf:"bytes,1,rep,name=pull_request_comments,json=pullRequestComments,proto3" json:"pull_request_comments,omitempty"`
	// A token to set as page_token to retrieve the next page. If this field is
	// omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response to list pull request comments.

func (*ListPullRequestCommentsResponse) Descriptor

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

Deprecated: Use ListPullRequestCommentsResponse.ProtoReflect.Descriptor instead.

func (*ListPullRequestCommentsResponse) GetNextPageToken

func (x *ListPullRequestCommentsResponse) GetNextPageToken() string

func (*ListPullRequestCommentsResponse) GetPullRequestComments

func (x *ListPullRequestCommentsResponse) GetPullRequestComments() []*PullRequestComment

func (*ListPullRequestCommentsResponse) ProtoMessage

func (*ListPullRequestCommentsResponse) ProtoMessage()

func (*ListPullRequestCommentsResponse) ProtoReflect

func (*ListPullRequestCommentsResponse) Reset

func (*ListPullRequestCommentsResponse) String

ListPullRequestFileDiffsRequest

type ListPullRequestFileDiffsRequest struct {

	// Required. The pull request to list file diffs for.
	// Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

ListPullRequestFileDiffsRequest is the request to list pull request file diffs.

func (*ListPullRequestFileDiffsRequest) Descriptor

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

Deprecated: Use ListPullRequestFileDiffsRequest.ProtoReflect.Descriptor instead.

func (*ListPullRequestFileDiffsRequest) GetName

func (*ListPullRequestFileDiffsRequest) GetPageSize

func (x *ListPullRequestFileDiffsRequest) GetPageSize() int32

func (*ListPullRequestFileDiffsRequest) GetPageToken

func (x *ListPullRequestFileDiffsRequest) GetPageToken() string

func (*ListPullRequestFileDiffsRequest) ProtoMessage

func (*ListPullRequestFileDiffsRequest) ProtoMessage()

func (*ListPullRequestFileDiffsRequest) ProtoReflect

func (*ListPullRequestFileDiffsRequest) Reset

func (*ListPullRequestFileDiffsRequest) String

ListPullRequestFileDiffsResponse

type ListPullRequestFileDiffsResponse struct {

	// The list of pull request file diffs.
	FileDiffs []*FileDiff `protobuf:"bytes,1,rep,name=file_diffs,json=fileDiffs,proto3" json:"file_diffs,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

ListPullRequestFileDiffsResponse is the response containing file diffs returned from ListPullRequestFileDiffs.

func (*ListPullRequestFileDiffsResponse) Descriptor

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

Deprecated: Use ListPullRequestFileDiffsResponse.ProtoReflect.Descriptor instead.

func (*ListPullRequestFileDiffsResponse) GetFileDiffs

func (x *ListPullRequestFileDiffsResponse) GetFileDiffs() []*FileDiff

func (*ListPullRequestFileDiffsResponse) GetNextPageToken

func (x *ListPullRequestFileDiffsResponse) GetNextPageToken() string

func (*ListPullRequestFileDiffsResponse) ProtoMessage

func (*ListPullRequestFileDiffsResponse) ProtoMessage()

func (*ListPullRequestFileDiffsResponse) ProtoReflect

func (*ListPullRequestFileDiffsResponse) Reset

func (*ListPullRequestFileDiffsResponse) String

ListPullRequestsRequest

type ListPullRequestsRequest struct {

	// Required. The repository in which to list pull requests. Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

ListPullRequestsRequest is the request to list pull requests.

func (*ListPullRequestsRequest) Descriptor

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

Deprecated: Use ListPullRequestsRequest.ProtoReflect.Descriptor instead.

func (*ListPullRequestsRequest) GetPageSize

func (x *ListPullRequestsRequest) GetPageSize() int32

func (*ListPullRequestsRequest) GetPageToken

func (x *ListPullRequestsRequest) GetPageToken() string

func (*ListPullRequestsRequest) GetParent

func (x *ListPullRequestsRequest) GetParent() string

func (*ListPullRequestsRequest) ProtoMessage

func (*ListPullRequestsRequest) ProtoMessage()

func (*ListPullRequestsRequest) ProtoReflect

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

func (*ListPullRequestsRequest) Reset

func (x *ListPullRequestsRequest) Reset()

func (*ListPullRequestsRequest) String

func (x *ListPullRequestsRequest) String() string

ListPullRequestsResponse

type ListPullRequestsResponse struct {

	// The list of pull requests.
	PullRequests []*PullRequest `protobuf:"bytes,1,rep,name=pull_requests,json=pullRequests,proto3" json:"pull_requests,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

ListPullRequestsResponse is the response to list pull requests.

func (*ListPullRequestsResponse) Descriptor

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

Deprecated: Use ListPullRequestsResponse.ProtoReflect.Descriptor instead.

func (*ListPullRequestsResponse) GetNextPageToken

func (x *ListPullRequestsResponse) GetNextPageToken() string

func (*ListPullRequestsResponse) GetPullRequests

func (x *ListPullRequestsResponse) GetPullRequests() []*PullRequest

func (*ListPullRequestsResponse) ProtoMessage

func (*ListPullRequestsResponse) ProtoMessage()

func (*ListPullRequestsResponse) ProtoReflect

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

func (*ListPullRequestsResponse) Reset

func (x *ListPullRequestsResponse) Reset()

func (*ListPullRequestsResponse) String

func (x *ListPullRequestsResponse) String() string

ListRepositoriesRequest

type ListRepositoriesRequest struct {

	// Required. Parent value for ListRepositoriesRequest.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filter results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The name of the instance in which the repository is hosted,
	// formatted as
	// `projects/{project_number}/locations/{location_id}/instances/{instance_id}`.
	// When listing repositories via securesourcemanager.googleapis.com, this
	// field is required. When listing repositories via *.sourcemanager.dev, this
	// field is ignored.
	Instance string `protobuf:"bytes,5,opt,name=instance,proto3" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

ListRepositoriesRequest is request to list repositories.

func (*ListRepositoriesRequest) Descriptor

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

Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.

func (*ListRepositoriesRequest) GetFilter

func (x *ListRepositoriesRequest) GetFilter() string

func (*ListRepositoriesRequest) GetInstance

func (x *ListRepositoriesRequest) GetInstance() string

func (*ListRepositoriesRequest) GetPageSize

func (x *ListRepositoriesRequest) GetPageSize() int32

func (*ListRepositoriesRequest) GetPageToken

func (x *ListRepositoriesRequest) GetPageToken() string

func (*ListRepositoriesRequest) GetParent

func (x *ListRepositoriesRequest) GetParent() string

func (*ListRepositoriesRequest) ProtoMessage

func (*ListRepositoriesRequest) ProtoMessage()

func (*ListRepositoriesRequest) ProtoReflect

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

func (*ListRepositoriesRequest) Reset

func (x *ListRepositoriesRequest) Reset()

func (*ListRepositoriesRequest) String

func (x *ListRepositoriesRequest) String() string

ListRepositoriesResponse

type ListRepositoriesResponse struct {

	// The list of repositories.
	Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRepositoriesResponse) Descriptor

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

Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.

func (*ListRepositoriesResponse) GetNextPageToken

func (x *ListRepositoriesResponse) GetNextPageToken() string

func (*ListRepositoriesResponse) GetRepositories

func (x *ListRepositoriesResponse) GetRepositories() []*Repository

func (*ListRepositoriesResponse) ProtoMessage

func (*ListRepositoriesResponse) ProtoMessage()

func (*ListRepositoriesResponse) ProtoReflect

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

func (*ListRepositoriesResponse) Reset

func (x *ListRepositoriesResponse) Reset()

func (*ListRepositoriesResponse) String

func (x *ListRepositoriesResponse) String() string

MergePullRequestRequest

type MergePullRequestRequest struct {

	// Required. The pull request to merge.
	// Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

MergePullRequestRequest is the request to merge a pull request.

func (*MergePullRequestRequest) Descriptor

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

Deprecated: Use MergePullRequestRequest.ProtoReflect.Descriptor instead.

func (*MergePullRequestRequest) GetName

func (x *MergePullRequestRequest) GetName() string

func (*MergePullRequestRequest) ProtoMessage

func (*MergePullRequestRequest) ProtoMessage()

func (*MergePullRequestRequest) ProtoReflect

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

func (*MergePullRequestRequest) Reset

func (x *MergePullRequestRequest) Reset()

func (*MergePullRequestRequest) String

func (x *MergePullRequestRequest) String() string

OpenIssueRequest

type OpenIssueRequest struct {

	// Required. Name of the issue to open.
	// The format is
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The current etag of the issue.
	// If the etag is provided and does not match the current etag of the issue,
	// opening will be blocked and an ABORTED error will be returned.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

The request to open an issue.

func (*OpenIssueRequest) Descriptor

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

Deprecated: Use OpenIssueRequest.ProtoReflect.Descriptor instead.

func (*OpenIssueRequest) GetEtag

func (x *OpenIssueRequest) GetEtag() string

func (*OpenIssueRequest) GetName

func (x *OpenIssueRequest) GetName() string

func (*OpenIssueRequest) ProtoMessage

func (*OpenIssueRequest) ProtoMessage()

func (*OpenIssueRequest) ProtoReflect

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

func (*OpenIssueRequest) Reset

func (x *OpenIssueRequest) Reset()

func (*OpenIssueRequest) String

func (x *OpenIssueRequest) String() string

OpenPullRequestRequest

type OpenPullRequestRequest struct {

	// Required. The pull request to open.
	// Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

OpenPullRequestRequest is the request to open a pull request.

func (*OpenPullRequestRequest) Descriptor

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

Deprecated: Use OpenPullRequestRequest.ProtoReflect.Descriptor instead.

func (*OpenPullRequestRequest) GetName

func (x *OpenPullRequestRequest) GetName() string

func (*OpenPullRequestRequest) ProtoMessage

func (*OpenPullRequestRequest) ProtoMessage()

func (*OpenPullRequestRequest) ProtoReflect

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

func (*OpenPullRequestRequest) Reset

func (x *OpenPullRequestRequest) Reset()

func (*OpenPullRequestRequest) String

func (x *OpenPullRequestRequest) String() string

OperationMetadata

type OperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Output only. Identifies whether the user has requested cancellation
	// of the operation. Operations that have successfully been cancelled
	// have [Operation.error][google.longrunning.Operation.error] value with a
	// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
	// `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor

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

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

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

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

PullRequest

type PullRequest struct {

	// Output only. A unique identifier for a PullRequest. The number appended at
	// the end is generated by the server. Format:
	// `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The pull request title.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Optional. The pull request body. Provides a detailed description of the
	// changes.
	Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	// Required. The branch to merge changes in.
	Base *PullRequest_Branch `protobuf:"bytes,4,opt,name=base,proto3" json:"base,omitempty"`
	// Immutable. The branch containing the changes to be merged.
	Head *PullRequest_Branch `protobuf:"bytes,5,opt,name=head,proto3" json:"head,omitempty"`
	// Output only. State of the pull request (open, closed or merged).
	State PullRequest_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.securesourcemanager.v1.PullRequest_State" json:"state,omitempty"`
	// Output only. Creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Last updated timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Close timestamp (if closed or merged). Cleared when pull
	// request is re-opened.
	CloseTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
	// contains filtered or unexported fields
}

Metadata of a PullRequest. PullRequest is the request from a user to merge a branch (head) into another branch (base).

func (*PullRequest) Descriptor

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

Deprecated: Use PullRequest.ProtoReflect.Descriptor instead.

func (*PullRequest) GetBase

func (x *PullRequest) GetBase() *PullRequest_Branch

func (*PullRequest) GetBody

func (x *PullRequest) GetBody() string

func (*PullRequest) GetCloseTime

func (x *PullRequest) GetCloseTime() *timestamppb.Timestamp

func (*PullRequest) GetCreateTime

func (x *PullRequest) GetCreateTime() *timestamppb.Timestamp

func (*PullRequest) GetHead

func (x *PullRequest) GetHead() *PullRequest_Branch

func (*PullRequest) GetName

func (x *PullRequest) GetName() string

func (*PullRequest) GetState

func (x *PullRequest) GetState() PullRequest_State

func (*PullRequest) GetTitle

func (x *PullRequest) GetTitle() string

func (*PullRequest) GetUpdateTime

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

func (*PullRequest) ProtoMessage

func (*PullRequest) ProtoMessage()

func (*PullRequest) ProtoReflect

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

func (*PullRequest) Reset

func (x *PullRequest) Reset()

func (*PullRequest) String

func (x *PullRequest) String() string

PullRequestComment

type PullRequestComment struct {

	// Identifier. Unique identifier for the pull request comment. The comment id
	// is generated by the server. Format:
	// `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Creation timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Last updated timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The comment detail. A comment can be a review, a general comment, or a
	// code comment.
	//
	// Types that are assignable to CommentDetail:
	//
	//	*PullRequestComment_Review_
	//	*PullRequestComment_Comment_
	//	*PullRequestComment_Code_
	CommentDetail isPullRequestComment_CommentDetail `protobuf_oneof:"comment_detail"`
	// contains filtered or unexported fields
}

PullRequestComment represents a comment on a pull request.

func (*PullRequestComment) Descriptor

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

Deprecated: Use PullRequestComment.ProtoReflect.Descriptor instead.

func (*PullRequestComment) GetCode

func (*PullRequestComment) GetComment

func (*PullRequestComment) GetCommentDetail

func (m *PullRequestComment) GetCommentDetail() isPullRequestComment_CommentDetail

func (*PullRequestComment) GetCreateTime

func (x *PullRequestComment) GetCreateTime() *timestamppb.Timestamp

func (*PullRequestComment) GetName

func (x *PullRequestComment) GetName() string

func (*PullRequestComment) GetReview

func (*PullRequestComment) GetUpdateTime

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

func (*PullRequestComment) ProtoMessage

func (*PullRequestComment) ProtoMessage()

func (*PullRequestComment) ProtoReflect

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

func (*PullRequestComment) Reset

func (x *PullRequestComment) Reset()

func (*PullRequestComment) String

func (x *PullRequestComment) String() string

PullRequestComment_Code

type PullRequestComment_Code struct {

	// Required. The comment body.
	Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// Optional. Input only. The PullRequestComment resource name that this
	// comment is replying to.
	Reply string `protobuf:"bytes,2,opt,name=reply,proto3" json:"reply,omitempty"`
	// Optional. The position of the comment.
	Position *PullRequestComment_Position `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"`
	// Output only. The root comment of the conversation, derived from the reply
	// field.
	EffectiveRootComment string `protobuf:"bytes,4,opt,name=effective_root_comment,json=effectiveRootComment,proto3" json:"effective_root_comment,omitempty"`
	// Output only. Boolean indicator if the comment is resolved.
	Resolved bool `protobuf:"varint,5,opt,name=resolved,proto3" json:"resolved,omitempty"`
	// Output only. The effective commit sha this code comment is pointing to.
	EffectiveCommitSha string `protobuf:"bytes,7,opt,name=effective_commit_sha,json=effectiveCommitSha,proto3" json:"effective_commit_sha,omitempty"`
	// contains filtered or unexported fields
}

The comment on a code line.

func (*PullRequestComment_Code) Descriptor

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

Deprecated: Use PullRequestComment_Code.ProtoReflect.Descriptor instead.

func (*PullRequestComment_Code) GetBody

func (x *PullRequestComment_Code) GetBody() string

func (*PullRequestComment_Code) GetEffectiveCommitSha

func (x *PullRequestComment_Code) GetEffectiveCommitSha() string

func (*PullRequestComment_Code) GetEffectiveRootComment

func (x *PullRequestComment_Code) GetEffectiveRootComment() string

func (*PullRequestComment_Code) GetPosition

func (*PullRequestComment_Code) GetReply

func (x *PullRequestComment_Code) GetReply() string

func (*PullRequestComment_Code) GetResolved

func (x *PullRequestComment_Code) GetResolved() bool

func (*PullRequestComment_Code) ProtoMessage

func (*PullRequestComment_Code) ProtoMessage()

func (*PullRequestComment_Code) ProtoReflect

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

func (*PullRequestComment_Code) Reset

func (x *PullRequestComment_Code) Reset()

func (*PullRequestComment_Code) String

func (x *PullRequestComment_Code) String() string

PullRequestComment_Code_

type PullRequestComment_Code_ struct {
	// Optional. The comment on a code line.
	Code *PullRequestComment_Code `protobuf:"bytes,6,opt,name=code,proto3,oneof"`
}

PullRequestComment_Comment

type PullRequestComment_Comment struct {

	// Required. The comment body.
	Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

The general pull request comment.

func (*PullRequestComment_Comment) Descriptor

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

Deprecated: Use PullRequestComment_Comment.ProtoReflect.Descriptor instead.

func (*PullRequestComment_Comment) GetBody

func (x *PullRequestComment_Comment) GetBody() string

func (*PullRequestComment_Comment) ProtoMessage

func (*PullRequestComment_Comment) ProtoMessage()

func (*PullRequestComment_Comment) ProtoReflect

func (*PullRequestComment_Comment) Reset

func (x *PullRequestComment_Comment) Reset()

func (*PullRequestComment_Comment) String

func (x *PullRequestComment_Comment) String() string

PullRequestComment_Comment_

type PullRequestComment_Comment_ struct {
	// Optional. The general pull request comment.
	Comment *PullRequestComment_Comment `protobuf:"bytes,5,opt,name=comment,proto3,oneof"`
}

PullRequestComment_Position

type PullRequestComment_Position struct {

	// Required. The path of the file.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Required. The line number of the comment. Positive value means it's on
	// the new side of the diff, negative value means it's on the old side.
	Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
	// contains filtered or unexported fields
}

The position of the code comment.

func (*PullRequestComment_Position) Descriptor

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

Deprecated: Use PullRequestComment_Position.ProtoReflect.Descriptor instead.

func (*PullRequestComment_Position) GetLine

func (x *PullRequestComment_Position) GetLine() int64

func (*PullRequestComment_Position) GetPath

func (x *PullRequestComment_Position) GetPath() string

func (*PullRequestComment_Position) ProtoMessage

func (*PullRequestComment_Position) ProtoMessage()

func (*PullRequestComment_Position) ProtoReflect

func (*PullRequestComment_Position) Reset

func (x *PullRequestComment_Position) Reset()

func (*PullRequestComment_Position) String

func (x *PullRequestComment_Position) String() string

PullRequestComment_Review

type PullRequestComment_Review struct {

	// Required. The review action type.
	ActionType PullRequestComment_Review_ActionType `protobuf:"varint,1,opt,name=action_type,json=actionType,proto3,enum=google.cloud.securesourcemanager.v1.PullRequestComment_Review_ActionType" json:"action_type,omitempty"`
	// Optional. The comment body.
	Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// Output only. The effective commit sha this review is pointing to.
	EffectiveCommitSha string `protobuf:"bytes,4,opt,name=effective_commit_sha,json=effectiveCommitSha,proto3" json:"effective_commit_sha,omitempty"`
	// contains filtered or unexported fields
}

The review summary comment.

func (*PullRequestComment_Review) Descriptor

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

Deprecated: Use PullRequestComment_Review.ProtoReflect.Descriptor instead.

func (*PullRequestComment_Review) GetActionType

func (*PullRequestComment_Review) GetBody

func (x *PullRequestComment_Review) GetBody() string

func (*PullRequestComment_Review) GetEffectiveCommitSha

func (x *PullRequestComment_Review) GetEffectiveCommitSha() string

func (*PullRequestComment_Review) ProtoMessage

func (*PullRequestComment_Review) ProtoMessage()

func (*PullRequestComment_Review) ProtoReflect

func (*PullRequestComment_Review) Reset

func (x *PullRequestComment_Review) Reset()

func (*PullRequestComment_Review) String

func (x *PullRequestComment_Review) String() string

PullRequestComment_Review_

type PullRequestComment_Review_ struct {
	// Optional. The review summary comment.
	Review *PullRequestComment_Review `protobuf:"bytes,4,opt,name=review,proto3,oneof"`
}

PullRequestComment_Review_ActionType

type PullRequestComment_Review_ActionType int32

The review action type.

PullRequestComment_Review_ACTION_TYPE_UNSPECIFIED, PullRequestComment_Review_COMMENT, PullRequestComment_Review_CHANGE_REQUESTED, PullRequestComment_Review_APPROVED

const (
	// Unspecified.
	PullRequestComment_Review_ACTION_TYPE_UNSPECIFIED PullRequestComment_Review_ActionType = 0
	// A general review comment.
	PullRequestComment_Review_COMMENT PullRequestComment_Review_ActionType = 1
	// Change required from this review.
	PullRequestComment_Review_CHANGE_REQUESTED PullRequestComment_Review_ActionType = 2
	// Change approved from this review.
	PullRequestComment_Review_APPROVED PullRequestComment_Review_ActionType = 3
)

func (PullRequestComment_Review_ActionType) Descriptor

func (PullRequestComment_Review_ActionType) Enum

func (PullRequestComment_Review_ActionType) EnumDescriptor

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

Deprecated: Use PullRequestComment_Review_ActionType.Descriptor instead.

func (PullRequestComment_Review_ActionType) Number

func (PullRequestComment_Review_ActionType) String

func (PullRequestComment_Review_ActionType) Type

PullRequest_Branch

type PullRequest_Branch struct {

	// Required. Name of the branch.
	Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// Output only. The commit at the tip of the branch.
	Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
	// contains filtered or unexported fields
}

Branch represents a branch involved in a pull request.

func (*PullRequest_Branch) Descriptor

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

Deprecated: Use PullRequest_Branch.ProtoReflect.Descriptor instead.

func (*PullRequest_Branch) GetRef

func (x *PullRequest_Branch) GetRef() string

func (*PullRequest_Branch) GetSha

func (x *PullRequest_Branch) GetSha() string

func (*PullRequest_Branch) ProtoMessage

func (*PullRequest_Branch) ProtoMessage()

func (*PullRequest_Branch) ProtoReflect

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

func (*PullRequest_Branch) Reset

func (x *PullRequest_Branch) Reset()

func (*PullRequest_Branch) String

func (x *PullRequest_Branch) String() string

PullRequest_State

type PullRequest_State int32

State of the pull request.

PullRequest_STATE_UNSPECIFIED, PullRequest_OPEN, PullRequest_CLOSED, PullRequest_MERGED

const (
	// Unspecified.
	PullRequest_STATE_UNSPECIFIED PullRequest_State = 0
	// An open pull request.
	PullRequest_OPEN PullRequest_State = 1
	// A closed pull request.
	PullRequest_CLOSED PullRequest_State = 2
	// A merged pull request.
	PullRequest_MERGED PullRequest_State = 3
)

func (PullRequest_State) Descriptor

func (PullRequest_State) Enum

func (PullRequest_State) EnumDescriptor

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

Deprecated: Use PullRequest_State.Descriptor instead.

func (PullRequest_State) Number

func (PullRequest_State) String

func (x PullRequest_State) String() string

func (PullRequest_State) Type

Repository

type Repository struct {

	// Optional. A unique identifier for a repository. The name should be of the
	// format:
	// `projects/{project}/locations/{location_id}/repositories/{repository_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Description of the repository, which cannot exceed 500
	// characters.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. The name of the instance in which the repository is hosted,
	// formatted as
	// `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
	// When creating repository via securesourcemanager.googleapis.com, this field
	// is used as input. When creating repository via *.sourcemanager.dev, this
	// field is output only.
	Instance string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
	// Output only. Unique identifier of the repository.
	Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
	// Output only. Create timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. This checksum is computed by the server based on the value of
	// other fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
	// Output only. URIs for the repository.
	Uris *Repository_URIs `protobuf:"bytes,9,opt,name=uris,proto3" json:"uris,omitempty"`
	// Input only. Initial configurations for the repository.
	InitialConfig *Repository_InitialConfig `protobuf:"bytes,10,opt,name=initial_config,json=initialConfig,proto3" json:"initial_config,omitempty"`
	// contains filtered or unexported fields
}

Metadata of a Secure Source Manager repository.

func (*Repository) Descriptor

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

Deprecated: Use Repository.ProtoReflect.Descriptor instead.

func (*Repository) GetCreateTime

func (x *Repository) GetCreateTime() *timestamppb.Timestamp

func (*Repository) GetDescription

func (x *Repository) GetDescription() string

func (*Repository) GetEtag

func (x *Repository) GetEtag() string

func (*Repository) GetInitialConfig

func (x *Repository) GetInitialConfig() *Repository_InitialConfig

func (*Repository) GetInstance

func (x *Repository) GetInstance() string

func (*Repository) GetName

func (x *Repository) GetName() string

func (*Repository) GetUid

func (x *Repository) GetUid() string

func (*Repository) GetUpdateTime

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

func (*Repository) GetUris

func (x *Repository) GetUris() *Repository_URIs

func (*Repository) ProtoMessage

func (*Repository) ProtoMessage()

func (*Repository) ProtoReflect

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

func (*Repository) Reset

func (x *Repository) Reset()

func (*Repository) String

func (x *Repository) String() string

Repository_InitialConfig

type Repository_InitialConfig struct {

	// Default branch name of the repository.
	DefaultBranch string `protobuf:"bytes,1,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"`
	// List of gitignore template names user can choose from.
	// Valid values: actionscript, ada, agda, android,
	// anjuta, ansible, appcelerator-titanium, app-engine, archives,
	// arch-linux-packages, atmel-studio, autotools, backup, bazaar, bazel,
	// bitrix, bricx-cc, c, cake-php, calabash, cf-wheels, chef-cookbook,
	// clojure, cloud9, c-make, code-igniter, code-kit, code-sniffer,
	// common-lisp, composer, concrete5, coq, cordova, cpp, craft-cms, cuda,
	// cvs, d, dart, dart-editor, delphi, diff, dm, dreamweaver, dropbox,
	// drupal, drupal-7, eagle, eclipse, eiffel-studio, elisp, elixir, elm,
	// emacs, ensime, epi-server, erlang, esp-idf, espresso, exercism,
	// expression-engine, ext-js, fancy, finale, flex-builder, force-dot-com,
	// fortran, fuel-php, gcov, git-book, gnome-shell-extension, go, godot, gpg,
	// gradle, grails, gwt, haskell, hugo, iar-ewarm, idris, igor-pro, images,
	// infor-cms, java, jboss, jboss-4, jboss-6, jdeveloper, jekyll,
	// jenkins-home, jenv, jet-brains, jigsaw, joomla, julia, jupyter-notebooks,
	// kate, kdevelop4, kentico, ki-cad, kohana, kotlin, lab-view, laravel,
	// lazarus, leiningen, lemon-stand, libre-office, lilypond, linux, lithium,
	// logtalk, lua, lyx, mac-os, magento, magento-1, magento-2, matlab, maven,
	// mercurial, mercury, metals, meta-programming-system, meteor,
	// microsoft-office, model-sim, momentics, mono-develop, nanoc, net-beans,
	// nikola, nim, ninja, node, notepad-pp, nwjs, objective--c, ocaml, octave,
	// opa, open-cart, openssl, oracle-forms, otto, packer, patch, perl, perl6,
	// phalcon, phoenix, pimcore, play-framework, plone, prestashop, processing,
	// psoc-creator, puppet, pure-script, putty, python, qooxdoo, qt, r, racket,
	// rails, raku, red, redcar, redis, rhodes-rhomobile, ros, ruby, rust, sam,
	// sass, sbt, scala, scheme, scons, scrivener, sdcc, seam-gen, sketch-up,
	// slick-edit, smalltalk, snap, splunk, stata, stella, sublime-text,
	// sugar-crm, svn, swift, symfony, symphony-cms, synopsys-vcs, tags,
	// terraform, tex, text-mate, textpattern, think-php, tortoise-git,
	// turbo-gears-2, typo3, umbraco, unity, unreal-engine, vagrant, vim,
	// virtual-env, virtuoso, visual-studio, visual-studio-code, vue, vvvv, waf,
	// web-methods, windows, word-press, xcode, xilinx, xilinx-ise, xojo,
	// yeoman, yii, zend-framework, zephir.
	Gitignores []string `protobuf:"bytes,2,rep,name=gitignores,proto3" json:"gitignores,omitempty"`
	// License template name user can choose from.
	// Valid values: license-0bsd, license-389-exception, aal, abstyles,
	// adobe-2006, adobe-glyph, adsl, afl-1-1, afl-1-2, afl-2-0, afl-2-1,
	// afl-3-0, afmparse, agpl-1-0, agpl-1-0-only, agpl-1-0-or-later,
	// agpl-3-0-only, agpl-3-0-or-later, aladdin, amdplpa, aml, ampas, antlr-pd,
	// antlr-pd-fallback, apache-1-0, apache-1-1, apache-2-0, apafml, apl-1-0,
	// apsl-1-0, apsl-1-1, apsl-1-2, apsl-2-0, artistic-1-0, artistic-1-0-cl8,
	// artistic-1-0-perl, artistic-2-0, autoconf-exception-2-0,
	// autoconf-exception-3-0, bahyph, barr, beerware, bison-exception-2-2,
	// bittorrent-1-0, bittorrent-1-1, blessing, blueoak-1-0-0,
	// bootloader-exception, borceux, bsd-1-clause, bsd-2-clause,
	// bsd-2-clause-freebsd, bsd-2-clause-netbsd, bsd-2-clause-patent,
	// bsd-2-clause-views, bsd-3-clause, bsd-3-clause-attribution,
	// bsd-3-clause-clear, bsd-3-clause-lbnl, bsd-3-clause-modification,
	// bsd-3-clause-no-nuclear-license, bsd-3-clause-no-nuclear-license-2014,
	// bsd-3-clause-no-nuclear-warranty, bsd-3-clause-open-mpi, bsd-4-clause,
	// bsd-4-clause-shortened, bsd-4-clause-uc, bsd-protection, bsd-source-code,
	// bsl-1-0, busl-1-1, cal-1-0, cal-1-0-combined-work-exception, caldera,
	// catosl-1-1, cc0-1-0, cc-by-1-0, cc-by-2-0, cc-by-3-0, cc-by-3-0-at,
	// cc-by-3-0-us, cc-by-4-0, cc-by-nc-1-0, cc-by-nc-2-0, cc-by-nc-3-0,
	// cc-by-nc-4-0, cc-by-nc-nd-1-0, cc-by-nc-nd-2-0, cc-by-nc-nd-3-0,
	// cc-by-nc-nd-3-0-igo, cc-by-nc-nd-4-0, cc-by-nc-sa-1-0, cc-by-nc-sa-2-0,
	// cc-by-nc-sa-3-0, cc-by-nc-sa-4-0, cc-by-nd-1-0, cc-by-nd-2-0,
	// cc-by-nd-3-0, cc-by-nd-4-0, cc-by-sa-1-0, cc-by-sa-2-0, cc-by-sa-2-0-uk,
	// cc-by-sa-2-1-jp, cc-by-sa-3-0, cc-by-sa-3-0-at, cc-by-sa-4-0, cc-pddc,
	// cddl-1-0, cddl-1-1, cdla-permissive-1-0, cdla-sharing-1-0, cecill-1-0,
	// cecill-1-1, cecill-2-0, cecill-2-1, cecill-b, cecill-c, cern-ohl-1-1,
	// cern-ohl-1-2, cern-ohl-p-2-0, cern-ohl-s-2-0, cern-ohl-w-2-0, clartistic,
	// classpath-exception-2-0, clisp-exception-2-0, cnri-jython, cnri-python,
	// cnri-python-gpl-compatible, condor-1-1, copyleft-next-0-3-0,
	// copyleft-next-0-3-1, cpal-1-0, cpl-1-0, cpol-1-02, crossword,
	// crystal-stacker, cua-opl-1-0, cube, c-uda-1-0, curl, d-fsl-1-0, diffmark,
	// digirule-foss-exception, doc, dotseqn, drl-1-0, dsdp, dvipdfm, ecl-1-0,
	// ecl-2-0, ecos-exception-2-0, efl-1-0, efl-2-0, egenix, entessa, epics,
	// epl-1-0, epl-2-0, erlpl-1-1, etalab-2-0, eu-datagrid, eupl-1-0, eupl-1-1,
	// eupl-1-2, eurosym, fair, fawkes-runtime-exception, fltk-exception,
	// font-exception-2-0, frameworx-1-0, freebsd-doc, freeimage,
	// freertos-exception-2-0, fsfap, fsful, fsfullr, ftl, gcc-exception-2-0,
	// gcc-exception-3-1, gd, gfdl-1-1-invariants-only,
	// gfdl-1-1-invariants-or-later, gfdl-1-1-no-invariants-only,
	// gfdl-1-1-no-invariants-or-later, gfdl-1-1-only, gfdl-1-1-or-later,
	// gfdl-1-2-invariants-only, gfdl-1-2-invariants-or-later,
	// gfdl-1-2-no-invariants-only, gfdl-1-2-no-invariants-or-later,
	// gfdl-1-2-only, gfdl-1-2-or-later, gfdl-1-3-invariants-only,
	// gfdl-1-3-invariants-or-later, gfdl-1-3-no-invariants-only,
	// gfdl-1-3-no-invariants-or-later, gfdl-1-3-only, gfdl-1-3-or-later,
	// giftware, gl2ps, glide, glulxe, glwtpl, gnu-javamail-exception, gnuplot,
	// gpl-1-0-only, gpl-1-0-or-later, gpl-2-0-only, gpl-2-0-or-later,
	// gpl-3-0-linking-exception, gpl-3-0-linking-source-exception,
	// gpl-3-0-only, gpl-3-0-or-later, gpl-cc-1-0, gsoap-1-3b, haskell-report,
	// hippocratic-2-1, hpnd, hpnd-sell-variant, htmltidy,
	// i2p-gpl-java-exception, ibm-pibs, icu, ijg, image-magick, imatix, imlib2,
	// info-zip, intel, intel-acpi, interbase-1-0, ipa, ipl-1-0, isc,
	// jasper-2-0, jpnic, json, lal-1-2, lal-1-3, latex2e, leptonica,
	// lgpl-2-0-only, lgpl-2-0-or-later, lgpl-2-1-only, lgpl-2-1-or-later,
	// lgpl-3-0-linking-exception, lgpl-3-0-only, lgpl-3-0-or-later, lgpllr,
	// libpng, libpng-2-0, libselinux-1-0, libtiff, libtool-exception,
	// liliq-p-1-1, liliq-r-1-1, liliq-rplus-1-1, linux-openib,
	// linux-syscall-note, llvm-exception, lpl-1-0, lpl-1-02, lppl-1-0,
	// lppl-1-1, lppl-1-2, lppl-1-3a, lppl-1-3c, lzma-exception, make-index,
	// mif-exception, miros, mit, mit-0, mit-advertising, mit-cmu, mit-enna,
	// mit-feh, mit-modern-variant, mitnfa, mit-open-group, motosoto, mpich2,
	// mpl-1-0, mpl-1-1, mpl-2-0, mpl-2-0-no-copyleft-exception, ms-pl, ms-rl,
	// mtll, mulanpsl-1-0, mulanpsl-2-0, multics, mup, naist-2003, nasa-1-3,
	// naumen, nbpl-1-0, ncgl-uk-2-0, ncsa, netcdf, net-snmp, newsletr, ngpl,
	// nist-pd, nist-pd-fallback, nlod-1-0, nlpl, nokia, nokia-qt-exception-1-1,
	// nosl, noweb, npl-1-0, npl-1-1, nposl-3-0, nrl, ntp, ntp-0,
	// ocaml-lgpl-linking-exception, occt-exception-1-0, occt-pl, oclc-2-0,
	// odbl-1-0, odc-by-1-0, ofl-1-0, ofl-1-0-no-rfn, ofl-1-0-rfn, ofl-1-1,
	// ofl-1-1-no-rfn, ofl-1-1-rfn, ogc-1-0, ogdl-taiwan-1-0, ogl-canada-2-0,
	// ogl-uk-1-0, ogl-uk-2-0, ogl-uk-3-0, ogtsl, oldap-1-1, oldap-1-2,
	// oldap-1-3, oldap-1-4, oldap-2-0, oldap-2-0-1, oldap-2-1, oldap-2-2,
	// oldap-2-2-1, oldap-2-2-2, oldap-2-3, oldap-2-4, oldap-2-7, oml,
	// openjdk-assembly-exception-1-0, openssl, openvpn-openssl-exception,
	// opl-1-0, oset-pl-2-1, osl-1-0, osl-1-1, osl-2-0, osl-2-1, osl-3-0,
	// o-uda-1-0, parity-6-0-0, parity-7-0-0, pddl-1-0, php-3-0, php-3-01,
	// plexus, polyform-noncommercial-1-0-0, polyform-small-business-1-0-0,
	// postgresql, psf-2-0, psfrag, ps-or-pdf-font-exception-20170817, psutils,
	// python-2-0, qhull, qpl-1-0, qt-gpl-exception-1-0, qt-lgpl-exception-1-1,
	// qwt-exception-1-0, rdisc, rhecos-1-1, rpl-1-1, rpsl-1-0, rsa-md, rscpl,
	// ruby, saxpath, sax-pd, scea, sendmail, sendmail-8-23, sgi-b-1-0,
	// sgi-b-1-1, sgi-b-2-0, shl-0-51, shl-2-0, shl-2-1, simpl-2-0, sissl,
	// sissl-1-2, sleepycat, smlnj, smppl, snia, spencer-86, spencer-94,
	// spencer-99, spl-1-0, ssh-openssh, ssh-short, sspl-1-0, sugarcrm-1-1-3,
	// swift-exception, swl, tapr-ohl-1-0, tcl, tcp-wrappers, tmate, torque-1-1,
	// tosl, tu-berlin-1-0, tu-berlin-2-0, u-boot-exception-2-0, ucl-1-0,
	// unicode-dfs-2015, unicode-dfs-2016, unicode-tou,
	// universal-foss-exception-1-0, unlicense, upl-1-0, vim, vostrom, vsl-1-0,
	// w3c, w3c-19980720, w3c-20150513, watcom-1-0, wsuipa, wtfpl,
	// wxwindows-exception-3-1, x11, xerox, xfree86-1-1, xinetd, xnet, xpp,
	// xskat, ypl-1-0, ypl-1-1, zed, zend-2-0, zimbra-1-3, zimbra-1-4, zlib,
	// zlib-acknowledgement, zpl-1-1, zpl-2-0, zpl-2-1.
	License string `protobuf:"bytes,3,opt,name=license,proto3" json:"license,omitempty"`
	// README template name.
	// Valid template name(s) are: default.
	Readme string `protobuf:"bytes,4,opt,name=readme,proto3" json:"readme,omitempty"`
	// contains filtered or unexported fields
}

Repository initialization configuration.

func (*Repository_InitialConfig) Descriptor

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

Deprecated: Use Repository_InitialConfig.ProtoReflect.Descriptor instead.

func (*Repository_InitialConfig) GetDefaultBranch

func (x *Repository_InitialConfig) GetDefaultBranch() string

func (*Repository_InitialConfig) GetGitignores

func (x *Repository_InitialConfig) GetGitignores() []string

func (*Repository_InitialConfig) GetLicense

func (x *Repository_InitialConfig) GetLicense() string

func (*Repository_InitialConfig) GetReadme

func (x *Repository_InitialConfig) GetReadme() string

func (*Repository_InitialConfig) ProtoMessage

func (*Repository_InitialConfig) ProtoMessage()

func (*Repository_InitialConfig) ProtoReflect

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

func (*Repository_InitialConfig) Reset

func (x *Repository_InitialConfig) Reset()

func (*Repository_InitialConfig) String

func (x *Repository_InitialConfig) String() string

Repository_URIs

type Repository_URIs struct {

	// Output only. HTML is the URI for user to view the repository in a
	// browser.
	Html string `protobuf:"bytes,1,opt,name=html,proto3" json:"html,omitempty"`
	// Output only. git_https is the git HTTPS URI for git operations.
	GitHttps string `protobuf:"bytes,2,opt,name=git_https,json=gitHttps,proto3" json:"git_https,omitempty"`
	// Output only. API is the URI for API access.
	Api string `protobuf:"bytes,3,opt,name=api,proto3" json:"api,omitempty"`
	// contains filtered or unexported fields
}

URIs for the repository.

func (*Repository_URIs) Descriptor

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

Deprecated: Use Repository_URIs.ProtoReflect.Descriptor instead.

func (*Repository_URIs) GetApi

func (x *Repository_URIs) GetApi() string

func (*Repository_URIs) GetGitHttps

func (x *Repository_URIs) GetGitHttps() string

func (*Repository_URIs) GetHtml

func (x *Repository_URIs) GetHtml() string

func (*Repository_URIs) ProtoMessage

func (*Repository_URIs) ProtoMessage()

func (*Repository_URIs) ProtoReflect

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

func (*Repository_URIs) Reset

func (x *Repository_URIs) Reset()

func (*Repository_URIs) String

func (x *Repository_URIs) String() string

ResolvePullRequestCommentsRequest

type ResolvePullRequestCommentsRequest struct {

	// Required. The pull request in which to resolve the pull request comments.
	// Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The names of the pull request comments to resolve. Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`
	// Only comments from the same threads are allowed in the same request.
	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
	// Optional. If set, at least one comment in a thread is required, rest of the
	// comments in the same thread will be automatically updated to resolved. If
	// unset, all comments in the same thread need be present.
	AutoFill bool `protobuf:"varint,3,opt,name=auto_fill,json=autoFill,proto3" json:"auto_fill,omitempty"`
	// contains filtered or unexported fields
}

The request to resolve multiple pull request comments.

func (*ResolvePullRequestCommentsRequest) Descriptor

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

Deprecated: Use ResolvePullRequestCommentsRequest.ProtoReflect.Descriptor instead.

func (*ResolvePullRequestCommentsRequest) GetAutoFill

func (x *ResolvePullRequestCommentsRequest) GetAutoFill() bool

func (*ResolvePullRequestCommentsRequest) GetNames

func (x *ResolvePullRequestCommentsRequest) GetNames() []string

func (*ResolvePullRequestCommentsRequest) GetParent

func (*ResolvePullRequestCommentsRequest) ProtoMessage

func (*ResolvePullRequestCommentsRequest) ProtoMessage()

func (*ResolvePullRequestCommentsRequest) ProtoReflect

func (*ResolvePullRequestCommentsRequest) Reset

func (*ResolvePullRequestCommentsRequest) String

ResolvePullRequestCommentsResponse

type ResolvePullRequestCommentsResponse struct {

	// The list of pull request comments resolved.
	PullRequestComments []*PullRequestComment `protobuf:"bytes,1,rep,name=pull_request_comments,json=pullRequestComments,proto3" json:"pull_request_comments,omitempty"`
	// contains filtered or unexported fields
}

The response to resolve multiple pull request comments.

func (*ResolvePullRequestCommentsResponse) Descriptor

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

Deprecated: Use ResolvePullRequestCommentsResponse.ProtoReflect.Descriptor instead.

func (*ResolvePullRequestCommentsResponse) GetPullRequestComments

func (x *ResolvePullRequestCommentsResponse) GetPullRequestComments() []*PullRequestComment

func (*ResolvePullRequestCommentsResponse) ProtoMessage

func (*ResolvePullRequestCommentsResponse) ProtoMessage()

func (*ResolvePullRequestCommentsResponse) ProtoReflect

func (*ResolvePullRequestCommentsResponse) Reset

func (*ResolvePullRequestCommentsResponse) String

SecureSourceManagerClient

type SecureSourceManagerClient interface {
	// Lists Instances in a given project and location.
	ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
	// Gets details of a single instance.
	GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
	// Creates a new instance in a given project and location.
	CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single instance.
	DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists Repositories in a given project and location.
	//
	// The instance field is required in the query parameter for requests using
	// the securesourcemanager.googleapis.com endpoint.
	ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error)
	// Gets metadata of a repository.
	GetRepository(ctx context.Context, in *GetRepositoryRequest, opts ...grpc.CallOption) (*Repository, error)
	// Creates a new repository in a given project and location.
	//
	// The Repository.Instance field is required in the request body for requests
	// using the securesourcemanager.googleapis.com endpoint.
	CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the metadata of a repository.
	UpdateRepository(ctx context.Context, in *UpdateRepositoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a Repository.
	DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists hooks in a given repository.
	ListHooks(ctx context.Context, in *ListHooksRequest, opts ...grpc.CallOption) (*ListHooksResponse, error)
	// Gets metadata of a hook.
	GetHook(ctx context.Context, in *GetHookRequest, opts ...grpc.CallOption) (*Hook, error)
	// Creates a new hook in a given repository.
	CreateHook(ctx context.Context, in *CreateHookRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the metadata of a hook.
	UpdateHook(ctx context.Context, in *UpdateHookRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a Hook.
	DeleteHook(ctx context.Context, in *DeleteHookRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Get IAM policy for a repository.
	GetIamPolicyRepo(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
	// Set IAM policy on a repository.
	SetIamPolicyRepo(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
	// Test IAM permissions on a repository.
	// IAM permission checks are not required on this method.
	TestIamPermissionsRepo(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
	// CreateBranchRule creates a branch rule in a given repository.
	CreateBranchRule(ctx context.Context, in *CreateBranchRuleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// ListBranchRules lists branch rules in a given repository.
	ListBranchRules(ctx context.Context, in *ListBranchRulesRequest, opts ...grpc.CallOption) (*ListBranchRulesResponse, error)
	// GetBranchRule gets a branch rule.
	GetBranchRule(ctx context.Context, in *GetBranchRuleRequest, opts ...grpc.CallOption) (*BranchRule, error)
	// UpdateBranchRule updates a branch rule.
	UpdateBranchRule(ctx context.Context, in *UpdateBranchRuleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// DeleteBranchRule deletes a branch rule.
	DeleteBranchRule(ctx context.Context, in *DeleteBranchRuleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates a pull request.
	CreatePullRequest(ctx context.Context, in *CreatePullRequestRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets a pull request.
	GetPullRequest(ctx context.Context, in *GetPullRequestRequest, opts ...grpc.CallOption) (*PullRequest, error)
	// Lists pull requests in a repository.
	ListPullRequests(ctx context.Context, in *ListPullRequestsRequest, opts ...grpc.CallOption) (*ListPullRequestsResponse, error)
	// Updates a pull request.
	UpdatePullRequest(ctx context.Context, in *UpdatePullRequestRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Merges a pull request.
	MergePullRequest(ctx context.Context, in *MergePullRequestRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Opens a pull request.
	OpenPullRequest(ctx context.Context, in *OpenPullRequestRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Closes a pull request without merging.
	ClosePullRequest(ctx context.Context, in *ClosePullRequestRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists a pull request's file diffs.
	ListPullRequestFileDiffs(ctx context.Context, in *ListPullRequestFileDiffsRequest, opts ...grpc.CallOption) (*ListPullRequestFileDiffsResponse, error)
	// Fetches a tree from a repository.
	FetchTree(ctx context.Context, in *FetchTreeRequest, opts ...grpc.CallOption) (*FetchTreeResponse, error)
	// Fetches a blob from a repository.
	FetchBlob(ctx context.Context, in *FetchBlobRequest, opts ...grpc.CallOption) (*FetchBlobResponse, error)
	// Creates an issue.
	CreateIssue(ctx context.Context, in *CreateIssueRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets an issue.
	GetIssue(ctx context.Context, in *GetIssueRequest, opts ...grpc.CallOption) (*Issue, error)
	// Lists issues in a repository.
	ListIssues(ctx context.Context, in *ListIssuesRequest, opts ...grpc.CallOption) (*ListIssuesResponse, error)
	// Updates a issue.
	UpdateIssue(ctx context.Context, in *UpdateIssueRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes an issue.
	DeleteIssue(ctx context.Context, in *DeleteIssueRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Opens an issue.
	OpenIssue(ctx context.Context, in *OpenIssueRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Closes an issue.
	CloseIssue(ctx context.Context, in *CloseIssueRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets a pull request comment.
	GetPullRequestComment(ctx context.Context, in *GetPullRequestCommentRequest, opts ...grpc.CallOption) (*PullRequestComment, error)
	// Lists pull request comments.
	ListPullRequestComments(ctx context.Context, in *ListPullRequestCommentsRequest, opts ...grpc.CallOption) (*ListPullRequestCommentsResponse, error)
	// Creates a pull request comment. This function is used to create a single
	// PullRequestComment of type Comment, or a single PullRequestComment of type
	// Code that's replying to another PullRequestComment of type Code. Use
	// BatchCreatePullRequestComments to create multiple PullRequestComments for
	// code reviews.
	CreatePullRequestComment(ctx context.Context, in *CreatePullRequestCommentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates a pull request comment.
	UpdatePullRequestComment(ctx context.Context, in *UpdatePullRequestCommentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a pull request comment.
	DeletePullRequestComment(ctx context.Context, in *DeletePullRequestCommentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Batch creates pull request comments. This function is used to create
	// multiple PullRequestComments for code review. There needs to be exactly one
	// PullRequestComment of type Review, and at most 100 PullRequestComments of
	// type Code per request. The Postition of the code comments must be unique
	// within the request.
	BatchCreatePullRequestComments(ctx context.Context, in *BatchCreatePullRequestCommentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Resolves pull request comments. A list of PullRequestComment names must be
	// provided. The PullRequestComment names must be in the same conversation
	// thread. If auto_fill is set, all comments in the conversation thread will
	// be resolved.
	ResolvePullRequestComments(ctx context.Context, in *ResolvePullRequestCommentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Unresolves pull request comments. A list of PullRequestComment names must
	// be provided. The PullRequestComment names must be in the same conversation
	// thread. If auto_fill is set, all comments in the conversation thread will
	// be unresolved.
	UnresolvePullRequestComments(ctx context.Context, in *UnresolvePullRequestCommentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates an issue comment.
	CreateIssueComment(ctx context.Context, in *CreateIssueCommentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets an issue comment.
	GetIssueComment(ctx context.Context, in *GetIssueCommentRequest, opts ...grpc.CallOption) (*IssueComment, error)
	// Lists comments in an issue.
	ListIssueComments(ctx context.Context, in *ListIssueCommentsRequest, opts ...grpc.CallOption) (*ListIssueCommentsResponse, error)
	// Updates an issue comment.
	UpdateIssueComment(ctx context.Context, in *UpdateIssueCommentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes an issue comment.
	DeleteIssueComment(ctx context.Context, in *DeleteIssueCommentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

SecureSourceManagerClient is the client API for SecureSourceManager service.

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

func NewSecureSourceManagerClient

func NewSecureSourceManagerClient(cc grpc.ClientConnInterface) SecureSourceManagerClient

SecureSourceManagerServer

type SecureSourceManagerServer interface {
	// Lists Instances in a given project and location.
	ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
	// Gets details of a single instance.
	GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
	// Creates a new instance in a given project and location.
	CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)
	// Deletes a single instance.
	DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)
	// Lists Repositories in a given project and location.
	//
	// The instance field is required in the query parameter for requests using
	// the securesourcemanager.googleapis.com endpoint.
	ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
	// Gets metadata of a repository.
	GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error)
	// Creates a new repository in a given project and location.
	//
	// The Repository.Instance field is required in the request body for requests
	// using the securesourcemanager.googleapis.com endpoint.
	CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunningpb.Operation, error)
	// Updates the metadata of a repository.
	UpdateRepository(context.Context, *UpdateRepositoryRequest) (*longrunningpb.Operation, error)
	// Deletes a Repository.
	DeleteRepository(context.Context, *DeleteRepositoryRequest) (*longrunningpb.Operation, error)
	// Lists hooks in a given repository.
	ListHooks(context.Context, *ListHooksRequest) (*ListHooksResponse, error)
	// Gets metadata of a hook.
	GetHook(context.Context, *GetHookRequest) (*Hook, error)
	// Creates a new hook in a given repository.
	CreateHook(context.Context, *CreateHookRequest) (*longrunningpb.Operation, error)
	// Updates the metadata of a hook.
	UpdateHook(context.Context, *UpdateHookRequest) (*longrunningpb.Operation, error)
	// Deletes a Hook.
	DeleteHook(context.Context, *DeleteHookRequest) (*longrunningpb.Operation, error)
	// Get IAM policy for a repository.
	GetIamPolicyRepo(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
	// Set IAM policy on a repository.
	SetIamPolicyRepo(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
	// Test IAM permissions on a repository.
	// IAM permission checks are not required on this method.
	TestIamPermissionsRepo(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
	// CreateBranchRule creates a branch rule in a given repository.
	CreateBranchRule(context.Context, *CreateBranchRuleRequest) (*longrunningpb.Operation, error)
	// ListBranchRules lists branch rules in a given repository.
	ListBranchRules(context.Context, *ListBranchRulesRequest) (*ListBranchRulesResponse, error)
	// GetBranchRule gets a branch rule.
	GetBranchRule(context.Context, *GetBranchRuleRequest) (*BranchRule, error)
	// UpdateBranchRule updates a branch rule.
	UpdateBranchRule(context.Context, *UpdateBranchRuleRequest) (*longrunningpb.Operation, error)
	// DeleteBranchRule deletes a branch rule.
	DeleteBranchRule(context.Context, *DeleteBranchRuleRequest) (*longrunningpb.Operation, error)
	// Creates a pull request.
	CreatePullRequest(context.Context, *CreatePullRequestRequest) (*longrunningpb.Operation, error)
	// Gets a pull request.
	GetPullRequest(context.Context, *GetPullRequestRequest) (*PullRequest, error)
	// Lists pull requests in a repository.
	ListPullRequests(context.Context, *ListPullRequestsRequest) (*ListPullRequestsResponse, error)
	// Updates a pull request.
	UpdatePullRequest(context.Context, *UpdatePullRequestRequest) (*longrunningpb.Operation, error)
	// Merges a pull request.
	MergePullRequest(context.Context, *MergePullRequestRequest) (*longrunningpb.Operation, error)
	// Opens a pull request.
	OpenPullRequest(context.Context, *OpenPullRequestRequest) (*longrunningpb.Operation, error)
	// Closes a pull request without merging.
	ClosePullRequest(context.Context, *ClosePullRequestRequest) (*longrunningpb.Operation, error)
	// Lists a pull request's file diffs.
	ListPullRequestFileDiffs(context.Context, *ListPullRequestFileDiffsRequest) (*ListPullRequestFileDiffsResponse, error)
	// Fetches a tree from a repository.
	FetchTree(context.Context, *FetchTreeRequest) (*FetchTreeResponse, error)
	// Fetches a blob from a repository.
	FetchBlob(context.Context, *FetchBlobRequest) (*FetchBlobResponse, error)
	// Creates an issue.
	CreateIssue(context.Context, *CreateIssueRequest) (*longrunningpb.Operation, error)
	// Gets an issue.
	GetIssue(context.Context, *GetIssueRequest) (*Issue, error)
	// Lists issues in a repository.
	ListIssues(context.Context, *ListIssuesRequest) (*ListIssuesResponse, error)
	// Updates a issue.
	UpdateIssue(context.Context, *UpdateIssueRequest) (*longrunningpb.Operation, error)
	// Deletes an issue.
	DeleteIssue(context.Context, *DeleteIssueRequest) (*longrunningpb.Operation, error)
	// Opens an issue.
	OpenIssue(context.Context, *OpenIssueRequest) (*longrunningpb.Operation, error)
	// Closes an issue.
	CloseIssue(context.Context, *CloseIssueRequest) (*longrunningpb.Operation, error)
	// Gets a pull request comment.
	GetPullRequestComment(context.Context, *GetPullRequestCommentRequest) (*PullRequestComment, error)
	// Lists pull request comments.
	ListPullRequestComments(context.Context, *ListPullRequestCommentsRequest) (*ListPullRequestCommentsResponse, error)
	// Creates a pull request comment. This function is used to create a single
	// PullRequestComment of type Comment, or a single PullRequestComment of type
	// Code that's replying to another PullRequestComment of type Code. Use
	// BatchCreatePullRequestComments to create multiple PullRequestComments for
	// code reviews.
	CreatePullRequestComment(context.Context, *CreatePullRequestCommentRequest) (*longrunningpb.Operation, error)
	// Updates a pull request comment.
	UpdatePullRequestComment(context.Context, *UpdatePullRequestCommentRequest) (*longrunningpb.Operation, error)
	// Deletes a pull request comment.
	DeletePullRequestComment(context.Context, *DeletePullRequestCommentRequest) (*longrunningpb.Operation, error)
	// Batch creates pull request comments. This function is used to create
	// multiple PullRequestComments for code review. There needs to be exactly one
	// PullRequestComment of type Review, and at most 100 PullRequestComments of
	// type Code per request. The Postition of the code comments must be unique
	// within the request.
	BatchCreatePullRequestComments(context.Context, *BatchCreatePullRequestCommentsRequest) (*longrunningpb.Operation, error)
	// Resolves pull request comments. A list of PullRequestComment names must be
	// provided. The PullRequestComment names must be in the same conversation
	// thread. If auto_fill is set, all comments in the conversation thread will
	// be resolved.
	ResolvePullRequestComments(context.Context, *ResolvePullRequestCommentsRequest) (*longrunningpb.Operation, error)
	// Unresolves pull request comments. A list of PullRequestComment names must
	// be provided. The PullRequestComment names must be in the same conversation
	// thread. If auto_fill is set, all comments in the conversation thread will
	// be unresolved.
	UnresolvePullRequestComments(context.Context, *UnresolvePullRequestCommentsRequest) (*longrunningpb.Operation, error)
	// Creates an issue comment.
	CreateIssueComment(context.Context, *CreateIssueCommentRequest) (*longrunningpb.Operation, error)
	// Gets an issue comment.
	GetIssueComment(context.Context, *GetIssueCommentRequest) (*IssueComment, error)
	// Lists comments in an issue.
	ListIssueComments(context.Context, *ListIssueCommentsRequest) (*ListIssueCommentsResponse, error)
	// Updates an issue comment.
	UpdateIssueComment(context.Context, *UpdateIssueCommentRequest) (*longrunningpb.Operation, error)
	// Deletes an issue comment.
	DeleteIssueComment(context.Context, *DeleteIssueCommentRequest) (*longrunningpb.Operation, error)
}

SecureSourceManagerServer is the server API for SecureSourceManager service. All implementations should embed UnimplementedSecureSourceManagerServer for forward compatibility

TreeEntry

type TreeEntry struct {

	// Output only. The type of the object (TREE, BLOB, COMMIT).  Output-only.
	Type TreeEntry_ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.securesourcemanager.v1.TreeEntry_ObjectType" json:"type,omitempty"`
	// Output only. The SHA-1 hash of the object (unique identifier). Output-only.
	Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
	// Output only. The path of the file or directory within the tree (e.g.,
	// "src/main/java/MyClass.java"). Output-only.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// Output only. The file mode as a string (e.g., "100644"). Indicates file
	// type. Output-only.
	Mode string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"`
	// Output only. The size of the object in bytes (only for blobs). Output-only.
	Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

Represents an entry within a tree structure (like a Git tree).

func (*TreeEntry) Descriptor

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

Deprecated: Use TreeEntry.ProtoReflect.Descriptor instead.

func (*TreeEntry) GetMode

func (x *TreeEntry) GetMode() string

func (*TreeEntry) GetPath

func (x *TreeEntry) GetPath() string

func (*TreeEntry) GetSha

func (x *TreeEntry) GetSha() string

func (*TreeEntry) GetSize

func (x *TreeEntry) GetSize() int64

func (*TreeEntry) GetType

func (x *TreeEntry) GetType() TreeEntry_ObjectType

func (*TreeEntry) ProtoMessage

func (*TreeEntry) ProtoMessage()

func (*TreeEntry) ProtoReflect

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

func (*TreeEntry) Reset

func (x *TreeEntry) Reset()

func (*TreeEntry) String

func (x *TreeEntry) String() string

TreeEntry_ObjectType

type TreeEntry_ObjectType int32

Defines the type of object the TreeEntry represents.

TreeEntry_OBJECT_TYPE_UNSPECIFIED, TreeEntry_TREE, TreeEntry_BLOB, TreeEntry_COMMIT

const (
	// Default value, indicating the object type is unspecified.
	TreeEntry_OBJECT_TYPE_UNSPECIFIED TreeEntry_ObjectType = 0
	// Represents a directory (folder).
	TreeEntry_TREE TreeEntry_ObjectType = 1
	// Represents a file (contains file data).
	TreeEntry_BLOB TreeEntry_ObjectType = 2
	// Represents a pointer to another repository (submodule).
	TreeEntry_COMMIT TreeEntry_ObjectType = 3
)

func (TreeEntry_ObjectType) Descriptor

func (TreeEntry_ObjectType) Enum

func (TreeEntry_ObjectType) EnumDescriptor

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

Deprecated: Use TreeEntry_ObjectType.Descriptor instead.

func (TreeEntry_ObjectType) Number

func (TreeEntry_ObjectType) String

func (x TreeEntry_ObjectType) String() string

func (TreeEntry_ObjectType) Type

UnimplementedSecureSourceManagerServer

type UnimplementedSecureSourceManagerServer struct {
}

UnimplementedSecureSourceManagerServer should be embedded to have forward compatible implementations.

func (UnimplementedSecureSourceManagerServer) BatchCreatePullRequestComments

func (UnimplementedSecureSourceManagerServer) CloseIssue

func (UnimplementedSecureSourceManagerServer) ClosePullRequest

func (UnimplementedSecureSourceManagerServer) CreateBranchRule

func (UnimplementedSecureSourceManagerServer) CreateHook

func (UnimplementedSecureSourceManagerServer) CreateInstance

func (UnimplementedSecureSourceManagerServer) CreateIssue

func (UnimplementedSecureSourceManagerServer) CreateIssueComment

func (UnimplementedSecureSourceManagerServer) CreatePullRequest

func (UnimplementedSecureSourceManagerServer) CreatePullRequestComment

func (UnimplementedSecureSourceManagerServer) CreateRepository

func (UnimplementedSecureSourceManagerServer) DeleteBranchRule

func (UnimplementedSecureSourceManagerServer) DeleteHook

func (UnimplementedSecureSourceManagerServer) DeleteInstance

func (UnimplementedSecureSourceManagerServer) DeleteIssue

func (UnimplementedSecureSourceManagerServer) DeleteIssueComment

func (UnimplementedSecureSourceManagerServer) DeletePullRequestComment

func (UnimplementedSecureSourceManagerServer) DeleteRepository

func (UnimplementedSecureSourceManagerServer) FetchBlob

func (UnimplementedSecureSourceManagerServer) FetchTree

func (UnimplementedSecureSourceManagerServer) GetBranchRule

func (UnimplementedSecureSourceManagerServer) GetHook

func (UnimplementedSecureSourceManagerServer) GetIamPolicyRepo

func (UnimplementedSecureSourceManagerServer) GetInstance

func (UnimplementedSecureSourceManagerServer) GetIssue

func (UnimplementedSecureSourceManagerServer) GetIssueComment

func (UnimplementedSecureSourceManagerServer) GetPullRequest

func (UnimplementedSecureSourceManagerServer) GetPullRequestComment

func (UnimplementedSecureSourceManagerServer) GetRepository

func (UnimplementedSecureSourceManagerServer) ListBranchRules

func (UnimplementedSecureSourceManagerServer) ListHooks

func (UnimplementedSecureSourceManagerServer) ListInstances

func (UnimplementedSecureSourceManagerServer) ListIssueComments

func (UnimplementedSecureSourceManagerServer) ListIssues

func (UnimplementedSecureSourceManagerServer) ListPullRequestComments

func (UnimplementedSecureSourceManagerServer) ListPullRequestFileDiffs

func (UnimplementedSecureSourceManagerServer) ListPullRequests

func (UnimplementedSecureSourceManagerServer) ListRepositories

func (UnimplementedSecureSourceManagerServer) MergePullRequest

func (UnimplementedSecureSourceManagerServer) OpenIssue

func (UnimplementedSecureSourceManagerServer) OpenPullRequest

func (UnimplementedSecureSourceManagerServer) ResolvePullRequestComments

func (UnimplementedSecureSourceManagerServer) SetIamPolicyRepo

func (UnimplementedSecureSourceManagerServer) TestIamPermissionsRepo

func (UnimplementedSecureSourceManagerServer) UnresolvePullRequestComments

func (UnimplementedSecureSourceManagerServer) UpdateBranchRule

func (UnimplementedSecureSourceManagerServer) UpdateHook

func (UnimplementedSecureSourceManagerServer) UpdateIssue

func (UnimplementedSecureSourceManagerServer) UpdateIssueComment

func (UnimplementedSecureSourceManagerServer) UpdatePullRequest

func (UnimplementedSecureSourceManagerServer) UpdatePullRequestComment

func (UnimplementedSecureSourceManagerServer) UpdateRepository

UnresolvePullRequestCommentsRequest

type UnresolvePullRequestCommentsRequest struct {

	// Required. The pull request in which to resolve the pull request comments.
	// Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The names of the pull request comments to unresolve. Format:
	// `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`
	// Only comments from the same threads are allowed in the same request.
	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
	// Optional. If set, at least one comment in a thread is required, rest of the
	// comments in the same thread will be automatically updated to unresolved. If
	// unset, all comments in the same thread need be present.
	AutoFill bool `protobuf:"varint,3,opt,name=auto_fill,json=autoFill,proto3" json:"auto_fill,omitempty"`
	// contains filtered or unexported fields
}

The request to unresolve multiple pull request comments.

func (*UnresolvePullRequestCommentsRequest) Descriptor

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

Deprecated: Use UnresolvePullRequestCommentsRequest.ProtoReflect.Descriptor instead.

func (*UnresolvePullRequestCommentsRequest) GetAutoFill

func (x *UnresolvePullRequestCommentsRequest) GetAutoFill() bool

func (*UnresolvePullRequestCommentsRequest) GetNames

func (*UnresolvePullRequestCommentsRequest) GetParent

func (*UnresolvePullRequestCommentsRequest) ProtoMessage

func (*UnresolvePullRequestCommentsRequest) ProtoMessage()

func (*UnresolvePullRequestCommentsRequest) ProtoReflect

func (*UnresolvePullRequestCommentsRequest) Reset

func (*UnresolvePullRequestCommentsRequest) String

UnresolvePullRequestCommentsResponse

type UnresolvePullRequestCommentsResponse struct {

	// The list of pull request comments unresolved.
	PullRequestComments []*PullRequestComment `protobuf:"bytes,1,rep,name=pull_request_comments,json=pullRequestComments,proto3" json:"pull_request_comments,omitempty"`
	// contains filtered or unexported fields
}

The response to unresolve multiple pull request comments.

func (*UnresolvePullRequestCommentsResponse) Descriptor

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

Deprecated: Use UnresolvePullRequestCommentsResponse.ProtoReflect.Descriptor instead.

func (*UnresolvePullRequestCommentsResponse) GetPullRequestComments

func (x *UnresolvePullRequestCommentsResponse) GetPullRequestComments() []*PullRequestComment

func (*UnresolvePullRequestCommentsResponse) ProtoMessage

func (*UnresolvePullRequestCommentsResponse) ProtoMessage()

func (*UnresolvePullRequestCommentsResponse) ProtoReflect

func (*UnresolvePullRequestCommentsResponse) Reset

func (*UnresolvePullRequestCommentsResponse) String

UnsafeSecureSourceManagerServer

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

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

UpdateBranchRuleRequest

type UpdateBranchRuleRequest struct {
	BranchRule *BranchRule `protobuf:"bytes,1,opt,name=branch_rule,json=branchRule,proto3" json:"branch_rule,omitempty"`
	// Optional. If set, validate the request and preview the review, but do not
	// actually post it.  (https://google.aip.dev/163, for declarative friendly)
	ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Required. Field mask is used to specify the fields to be overwritten in the
	// branchRule resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask.
	// The special value "*" means full replacement.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

UpdateBranchRuleRequest is the request to update a branchRule.

func (*UpdateBranchRuleRequest) Descriptor

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

Deprecated: Use UpdateBranchRuleRequest.ProtoReflect.Descriptor instead.

func (*UpdateBranchRuleRequest) GetBranchRule

func (x *UpdateBranchRuleRequest) GetBranchRule() *BranchRule

func (*UpdateBranchRuleRequest) GetUpdateMask

func (x *UpdateBranchRuleRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateBranchRuleRequest) GetValidateOnly

func (x *UpdateBranchRuleRequest) GetValidateOnly() bool

func (*UpdateBranchRuleRequest) ProtoMessage

func (*UpdateBranchRuleRequest) ProtoMessage()

func (*UpdateBranchRuleRequest) ProtoReflect

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

func (*UpdateBranchRuleRequest) Reset

func (x *UpdateBranchRuleRequest) Reset()

func (*UpdateBranchRuleRequest) String

func (x *UpdateBranchRuleRequest) String() string

UpdateHookRequest

type UpdateHookRequest struct {

	// Required. Field mask is used to specify the fields to be overwritten in the
	// hook resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask.
	// The special value "*" means full replacement.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The hook being updated.
	Hook *Hook `protobuf:"bytes,2,opt,name=hook,proto3" json:"hook,omitempty"`
	// contains filtered or unexported fields
}

UpdateHookRequest is the request to update a hook.

func (*UpdateHookRequest) Descriptor

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

Deprecated: Use UpdateHookRequest.ProtoReflect.Descriptor instead.

func (*UpdateHookRequest) GetHook

func (x *UpdateHookRequest) GetHook() *Hook

func (*UpdateHookRequest) GetUpdateMask

func (x *UpdateHookRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateHookRequest) ProtoMessage

func (*UpdateHookRequest) ProtoMessage()

func (*UpdateHookRequest) ProtoReflect

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

func (*UpdateHookRequest) Reset

func (x *UpdateHookRequest) Reset()

func (*UpdateHookRequest) String

func (x *UpdateHookRequest) String() string

UpdateIssueCommentRequest

type UpdateIssueCommentRequest struct {

	// Required. The issue comment to update.
	IssueComment *IssueComment `protobuf:"bytes,1,opt,name=issue_comment,json=issueComment,proto3" json:"issue_comment,omitempty"`
	// Optional. Field mask is used to specify the fields to be overwritten in the
	// issue comment resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask.
	// The special value "*" means full replacement.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The request to update an issue comment.

func (*UpdateIssueCommentRequest) Descriptor

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

Deprecated: Use UpdateIssueCommentRequest.ProtoReflect.Descriptor instead.

func (*UpdateIssueCommentRequest) GetIssueComment

func (x *UpdateIssueCommentRequest) GetIssueComment() *IssueComment

func (*UpdateIssueCommentRequest) GetUpdateMask

func (x *UpdateIssueCommentRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateIssueCommentRequest) ProtoMessage

func (*UpdateIssueCommentRequest) ProtoMessage()

func (*UpdateIssueCommentRequest) ProtoReflect

func (*UpdateIssueCommentRequest) Reset

func (x *UpdateIssueCommentRequest) Reset()

func (*UpdateIssueCommentRequest) String

func (x *UpdateIssueCommentRequest) String() string

UpdateIssueRequest

type UpdateIssueRequest struct {

	// Required. The issue to update.
	Issue *Issue `protobuf:"bytes,1,opt,name=issue,proto3" json:"issue,omitempty"`
	// Optional. Field mask is used to specify the fields to be overwritten in the
	// issue resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask.
	// The special value "*" means full replacement.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The request to update an issue.

func (*UpdateIssueRequest) Descriptor

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

Deprecated: Use UpdateIssueRequest.ProtoReflect.Descriptor instead.

func (*UpdateIssueRequest) GetIssue

func (x *UpdateIssueRequest) GetIssue() *Issue

func (*UpdateIssueRequest) GetUpdateMask

func (x *UpdateIssueRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateIssueRequest) ProtoMessage

func (*UpdateIssueRequest) ProtoMessage()

func (*UpdateIssueRequest) ProtoReflect

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

func (*UpdateIssueRequest) Reset

func (x *UpdateIssueRequest) Reset()

func (*UpdateIssueRequest) String

func (x *UpdateIssueRequest) String() string

UpdatePullRequestCommentRequest

type UpdatePullRequestCommentRequest struct {

	// Required. The pull request comment to update.
	PullRequestComment *PullRequestComment `protobuf:"bytes,1,opt,name=pull_request_comment,json=pullRequestComment,proto3" json:"pull_request_comment,omitempty"`
	// Optional. Field mask is used to specify the fields to be overwritten in the
	// pull request comment resource by the update. Updatable fields are
	// `body`.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The request to update a pull request comment.

func (*UpdatePullRequestCommentRequest) Descriptor

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

Deprecated: Use UpdatePullRequestCommentRequest.ProtoReflect.Descriptor instead.

func (*UpdatePullRequestCommentRequest) GetPullRequestComment

func (x *UpdatePullRequestCommentRequest) GetPullRequestComment() *PullRequestComment

func (*UpdatePullRequestCommentRequest) GetUpdateMask

func (*UpdatePullRequestCommentRequest) ProtoMessage

func (*UpdatePullRequestCommentRequest) ProtoMessage()

func (*UpdatePullRequestCommentRequest) ProtoReflect

func (*UpdatePullRequestCommentRequest) Reset

func (*UpdatePullRequestCommentRequest) String

UpdatePullRequestRequest

type UpdatePullRequestRequest struct {

	// Required. The pull request to update.
	PullRequest *PullRequest `protobuf:"bytes,1,opt,name=pull_request,json=pullRequest,proto3" json:"pull_request,omitempty"`
	// Optional. Field mask is used to specify the fields to be overwritten in the
	// pull request resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask.
	// The special value "*" means full replacement.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

UpdatePullRequestRequest is the request to update a pull request.

func (*UpdatePullRequestRequest) Descriptor

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

Deprecated: Use UpdatePullRequestRequest.ProtoReflect.Descriptor instead.

func (*UpdatePullRequestRequest) GetPullRequest

func (x *UpdatePullRequestRequest) GetPullRequest() *PullRequest

func (*UpdatePullRequestRequest) GetUpdateMask

func (x *UpdatePullRequestRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdatePullRequestRequest) ProtoMessage

func (*UpdatePullRequestRequest) ProtoMessage()

func (*UpdatePullRequestRequest) ProtoReflect

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

func (*UpdatePullRequestRequest) Reset

func (x *UpdatePullRequestRequest) Reset()

func (*UpdatePullRequestRequest) String

func (x *UpdatePullRequestRequest) String() string

UpdateRepositoryRequest

type UpdateRepositoryRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// repository resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The repository being updated.
	Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	// Optional. False by default. If set to true, the request is validated and
	// the user is provided with an expected result, but no actual change is made.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

UpdateRepositoryRequest is the request to update a repository.

func (*UpdateRepositoryRequest) Descriptor

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

Deprecated: Use UpdateRepositoryRequest.ProtoReflect.Descriptor instead.

func (*UpdateRepositoryRequest) GetRepository

func (x *UpdateRepositoryRequest) GetRepository() *Repository

func (*UpdateRepositoryRequest) GetUpdateMask

func (x *UpdateRepositoryRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateRepositoryRequest) GetValidateOnly

func (x *UpdateRepositoryRequest) GetValidateOnly() bool

func (*UpdateRepositoryRequest) ProtoMessage

func (*UpdateRepositoryRequest) ProtoMessage()

func (*UpdateRepositoryRequest) ProtoReflect

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

func (*UpdateRepositoryRequest) Reset

func (x *UpdateRepositoryRequest) Reset()

func (*UpdateRepositoryRequest) String

func (x *UpdateRepositoryRequest) String() string