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.FileDescriptorSecureSourceManager_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 (x *BatchCreatePullRequestCommentsRequest) GetParent() stringfunc (*BatchCreatePullRequestCommentsRequest) GetRequests
func (x *BatchCreatePullRequestCommentsRequest) GetRequests() []*CreatePullRequestCommentRequestfunc (*BatchCreatePullRequestCommentsRequest) ProtoMessage
func (*BatchCreatePullRequestCommentsRequest) ProtoMessage()func (*BatchCreatePullRequestCommentsRequest) ProtoReflect
func (x *BatchCreatePullRequestCommentsRequest) ProtoReflect() protoreflect.Messagefunc (*BatchCreatePullRequestCommentsRequest) Reset
func (x *BatchCreatePullRequestCommentsRequest) Reset()func (*BatchCreatePullRequestCommentsRequest) String
func (x *BatchCreatePullRequestCommentsRequest) String() stringBatchCreatePullRequestCommentsResponse
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() []*PullRequestCommentfunc (*BatchCreatePullRequestCommentsResponse) ProtoMessage
func (*BatchCreatePullRequestCommentsResponse) ProtoMessage()func (*BatchCreatePullRequestCommentsResponse) ProtoReflect
func (x *BatchCreatePullRequestCommentsResponse) ProtoReflect() protoreflect.Messagefunc (*BatchCreatePullRequestCommentsResponse) Reset
func (x *BatchCreatePullRequestCommentsResponse) Reset()func (*BatchCreatePullRequestCommentsResponse) String
func (x *BatchCreatePullRequestCommentsResponse) String() stringBranchRule
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() boolfunc (*BranchRule) GetAnnotations
func (x *BranchRule) GetAnnotations() map[string]stringfunc (*BranchRule) GetCreateTime
func (x *BranchRule) GetCreateTime() *timestamppb.Timestampfunc (*BranchRule) GetDisabled
func (x *BranchRule) GetDisabled() boolfunc (*BranchRule) GetEtag
func (x *BranchRule) GetEtag() stringfunc (*BranchRule) GetIncludePattern
func (x *BranchRule) GetIncludePattern() stringfunc (*BranchRule) GetMinimumApprovalsCount
func (x *BranchRule) GetMinimumApprovalsCount() int32func (*BranchRule) GetMinimumReviewsCount
func (x *BranchRule) GetMinimumReviewsCount() int32func (*BranchRule) GetName
func (x *BranchRule) GetName() stringfunc (*BranchRule) GetRequireCommentsResolved
func (x *BranchRule) GetRequireCommentsResolved() boolfunc (*BranchRule) GetRequireLinearHistory
func (x *BranchRule) GetRequireLinearHistory() boolfunc (*BranchRule) GetRequirePullRequest
func (x *BranchRule) GetRequirePullRequest() boolfunc (*BranchRule) GetRequiredStatusChecks
func (x *BranchRule) GetRequiredStatusChecks() []*BranchRule_Checkfunc (*BranchRule) GetUid
func (x *BranchRule) GetUid() stringfunc (*BranchRule) GetUpdateTime
func (x *BranchRule) GetUpdateTime() *timestamppb.Timestampfunc (*BranchRule) ProtoMessage
func (*BranchRule) ProtoMessage()func (*BranchRule) ProtoReflect
func (x *BranchRule) ProtoReflect() protoreflect.Messagefunc (*BranchRule) Reset
func (x *BranchRule) Reset()func (*BranchRule) String
func (x *BranchRule) String() stringBranchRule_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() stringfunc (*BranchRule_Check) ProtoMessage
func (*BranchRule_Check) ProtoMessage()func (*BranchRule_Check) ProtoReflect
func (x *BranchRule_Check) ProtoReflect() protoreflect.Messagefunc (*BranchRule_Check) Reset
func (x *BranchRule_Check) Reset()func (*BranchRule_Check) String
func (x *BranchRule_Check) String() stringCloseIssueRequest
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() stringfunc (*CloseIssueRequest) GetName
func (x *CloseIssueRequest) GetName() stringfunc (*CloseIssueRequest) ProtoMessage
func (*CloseIssueRequest) ProtoMessage()func (*CloseIssueRequest) ProtoReflect
func (x *CloseIssueRequest) ProtoReflect() protoreflect.Messagefunc (*CloseIssueRequest) Reset
func (x *CloseIssueRequest) Reset()func (*CloseIssueRequest) String
func (x *CloseIssueRequest) String() stringClosePullRequestRequest
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() stringfunc (*ClosePullRequestRequest) ProtoMessage
func (*ClosePullRequestRequest) ProtoMessage()func (*ClosePullRequestRequest) ProtoReflect
func (x *ClosePullRequestRequest) ProtoReflect() protoreflect.Messagefunc (*ClosePullRequestRequest) Reset
func (x *ClosePullRequestRequest) Reset()func (*ClosePullRequestRequest) String
func (x *ClosePullRequestRequest) String() stringCreateBranchRuleRequest
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() *BranchRulefunc (*CreateBranchRuleRequest) GetBranchRuleId
func (x *CreateBranchRuleRequest) GetBranchRuleId() stringfunc (*CreateBranchRuleRequest) GetParent
func (x *CreateBranchRuleRequest) GetParent() stringfunc (*CreateBranchRuleRequest) ProtoMessage
func (*CreateBranchRuleRequest) ProtoMessage()func (*CreateBranchRuleRequest) ProtoReflect
func (x *CreateBranchRuleRequest) ProtoReflect() protoreflect.Messagefunc (*CreateBranchRuleRequest) Reset
func (x *CreateBranchRuleRequest) Reset()func (*CreateBranchRuleRequest) String
func (x *CreateBranchRuleRequest) String() stringCreateHookRequest
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() *Hookfunc (*CreateHookRequest) GetHookId
func (x *CreateHookRequest) GetHookId() stringfunc (*CreateHookRequest) GetParent
func (x *CreateHookRequest) GetParent() stringfunc (*CreateHookRequest) ProtoMessage
func (*CreateHookRequest) ProtoMessage()func (*CreateHookRequest) ProtoReflect
func (x *CreateHookRequest) ProtoReflect() protoreflect.Messagefunc (*CreateHookRequest) Reset
func (x *CreateHookRequest) Reset()func (*CreateHookRequest) String
func (x *CreateHookRequest) String() stringCreateInstanceRequest
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() *Instancefunc (*CreateInstanceRequest) GetInstanceId
func (x *CreateInstanceRequest) GetInstanceId() stringfunc (*CreateInstanceRequest) GetParent
func (x *CreateInstanceRequest) GetParent() stringfunc (*CreateInstanceRequest) GetRequestId
func (x *CreateInstanceRequest) GetRequestId() stringfunc (*CreateInstanceRequest) ProtoMessage
func (*CreateInstanceRequest) ProtoMessage()func (*CreateInstanceRequest) ProtoReflect
func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*CreateInstanceRequest) Reset
func (x *CreateInstanceRequest) Reset()func (*CreateInstanceRequest) String
func (x *CreateInstanceRequest) String() stringCreateIssueCommentRequest
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() *IssueCommentfunc (*CreateIssueCommentRequest) GetParent
func (x *CreateIssueCommentRequest) GetParent() stringfunc (*CreateIssueCommentRequest) ProtoMessage
func (*CreateIssueCommentRequest) ProtoMessage()func (*CreateIssueCommentRequest) ProtoReflect
func (x *CreateIssueCommentRequest) ProtoReflect() protoreflect.Messagefunc (*CreateIssueCommentRequest) Reset
func (x *CreateIssueCommentRequest) Reset()func (*CreateIssueCommentRequest) String
func (x *CreateIssueCommentRequest) String() stringCreateIssueRequest
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() *Issuefunc (*CreateIssueRequest) GetParent
func (x *CreateIssueRequest) GetParent() stringfunc (*CreateIssueRequest) ProtoMessage
func (*CreateIssueRequest) ProtoMessage()func (*CreateIssueRequest) ProtoReflect
func (x *CreateIssueRequest) ProtoReflect() protoreflect.Messagefunc (*CreateIssueRequest) Reset
func (x *CreateIssueRequest) Reset()func (*CreateIssueRequest) String
func (x *CreateIssueRequest) String() stringCreatePullRequestCommentRequest
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() stringfunc (*CreatePullRequestCommentRequest) GetPullRequestComment
func (x *CreatePullRequestCommentRequest) GetPullRequestComment() *PullRequestCommentfunc (*CreatePullRequestCommentRequest) ProtoMessage
func (*CreatePullRequestCommentRequest) ProtoMessage()func (*CreatePullRequestCommentRequest) ProtoReflect
func (x *CreatePullRequestCommentRequest) ProtoReflect() protoreflect.Messagefunc (*CreatePullRequestCommentRequest) Reset
func (x *CreatePullRequestCommentRequest) Reset()func (*CreatePullRequestCommentRequest) String
func (x *CreatePullRequestCommentRequest) String() stringCreatePullRequestRequest
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() stringfunc (*CreatePullRequestRequest) GetPullRequest
func (x *CreatePullRequestRequest) GetPullRequest() *PullRequestfunc (*CreatePullRequestRequest) ProtoMessage
func (*CreatePullRequestRequest) ProtoMessage()func (*CreatePullRequestRequest) ProtoReflect
func (x *CreatePullRequestRequest) ProtoReflect() protoreflect.Messagefunc (*CreatePullRequestRequest) Reset
func (x *CreatePullRequestRequest) Reset()func (*CreatePullRequestRequest) String
func (x *CreatePullRequestRequest) String() stringCreateRepositoryRequest
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() stringfunc (*CreateRepositoryRequest) GetRepository
func (x *CreateRepositoryRequest) GetRepository() *Repositoryfunc (*CreateRepositoryRequest) GetRepositoryId
func (x *CreateRepositoryRequest) GetRepositoryId() stringfunc (*CreateRepositoryRequest) ProtoMessage
func (*CreateRepositoryRequest) ProtoMessage()func (*CreateRepositoryRequest) ProtoReflect
func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Messagefunc (*CreateRepositoryRequest) Reset
func (x *CreateRepositoryRequest) Reset()func (*CreateRepositoryRequest) String
func (x *CreateRepositoryRequest) String() stringDeleteBranchRuleRequest
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() boolfunc (*DeleteBranchRuleRequest) GetName
func (x *DeleteBranchRuleRequest) GetName() stringfunc (*DeleteBranchRuleRequest) ProtoMessage
func (*DeleteBranchRuleRequest) ProtoMessage()func (*DeleteBranchRuleRequest) ProtoReflect
func (x *DeleteBranchRuleRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteBranchRuleRequest) Reset
func (x *DeleteBranchRuleRequest) Reset()func (*DeleteBranchRuleRequest) String
func (x *DeleteBranchRuleRequest) String() stringDeleteHookRequest
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() stringfunc (*DeleteHookRequest) ProtoMessage
func (*DeleteHookRequest) ProtoMessage()func (*DeleteHookRequest) ProtoReflect
func (x *DeleteHookRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteHookRequest) Reset
func (x *DeleteHookRequest) Reset()func (*DeleteHookRequest) String
func (x *DeleteHookRequest) String() stringDeleteInstanceRequest
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() stringfunc (*DeleteInstanceRequest) GetRequestId
func (x *DeleteInstanceRequest) GetRequestId() stringfunc (*DeleteInstanceRequest) ProtoMessage
func (*DeleteInstanceRequest) ProtoMessage()func (*DeleteInstanceRequest) ProtoReflect
func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteInstanceRequest) Reset
func (x *DeleteInstanceRequest) Reset()func (*DeleteInstanceRequest) String
func (x *DeleteInstanceRequest) String() stringDeleteIssueCommentRequest
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() stringfunc (*DeleteIssueCommentRequest) ProtoMessage
func (*DeleteIssueCommentRequest) ProtoMessage()func (*DeleteIssueCommentRequest) ProtoReflect
func (x *DeleteIssueCommentRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteIssueCommentRequest) Reset
func (x *DeleteIssueCommentRequest) Reset()func (*DeleteIssueCommentRequest) String
func (x *DeleteIssueCommentRequest) String() stringDeleteIssueRequest
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() stringfunc (*DeleteIssueRequest) GetName
func (x *DeleteIssueRequest) GetName() stringfunc (*DeleteIssueRequest) ProtoMessage
func (*DeleteIssueRequest) ProtoMessage()func (*DeleteIssueRequest) ProtoReflect
func (x *DeleteIssueRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteIssueRequest) Reset
func (x *DeleteIssueRequest) Reset()func (*DeleteIssueRequest) String
func (x *DeleteIssueRequest) String() stringDeletePullRequestCommentRequest
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 (x *DeletePullRequestCommentRequest) GetName() stringfunc (*DeletePullRequestCommentRequest) ProtoMessage
func (*DeletePullRequestCommentRequest) ProtoMessage()func (*DeletePullRequestCommentRequest) ProtoReflect
func (x *DeletePullRequestCommentRequest) ProtoReflect() protoreflect.Messagefunc (*DeletePullRequestCommentRequest) Reset
func (x *DeletePullRequestCommentRequest) Reset()func (*DeletePullRequestCommentRequest) String
func (x *DeletePullRequestCommentRequest) String() stringDeleteRepositoryRequest
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() boolfunc (*DeleteRepositoryRequest) GetName
func (x *DeleteRepositoryRequest) GetName() stringfunc (*DeleteRepositoryRequest) ProtoMessage
func (*DeleteRepositoryRequest) ProtoMessage()func (*DeleteRepositoryRequest) ProtoReflect
func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteRepositoryRequest) Reset
func (x *DeleteRepositoryRequest) Reset()func (*DeleteRepositoryRequest) String
func (x *DeleteRepositoryRequest) String() stringFetchBlobRequest
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() stringfunc (*FetchBlobRequest) GetSha
func (x *FetchBlobRequest) GetSha() stringfunc (*FetchBlobRequest) ProtoMessage
func (*FetchBlobRequest) ProtoMessage()func (*FetchBlobRequest) ProtoReflect
func (x *FetchBlobRequest) ProtoReflect() protoreflect.Messagefunc (*FetchBlobRequest) Reset
func (x *FetchBlobRequest) Reset()func (*FetchBlobRequest) String
func (x *FetchBlobRequest) String() stringFetchBlobResponse
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() stringfunc (*FetchBlobResponse) GetSha
func (x *FetchBlobResponse) GetSha() stringfunc (*FetchBlobResponse) ProtoMessage
func (*FetchBlobResponse) ProtoMessage()func (*FetchBlobResponse) ProtoReflect
func (x *FetchBlobResponse) ProtoReflect() protoreflect.Messagefunc (*FetchBlobResponse) Reset
func (x *FetchBlobResponse) Reset()func (*FetchBlobResponse) String
func (x *FetchBlobResponse) String() stringFetchTreeRequest
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() int32func (*FetchTreeRequest) GetPageToken
func (x *FetchTreeRequest) GetPageToken() stringfunc (*FetchTreeRequest) GetRecursive
func (x *FetchTreeRequest) GetRecursive() boolfunc (*FetchTreeRequest) GetRef
func (x *FetchTreeRequest) GetRef() stringfunc (*FetchTreeRequest) GetRepository
func (x *FetchTreeRequest) GetRepository() stringfunc (*FetchTreeRequest) ProtoMessage
func (*FetchTreeRequest) ProtoMessage()func (*FetchTreeRequest) ProtoReflect
func (x *FetchTreeRequest) ProtoReflect() protoreflect.Messagefunc (*FetchTreeRequest) Reset
func (x *FetchTreeRequest) Reset()func (*FetchTreeRequest) String
func (x *FetchTreeRequest) String() stringFetchTreeResponse
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() stringfunc (*FetchTreeResponse) GetTreeEntries
func (x *FetchTreeResponse) GetTreeEntries() []*TreeEntryfunc (*FetchTreeResponse) ProtoMessage
func (*FetchTreeResponse) ProtoMessage()func (*FetchTreeResponse) ProtoReflect
func (x *FetchTreeResponse) ProtoReflect() protoreflect.Messagefunc (*FetchTreeResponse) Reset
func (x *FetchTreeResponse) Reset()func (*FetchTreeResponse) String
func (x *FetchTreeResponse) String() stringFileDiff
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
Deprecated: Use FileDiff.ProtoReflect.Descriptor instead.
func (*FileDiff) GetAction
func (x *FileDiff) GetAction() FileDiff_Actionfunc (*FileDiff) GetName
func (*FileDiff) GetPatch
func (*FileDiff) GetSha
func (*FileDiff) ProtoMessage
func (*FileDiff) ProtoMessage()func (*FileDiff) ProtoReflect
func (x *FileDiff) ProtoReflect() protoreflect.Messagefunc (*FileDiff) Reset
func (x *FileDiff) Reset()func (*FileDiff) String
FileDiff_Action
type FileDiff_Action int32Action 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) Descriptor() protoreflect.EnumDescriptorfunc (FileDiff_Action) Enum
func (x FileDiff_Action) Enum() *FileDiff_Actionfunc (FileDiff_Action) EnumDescriptor
func (FileDiff_Action) EnumDescriptor() ([]byte, []int)Deprecated: Use FileDiff_Action.Descriptor instead.
func (FileDiff_Action) Number
func (x FileDiff_Action) Number() protoreflect.EnumNumberfunc (FileDiff_Action) String
func (x FileDiff_Action) String() stringfunc (FileDiff_Action) Type
func (FileDiff_Action) Type() protoreflect.EnumTypeGetBranchRuleRequest
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() stringfunc (*GetBranchRuleRequest) ProtoMessage
func (*GetBranchRuleRequest) ProtoMessage()func (*GetBranchRuleRequest) ProtoReflect
func (x *GetBranchRuleRequest) ProtoReflect() protoreflect.Messagefunc (*GetBranchRuleRequest) Reset
func (x *GetBranchRuleRequest) Reset()func (*GetBranchRuleRequest) String
func (x *GetBranchRuleRequest) String() stringGetHookRequest
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() stringfunc (*GetHookRequest) ProtoMessage
func (*GetHookRequest) ProtoMessage()func (*GetHookRequest) ProtoReflect
func (x *GetHookRequest) ProtoReflect() protoreflect.Messagefunc (*GetHookRequest) Reset
func (x *GetHookRequest) Reset()func (*GetHookRequest) String
func (x *GetHookRequest) String() stringGetInstanceRequest
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() stringfunc (*GetInstanceRequest) ProtoMessage
func (*GetInstanceRequest) ProtoMessage()func (*GetInstanceRequest) ProtoReflect
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*GetInstanceRequest) Reset
func (x *GetInstanceRequest) Reset()func (*GetInstanceRequest) String
func (x *GetInstanceRequest) String() stringGetIssueCommentRequest
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() stringfunc (*GetIssueCommentRequest) ProtoMessage
func (*GetIssueCommentRequest) ProtoMessage()func (*GetIssueCommentRequest) ProtoReflect
func (x *GetIssueCommentRequest) ProtoReflect() protoreflect.Messagefunc (*GetIssueCommentRequest) Reset
func (x *GetIssueCommentRequest) Reset()func (*GetIssueCommentRequest) String
func (x *GetIssueCommentRequest) String() stringGetIssueRequest
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() stringfunc (*GetIssueRequest) ProtoMessage
func (*GetIssueRequest) ProtoMessage()func (*GetIssueRequest) ProtoReflect
func (x *GetIssueRequest) ProtoReflect() protoreflect.Messagefunc (*GetIssueRequest) Reset
func (x *GetIssueRequest) Reset()func (*GetIssueRequest) String
func (x *GetIssueRequest) String() stringGetPullRequestCommentRequest
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() stringfunc (*GetPullRequestCommentRequest) ProtoMessage
func (*GetPullRequestCommentRequest) ProtoMessage()func (*GetPullRequestCommentRequest) ProtoReflect
func (x *GetPullRequestCommentRequest) ProtoReflect() protoreflect.Messagefunc (*GetPullRequestCommentRequest) Reset
func (x *GetPullRequestCommentRequest) Reset()func (*GetPullRequestCommentRequest) String
func (x *GetPullRequestCommentRequest) String() stringGetPullRequestRequest
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() stringfunc (*GetPullRequestRequest) ProtoMessage
func (*GetPullRequestRequest) ProtoMessage()func (*GetPullRequestRequest) ProtoReflect
func (x *GetPullRequestRequest) ProtoReflect() protoreflect.Messagefunc (*GetPullRequestRequest) Reset
func (x *GetPullRequestRequest) Reset()func (*GetPullRequestRequest) String
func (x *GetPullRequestRequest) String() stringGetRepositoryRequest
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() stringfunc (*GetRepositoryRequest) ProtoMessage
func (*GetRepositoryRequest) ProtoMessage()func (*GetRepositoryRequest) ProtoReflect
func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Messagefunc (*GetRepositoryRequest) Reset
func (x *GetRepositoryRequest) Reset()func (*GetRepositoryRequest) String
func (x *GetRepositoryRequest) String() stringHook
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
Deprecated: Use Hook.ProtoReflect.Descriptor instead.
func (*Hook) GetCreateTime
func (x *Hook) GetCreateTime() *timestamppb.Timestampfunc (*Hook) GetDisabled
func (*Hook) GetEvents
func (x *Hook) GetEvents() []Hook_HookEventTypefunc (*Hook) GetName
func (*Hook) GetPushOption
func (x *Hook) GetPushOption() *Hook_PushOptionfunc (*Hook) GetSensitiveQueryString
func (*Hook) GetTargetUri
func (*Hook) GetUid
func (*Hook) GetUpdateTime
func (x *Hook) GetUpdateTime() *timestamppb.Timestampfunc (*Hook) ProtoMessage
func (*Hook) ProtoMessage()func (*Hook) ProtoReflect
func (x *Hook) ProtoReflect() protoreflect.Messagefunc (*Hook) Reset
func (x *Hook) Reset()func (*Hook) String
Hook_HookEventType
type Hook_HookEventType int32Hook_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) Descriptor() protoreflect.EnumDescriptorfunc (Hook_HookEventType) Enum
func (x Hook_HookEventType) Enum() *Hook_HookEventTypefunc (Hook_HookEventType) EnumDescriptor
func (Hook_HookEventType) EnumDescriptor() ([]byte, []int)Deprecated: Use Hook_HookEventType.Descriptor instead.
func (Hook_HookEventType) Number
func (x Hook_HookEventType) Number() protoreflect.EnumNumberfunc (Hook_HookEventType) String
func (x Hook_HookEventType) String() stringfunc (Hook_HookEventType) Type
func (Hook_HookEventType) Type() protoreflect.EnumTypeHook_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() stringfunc (*Hook_PushOption) ProtoMessage
func (*Hook_PushOption) ProtoMessage()func (*Hook_PushOption) ProtoReflect
func (x *Hook_PushOption) ProtoReflect() protoreflect.Messagefunc (*Hook_PushOption) Reset
func (x *Hook_PushOption) Reset()func (*Hook_PushOption) String
func (x *Hook_PushOption) String() stringInstance
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
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) GetCreateTime
func (x *Instance) GetCreateTime() *timestamppb.Timestampfunc (*Instance) GetHostConfig
func (x *Instance) GetHostConfig() *Instance_HostConfigfunc (*Instance) GetKmsKey
func (*Instance) GetLabels
func (*Instance) GetName
func (*Instance) GetPrivateConfig
func (x *Instance) GetPrivateConfig() *Instance_PrivateConfigfunc (*Instance) GetState
func (x *Instance) GetState() Instance_Statefunc (*Instance) GetStateNote
func (x *Instance) GetStateNote() Instance_StateNotefunc (*Instance) GetUpdateTime
func (x *Instance) GetUpdateTime() *timestamppb.Timestampfunc (*Instance) GetWorkforceIdentityFederationConfig
func (x *Instance) GetWorkforceIdentityFederationConfig() *Instance_WorkforceIdentityFederationConfigfunc (*Instance) ProtoMessage
func (*Instance) ProtoMessage()func (*Instance) ProtoReflect
func (x *Instance) ProtoReflect() protoreflect.Messagefunc (*Instance) Reset
func (x *Instance) Reset()func (*Instance) 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() stringfunc (*Instance_HostConfig) GetGitHttp
func (x *Instance_HostConfig) GetGitHttp() stringfunc (*Instance_HostConfig) GetGitSsh
func (x *Instance_HostConfig) GetGitSsh() stringfunc (*Instance_HostConfig) GetHtml
func (x *Instance_HostConfig) GetHtml() stringfunc (*Instance_HostConfig) ProtoMessage
func (*Instance_HostConfig) ProtoMessage()func (*Instance_HostConfig) ProtoReflect
func (x *Instance_HostConfig) ProtoReflect() protoreflect.Messagefunc (*Instance_HostConfig) Reset
func (x *Instance_HostConfig) Reset()func (*Instance_HostConfig) String
func (x *Instance_HostConfig) String() stringInstance_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() stringfunc (*Instance_PrivateConfig) GetHttpServiceAttachment
func (x *Instance_PrivateConfig) GetHttpServiceAttachment() stringfunc (*Instance_PrivateConfig) GetIsPrivate
func (x *Instance_PrivateConfig) GetIsPrivate() boolfunc (*Instance_PrivateConfig) GetPscAllowedProjects
func (x *Instance_PrivateConfig) GetPscAllowedProjects() []stringfunc (*Instance_PrivateConfig) GetSshServiceAttachment
func (x *Instance_PrivateConfig) GetSshServiceAttachment() stringfunc (*Instance_PrivateConfig) ProtoMessage
func (*Instance_PrivateConfig) ProtoMessage()func (*Instance_PrivateConfig) ProtoReflect
func (x *Instance_PrivateConfig) ProtoReflect() protoreflect.Messagefunc (*Instance_PrivateConfig) Reset
func (x *Instance_PrivateConfig) Reset()func (*Instance_PrivateConfig) String
func (x *Instance_PrivateConfig) String() stringInstance_State
type Instance_State int32Secure 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) Descriptor() protoreflect.EnumDescriptorfunc (Instance_State) Enum
func (x Instance_State) Enum() *Instance_Statefunc (Instance_State) EnumDescriptor
func (Instance_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Instance_State.Descriptor instead.
func (Instance_State) Number
func (x Instance_State) Number() protoreflect.EnumNumberfunc (Instance_State) String
func (x Instance_State) String() stringfunc (Instance_State) Type
func (Instance_State) Type() protoreflect.EnumTypeInstance_StateNote
type Instance_StateNote int32Provides 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) Descriptor() protoreflect.EnumDescriptorfunc (Instance_StateNote) Enum
func (x Instance_StateNote) Enum() *Instance_StateNotefunc (Instance_StateNote) EnumDescriptor
func (Instance_StateNote) EnumDescriptor() ([]byte, []int)Deprecated: Use Instance_StateNote.Descriptor instead.
func (Instance_StateNote) Number
func (x Instance_StateNote) Number() protoreflect.EnumNumberfunc (Instance_StateNote) String
func (x Instance_StateNote) String() stringfunc (Instance_StateNote) Type
func (Instance_StateNote) Type() protoreflect.EnumTypeInstance_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
func (*Instance_WorkforceIdentityFederationConfig) Descriptor() ([]byte, []int)Deprecated: Use Instance_WorkforceIdentityFederationConfig.ProtoReflect.Descriptor instead.
func (*Instance_WorkforceIdentityFederationConfig) GetEnabled
func (x *Instance_WorkforceIdentityFederationConfig) GetEnabled() boolfunc (*Instance_WorkforceIdentityFederationConfig) ProtoMessage
func (*Instance_WorkforceIdentityFederationConfig) ProtoMessage()func (*Instance_WorkforceIdentityFederationConfig) ProtoReflect
func (x *Instance_WorkforceIdentityFederationConfig) ProtoReflect() protoreflect.Messagefunc (*Instance_WorkforceIdentityFederationConfig) Reset
func (x *Instance_WorkforceIdentityFederationConfig) Reset()func (*Instance_WorkforceIdentityFederationConfig) String
func (x *Instance_WorkforceIdentityFederationConfig) String() stringIssue
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
Deprecated: Use Issue.ProtoReflect.Descriptor instead.
func (*Issue) GetBody
func (*Issue) GetCloseTime
func (x *Issue) GetCloseTime() *timestamppb.Timestampfunc (*Issue) GetCreateTime
func (x *Issue) GetCreateTime() *timestamppb.Timestampfunc (*Issue) GetEtag
func (*Issue) GetName
func (*Issue) GetState
func (x *Issue) GetState() Issue_Statefunc (*Issue) GetTitle
func (*Issue) GetUpdateTime
func (x *Issue) GetUpdateTime() *timestamppb.Timestampfunc (*Issue) ProtoMessage
func (*Issue) ProtoMessage()func (*Issue) ProtoReflect
func (x *Issue) ProtoReflect() protoreflect.Messagefunc (*Issue) Reset
func (x *Issue) Reset()func (*Issue) 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() stringfunc (*IssueComment) GetCreateTime
func (x *IssueComment) GetCreateTime() *timestamppb.Timestampfunc (*IssueComment) GetName
func (x *IssueComment) GetName() stringfunc (*IssueComment) GetUpdateTime
func (x *IssueComment) GetUpdateTime() *timestamppb.Timestampfunc (*IssueComment) ProtoMessage
func (*IssueComment) ProtoMessage()func (*IssueComment) ProtoReflect
func (x *IssueComment) ProtoReflect() protoreflect.Messagefunc (*IssueComment) Reset
func (x *IssueComment) Reset()func (*IssueComment) String
func (x *IssueComment) String() stringIssue_State
type Issue_State int32Possible 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) Descriptor() protoreflect.EnumDescriptorfunc (Issue_State) Enum
func (x Issue_State) Enum() *Issue_Statefunc (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.EnumNumberfunc (Issue_State) String
func (x Issue_State) String() stringfunc (Issue_State) Type
func (Issue_State) Type() protoreflect.EnumTypeListBranchRulesRequest
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() int32func (*ListBranchRulesRequest) GetPageToken
func (x *ListBranchRulesRequest) GetPageToken() stringfunc (*ListBranchRulesRequest) GetParent
func (x *ListBranchRulesRequest) GetParent() stringfunc (*ListBranchRulesRequest) ProtoMessage
func (*ListBranchRulesRequest) ProtoMessage()func (*ListBranchRulesRequest) ProtoReflect
func (x *ListBranchRulesRequest) ProtoReflect() protoreflect.Messagefunc (*ListBranchRulesRequest) Reset
func (x *ListBranchRulesRequest) Reset()func (*ListBranchRulesRequest) String
func (x *ListBranchRulesRequest) String() stringListBranchRulesResponse
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() []*BranchRulefunc (*ListBranchRulesResponse) GetNextPageToken
func (x *ListBranchRulesResponse) GetNextPageToken() stringfunc (*ListBranchRulesResponse) ProtoMessage
func (*ListBranchRulesResponse) ProtoMessage()func (*ListBranchRulesResponse) ProtoReflect
func (x *ListBranchRulesResponse) ProtoReflect() protoreflect.Messagefunc (*ListBranchRulesResponse) Reset
func (x *ListBranchRulesResponse) Reset()func (*ListBranchRulesResponse) String
func (x *ListBranchRulesResponse) String() stringListHooksRequest
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() int32func (*ListHooksRequest) GetPageToken
func (x *ListHooksRequest) GetPageToken() stringfunc (*ListHooksRequest) GetParent
func (x *ListHooksRequest) GetParent() stringfunc (*ListHooksRequest) ProtoMessage
func (*ListHooksRequest) ProtoMessage()func (*ListHooksRequest) ProtoReflect
func (x *ListHooksRequest) ProtoReflect() protoreflect.Messagefunc (*ListHooksRequest) Reset
func (x *ListHooksRequest) Reset()func (*ListHooksRequest) String
func (x *ListHooksRequest) String() stringListHooksResponse
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() []*Hookfunc (*ListHooksResponse) GetNextPageToken
func (x *ListHooksResponse) GetNextPageToken() stringfunc (*ListHooksResponse) ProtoMessage
func (*ListHooksResponse) ProtoMessage()func (*ListHooksResponse) ProtoReflect
func (x *ListHooksResponse) ProtoReflect() protoreflect.Messagefunc (*ListHooksResponse) Reset
func (x *ListHooksResponse) Reset()func (*ListHooksResponse) String
func (x *ListHooksResponse) String() stringListInstancesRequest
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() stringfunc (*ListInstancesRequest) GetOrderBy
func (x *ListInstancesRequest) GetOrderBy() stringfunc (*ListInstancesRequest) GetPageSize
func (x *ListInstancesRequest) GetPageSize() int32func (*ListInstancesRequest) GetPageToken
func (x *ListInstancesRequest) GetPageToken() stringfunc (*ListInstancesRequest) GetParent
func (x *ListInstancesRequest) GetParent() stringfunc (*ListInstancesRequest) ProtoMessage
func (*ListInstancesRequest) ProtoMessage()func (*ListInstancesRequest) ProtoReflect
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Messagefunc (*ListInstancesRequest) Reset
func (x *ListInstancesRequest) Reset()func (*ListInstancesRequest) String
func (x *ListInstancesRequest) String() stringListInstancesResponse
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() []*Instancefunc (*ListInstancesResponse) GetNextPageToken
func (x *ListInstancesResponse) GetNextPageToken() stringfunc (*ListInstancesResponse) GetUnreachable
func (x *ListInstancesResponse) GetUnreachable() []stringfunc (*ListInstancesResponse) ProtoMessage
func (*ListInstancesResponse) ProtoMessage()func (*ListInstancesResponse) ProtoReflect
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Messagefunc (*ListInstancesResponse) Reset
func (x *ListInstancesResponse) Reset()func (*ListInstancesResponse) String
func (x *ListInstancesResponse) String() stringListIssueCommentsRequest
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() int32func (*ListIssueCommentsRequest) GetPageToken
func (x *ListIssueCommentsRequest) GetPageToken() stringfunc (*ListIssueCommentsRequest) GetParent
func (x *ListIssueCommentsRequest) GetParent() stringfunc (*ListIssueCommentsRequest) ProtoMessage
func (*ListIssueCommentsRequest) ProtoMessage()func (*ListIssueCommentsRequest) ProtoReflect
func (x *ListIssueCommentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListIssueCommentsRequest) Reset
func (x *ListIssueCommentsRequest) Reset()func (*ListIssueCommentsRequest) String
func (x *ListIssueCommentsRequest) String() stringListIssueCommentsResponse
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() []*IssueCommentfunc (*ListIssueCommentsResponse) GetNextPageToken
func (x *ListIssueCommentsResponse) GetNextPageToken() stringfunc (*ListIssueCommentsResponse) ProtoMessage
func (*ListIssueCommentsResponse) ProtoMessage()func (*ListIssueCommentsResponse) ProtoReflect
func (x *ListIssueCommentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListIssueCommentsResponse) Reset
func (x *ListIssueCommentsResponse) Reset()func (*ListIssueCommentsResponse) String
func (x *ListIssueCommentsResponse) String() stringListIssuesRequest
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() stringfunc (*ListIssuesRequest) GetPageSize
func (x *ListIssuesRequest) GetPageSize() int32func (*ListIssuesRequest) GetPageToken
func (x *ListIssuesRequest) GetPageToken() stringfunc (*ListIssuesRequest) GetParent
func (x *ListIssuesRequest) GetParent() stringfunc (*ListIssuesRequest) ProtoMessage
func (*ListIssuesRequest) ProtoMessage()func (*ListIssuesRequest) ProtoReflect
func (x *ListIssuesRequest) ProtoReflect() protoreflect.Messagefunc (*ListIssuesRequest) Reset
func (x *ListIssuesRequest) Reset()func (*ListIssuesRequest) String
func (x *ListIssuesRequest) String() stringListIssuesResponse
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() []*Issuefunc (*ListIssuesResponse) GetNextPageToken
func (x *ListIssuesResponse) GetNextPageToken() stringfunc (*ListIssuesResponse) ProtoMessage
func (*ListIssuesResponse) ProtoMessage()func (*ListIssuesResponse) ProtoReflect
func (x *ListIssuesResponse) ProtoReflect() protoreflect.Messagefunc (*ListIssuesResponse) Reset
func (x *ListIssuesResponse) Reset()func (*ListIssuesResponse) String
func (x *ListIssuesResponse) String() stringListPullRequestCommentsRequest
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() int32func (*ListPullRequestCommentsRequest) GetPageToken
func (x *ListPullRequestCommentsRequest) GetPageToken() stringfunc (*ListPullRequestCommentsRequest) GetParent
func (x *ListPullRequestCommentsRequest) GetParent() stringfunc (*ListPullRequestCommentsRequest) ProtoMessage
func (*ListPullRequestCommentsRequest) ProtoMessage()func (*ListPullRequestCommentsRequest) ProtoReflect
func (x *ListPullRequestCommentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListPullRequestCommentsRequest) Reset
func (x *ListPullRequestCommentsRequest) Reset()func (*ListPullRequestCommentsRequest) String
func (x *ListPullRequestCommentsRequest) String() stringListPullRequestCommentsResponse
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() stringfunc (*ListPullRequestCommentsResponse) GetPullRequestComments
func (x *ListPullRequestCommentsResponse) GetPullRequestComments() []*PullRequestCommentfunc (*ListPullRequestCommentsResponse) ProtoMessage
func (*ListPullRequestCommentsResponse) ProtoMessage()func (*ListPullRequestCommentsResponse) ProtoReflect
func (x *ListPullRequestCommentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListPullRequestCommentsResponse) Reset
func (x *ListPullRequestCommentsResponse) Reset()func (*ListPullRequestCommentsResponse) String
func (x *ListPullRequestCommentsResponse) String() stringListPullRequestFileDiffsRequest
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 (x *ListPullRequestFileDiffsRequest) GetName() stringfunc (*ListPullRequestFileDiffsRequest) GetPageSize
func (x *ListPullRequestFileDiffsRequest) GetPageSize() int32func (*ListPullRequestFileDiffsRequest) GetPageToken
func (x *ListPullRequestFileDiffsRequest) GetPageToken() stringfunc (*ListPullRequestFileDiffsRequest) ProtoMessage
func (*ListPullRequestFileDiffsRequest) ProtoMessage()func (*ListPullRequestFileDiffsRequest) ProtoReflect
func (x *ListPullRequestFileDiffsRequest) ProtoReflect() protoreflect.Messagefunc (*ListPullRequestFileDiffsRequest) Reset
func (x *ListPullRequestFileDiffsRequest) Reset()func (*ListPullRequestFileDiffsRequest) String
func (x *ListPullRequestFileDiffsRequest) String() stringListPullRequestFileDiffsResponse
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() []*FileDifffunc (*ListPullRequestFileDiffsResponse) GetNextPageToken
func (x *ListPullRequestFileDiffsResponse) GetNextPageToken() stringfunc (*ListPullRequestFileDiffsResponse) ProtoMessage
func (*ListPullRequestFileDiffsResponse) ProtoMessage()func (*ListPullRequestFileDiffsResponse) ProtoReflect
func (x *ListPullRequestFileDiffsResponse) ProtoReflect() protoreflect.Messagefunc (*ListPullRequestFileDiffsResponse) Reset
func (x *ListPullRequestFileDiffsResponse) Reset()func (*ListPullRequestFileDiffsResponse) String
func (x *ListPullRequestFileDiffsResponse) String() stringListPullRequestsRequest
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() int32func (*ListPullRequestsRequest) GetPageToken
func (x *ListPullRequestsRequest) GetPageToken() stringfunc (*ListPullRequestsRequest) GetParent
func (x *ListPullRequestsRequest) GetParent() stringfunc (*ListPullRequestsRequest) ProtoMessage
func (*ListPullRequestsRequest) ProtoMessage()func (*ListPullRequestsRequest) ProtoReflect
func (x *ListPullRequestsRequest) ProtoReflect() protoreflect.Messagefunc (*ListPullRequestsRequest) Reset
func (x *ListPullRequestsRequest) Reset()func (*ListPullRequestsRequest) String
func (x *ListPullRequestsRequest) String() stringListPullRequestsResponse
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() stringfunc (*ListPullRequestsResponse) GetPullRequests
func (x *ListPullRequestsResponse) GetPullRequests() []*PullRequestfunc (*ListPullRequestsResponse) ProtoMessage
func (*ListPullRequestsResponse) ProtoMessage()func (*ListPullRequestsResponse) ProtoReflect
func (x *ListPullRequestsResponse) ProtoReflect() protoreflect.Messagefunc (*ListPullRequestsResponse) Reset
func (x *ListPullRequestsResponse) Reset()func (*ListPullRequestsResponse) String
func (x *ListPullRequestsResponse) String() stringListRepositoriesRequest
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() stringfunc (*ListRepositoriesRequest) GetInstance
func (x *ListRepositoriesRequest) GetInstance() stringfunc (*ListRepositoriesRequest) GetPageSize
func (x *ListRepositoriesRequest) GetPageSize() int32func (*ListRepositoriesRequest) GetPageToken
func (x *ListRepositoriesRequest) GetPageToken() stringfunc (*ListRepositoriesRequest) GetParent
func (x *ListRepositoriesRequest) GetParent() stringfunc (*ListRepositoriesRequest) ProtoMessage
func (*ListRepositoriesRequest) ProtoMessage()func (*ListRepositoriesRequest) ProtoReflect
func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Messagefunc (*ListRepositoriesRequest) Reset
func (x *ListRepositoriesRequest) Reset()func (*ListRepositoriesRequest) String
func (x *ListRepositoriesRequest) String() stringListRepositoriesResponse
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() stringfunc (*ListRepositoriesResponse) GetRepositories
func (x *ListRepositoriesResponse) GetRepositories() []*Repositoryfunc (*ListRepositoriesResponse) ProtoMessage
func (*ListRepositoriesResponse) ProtoMessage()func (*ListRepositoriesResponse) ProtoReflect
func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Messagefunc (*ListRepositoriesResponse) Reset
func (x *ListRepositoriesResponse) Reset()func (*ListRepositoriesResponse) String
func (x *ListRepositoriesResponse) String() stringMergePullRequestRequest
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() stringfunc (*MergePullRequestRequest) ProtoMessage
func (*MergePullRequestRequest) ProtoMessage()func (*MergePullRequestRequest) ProtoReflect
func (x *MergePullRequestRequest) ProtoReflect() protoreflect.Messagefunc (*MergePullRequestRequest) Reset
func (x *MergePullRequestRequest) Reset()func (*MergePullRequestRequest) String
func (x *MergePullRequestRequest) String() stringOpenIssueRequest
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() stringfunc (*OpenIssueRequest) GetName
func (x *OpenIssueRequest) GetName() stringfunc (*OpenIssueRequest) ProtoMessage
func (*OpenIssueRequest) ProtoMessage()func (*OpenIssueRequest) ProtoReflect
func (x *OpenIssueRequest) ProtoReflect() protoreflect.Messagefunc (*OpenIssueRequest) Reset
func (x *OpenIssueRequest) Reset()func (*OpenIssueRequest) String
func (x *OpenIssueRequest) String() stringOpenPullRequestRequest
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() stringfunc (*OpenPullRequestRequest) ProtoMessage
func (*OpenPullRequestRequest) ProtoMessage()func (*OpenPullRequestRequest) ProtoReflect
func (x *OpenPullRequestRequest) ProtoReflect() protoreflect.Messagefunc (*OpenPullRequestRequest) Reset
func (x *OpenPullRequestRequest) Reset()func (*OpenPullRequestRequest) String
func (x *OpenPullRequestRequest) String() stringOperationMetadata
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() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringPullRequest
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_Branchfunc (*PullRequest) GetBody
func (x *PullRequest) GetBody() stringfunc (*PullRequest) GetCloseTime
func (x *PullRequest) GetCloseTime() *timestamppb.Timestampfunc (*PullRequest) GetCreateTime
func (x *PullRequest) GetCreateTime() *timestamppb.Timestampfunc (*PullRequest) GetHead
func (x *PullRequest) GetHead() *PullRequest_Branchfunc (*PullRequest) GetName
func (x *PullRequest) GetName() stringfunc (*PullRequest) GetState
func (x *PullRequest) GetState() PullRequest_Statefunc (*PullRequest) GetTitle
func (x *PullRequest) GetTitle() stringfunc (*PullRequest) GetUpdateTime
func (x *PullRequest) GetUpdateTime() *timestamppb.Timestampfunc (*PullRequest) ProtoMessage
func (*PullRequest) ProtoMessage()func (*PullRequest) ProtoReflect
func (x *PullRequest) ProtoReflect() protoreflect.Messagefunc (*PullRequest) Reset
func (x *PullRequest) Reset()func (*PullRequest) String
func (x *PullRequest) String() stringPullRequestComment
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 (x *PullRequestComment) GetCode() *PullRequestComment_Codefunc (*PullRequestComment) GetComment
func (x *PullRequestComment) GetComment() *PullRequestComment_Commentfunc (*PullRequestComment) GetCommentDetail
func (m *PullRequestComment) GetCommentDetail() isPullRequestComment_CommentDetailfunc (*PullRequestComment) GetCreateTime
func (x *PullRequestComment) GetCreateTime() *timestamppb.Timestampfunc (*PullRequestComment) GetName
func (x *PullRequestComment) GetName() stringfunc (*PullRequestComment) GetReview
func (x *PullRequestComment) GetReview() *PullRequestComment_Reviewfunc (*PullRequestComment) GetUpdateTime
func (x *PullRequestComment) GetUpdateTime() *timestamppb.Timestampfunc (*PullRequestComment) ProtoMessage
func (*PullRequestComment) ProtoMessage()func (*PullRequestComment) ProtoReflect
func (x *PullRequestComment) ProtoReflect() protoreflect.Messagefunc (*PullRequestComment) Reset
func (x *PullRequestComment) Reset()func (*PullRequestComment) String
func (x *PullRequestComment) String() stringPullRequestComment_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() stringfunc (*PullRequestComment_Code) GetEffectiveCommitSha
func (x *PullRequestComment_Code) GetEffectiveCommitSha() stringfunc (*PullRequestComment_Code) GetEffectiveRootComment
func (x *PullRequestComment_Code) GetEffectiveRootComment() stringfunc (*PullRequestComment_Code) GetPosition
func (x *PullRequestComment_Code) GetPosition() *PullRequestComment_Positionfunc (*PullRequestComment_Code) GetReply
func (x *PullRequestComment_Code) GetReply() stringfunc (*PullRequestComment_Code) GetResolved
func (x *PullRequestComment_Code) GetResolved() boolfunc (*PullRequestComment_Code) ProtoMessage
func (*PullRequestComment_Code) ProtoMessage()func (*PullRequestComment_Code) ProtoReflect
func (x *PullRequestComment_Code) ProtoReflect() protoreflect.Messagefunc (*PullRequestComment_Code) Reset
func (x *PullRequestComment_Code) Reset()func (*PullRequestComment_Code) String
func (x *PullRequestComment_Code) String() stringPullRequestComment_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() stringfunc (*PullRequestComment_Comment) ProtoMessage
func (*PullRequestComment_Comment) ProtoMessage()func (*PullRequestComment_Comment) ProtoReflect
func (x *PullRequestComment_Comment) ProtoReflect() protoreflect.Messagefunc (*PullRequestComment_Comment) Reset
func (x *PullRequestComment_Comment) Reset()func (*PullRequestComment_Comment) String
func (x *PullRequestComment_Comment) String() stringPullRequestComment_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() int64func (*PullRequestComment_Position) GetPath
func (x *PullRequestComment_Position) GetPath() stringfunc (*PullRequestComment_Position) ProtoMessage
func (*PullRequestComment_Position) ProtoMessage()func (*PullRequestComment_Position) ProtoReflect
func (x *PullRequestComment_Position) ProtoReflect() protoreflect.Messagefunc (*PullRequestComment_Position) Reset
func (x *PullRequestComment_Position) Reset()func (*PullRequestComment_Position) String
func (x *PullRequestComment_Position) String() stringPullRequestComment_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 (x *PullRequestComment_Review) GetActionType() PullRequestComment_Review_ActionTypefunc (*PullRequestComment_Review) GetBody
func (x *PullRequestComment_Review) GetBody() stringfunc (*PullRequestComment_Review) GetEffectiveCommitSha
func (x *PullRequestComment_Review) GetEffectiveCommitSha() stringfunc (*PullRequestComment_Review) ProtoMessage
func (*PullRequestComment_Review) ProtoMessage()func (*PullRequestComment_Review) ProtoReflect
func (x *PullRequestComment_Review) ProtoReflect() protoreflect.Messagefunc (*PullRequestComment_Review) Reset
func (x *PullRequestComment_Review) Reset()func (*PullRequestComment_Review) String
func (x *PullRequestComment_Review) String() stringPullRequestComment_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 int32The 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) Descriptor() protoreflect.EnumDescriptorfunc (PullRequestComment_Review_ActionType) Enum
func (x PullRequestComment_Review_ActionType) Enum() *PullRequestComment_Review_ActionTypefunc (PullRequestComment_Review_ActionType) EnumDescriptor
func (PullRequestComment_Review_ActionType) EnumDescriptor() ([]byte, []int)Deprecated: Use PullRequestComment_Review_ActionType.Descriptor instead.
func (PullRequestComment_Review_ActionType) Number
func (x PullRequestComment_Review_ActionType) Number() protoreflect.EnumNumberfunc (PullRequestComment_Review_ActionType) String
func (x PullRequestComment_Review_ActionType) String() stringfunc (PullRequestComment_Review_ActionType) Type
func (PullRequestComment_Review_ActionType) Type() protoreflect.EnumTypePullRequest_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() stringfunc (*PullRequest_Branch) GetSha
func (x *PullRequest_Branch) GetSha() stringfunc (*PullRequest_Branch) ProtoMessage
func (*PullRequest_Branch) ProtoMessage()func (*PullRequest_Branch) ProtoReflect
func (x *PullRequest_Branch) ProtoReflect() protoreflect.Messagefunc (*PullRequest_Branch) Reset
func (x *PullRequest_Branch) Reset()func (*PullRequest_Branch) String
func (x *PullRequest_Branch) String() stringPullRequest_State
type PullRequest_State int32State 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) Descriptor() protoreflect.EnumDescriptorfunc (PullRequest_State) Enum
func (x PullRequest_State) Enum() *PullRequest_Statefunc (PullRequest_State) EnumDescriptor
func (PullRequest_State) EnumDescriptor() ([]byte, []int)Deprecated: Use PullRequest_State.Descriptor instead.
func (PullRequest_State) Number
func (x PullRequest_State) Number() protoreflect.EnumNumberfunc (PullRequest_State) String
func (x PullRequest_State) String() stringfunc (PullRequest_State) Type
func (PullRequest_State) Type() protoreflect.EnumTypeRepository
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.Timestampfunc (*Repository) GetDescription
func (x *Repository) GetDescription() stringfunc (*Repository) GetEtag
func (x *Repository) GetEtag() stringfunc (*Repository) GetInitialConfig
func (x *Repository) GetInitialConfig() *Repository_InitialConfigfunc (*Repository) GetInstance
func (x *Repository) GetInstance() stringfunc (*Repository) GetName
func (x *Repository) GetName() stringfunc (*Repository) GetUid
func (x *Repository) GetUid() stringfunc (*Repository) GetUpdateTime
func (x *Repository) GetUpdateTime() *timestamppb.Timestampfunc (*Repository) GetUris
func (x *Repository) GetUris() *Repository_URIsfunc (*Repository) ProtoMessage
func (*Repository) ProtoMessage()func (*Repository) ProtoReflect
func (x *Repository) ProtoReflect() protoreflect.Messagefunc (*Repository) Reset
func (x *Repository) Reset()func (*Repository) String
func (x *Repository) String() stringRepository_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() stringfunc (*Repository_InitialConfig) GetGitignores
func (x *Repository_InitialConfig) GetGitignores() []stringfunc (*Repository_InitialConfig) GetLicense
func (x *Repository_InitialConfig) GetLicense() stringfunc (*Repository_InitialConfig) GetReadme
func (x *Repository_InitialConfig) GetReadme() stringfunc (*Repository_InitialConfig) ProtoMessage
func (*Repository_InitialConfig) ProtoMessage()func (*Repository_InitialConfig) ProtoReflect
func (x *Repository_InitialConfig) ProtoReflect() protoreflect.Messagefunc (*Repository_InitialConfig) Reset
func (x *Repository_InitialConfig) Reset()func (*Repository_InitialConfig) String
func (x *Repository_InitialConfig) String() stringRepository_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() stringfunc (*Repository_URIs) GetGitHttps
func (x *Repository_URIs) GetGitHttps() stringfunc (*Repository_URIs) GetHtml
func (x *Repository_URIs) GetHtml() stringfunc (*Repository_URIs) ProtoMessage
func (*Repository_URIs) ProtoMessage()func (*Repository_URIs) ProtoReflect
func (x *Repository_URIs) ProtoReflect() protoreflect.Messagefunc (*Repository_URIs) Reset
func (x *Repository_URIs) Reset()func (*Repository_URIs) String
func (x *Repository_URIs) String() stringResolvePullRequestCommentsRequest
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() boolfunc (*ResolvePullRequestCommentsRequest) GetNames
func (x *ResolvePullRequestCommentsRequest) GetNames() []stringfunc (*ResolvePullRequestCommentsRequest) GetParent
func (x *ResolvePullRequestCommentsRequest) GetParent() stringfunc (*ResolvePullRequestCommentsRequest) ProtoMessage
func (*ResolvePullRequestCommentsRequest) ProtoMessage()func (*ResolvePullRequestCommentsRequest) ProtoReflect
func (x *ResolvePullRequestCommentsRequest) ProtoReflect() protoreflect.Messagefunc (*ResolvePullRequestCommentsRequest) Reset
func (x *ResolvePullRequestCommentsRequest) Reset()func (*ResolvePullRequestCommentsRequest) String
func (x *ResolvePullRequestCommentsRequest) String() stringResolvePullRequestCommentsResponse
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() []*PullRequestCommentfunc (*ResolvePullRequestCommentsResponse) ProtoMessage
func (*ResolvePullRequestCommentsResponse) ProtoMessage()func (*ResolvePullRequestCommentsResponse) ProtoReflect
func (x *ResolvePullRequestCommentsResponse) ProtoReflect() protoreflect.Messagefunc (*ResolvePullRequestCommentsResponse) Reset
func (x *ResolvePullRequestCommentsResponse) Reset()func (*ResolvePullRequestCommentsResponse) String
func (x *ResolvePullRequestCommentsResponse) String() stringSecureSourceManagerClient
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) SecureSourceManagerClientSecureSourceManagerServer
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
Deprecated: Use TreeEntry.ProtoReflect.Descriptor instead.
func (*TreeEntry) GetMode
func (*TreeEntry) GetPath
func (*TreeEntry) GetSha
func (*TreeEntry) GetSize
func (*TreeEntry) GetType
func (x *TreeEntry) GetType() TreeEntry_ObjectTypefunc (*TreeEntry) ProtoMessage
func (*TreeEntry) ProtoMessage()func (*TreeEntry) ProtoReflect
func (x *TreeEntry) ProtoReflect() protoreflect.Messagefunc (*TreeEntry) Reset
func (x *TreeEntry) Reset()func (*TreeEntry) String
TreeEntry_ObjectType
type TreeEntry_ObjectType int32Defines 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) Descriptor() protoreflect.EnumDescriptorfunc (TreeEntry_ObjectType) Enum
func (x TreeEntry_ObjectType) Enum() *TreeEntry_ObjectTypefunc (TreeEntry_ObjectType) EnumDescriptor
func (TreeEntry_ObjectType) EnumDescriptor() ([]byte, []int)Deprecated: Use TreeEntry_ObjectType.Descriptor instead.
func (TreeEntry_ObjectType) Number
func (x TreeEntry_ObjectType) Number() protoreflect.EnumNumberfunc (TreeEntry_ObjectType) String
func (x TreeEntry_ObjectType) String() stringfunc (TreeEntry_ObjectType) Type
func (TreeEntry_ObjectType) Type() protoreflect.EnumTypeUnimplementedSecureSourceManagerServer
type UnimplementedSecureSourceManagerServer struct {
}UnimplementedSecureSourceManagerServer should be embedded to have forward compatible implementations.
func (UnimplementedSecureSourceManagerServer) BatchCreatePullRequestComments
func (UnimplementedSecureSourceManagerServer) BatchCreatePullRequestComments(context.Context, *BatchCreatePullRequestCommentsRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) CloseIssue
func (UnimplementedSecureSourceManagerServer) CloseIssue(context.Context, *CloseIssueRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) ClosePullRequest
func (UnimplementedSecureSourceManagerServer) ClosePullRequest(context.Context, *ClosePullRequestRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) CreateBranchRule
func (UnimplementedSecureSourceManagerServer) CreateBranchRule(context.Context, *CreateBranchRuleRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) CreateHook
func (UnimplementedSecureSourceManagerServer) CreateHook(context.Context, *CreateHookRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) CreateInstance
func (UnimplementedSecureSourceManagerServer) CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) CreateIssue
func (UnimplementedSecureSourceManagerServer) CreateIssue(context.Context, *CreateIssueRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) CreateIssueComment
func (UnimplementedSecureSourceManagerServer) CreateIssueComment(context.Context, *CreateIssueCommentRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) CreatePullRequest
func (UnimplementedSecureSourceManagerServer) CreatePullRequest(context.Context, *CreatePullRequestRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) CreatePullRequestComment
func (UnimplementedSecureSourceManagerServer) CreatePullRequestComment(context.Context, *CreatePullRequestCommentRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) CreateRepository
func (UnimplementedSecureSourceManagerServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) DeleteBranchRule
func (UnimplementedSecureSourceManagerServer) DeleteBranchRule(context.Context, *DeleteBranchRuleRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) DeleteHook
func (UnimplementedSecureSourceManagerServer) DeleteHook(context.Context, *DeleteHookRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) DeleteInstance
func (UnimplementedSecureSourceManagerServer) DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) DeleteIssue
func (UnimplementedSecureSourceManagerServer) DeleteIssue(context.Context, *DeleteIssueRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) DeleteIssueComment
func (UnimplementedSecureSourceManagerServer) DeleteIssueComment(context.Context, *DeleteIssueCommentRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) DeletePullRequestComment
func (UnimplementedSecureSourceManagerServer) DeletePullRequestComment(context.Context, *DeletePullRequestCommentRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) DeleteRepository
func (UnimplementedSecureSourceManagerServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) FetchBlob
func (UnimplementedSecureSourceManagerServer) FetchBlob(context.Context, *FetchBlobRequest) (*FetchBlobResponse, error)func (UnimplementedSecureSourceManagerServer) FetchTree
func (UnimplementedSecureSourceManagerServer) FetchTree(context.Context, *FetchTreeRequest) (*FetchTreeResponse, error)func (UnimplementedSecureSourceManagerServer) GetBranchRule
func (UnimplementedSecureSourceManagerServer) GetBranchRule(context.Context, *GetBranchRuleRequest) (*BranchRule, error)func (UnimplementedSecureSourceManagerServer) GetHook
func (UnimplementedSecureSourceManagerServer) GetHook(context.Context, *GetHookRequest) (*Hook, error)func (UnimplementedSecureSourceManagerServer) GetIamPolicyRepo
func (UnimplementedSecureSourceManagerServer) GetIamPolicyRepo(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedSecureSourceManagerServer) GetInstance
func (UnimplementedSecureSourceManagerServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)func (UnimplementedSecureSourceManagerServer) GetIssue
func (UnimplementedSecureSourceManagerServer) GetIssue(context.Context, *GetIssueRequest) (*Issue, error)func (UnimplementedSecureSourceManagerServer) GetIssueComment
func (UnimplementedSecureSourceManagerServer) GetIssueComment(context.Context, *GetIssueCommentRequest) (*IssueComment, error)func (UnimplementedSecureSourceManagerServer) GetPullRequest
func (UnimplementedSecureSourceManagerServer) GetPullRequest(context.Context, *GetPullRequestRequest) (*PullRequest, error)func (UnimplementedSecureSourceManagerServer) GetPullRequestComment
func (UnimplementedSecureSourceManagerServer) GetPullRequestComment(context.Context, *GetPullRequestCommentRequest) (*PullRequestComment, error)func (UnimplementedSecureSourceManagerServer) GetRepository
func (UnimplementedSecureSourceManagerServer) GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error)func (UnimplementedSecureSourceManagerServer) ListBranchRules
func (UnimplementedSecureSourceManagerServer) ListBranchRules(context.Context, *ListBranchRulesRequest) (*ListBranchRulesResponse, error)func (UnimplementedSecureSourceManagerServer) ListHooks
func (UnimplementedSecureSourceManagerServer) ListHooks(context.Context, *ListHooksRequest) (*ListHooksResponse, error)func (UnimplementedSecureSourceManagerServer) ListInstances
func (UnimplementedSecureSourceManagerServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)func (UnimplementedSecureSourceManagerServer) ListIssueComments
func (UnimplementedSecureSourceManagerServer) ListIssueComments(context.Context, *ListIssueCommentsRequest) (*ListIssueCommentsResponse, error)func (UnimplementedSecureSourceManagerServer) ListIssues
func (UnimplementedSecureSourceManagerServer) ListIssues(context.Context, *ListIssuesRequest) (*ListIssuesResponse, error)func (UnimplementedSecureSourceManagerServer) ListPullRequestComments
func (UnimplementedSecureSourceManagerServer) ListPullRequestComments(context.Context, *ListPullRequestCommentsRequest) (*ListPullRequestCommentsResponse, error)func (UnimplementedSecureSourceManagerServer) ListPullRequestFileDiffs
func (UnimplementedSecureSourceManagerServer) ListPullRequestFileDiffs(context.Context, *ListPullRequestFileDiffsRequest) (*ListPullRequestFileDiffsResponse, error)func (UnimplementedSecureSourceManagerServer) ListPullRequests
func (UnimplementedSecureSourceManagerServer) ListPullRequests(context.Context, *ListPullRequestsRequest) (*ListPullRequestsResponse, error)func (UnimplementedSecureSourceManagerServer) ListRepositories
func (UnimplementedSecureSourceManagerServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)func (UnimplementedSecureSourceManagerServer) MergePullRequest
func (UnimplementedSecureSourceManagerServer) MergePullRequest(context.Context, *MergePullRequestRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) OpenIssue
func (UnimplementedSecureSourceManagerServer) OpenIssue(context.Context, *OpenIssueRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) OpenPullRequest
func (UnimplementedSecureSourceManagerServer) OpenPullRequest(context.Context, *OpenPullRequestRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) ResolvePullRequestComments
func (UnimplementedSecureSourceManagerServer) ResolvePullRequestComments(context.Context, *ResolvePullRequestCommentsRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) SetIamPolicyRepo
func (UnimplementedSecureSourceManagerServer) SetIamPolicyRepo(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedSecureSourceManagerServer) TestIamPermissionsRepo
func (UnimplementedSecureSourceManagerServer) TestIamPermissionsRepo(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)func (UnimplementedSecureSourceManagerServer) UnresolvePullRequestComments
func (UnimplementedSecureSourceManagerServer) UnresolvePullRequestComments(context.Context, *UnresolvePullRequestCommentsRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) UpdateBranchRule
func (UnimplementedSecureSourceManagerServer) UpdateBranchRule(context.Context, *UpdateBranchRuleRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) UpdateHook
func (UnimplementedSecureSourceManagerServer) UpdateHook(context.Context, *UpdateHookRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) UpdateIssue
func (UnimplementedSecureSourceManagerServer) UpdateIssue(context.Context, *UpdateIssueRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) UpdateIssueComment
func (UnimplementedSecureSourceManagerServer) UpdateIssueComment(context.Context, *UpdateIssueCommentRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) UpdatePullRequest
func (UnimplementedSecureSourceManagerServer) UpdatePullRequest(context.Context, *UpdatePullRequestRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) UpdatePullRequestComment
func (UnimplementedSecureSourceManagerServer) UpdatePullRequestComment(context.Context, *UpdatePullRequestCommentRequest) (*longrunningpb.Operation, error)func (UnimplementedSecureSourceManagerServer) UpdateRepository
func (UnimplementedSecureSourceManagerServer) UpdateRepository(context.Context, *UpdateRepositoryRequest) (*longrunningpb.Operation, error)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() boolfunc (*UnresolvePullRequestCommentsRequest) GetNames
func (x *UnresolvePullRequestCommentsRequest) GetNames() []stringfunc (*UnresolvePullRequestCommentsRequest) GetParent
func (x *UnresolvePullRequestCommentsRequest) GetParent() stringfunc (*UnresolvePullRequestCommentsRequest) ProtoMessage
func (*UnresolvePullRequestCommentsRequest) ProtoMessage()func (*UnresolvePullRequestCommentsRequest) ProtoReflect
func (x *UnresolvePullRequestCommentsRequest) ProtoReflect() protoreflect.Messagefunc (*UnresolvePullRequestCommentsRequest) Reset
func (x *UnresolvePullRequestCommentsRequest) Reset()func (*UnresolvePullRequestCommentsRequest) String
func (x *UnresolvePullRequestCommentsRequest) String() stringUnresolvePullRequestCommentsResponse
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() []*PullRequestCommentfunc (*UnresolvePullRequestCommentsResponse) ProtoMessage
func (*UnresolvePullRequestCommentsResponse) ProtoMessage()func (*UnresolvePullRequestCommentsResponse) ProtoReflect
func (x *UnresolvePullRequestCommentsResponse) ProtoReflect() protoreflect.Messagefunc (*UnresolvePullRequestCommentsResponse) Reset
func (x *UnresolvePullRequestCommentsResponse) Reset()func (*UnresolvePullRequestCommentsResponse) String
func (x *UnresolvePullRequestCommentsResponse) String() stringUnsafeSecureSourceManagerServer
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() *BranchRulefunc (*UpdateBranchRuleRequest) GetUpdateMask
func (x *UpdateBranchRuleRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateBranchRuleRequest) GetValidateOnly
func (x *UpdateBranchRuleRequest) GetValidateOnly() boolfunc (*UpdateBranchRuleRequest) ProtoMessage
func (*UpdateBranchRuleRequest) ProtoMessage()func (*UpdateBranchRuleRequest) ProtoReflect
func (x *UpdateBranchRuleRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateBranchRuleRequest) Reset
func (x *UpdateBranchRuleRequest) Reset()func (*UpdateBranchRuleRequest) String
func (x *UpdateBranchRuleRequest) String() stringUpdateHookRequest
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() *Hookfunc (*UpdateHookRequest) GetUpdateMask
func (x *UpdateHookRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateHookRequest) ProtoMessage
func (*UpdateHookRequest) ProtoMessage()func (*UpdateHookRequest) ProtoReflect
func (x *UpdateHookRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateHookRequest) Reset
func (x *UpdateHookRequest) Reset()func (*UpdateHookRequest) String
func (x *UpdateHookRequest) String() stringUpdateIssueCommentRequest
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() *IssueCommentfunc (*UpdateIssueCommentRequest) GetUpdateMask
func (x *UpdateIssueCommentRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateIssueCommentRequest) ProtoMessage
func (*UpdateIssueCommentRequest) ProtoMessage()func (*UpdateIssueCommentRequest) ProtoReflect
func (x *UpdateIssueCommentRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateIssueCommentRequest) Reset
func (x *UpdateIssueCommentRequest) Reset()func (*UpdateIssueCommentRequest) String
func (x *UpdateIssueCommentRequest) String() stringUpdateIssueRequest
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() *Issuefunc (*UpdateIssueRequest) GetUpdateMask
func (x *UpdateIssueRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateIssueRequest) ProtoMessage
func (*UpdateIssueRequest) ProtoMessage()func (*UpdateIssueRequest) ProtoReflect
func (x *UpdateIssueRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateIssueRequest) Reset
func (x *UpdateIssueRequest) Reset()func (*UpdateIssueRequest) String
func (x *UpdateIssueRequest) String() stringUpdatePullRequestCommentRequest
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() *PullRequestCommentfunc (*UpdatePullRequestCommentRequest) GetUpdateMask
func (x *UpdatePullRequestCommentRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdatePullRequestCommentRequest) ProtoMessage
func (*UpdatePullRequestCommentRequest) ProtoMessage()func (*UpdatePullRequestCommentRequest) ProtoReflect
func (x *UpdatePullRequestCommentRequest) ProtoReflect() protoreflect.Messagefunc (*UpdatePullRequestCommentRequest) Reset
func (x *UpdatePullRequestCommentRequest) Reset()func (*UpdatePullRequestCommentRequest) String
func (x *UpdatePullRequestCommentRequest) String() stringUpdatePullRequestRequest
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() *PullRequestfunc (*UpdatePullRequestRequest) GetUpdateMask
func (x *UpdatePullRequestRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdatePullRequestRequest) ProtoMessage
func (*UpdatePullRequestRequest) ProtoMessage()func (*UpdatePullRequestRequest) ProtoReflect
func (x *UpdatePullRequestRequest) ProtoReflect() protoreflect.Messagefunc (*UpdatePullRequestRequest) Reset
func (x *UpdatePullRequestRequest) Reset()func (*UpdatePullRequestRequest) String
func (x *UpdatePullRequestRequest) String() stringUpdateRepositoryRequest
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() *Repositoryfunc (*UpdateRepositoryRequest) GetUpdateMask
func (x *UpdateRepositoryRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateRepositoryRequest) GetValidateOnly
func (x *UpdateRepositoryRequest) GetValidateOnly() boolfunc (*UpdateRepositoryRequest) ProtoMessage
func (*UpdateRepositoryRequest) ProtoMessage()func (*UpdateRepositoryRequest) ProtoReflect
func (x *UpdateRepositoryRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateRepositoryRequest) Reset
func (x *UpdateRepositoryRequest) Reset()func (*UpdateRepositoryRequest) String
func (x *UpdateRepositoryRequest) String() string