securesourcemanagerpb

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_google_cloud_securesourcemanager_v1_secure_source_manager_proto protoreflect.FileDescriptor
View Source
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)

Types

type BatchCreatePullRequestCommentsRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use BatchCreatePullRequestCommentsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreatePullRequestCommentsRequest) GetParent added in v1.4.0

func (*BatchCreatePullRequestCommentsRequest) GetRequests added in v1.4.0

func (*BatchCreatePullRequestCommentsRequest) ProtoMessage added in v1.4.0

func (*BatchCreatePullRequestCommentsRequest) ProtoMessage()

func (*BatchCreatePullRequestCommentsRequest) ProtoReflect added in v1.4.0

func (*BatchCreatePullRequestCommentsRequest) Reset added in v1.4.0

func (*BatchCreatePullRequestCommentsRequest) String added in v1.4.0

type BatchCreatePullRequestCommentsResponse added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use BatchCreatePullRequestCommentsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreatePullRequestCommentsResponse) GetPullRequestComments added in v1.4.0

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

func (*BatchCreatePullRequestCommentsResponse) ProtoMessage added in v1.4.0

func (*BatchCreatePullRequestCommentsResponse) ProtoReflect added in v1.4.0

func (*BatchCreatePullRequestCommentsResponse) Reset added in v1.4.0

func (*BatchCreatePullRequestCommentsResponse) String added in v1.4.0

type BranchRule added in v1.3.0

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 `` /* 163-byte string literal not displayed */
	// 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 `` /* 128-byte string literal not displayed */
	// Optional. Determines if require comments resolved before merging to the
	// branch.
	RequireCommentsResolved bool `` /* 134-byte string literal not displayed */
	// 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 deprecated added in v1.3.0

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

Deprecated: Use BranchRule.ProtoReflect.Descriptor instead.

func (*BranchRule) GetAllowStaleReviews added in v1.3.0

func (x *BranchRule) GetAllowStaleReviews() bool

func (*BranchRule) GetAnnotations added in v1.3.0

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

func (*BranchRule) GetCreateTime added in v1.3.0

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

func (*BranchRule) GetDisabled added in v1.3.0

func (x *BranchRule) GetDisabled() bool

func (*BranchRule) GetEtag added in v1.3.0

func (x *BranchRule) GetEtag() string

func (*BranchRule) GetIncludePattern added in v1.3.0

func (x *BranchRule) GetIncludePattern() string

func (*BranchRule) GetMinimumApprovalsCount added in v1.3.0

func (x *BranchRule) GetMinimumApprovalsCount() int32

func (*BranchRule) GetMinimumReviewsCount added in v1.3.0

func (x *BranchRule) GetMinimumReviewsCount() int32

func (*BranchRule) GetName added in v1.3.0

func (x *BranchRule) GetName() string

func (*BranchRule) GetRequireCommentsResolved added in v1.3.0

func (x *BranchRule) GetRequireCommentsResolved() bool

func (*BranchRule) GetRequireLinearHistory added in v1.3.0

func (x *BranchRule) GetRequireLinearHistory() bool

func (*BranchRule) GetRequirePullRequest added in v1.3.0

func (x *BranchRule) GetRequirePullRequest() bool

func (*BranchRule) GetRequiredStatusChecks added in v1.3.0

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

func (*BranchRule) GetUid added in v1.3.0

func (x *BranchRule) GetUid() string

func (*BranchRule) GetUpdateTime added in v1.3.0

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

func (*BranchRule) ProtoMessage added in v1.3.0

func (*BranchRule) ProtoMessage()

func (*BranchRule) ProtoReflect added in v1.3.0

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

func (*BranchRule) Reset added in v1.3.0

func (x *BranchRule) Reset()

func (*BranchRule) String added in v1.3.0

func (x *BranchRule) String() string

type BranchRule_Check added in v1.3.0

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 deprecated added in v1.3.0

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

Deprecated: Use BranchRule_Check.ProtoReflect.Descriptor instead.

func (*BranchRule_Check) GetContext added in v1.3.0

func (x *BranchRule_Check) GetContext() string

func (*BranchRule_Check) ProtoMessage added in v1.3.0

func (*BranchRule_Check) ProtoMessage()

func (*BranchRule_Check) ProtoReflect added in v1.3.0

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

func (*BranchRule_Check) Reset added in v1.3.0

func (x *BranchRule_Check) Reset()

func (*BranchRule_Check) String added in v1.3.0

func (x *BranchRule_Check) String() string

type CloseIssueRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use CloseIssueRequest.ProtoReflect.Descriptor instead.

func (*CloseIssueRequest) GetEtag added in v1.4.0

func (x *CloseIssueRequest) GetEtag() string

func (*CloseIssueRequest) GetName added in v1.4.0

func (x *CloseIssueRequest) GetName() string

func (*CloseIssueRequest) ProtoMessage added in v1.4.0

func (*CloseIssueRequest) ProtoMessage()

func (*CloseIssueRequest) ProtoReflect added in v1.4.0

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

func (*CloseIssueRequest) Reset added in v1.4.0

func (x *CloseIssueRequest) Reset()

func (*CloseIssueRequest) String added in v1.4.0

func (x *CloseIssueRequest) String() string

type ClosePullRequestRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ClosePullRequestRequest.ProtoReflect.Descriptor instead.

func (*ClosePullRequestRequest) GetName added in v1.4.0

func (x *ClosePullRequestRequest) GetName() string

func (*ClosePullRequestRequest) ProtoMessage added in v1.4.0

func (*ClosePullRequestRequest) ProtoMessage()

func (*ClosePullRequestRequest) ProtoReflect added in v1.4.0

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

func (*ClosePullRequestRequest) Reset added in v1.4.0

func (x *ClosePullRequestRequest) Reset()

func (*ClosePullRequestRequest) String added in v1.4.0

func (x *ClosePullRequestRequest) String() string

type CreateBranchRuleRequest added in v1.3.0

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 deprecated added in v1.3.0

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

Deprecated: Use CreateBranchRuleRequest.ProtoReflect.Descriptor instead.

func (*CreateBranchRuleRequest) GetBranchRule added in v1.3.0

func (x *CreateBranchRuleRequest) GetBranchRule() *BranchRule

func (*CreateBranchRuleRequest) GetBranchRuleId added in v1.3.0

func (x *CreateBranchRuleRequest) GetBranchRuleId() string

func (*CreateBranchRuleRequest) GetParent added in v1.3.0

func (x *CreateBranchRuleRequest) GetParent() string

func (*CreateBranchRuleRequest) ProtoMessage added in v1.3.0

func (*CreateBranchRuleRequest) ProtoMessage()

func (*CreateBranchRuleRequest) ProtoReflect added in v1.3.0

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

func (*CreateBranchRuleRequest) Reset added in v1.3.0

func (x *CreateBranchRuleRequest) Reset()

func (*CreateBranchRuleRequest) String added in v1.3.0

func (x *CreateBranchRuleRequest) String() string

type CreateHookRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use CreateHookRequest.ProtoReflect.Descriptor instead.

func (*CreateHookRequest) GetHook added in v1.4.0

func (x *CreateHookRequest) GetHook() *Hook

func (*CreateHookRequest) GetHookId added in v1.4.0

func (x *CreateHookRequest) GetHookId() string

func (*CreateHookRequest) GetParent added in v1.4.0

func (x *CreateHookRequest) GetParent() string

func (*CreateHookRequest) ProtoMessage added in v1.4.0

func (*CreateHookRequest) ProtoMessage()

func (*CreateHookRequest) ProtoReflect added in v1.4.0

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

func (*CreateHookRequest) Reset added in v1.4.0

func (x *CreateHookRequest) Reset()

func (*CreateHookRequest) String added in v1.4.0

func (x *CreateHookRequest) String() string

type CreateInstanceRequest

type CreateInstanceRequest struct {

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

CreateInstanceRequest is the request for creating an instance.

func (*CreateInstanceRequest) Descriptor deprecated

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

Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateInstanceRequest) GetInstance

func (x *CreateInstanceRequest) GetInstance() *Instance

func (*CreateInstanceRequest) GetInstanceId

func (x *CreateInstanceRequest) GetInstanceId() string

func (*CreateInstanceRequest) GetParent

func (x *CreateInstanceRequest) GetParent() string

func (*CreateInstanceRequest) GetRequestId

func (x *CreateInstanceRequest) GetRequestId() string

func (*CreateInstanceRequest) ProtoMessage

func (*CreateInstanceRequest) ProtoMessage()

func (*CreateInstanceRequest) ProtoReflect

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

func (*CreateInstanceRequest) Reset

func (x *CreateInstanceRequest) Reset()

func (*CreateInstanceRequest) String

func (x *CreateInstanceRequest) String() string

type CreateIssueCommentRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use CreateIssueCommentRequest.ProtoReflect.Descriptor instead.

func (*CreateIssueCommentRequest) GetIssueComment added in v1.4.0

func (x *CreateIssueCommentRequest) GetIssueComment() *IssueComment

func (*CreateIssueCommentRequest) GetParent added in v1.4.0

func (x *CreateIssueCommentRequest) GetParent() string

func (*CreateIssueCommentRequest) ProtoMessage added in v1.4.0

func (*CreateIssueCommentRequest) ProtoMessage()

func (*CreateIssueCommentRequest) ProtoReflect added in v1.4.0

func (*CreateIssueCommentRequest) Reset added in v1.4.0

func (x *CreateIssueCommentRequest) Reset()

func (*CreateIssueCommentRequest) String added in v1.4.0

func (x *CreateIssueCommentRequest) String() string

type CreateIssueRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use CreateIssueRequest.ProtoReflect.Descriptor instead.

func (*CreateIssueRequest) GetIssue added in v1.4.0

func (x *CreateIssueRequest) GetIssue() *Issue

func (*CreateIssueRequest) GetParent added in v1.4.0

func (x *CreateIssueRequest) GetParent() string

func (*CreateIssueRequest) ProtoMessage added in v1.4.0

func (*CreateIssueRequest) ProtoMessage()

func (*CreateIssueRequest) ProtoReflect added in v1.4.0

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

func (*CreateIssueRequest) Reset added in v1.4.0

func (x *CreateIssueRequest) Reset()

func (*CreateIssueRequest) String added in v1.4.0

func (x *CreateIssueRequest) String() string

type CreatePullRequestCommentRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use CreatePullRequestCommentRequest.ProtoReflect.Descriptor instead.

func (*CreatePullRequestCommentRequest) GetParent added in v1.4.0

func (x *CreatePullRequestCommentRequest) GetParent() string

func (*CreatePullRequestCommentRequest) GetPullRequestComment added in v1.4.0

func (x *CreatePullRequestCommentRequest) GetPullRequestComment() *PullRequestComment

func (*CreatePullRequestCommentRequest) ProtoMessage added in v1.4.0

func (*CreatePullRequestCommentRequest) ProtoMessage()

func (*CreatePullRequestCommentRequest) ProtoReflect added in v1.4.0

func (*CreatePullRequestCommentRequest) Reset added in v1.4.0

func (*CreatePullRequestCommentRequest) String added in v1.4.0

type CreatePullRequestRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use CreatePullRequestRequest.ProtoReflect.Descriptor instead.

func (*CreatePullRequestRequest) GetParent added in v1.4.0

func (x *CreatePullRequestRequest) GetParent() string

func (*CreatePullRequestRequest) GetPullRequest added in v1.4.0

func (x *CreatePullRequestRequest) GetPullRequest() *PullRequest

func (*CreatePullRequestRequest) ProtoMessage added in v1.4.0

func (*CreatePullRequestRequest) ProtoMessage()

func (*CreatePullRequestRequest) ProtoReflect added in v1.4.0

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

func (*CreatePullRequestRequest) Reset added in v1.4.0

func (x *CreatePullRequestRequest) Reset()

func (*CreatePullRequestRequest) String added in v1.4.0

func (x *CreatePullRequestRequest) String() string

type CreateRepositoryRequest

type CreateRepositoryRequest struct {

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

CreateRepositoryRequest is the request for creating a repository.

func (*CreateRepositoryRequest) Descriptor deprecated

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

Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.

func (*CreateRepositoryRequest) GetParent

func (x *CreateRepositoryRequest) GetParent() string

func (*CreateRepositoryRequest) GetRepository

func (x *CreateRepositoryRequest) GetRepository() *Repository

func (*CreateRepositoryRequest) GetRepositoryId

func (x *CreateRepositoryRequest) GetRepositoryId() string

func (*CreateRepositoryRequest) ProtoMessage

func (*CreateRepositoryRequest) ProtoMessage()

func (*CreateRepositoryRequest) ProtoReflect

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

func (*CreateRepositoryRequest) Reset

func (x *CreateRepositoryRequest) Reset()

func (*CreateRepositoryRequest) String

func (x *CreateRepositoryRequest) String() string

type DeleteBranchRuleRequest added in v1.3.0

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 deprecated added in v1.3.0

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

Deprecated: Use DeleteBranchRuleRequest.ProtoReflect.Descriptor instead.

func (*DeleteBranchRuleRequest) GetAllowMissing added in v1.3.0

func (x *DeleteBranchRuleRequest) GetAllowMissing() bool

func (*DeleteBranchRuleRequest) GetName added in v1.3.0

func (x *DeleteBranchRuleRequest) GetName() string

func (*DeleteBranchRuleRequest) ProtoMessage added in v1.3.0

func (*DeleteBranchRuleRequest) ProtoMessage()

func (*DeleteBranchRuleRequest) ProtoReflect added in v1.3.0

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

func (*DeleteBranchRuleRequest) Reset added in v1.3.0

func (x *DeleteBranchRuleRequest) Reset()

func (*DeleteBranchRuleRequest) String added in v1.3.0

func (x *DeleteBranchRuleRequest) String() string

type DeleteHookRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use DeleteHookRequest.ProtoReflect.Descriptor instead.

func (*DeleteHookRequest) GetName added in v1.4.0

func (x *DeleteHookRequest) GetName() string

func (*DeleteHookRequest) ProtoMessage added in v1.4.0

func (*DeleteHookRequest) ProtoMessage()

func (*DeleteHookRequest) ProtoReflect added in v1.4.0

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

func (*DeleteHookRequest) Reset added in v1.4.0

func (x *DeleteHookRequest) Reset()

func (*DeleteHookRequest) String added in v1.4.0

func (x *DeleteHookRequest) String() string

type DeleteInstanceRequest

type DeleteInstanceRequest struct {

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

DeleteInstanceRequest is the request for deleting an instance.

func (*DeleteInstanceRequest) Descriptor deprecated

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

Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.

func (*DeleteInstanceRequest) GetName

func (x *DeleteInstanceRequest) GetName() string

func (*DeleteInstanceRequest) GetRequestId

func (x *DeleteInstanceRequest) GetRequestId() string

func (*DeleteInstanceRequest) ProtoMessage

func (*DeleteInstanceRequest) ProtoMessage()

func (*DeleteInstanceRequest) ProtoReflect

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

func (*DeleteInstanceRequest) Reset

func (x *DeleteInstanceRequest) Reset()

func (*DeleteInstanceRequest) String

func (x *DeleteInstanceRequest) String() string

type DeleteIssueCommentRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use DeleteIssueCommentRequest.ProtoReflect.Descriptor instead.

func (*DeleteIssueCommentRequest) GetName added in v1.4.0

func (x *DeleteIssueCommentRequest) GetName() string

func (*DeleteIssueCommentRequest) ProtoMessage added in v1.4.0

func (*DeleteIssueCommentRequest) ProtoMessage()

func (*DeleteIssueCommentRequest) ProtoReflect added in v1.4.0

func (*DeleteIssueCommentRequest) Reset added in v1.4.0

func (x *DeleteIssueCommentRequest) Reset()

func (*DeleteIssueCommentRequest) String added in v1.4.0

func (x *DeleteIssueCommentRequest) String() string

type DeleteIssueRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use DeleteIssueRequest.ProtoReflect.Descriptor instead.

func (*DeleteIssueRequest) GetEtag added in v1.4.0

func (x *DeleteIssueRequest) GetEtag() string

func (*DeleteIssueRequest) GetName added in v1.4.0

func (x *DeleteIssueRequest) GetName() string

func (*DeleteIssueRequest) ProtoMessage added in v1.4.0

func (*DeleteIssueRequest) ProtoMessage()

func (*DeleteIssueRequest) ProtoReflect added in v1.4.0

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

func (*DeleteIssueRequest) Reset added in v1.4.0

func (x *DeleteIssueRequest) Reset()

func (*DeleteIssueRequest) String added in v1.4.0

func (x *DeleteIssueRequest) String() string

type DeletePullRequestCommentRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use DeletePullRequestCommentRequest.ProtoReflect.Descriptor instead.

func (*DeletePullRequestCommentRequest) GetName added in v1.4.0

func (*DeletePullRequestCommentRequest) ProtoMessage added in v1.4.0

func (*DeletePullRequestCommentRequest) ProtoMessage()

func (*DeletePullRequestCommentRequest) ProtoReflect added in v1.4.0

func (*DeletePullRequestCommentRequest) Reset added in v1.4.0

func (*DeletePullRequestCommentRequest) String added in v1.4.0

type DeleteRepositoryRequest

type DeleteRepositoryRequest struct {

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

DeleteRepositoryRequest is the request to delete a repository.

func (*DeleteRepositoryRequest) Descriptor deprecated

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

Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryRequest) GetAllowMissing

func (x *DeleteRepositoryRequest) GetAllowMissing() bool

func (*DeleteRepositoryRequest) GetName

func (x *DeleteRepositoryRequest) GetName() string

func (*DeleteRepositoryRequest) ProtoMessage

func (*DeleteRepositoryRequest) ProtoMessage()

func (*DeleteRepositoryRequest) ProtoReflect

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

func (*DeleteRepositoryRequest) Reset

func (x *DeleteRepositoryRequest) Reset()

func (*DeleteRepositoryRequest) String

func (x *DeleteRepositoryRequest) String() string

type FetchBlobRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use FetchBlobRequest.ProtoReflect.Descriptor instead.

func (*FetchBlobRequest) GetRepository added in v1.4.0

func (x *FetchBlobRequest) GetRepository() string

func (*FetchBlobRequest) GetSha added in v1.4.0

func (x *FetchBlobRequest) GetSha() string

func (*FetchBlobRequest) ProtoMessage added in v1.4.0

func (*FetchBlobRequest) ProtoMessage()

func (*FetchBlobRequest) ProtoReflect added in v1.4.0

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

func (*FetchBlobRequest) Reset added in v1.4.0

func (x *FetchBlobRequest) Reset()

func (*FetchBlobRequest) String added in v1.4.0

func (x *FetchBlobRequest) String() string

type FetchBlobResponse added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use FetchBlobResponse.ProtoReflect.Descriptor instead.

func (*FetchBlobResponse) GetContent added in v1.4.0

func (x *FetchBlobResponse) GetContent() string

func (*FetchBlobResponse) GetSha added in v1.4.0

func (x *FetchBlobResponse) GetSha() string

func (*FetchBlobResponse) ProtoMessage added in v1.4.0

func (*FetchBlobResponse) ProtoMessage()

func (*FetchBlobResponse) ProtoReflect added in v1.4.0

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

func (*FetchBlobResponse) Reset added in v1.4.0

func (x *FetchBlobResponse) Reset()

func (*FetchBlobResponse) String added in v1.4.0

func (x *FetchBlobResponse) String() string

type FetchTreeRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use FetchTreeRequest.ProtoReflect.Descriptor instead.

func (*FetchTreeRequest) GetPageSize added in v1.4.0

func (x *FetchTreeRequest) GetPageSize() int32

func (*FetchTreeRequest) GetPageToken added in v1.4.0

func (x *FetchTreeRequest) GetPageToken() string

func (*FetchTreeRequest) GetRecursive added in v1.4.0

func (x *FetchTreeRequest) GetRecursive() bool

func (*FetchTreeRequest) GetRef added in v1.4.0

func (x *FetchTreeRequest) GetRef() string

func (*FetchTreeRequest) GetRepository added in v1.4.0

func (x *FetchTreeRequest) GetRepository() string

func (*FetchTreeRequest) ProtoMessage added in v1.4.0

func (*FetchTreeRequest) ProtoMessage()

func (*FetchTreeRequest) ProtoReflect added in v1.4.0

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

func (*FetchTreeRequest) Reset added in v1.4.0

func (x *FetchTreeRequest) Reset()

func (*FetchTreeRequest) String added in v1.4.0

func (x *FetchTreeRequest) String() string

type FetchTreeResponse added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use FetchTreeResponse.ProtoReflect.Descriptor instead.

func (*FetchTreeResponse) GetNextPageToken added in v1.4.0

func (x *FetchTreeResponse) GetNextPageToken() string

func (*FetchTreeResponse) GetTreeEntries added in v1.4.0

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

func (*FetchTreeResponse) ProtoMessage added in v1.4.0

func (*FetchTreeResponse) ProtoMessage()

func (*FetchTreeResponse) ProtoReflect added in v1.4.0

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

func (*FetchTreeResponse) Reset added in v1.4.0

func (x *FetchTreeResponse) Reset()

func (*FetchTreeResponse) String added in v1.4.0

func (x *FetchTreeResponse) String() string

type FileDiff added in v1.4.0

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 added in v1.4.0

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

Deprecated: Use FileDiff.ProtoReflect.Descriptor instead.

func (*FileDiff) GetAction added in v1.4.0

func (x *FileDiff) GetAction() FileDiff_Action

func (*FileDiff) GetName added in v1.4.0

func (x *FileDiff) GetName() string

func (*FileDiff) GetPatch added in v1.4.0

func (x *FileDiff) GetPatch() string

func (*FileDiff) GetSha added in v1.4.0

func (x *FileDiff) GetSha() string

func (*FileDiff) ProtoMessage added in v1.4.0

func (*FileDiff) ProtoMessage()

func (*FileDiff) ProtoReflect added in v1.4.0

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

func (*FileDiff) Reset added in v1.4.0

func (x *FileDiff) Reset()

func (*FileDiff) String added in v1.4.0

func (x *FileDiff) String() string

type FileDiff_Action added in v1.4.0

type FileDiff_Action int32

Action taken on the file.

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 added in v1.4.0

func (FileDiff_Action) Enum added in v1.4.0

func (x FileDiff_Action) Enum() *FileDiff_Action

func (FileDiff_Action) EnumDescriptor deprecated added in v1.4.0

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

Deprecated: Use FileDiff_Action.Descriptor instead.

func (FileDiff_Action) Number added in v1.4.0

func (FileDiff_Action) String added in v1.4.0

func (x FileDiff_Action) String() string

func (FileDiff_Action) Type added in v1.4.0

type GetBranchRuleRequest added in v1.3.0

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 deprecated added in v1.3.0

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

Deprecated: Use GetBranchRuleRequest.ProtoReflect.Descriptor instead.

func (*GetBranchRuleRequest) GetName added in v1.3.0

func (x *GetBranchRuleRequest) GetName() string

func (*GetBranchRuleRequest) ProtoMessage added in v1.3.0

func (*GetBranchRuleRequest) ProtoMessage()

func (*GetBranchRuleRequest) ProtoReflect added in v1.3.0

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

func (*GetBranchRuleRequest) Reset added in v1.3.0

func (x *GetBranchRuleRequest) Reset()

func (*GetBranchRuleRequest) String added in v1.3.0

func (x *GetBranchRuleRequest) String() string

type GetHookRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use GetHookRequest.ProtoReflect.Descriptor instead.

func (*GetHookRequest) GetName added in v1.4.0

func (x *GetHookRequest) GetName() string

func (*GetHookRequest) ProtoMessage added in v1.4.0

func (*GetHookRequest) ProtoMessage()

func (*GetHookRequest) ProtoReflect added in v1.4.0

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

func (*GetHookRequest) Reset added in v1.4.0

func (x *GetHookRequest) Reset()

func (*GetHookRequest) String added in v1.4.0

func (x *GetHookRequest) String() string

type GetInstanceRequest

type GetInstanceRequest struct {

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

GetInstanceRequest is the request for getting an instance.

func (*GetInstanceRequest) Descriptor deprecated

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

Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceRequest) GetName

func (x *GetInstanceRequest) GetName() string

func (*GetInstanceRequest) ProtoMessage

func (*GetInstanceRequest) ProtoMessage()

func (*GetInstanceRequest) ProtoReflect

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

func (*GetInstanceRequest) Reset

func (x *GetInstanceRequest) Reset()

func (*GetInstanceRequest) String

func (x *GetInstanceRequest) String() string

type GetIssueCommentRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use GetIssueCommentRequest.ProtoReflect.Descriptor instead.

func (*GetIssueCommentRequest) GetName added in v1.4.0

func (x *GetIssueCommentRequest) GetName() string

func (*GetIssueCommentRequest) ProtoMessage added in v1.4.0

func (*GetIssueCommentRequest) ProtoMessage()

func (*GetIssueCommentRequest) ProtoReflect added in v1.4.0

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

func (*GetIssueCommentRequest) Reset added in v1.4.0

func (x *GetIssueCommentRequest) Reset()

func (*GetIssueCommentRequest) String added in v1.4.0

func (x *GetIssueCommentRequest) String() string

type GetIssueRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use GetIssueRequest.ProtoReflect.Descriptor instead.

func (*GetIssueRequest) GetName added in v1.4.0

func (x *GetIssueRequest) GetName() string

func (*GetIssueRequest) ProtoMessage added in v1.4.0

func (*GetIssueRequest) ProtoMessage()

func (*GetIssueRequest) ProtoReflect added in v1.4.0

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

func (*GetIssueRequest) Reset added in v1.4.0

func (x *GetIssueRequest) Reset()

func (*GetIssueRequest) String added in v1.4.0

func (x *GetIssueRequest) String() string

type GetPullRequestCommentRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use GetPullRequestCommentRequest.ProtoReflect.Descriptor instead.

func (*GetPullRequestCommentRequest) GetName added in v1.4.0

func (x *GetPullRequestCommentRequest) GetName() string

func (*GetPullRequestCommentRequest) ProtoMessage added in v1.4.0

func (*GetPullRequestCommentRequest) ProtoMessage()

func (*GetPullRequestCommentRequest) ProtoReflect added in v1.4.0

func (*GetPullRequestCommentRequest) Reset added in v1.4.0

func (x *GetPullRequestCommentRequest) Reset()

func (*GetPullRequestCommentRequest) String added in v1.4.0

type GetPullRequestRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use GetPullRequestRequest.ProtoReflect.Descriptor instead.

func (*GetPullRequestRequest) GetName added in v1.4.0

func (x *GetPullRequestRequest) GetName() string

func (*GetPullRequestRequest) ProtoMessage added in v1.4.0

func (*GetPullRequestRequest) ProtoMessage()

func (*GetPullRequestRequest) ProtoReflect added in v1.4.0

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

func (*GetPullRequestRequest) Reset added in v1.4.0

func (x *GetPullRequestRequest) Reset()

func (*GetPullRequestRequest) String added in v1.4.0

func (x *GetPullRequestRequest) String() string

type GetRepositoryRequest

type GetRepositoryRequest struct {

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

GetRepositoryRequest is the request for getting a repository.

func (*GetRepositoryRequest) Descriptor deprecated

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

Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.

func (*GetRepositoryRequest) GetName

func (x *GetRepositoryRequest) GetName() string

func (*GetRepositoryRequest) ProtoMessage

func (*GetRepositoryRequest) ProtoMessage()

func (*GetRepositoryRequest) ProtoReflect

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

func (*GetRepositoryRequest) Reset

func (x *GetRepositoryRequest) Reset()

func (*GetRepositoryRequest) String

func (x *GetRepositoryRequest) String() string

type Hook added in v1.4.0

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 `` /* 133-byte string literal not displayed */
	// 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 added in v1.4.0

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

Deprecated: Use Hook.ProtoReflect.Descriptor instead.

func (*Hook) GetCreateTime added in v1.4.0

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

func (*Hook) GetDisabled added in v1.4.0

func (x *Hook) GetDisabled() bool

func (*Hook) GetEvents added in v1.4.0

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

func (*Hook) GetName added in v1.4.0

func (x *Hook) GetName() string

func (*Hook) GetPushOption added in v1.4.0

func (x *Hook) GetPushOption() *Hook_PushOption

func (*Hook) GetSensitiveQueryString added in v1.4.0

func (x *Hook) GetSensitiveQueryString() string

func (*Hook) GetTargetUri added in v1.4.0

func (x *Hook) GetTargetUri() string

func (*Hook) GetUid added in v1.4.0

func (x *Hook) GetUid() string

func (*Hook) GetUpdateTime added in v1.4.0

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

func (*Hook) ProtoMessage added in v1.4.0

func (*Hook) ProtoMessage()

func (*Hook) ProtoReflect added in v1.4.0

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

func (*Hook) Reset added in v1.4.0

func (x *Hook) Reset()

func (*Hook) String added in v1.4.0

func (x *Hook) String() string

type Hook_HookEventType added in v1.4.0

type Hook_HookEventType int32
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 added in v1.4.0

func (Hook_HookEventType) Enum added in v1.4.0

func (Hook_HookEventType) EnumDescriptor deprecated added in v1.4.0

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

Deprecated: Use Hook_HookEventType.Descriptor instead.

func (Hook_HookEventType) Number added in v1.4.0

func (Hook_HookEventType) String added in v1.4.0

func (x Hook_HookEventType) String() string

func (Hook_HookEventType) Type added in v1.4.0

type Hook_PushOption added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use Hook_PushOption.ProtoReflect.Descriptor instead.

func (*Hook_PushOption) GetBranchFilter added in v1.4.0

func (x *Hook_PushOption) GetBranchFilter() string

func (*Hook_PushOption) ProtoMessage added in v1.4.0

func (*Hook_PushOption) ProtoMessage()

func (*Hook_PushOption) ProtoReflect added in v1.4.0

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

func (*Hook_PushOption) Reset added in v1.4.0

func (x *Hook_PushOption) Reset()

func (*Hook_PushOption) String added in v1.4.0

func (x *Hook_PushOption) String() string

type Instance

type Instance struct {

	// Optional. A unique identifier for an instance. The name should be of the
	// format:
	// `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
	//
	// `project_number`: Maps to a unique int64 id assigned to each project.
	//
	// `location_id`: Refers to the region where the instance will be deployed.
	// Since Secure Source Manager is a regional service, it must be one of the
	// valid GCP regions.
	//
	// `instance_id`: User provided name for the instance, must be unique for a
	// project_number and location_id combination.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Create timestamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update timestamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. Labels as key value pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// 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 `` /* 150-byte string literal not displayed */
	// 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 `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

A resource that represents a Secure Source Manager instance.

func (*Instance) Descriptor deprecated

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetCreateTime

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

func (*Instance) GetHostConfig

func (x *Instance) GetHostConfig() *Instance_HostConfig

func (*Instance) GetKmsKey

func (x *Instance) GetKmsKey() string

func (*Instance) GetLabels

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

func (*Instance) GetName

func (x *Instance) GetName() string

func (*Instance) GetPrivateConfig added in v1.1.0

func (x *Instance) GetPrivateConfig() *Instance_PrivateConfig

func (*Instance) GetState

func (x *Instance) GetState() Instance_State

func (*Instance) GetStateNote

func (x *Instance) GetStateNote() Instance_StateNote

func (*Instance) GetUpdateTime

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

func (*Instance) GetWorkforceIdentityFederationConfig added in v1.4.0

func (x *Instance) GetWorkforceIdentityFederationConfig() *Instance_WorkforceIdentityFederationConfig

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type 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 deprecated

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

Deprecated: Use Instance_HostConfig.ProtoReflect.Descriptor instead.

func (*Instance_HostConfig) GetApi

func (x *Instance_HostConfig) GetApi() string

func (*Instance_HostConfig) GetGitHttp

func (x *Instance_HostConfig) GetGitHttp() string

func (*Instance_HostConfig) GetGitSsh

func (x *Instance_HostConfig) GetGitSsh() string

func (*Instance_HostConfig) GetHtml

func (x *Instance_HostConfig) GetHtml() string

func (*Instance_HostConfig) ProtoMessage

func (*Instance_HostConfig) ProtoMessage()

func (*Instance_HostConfig) ProtoReflect

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

func (*Instance_HostConfig) Reset

func (x *Instance_HostConfig) Reset()

func (*Instance_HostConfig) String

func (x *Instance_HostConfig) String() string

type Instance_PrivateConfig added in v1.1.0

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 `` /* 126-byte string literal not displayed */
	// 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 deprecated added in v1.1.0

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

Deprecated: Use Instance_PrivateConfig.ProtoReflect.Descriptor instead.

func (*Instance_PrivateConfig) GetCaPool added in v1.1.0

func (x *Instance_PrivateConfig) GetCaPool() string

func (*Instance_PrivateConfig) GetHttpServiceAttachment added in v1.1.0

func (x *Instance_PrivateConfig) GetHttpServiceAttachment() string

func (*Instance_PrivateConfig) GetIsPrivate added in v1.1.0

func (x *Instance_PrivateConfig) GetIsPrivate() bool

func (*Instance_PrivateConfig) GetPscAllowedProjects added in v1.3.0

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

func (*Instance_PrivateConfig) GetSshServiceAttachment added in v1.1.0

func (x *Instance_PrivateConfig) GetSshServiceAttachment() string

func (*Instance_PrivateConfig) ProtoMessage added in v1.1.0

func (*Instance_PrivateConfig) ProtoMessage()

func (*Instance_PrivateConfig) ProtoReflect added in v1.1.0

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

func (*Instance_PrivateConfig) Reset added in v1.1.0

func (x *Instance_PrivateConfig) Reset()

func (*Instance_PrivateConfig) String added in v1.1.0

func (x *Instance_PrivateConfig) String() string

type Instance_State

type Instance_State int32

Secure Source Manager instance state.

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

func (Instance_State) Descriptor

func (Instance_State) Enum

func (x Instance_State) Enum() *Instance_State

func (Instance_State) EnumDescriptor deprecated

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

Deprecated: Use Instance_State.Descriptor instead.

func (Instance_State) Number

func (Instance_State) String

func (x Instance_State) String() string

func (Instance_State) Type

type Instance_StateNote

type Instance_StateNote int32

Provides information about the current instance state.

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

func (Instance_StateNote) Descriptor

func (Instance_StateNote) Enum

func (Instance_StateNote) EnumDescriptor deprecated

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

Deprecated: Use Instance_StateNote.Descriptor instead.

func (Instance_StateNote) Number

func (Instance_StateNote) String

func (x Instance_StateNote) String() string

func (Instance_StateNote) Type

type Instance_WorkforceIdentityFederationConfig added in v1.4.0

type Instance_WorkforceIdentityFederationConfig struct {

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

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

func (*Instance_WorkforceIdentityFederationConfig) Descriptor deprecated added in v1.4.0

Deprecated: Use Instance_WorkforceIdentityFederationConfig.ProtoReflect.Descriptor instead.

func (*Instance_WorkforceIdentityFederationConfig) GetEnabled added in v1.4.0

func (*Instance_WorkforceIdentityFederationConfig) ProtoMessage added in v1.4.0

func (*Instance_WorkforceIdentityFederationConfig) ProtoReflect added in v1.4.0

func (*Instance_WorkforceIdentityFederationConfig) Reset added in v1.4.0

func (*Instance_WorkforceIdentityFederationConfig) String added in v1.4.0

type Issue added in v1.4.0

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 added in v1.4.0

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

Deprecated: Use Issue.ProtoReflect.Descriptor instead.

func (*Issue) GetBody added in v1.4.0

func (x *Issue) GetBody() string

func (*Issue) GetCloseTime added in v1.4.0

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

func (*Issue) GetCreateTime added in v1.4.0

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

func (*Issue) GetEtag added in v1.4.0

func (x *Issue) GetEtag() string

func (*Issue) GetName added in v1.4.0

func (x *Issue) GetName() string

func (*Issue) GetState added in v1.4.0

func (x *Issue) GetState() Issue_State

func (*Issue) GetTitle added in v1.4.0

func (x *Issue) GetTitle() string

func (*Issue) GetUpdateTime added in v1.4.0

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

func (*Issue) ProtoMessage added in v1.4.0

func (*Issue) ProtoMessage()

func (*Issue) ProtoReflect added in v1.4.0

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

func (*Issue) Reset added in v1.4.0

func (x *Issue) Reset()

func (*Issue) String added in v1.4.0

func (x *Issue) String() string

type IssueComment added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use IssueComment.ProtoReflect.Descriptor instead.

func (*IssueComment) GetBody added in v1.4.0

func (x *IssueComment) GetBody() string

func (*IssueComment) GetCreateTime added in v1.4.0

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

func (*IssueComment) GetName added in v1.4.0

func (x *IssueComment) GetName() string

func (*IssueComment) GetUpdateTime added in v1.4.0

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

func (*IssueComment) ProtoMessage added in v1.4.0

func (*IssueComment) ProtoMessage()

func (*IssueComment) ProtoReflect added in v1.4.0

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

func (*IssueComment) Reset added in v1.4.0

func (x *IssueComment) Reset()

func (*IssueComment) String added in v1.4.0

func (x *IssueComment) String() string

type Issue_State added in v1.4.0

type Issue_State int32

Possible states of an issue.

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 added in v1.4.0

func (Issue_State) Enum added in v1.4.0

func (x Issue_State) Enum() *Issue_State

func (Issue_State) EnumDescriptor deprecated added in v1.4.0

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

Deprecated: Use Issue_State.Descriptor instead.

func (Issue_State) Number added in v1.4.0

func (x Issue_State) Number() protoreflect.EnumNumber

func (Issue_State) String added in v1.4.0

func (x Issue_State) String() string

func (Issue_State) Type added in v1.4.0

type ListBranchRulesRequest added in v1.3.0

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 deprecated added in v1.3.0

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

Deprecated: Use ListBranchRulesRequest.ProtoReflect.Descriptor instead.

func (*ListBranchRulesRequest) GetPageSize added in v1.3.0

func (x *ListBranchRulesRequest) GetPageSize() int32

func (*ListBranchRulesRequest) GetPageToken added in v1.3.0

func (x *ListBranchRulesRequest) GetPageToken() string

func (*ListBranchRulesRequest) GetParent added in v1.3.0

func (x *ListBranchRulesRequest) GetParent() string

func (*ListBranchRulesRequest) ProtoMessage added in v1.3.0

func (*ListBranchRulesRequest) ProtoMessage()

func (*ListBranchRulesRequest) ProtoReflect added in v1.3.0

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

func (*ListBranchRulesRequest) Reset added in v1.3.0

func (x *ListBranchRulesRequest) Reset()

func (*ListBranchRulesRequest) String added in v1.3.0

func (x *ListBranchRulesRequest) String() string

type ListBranchRulesResponse added in v1.3.0

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 deprecated added in v1.3.0

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

Deprecated: Use ListBranchRulesResponse.ProtoReflect.Descriptor instead.

func (*ListBranchRulesResponse) GetBranchRules added in v1.3.0

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

func (*ListBranchRulesResponse) GetNextPageToken added in v1.3.0

func (x *ListBranchRulesResponse) GetNextPageToken() string

func (*ListBranchRulesResponse) ProtoMessage added in v1.3.0

func (*ListBranchRulesResponse) ProtoMessage()

func (*ListBranchRulesResponse) ProtoReflect added in v1.3.0

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

func (*ListBranchRulesResponse) Reset added in v1.3.0

func (x *ListBranchRulesResponse) Reset()

func (*ListBranchRulesResponse) String added in v1.3.0

func (x *ListBranchRulesResponse) String() string

type ListHooksRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ListHooksRequest.ProtoReflect.Descriptor instead.

func (*ListHooksRequest) GetPageSize added in v1.4.0

func (x *ListHooksRequest) GetPageSize() int32

func (*ListHooksRequest) GetPageToken added in v1.4.0

func (x *ListHooksRequest) GetPageToken() string

func (*ListHooksRequest) GetParent added in v1.4.0

func (x *ListHooksRequest) GetParent() string

func (*ListHooksRequest) ProtoMessage added in v1.4.0

func (*ListHooksRequest) ProtoMessage()

func (*ListHooksRequest) ProtoReflect added in v1.4.0

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

func (*ListHooksRequest) Reset added in v1.4.0

func (x *ListHooksRequest) Reset()

func (*ListHooksRequest) String added in v1.4.0

func (x *ListHooksRequest) String() string

type ListHooksResponse added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ListHooksResponse.ProtoReflect.Descriptor instead.

func (*ListHooksResponse) GetHooks added in v1.4.0

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

func (*ListHooksResponse) GetNextPageToken added in v1.4.0

func (x *ListHooksResponse) GetNextPageToken() string

func (*ListHooksResponse) ProtoMessage added in v1.4.0

func (*ListHooksResponse) ProtoMessage()

func (*ListHooksResponse) ProtoReflect added in v1.4.0

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

func (*ListHooksResponse) Reset added in v1.4.0

func (x *ListHooksResponse) Reset()

func (*ListHooksResponse) String added in v1.4.0

func (x *ListHooksResponse) String() string

type ListInstancesRequest

type ListInstancesRequest struct {

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

ListInstancesRequest is the request to list instances.

func (*ListInstancesRequest) Descriptor deprecated

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

Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListInstancesRequest) GetFilter

func (x *ListInstancesRequest) GetFilter() string

func (*ListInstancesRequest) GetOrderBy

func (x *ListInstancesRequest) GetOrderBy() string

func (*ListInstancesRequest) GetPageSize

func (x *ListInstancesRequest) GetPageSize() int32

func (*ListInstancesRequest) GetPageToken

func (x *ListInstancesRequest) GetPageToken() string

func (*ListInstancesRequest) GetParent

func (x *ListInstancesRequest) GetParent() string

func (*ListInstancesRequest) ProtoMessage

func (*ListInstancesRequest) ProtoMessage()

func (*ListInstancesRequest) ProtoReflect

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

func (*ListInstancesRequest) Reset

func (x *ListInstancesRequest) Reset()

func (*ListInstancesRequest) String

func (x *ListInstancesRequest) String() string

type ListInstancesResponse

type ListInstancesResponse struct {

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

func (*ListInstancesResponse) Descriptor deprecated

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

Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.

func (*ListInstancesResponse) GetInstances

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

func (*ListInstancesResponse) GetNextPageToken

func (x *ListInstancesResponse) GetNextPageToken() string

func (*ListInstancesResponse) GetUnreachable

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

func (*ListInstancesResponse) ProtoMessage

func (*ListInstancesResponse) ProtoMessage()

func (*ListInstancesResponse) ProtoReflect

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

func (*ListInstancesResponse) Reset

func (x *ListInstancesResponse) Reset()

func (*ListInstancesResponse) String

func (x *ListInstancesResponse) String() string

type ListIssueCommentsRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ListIssueCommentsRequest.ProtoReflect.Descriptor instead.

func (*ListIssueCommentsRequest) GetPageSize added in v1.4.0

func (x *ListIssueCommentsRequest) GetPageSize() int32

func (*ListIssueCommentsRequest) GetPageToken added in v1.4.0

func (x *ListIssueCommentsRequest) GetPageToken() string

func (*ListIssueCommentsRequest) GetParent added in v1.4.0

func (x *ListIssueCommentsRequest) GetParent() string

func (*ListIssueCommentsRequest) ProtoMessage added in v1.4.0

func (*ListIssueCommentsRequest) ProtoMessage()

func (*ListIssueCommentsRequest) ProtoReflect added in v1.4.0

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

func (*ListIssueCommentsRequest) Reset added in v1.4.0

func (x *ListIssueCommentsRequest) Reset()

func (*ListIssueCommentsRequest) String added in v1.4.0

func (x *ListIssueCommentsRequest) String() string

type ListIssueCommentsResponse added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ListIssueCommentsResponse.ProtoReflect.Descriptor instead.

func (*ListIssueCommentsResponse) GetIssueComments added in v1.4.0

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

func (*ListIssueCommentsResponse) GetNextPageToken added in v1.4.0

func (x *ListIssueCommentsResponse) GetNextPageToken() string

func (*ListIssueCommentsResponse) ProtoMessage added in v1.4.0

func (*ListIssueCommentsResponse) ProtoMessage()

func (*ListIssueCommentsResponse) ProtoReflect added in v1.4.0

func (*ListIssueCommentsResponse) Reset added in v1.4.0

func (x *ListIssueCommentsResponse) Reset()

func (*ListIssueCommentsResponse) String added in v1.4.0

func (x *ListIssueCommentsResponse) String() string

type ListIssuesRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ListIssuesRequest.ProtoReflect.Descriptor instead.

func (*ListIssuesRequest) GetFilter added in v1.4.0

func (x *ListIssuesRequest) GetFilter() string

func (*ListIssuesRequest) GetPageSize added in v1.4.0

func (x *ListIssuesRequest) GetPageSize() int32

func (*ListIssuesRequest) GetPageToken added in v1.4.0

func (x *ListIssuesRequest) GetPageToken() string

func (*ListIssuesRequest) GetParent added in v1.4.0

func (x *ListIssuesRequest) GetParent() string

func (*ListIssuesRequest) ProtoMessage added in v1.4.0

func (*ListIssuesRequest) ProtoMessage()

func (*ListIssuesRequest) ProtoReflect added in v1.4.0

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

func (*ListIssuesRequest) Reset added in v1.4.0

func (x *ListIssuesRequest) Reset()

func (*ListIssuesRequest) String added in v1.4.0

func (x *ListIssuesRequest) String() string

type ListIssuesResponse added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ListIssuesResponse.ProtoReflect.Descriptor instead.

func (*ListIssuesResponse) GetIssues added in v1.4.0

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

func (*ListIssuesResponse) GetNextPageToken added in v1.4.0

func (x *ListIssuesResponse) GetNextPageToken() string

func (*ListIssuesResponse) ProtoMessage added in v1.4.0

func (*ListIssuesResponse) ProtoMessage()

func (*ListIssuesResponse) ProtoReflect added in v1.4.0

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

func (*ListIssuesResponse) Reset added in v1.4.0

func (x *ListIssuesResponse) Reset()

func (*ListIssuesResponse) String added in v1.4.0

func (x *ListIssuesResponse) String() string

type ListPullRequestCommentsRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ListPullRequestCommentsRequest.ProtoReflect.Descriptor instead.

func (*ListPullRequestCommentsRequest) GetPageSize added in v1.4.0

func (x *ListPullRequestCommentsRequest) GetPageSize() int32

func (*ListPullRequestCommentsRequest) GetPageToken added in v1.4.0

func (x *ListPullRequestCommentsRequest) GetPageToken() string

func (*ListPullRequestCommentsRequest) GetParent added in v1.4.0

func (x *ListPullRequestCommentsRequest) GetParent() string

func (*ListPullRequestCommentsRequest) ProtoMessage added in v1.4.0

func (*ListPullRequestCommentsRequest) ProtoMessage()

func (*ListPullRequestCommentsRequest) ProtoReflect added in v1.4.0

func (*ListPullRequestCommentsRequest) Reset added in v1.4.0

func (x *ListPullRequestCommentsRequest) Reset()

func (*ListPullRequestCommentsRequest) String added in v1.4.0

type ListPullRequestCommentsResponse added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ListPullRequestCommentsResponse.ProtoReflect.Descriptor instead.

func (*ListPullRequestCommentsResponse) GetNextPageToken added in v1.4.0

func (x *ListPullRequestCommentsResponse) GetNextPageToken() string

func (*ListPullRequestCommentsResponse) GetPullRequestComments added in v1.4.0

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

func (*ListPullRequestCommentsResponse) ProtoMessage added in v1.4.0

func (*ListPullRequestCommentsResponse) ProtoMessage()

func (*ListPullRequestCommentsResponse) ProtoReflect added in v1.4.0

func (*ListPullRequestCommentsResponse) Reset added in v1.4.0

func (*ListPullRequestCommentsResponse) String added in v1.4.0

type ListPullRequestFileDiffsRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ListPullRequestFileDiffsRequest.ProtoReflect.Descriptor instead.

func (*ListPullRequestFileDiffsRequest) GetName added in v1.4.0

func (*ListPullRequestFileDiffsRequest) GetPageSize added in v1.4.0

func (x *ListPullRequestFileDiffsRequest) GetPageSize() int32

func (*ListPullRequestFileDiffsRequest) GetPageToken added in v1.4.0

func (x *ListPullRequestFileDiffsRequest) GetPageToken() string

func (*ListPullRequestFileDiffsRequest) ProtoMessage added in v1.4.0

func (*ListPullRequestFileDiffsRequest) ProtoMessage()

func (*ListPullRequestFileDiffsRequest) ProtoReflect added in v1.4.0

func (*ListPullRequestFileDiffsRequest) Reset added in v1.4.0

func (*ListPullRequestFileDiffsRequest) String added in v1.4.0

type ListPullRequestFileDiffsResponse added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ListPullRequestFileDiffsResponse.ProtoReflect.Descriptor instead.

func (*ListPullRequestFileDiffsResponse) GetFileDiffs added in v1.4.0

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

func (*ListPullRequestFileDiffsResponse) GetNextPageToken added in v1.4.0

func (x *ListPullRequestFileDiffsResponse) GetNextPageToken() string

func (*ListPullRequestFileDiffsResponse) ProtoMessage added in v1.4.0

func (*ListPullRequestFileDiffsResponse) ProtoMessage()

func (*ListPullRequestFileDiffsResponse) ProtoReflect added in v1.4.0

func (*ListPullRequestFileDiffsResponse) Reset added in v1.4.0

func (*ListPullRequestFileDiffsResponse) String added in v1.4.0

type ListPullRequestsRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ListPullRequestsRequest.ProtoReflect.Descriptor instead.

func (*ListPullRequestsRequest) GetPageSize added in v1.4.0

func (x *ListPullRequestsRequest) GetPageSize() int32

func (*ListPullRequestsRequest) GetPageToken added in v1.4.0

func (x *ListPullRequestsRequest) GetPageToken() string

func (*ListPullRequestsRequest) GetParent added in v1.4.0

func (x *ListPullRequestsRequest) GetParent() string

func (*ListPullRequestsRequest) ProtoMessage added in v1.4.0

func (*ListPullRequestsRequest) ProtoMessage()

func (*ListPullRequestsRequest) ProtoReflect added in v1.4.0

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

func (*ListPullRequestsRequest) Reset added in v1.4.0

func (x *ListPullRequestsRequest) Reset()

func (*ListPullRequestsRequest) String added in v1.4.0

func (x *ListPullRequestsRequest) String() string

type ListPullRequestsResponse added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ListPullRequestsResponse.ProtoReflect.Descriptor instead.

func (*ListPullRequestsResponse) GetNextPageToken added in v1.4.0

func (x *ListPullRequestsResponse) GetNextPageToken() string

func (*ListPullRequestsResponse) GetPullRequests added in v1.4.0

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

func (*ListPullRequestsResponse) ProtoMessage added in v1.4.0

func (*ListPullRequestsResponse) ProtoMessage()

func (*ListPullRequestsResponse) ProtoReflect added in v1.4.0

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

func (*ListPullRequestsResponse) Reset added in v1.4.0

func (x *ListPullRequestsResponse) Reset()

func (*ListPullRequestsResponse) String added in v1.4.0

func (x *ListPullRequestsResponse) String() string

type ListRepositoriesRequest

type ListRepositoriesRequest struct {

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

ListRepositoriesRequest is request to list repositories.

func (*ListRepositoriesRequest) Descriptor deprecated

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

Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.

func (*ListRepositoriesRequest) GetFilter

func (x *ListRepositoriesRequest) GetFilter() string

func (*ListRepositoriesRequest) GetInstance added in v1.3.0

func (x *ListRepositoriesRequest) GetInstance() string

func (*ListRepositoriesRequest) GetPageSize

func (x *ListRepositoriesRequest) GetPageSize() int32

func (*ListRepositoriesRequest) GetPageToken

func (x *ListRepositoriesRequest) GetPageToken() string

func (*ListRepositoriesRequest) GetParent

func (x *ListRepositoriesRequest) GetParent() string

func (*ListRepositoriesRequest) ProtoMessage

func (*ListRepositoriesRequest) ProtoMessage()

func (*ListRepositoriesRequest) ProtoReflect

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

func (*ListRepositoriesRequest) Reset

func (x *ListRepositoriesRequest) Reset()

func (*ListRepositoriesRequest) String

func (x *ListRepositoriesRequest) String() string

type ListRepositoriesResponse

type ListRepositoriesResponse struct {

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

func (*ListRepositoriesResponse) Descriptor deprecated

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

Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.

func (*ListRepositoriesResponse) GetNextPageToken

func (x *ListRepositoriesResponse) GetNextPageToken() string

func (*ListRepositoriesResponse) GetRepositories

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

func (*ListRepositoriesResponse) ProtoMessage

func (*ListRepositoriesResponse) ProtoMessage()

func (*ListRepositoriesResponse) ProtoReflect

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

func (*ListRepositoriesResponse) Reset

func (x *ListRepositoriesResponse) Reset()

func (*ListRepositoriesResponse) String

func (x *ListRepositoriesResponse) String() string

type MergePullRequestRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use MergePullRequestRequest.ProtoReflect.Descriptor instead.

func (*MergePullRequestRequest) GetName added in v1.4.0

func (x *MergePullRequestRequest) GetName() string

func (*MergePullRequestRequest) ProtoMessage added in v1.4.0

func (*MergePullRequestRequest) ProtoMessage()

func (*MergePullRequestRequest) ProtoReflect added in v1.4.0

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

func (*MergePullRequestRequest) Reset added in v1.4.0

func (x *MergePullRequestRequest) Reset()

func (*MergePullRequestRequest) String added in v1.4.0

func (x *MergePullRequestRequest) String() string

type OpenIssueRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use OpenIssueRequest.ProtoReflect.Descriptor instead.

func (*OpenIssueRequest) GetEtag added in v1.4.0

func (x *OpenIssueRequest) GetEtag() string

func (*OpenIssueRequest) GetName added in v1.4.0

func (x *OpenIssueRequest) GetName() string

func (*OpenIssueRequest) ProtoMessage added in v1.4.0

func (*OpenIssueRequest) ProtoMessage()

func (*OpenIssueRequest) ProtoReflect added in v1.4.0

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

func (*OpenIssueRequest) Reset added in v1.4.0

func (x *OpenIssueRequest) Reset()

func (*OpenIssueRequest) String added in v1.4.0

func (x *OpenIssueRequest) String() string

type OpenPullRequestRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use OpenPullRequestRequest.ProtoReflect.Descriptor instead.

func (*OpenPullRequestRequest) GetName added in v1.4.0

func (x *OpenPullRequestRequest) GetName() string

func (*OpenPullRequestRequest) ProtoMessage added in v1.4.0

func (*OpenPullRequestRequest) ProtoMessage()

func (*OpenPullRequestRequest) ProtoReflect added in v1.4.0

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

func (*OpenPullRequestRequest) Reset added in v1.4.0

func (x *OpenPullRequestRequest) Reset()

func (*OpenPullRequestRequest) String added in v1.4.0

func (x *OpenPullRequestRequest) String() string

type OperationMetadata

type OperationMetadata struct {

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

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor deprecated

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

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

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

func (*OperationMetadata) GetEndTime

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

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

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

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type PullRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use PullRequest.ProtoReflect.Descriptor instead.

func (*PullRequest) GetBase added in v1.4.0

func (x *PullRequest) GetBase() *PullRequest_Branch

func (*PullRequest) GetBody added in v1.4.0

func (x *PullRequest) GetBody() string

func (*PullRequest) GetCloseTime added in v1.4.0

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

func (*PullRequest) GetCreateTime added in v1.4.0

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

func (*PullRequest) GetHead added in v1.4.0

func (x *PullRequest) GetHead() *PullRequest_Branch

func (*PullRequest) GetName added in v1.4.0

func (x *PullRequest) GetName() string

func (*PullRequest) GetState added in v1.4.0

func (x *PullRequest) GetState() PullRequest_State

func (*PullRequest) GetTitle added in v1.4.0

func (x *PullRequest) GetTitle() string

func (*PullRequest) GetUpdateTime added in v1.4.0

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

func (*PullRequest) ProtoMessage added in v1.4.0

func (*PullRequest) ProtoMessage()

func (*PullRequest) ProtoReflect added in v1.4.0

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

func (*PullRequest) Reset added in v1.4.0

func (x *PullRequest) Reset()

func (*PullRequest) String added in v1.4.0

func (x *PullRequest) String() string

type PullRequestComment added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use PullRequestComment.ProtoReflect.Descriptor instead.

func (*PullRequestComment) GetCode added in v1.4.0

func (*PullRequestComment) GetComment added in v1.4.0

func (*PullRequestComment) GetCommentDetail added in v1.4.0

func (m *PullRequestComment) GetCommentDetail() isPullRequestComment_CommentDetail

func (*PullRequestComment) GetCreateTime added in v1.4.0

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

func (*PullRequestComment) GetName added in v1.4.0

func (x *PullRequestComment) GetName() string

func (*PullRequestComment) GetReview added in v1.4.0

func (*PullRequestComment) GetUpdateTime added in v1.4.0

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

func (*PullRequestComment) ProtoMessage added in v1.4.0

func (*PullRequestComment) ProtoMessage()

func (*PullRequestComment) ProtoReflect added in v1.4.0

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

func (*PullRequestComment) Reset added in v1.4.0

func (x *PullRequestComment) Reset()

func (*PullRequestComment) String added in v1.4.0

func (x *PullRequestComment) String() string

type PullRequestComment_Code added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use PullRequestComment_Code.ProtoReflect.Descriptor instead.

func (*PullRequestComment_Code) GetBody added in v1.4.0

func (x *PullRequestComment_Code) GetBody() string

func (*PullRequestComment_Code) GetEffectiveCommitSha added in v1.4.0

func (x *PullRequestComment_Code) GetEffectiveCommitSha() string

func (*PullRequestComment_Code) GetEffectiveRootComment added in v1.4.0

func (x *PullRequestComment_Code) GetEffectiveRootComment() string

func (*PullRequestComment_Code) GetPosition added in v1.4.0

func (*PullRequestComment_Code) GetReply added in v1.4.0

func (x *PullRequestComment_Code) GetReply() string

func (*PullRequestComment_Code) GetResolved added in v1.4.0

func (x *PullRequestComment_Code) GetResolved() bool

func (*PullRequestComment_Code) ProtoMessage added in v1.4.0

func (*PullRequestComment_Code) ProtoMessage()

func (*PullRequestComment_Code) ProtoReflect added in v1.4.0

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

func (*PullRequestComment_Code) Reset added in v1.4.0

func (x *PullRequestComment_Code) Reset()

func (*PullRequestComment_Code) String added in v1.4.0

func (x *PullRequestComment_Code) String() string

type PullRequestComment_Code_ added in v1.4.0

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

type PullRequestComment_Comment added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use PullRequestComment_Comment.ProtoReflect.Descriptor instead.

func (*PullRequestComment_Comment) GetBody added in v1.4.0

func (x *PullRequestComment_Comment) GetBody() string

func (*PullRequestComment_Comment) ProtoMessage added in v1.4.0

func (*PullRequestComment_Comment) ProtoMessage()

func (*PullRequestComment_Comment) ProtoReflect added in v1.4.0

func (*PullRequestComment_Comment) Reset added in v1.4.0

func (x *PullRequestComment_Comment) Reset()

func (*PullRequestComment_Comment) String added in v1.4.0

func (x *PullRequestComment_Comment) String() string

type PullRequestComment_Comment_ added in v1.4.0

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

type PullRequestComment_Position added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use PullRequestComment_Position.ProtoReflect.Descriptor instead.

func (*PullRequestComment_Position) GetLine added in v1.4.0

func (x *PullRequestComment_Position) GetLine() int64

func (*PullRequestComment_Position) GetPath added in v1.4.0

func (x *PullRequestComment_Position) GetPath() string

func (*PullRequestComment_Position) ProtoMessage added in v1.4.0

func (*PullRequestComment_Position) ProtoMessage()

func (*PullRequestComment_Position) ProtoReflect added in v1.4.0

func (*PullRequestComment_Position) Reset added in v1.4.0

func (x *PullRequestComment_Position) Reset()

func (*PullRequestComment_Position) String added in v1.4.0

func (x *PullRequestComment_Position) String() string

type PullRequestComment_Review added in v1.4.0

type PullRequestComment_Review struct {

	// Required. The review action type.
	ActionType PullRequestComment_Review_ActionType `` /* 170-byte string literal not displayed */
	// 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 deprecated added in v1.4.0

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

Deprecated: Use PullRequestComment_Review.ProtoReflect.Descriptor instead.

func (*PullRequestComment_Review) GetActionType added in v1.4.0

func (*PullRequestComment_Review) GetBody added in v1.4.0

func (x *PullRequestComment_Review) GetBody() string

func (*PullRequestComment_Review) GetEffectiveCommitSha added in v1.4.0

func (x *PullRequestComment_Review) GetEffectiveCommitSha() string

func (*PullRequestComment_Review) ProtoMessage added in v1.4.0

func (*PullRequestComment_Review) ProtoMessage()

func (*PullRequestComment_Review) ProtoReflect added in v1.4.0

func (*PullRequestComment_Review) Reset added in v1.4.0

func (x *PullRequestComment_Review) Reset()

func (*PullRequestComment_Review) String added in v1.4.0

func (x *PullRequestComment_Review) String() string

type PullRequestComment_Review_ added in v1.4.0

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

type PullRequestComment_Review_ActionType added in v1.4.0

type PullRequestComment_Review_ActionType int32

The review action type.

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 added in v1.4.0

func (PullRequestComment_Review_ActionType) Enum added in v1.4.0

func (PullRequestComment_Review_ActionType) EnumDescriptor deprecated added in v1.4.0

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

Deprecated: Use PullRequestComment_Review_ActionType.Descriptor instead.

func (PullRequestComment_Review_ActionType) Number added in v1.4.0

func (PullRequestComment_Review_ActionType) String added in v1.4.0

func (PullRequestComment_Review_ActionType) Type added in v1.4.0

type PullRequest_Branch added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use PullRequest_Branch.ProtoReflect.Descriptor instead.

func (*PullRequest_Branch) GetRef added in v1.4.0

func (x *PullRequest_Branch) GetRef() string

func (*PullRequest_Branch) GetSha added in v1.4.0

func (x *PullRequest_Branch) GetSha() string

func (*PullRequest_Branch) ProtoMessage added in v1.4.0

func (*PullRequest_Branch) ProtoMessage()

func (*PullRequest_Branch) ProtoReflect added in v1.4.0

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

func (*PullRequest_Branch) Reset added in v1.4.0

func (x *PullRequest_Branch) Reset()

func (*PullRequest_Branch) String added in v1.4.0

func (x *PullRequest_Branch) String() string

type PullRequest_State added in v1.4.0

type PullRequest_State int32

State of the pull request.

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 added in v1.4.0

func (PullRequest_State) Enum added in v1.4.0

func (PullRequest_State) EnumDescriptor deprecated added in v1.4.0

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

Deprecated: Use PullRequest_State.Descriptor instead.

func (PullRequest_State) Number added in v1.4.0

func (PullRequest_State) String added in v1.4.0

func (x PullRequest_State) String() string

func (PullRequest_State) Type added in v1.4.0

type Repository

type Repository struct {

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

Metadata of a Secure Source Manager repository.

func (*Repository) Descriptor deprecated

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

Deprecated: Use Repository.ProtoReflect.Descriptor instead.

func (*Repository) GetCreateTime

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

func (*Repository) GetDescription

func (x *Repository) GetDescription() string

func (*Repository) GetEtag

func (x *Repository) GetEtag() string

func (*Repository) GetInitialConfig

func (x *Repository) GetInitialConfig() *Repository_InitialConfig

func (*Repository) GetInstance

func (x *Repository) GetInstance() string

func (*Repository) GetName

func (x *Repository) GetName() string

func (*Repository) GetUid

func (x *Repository) GetUid() string

func (*Repository) GetUpdateTime

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

func (*Repository) GetUris

func (x *Repository) GetUris() *Repository_URIs

func (*Repository) ProtoMessage

func (*Repository) ProtoMessage()

func (*Repository) ProtoReflect

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

func (*Repository) Reset

func (x *Repository) Reset()

func (*Repository) String

func (x *Repository) String() string

type Repository_InitialConfig

type Repository_InitialConfig struct {

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

Repository initialization configuration.

func (*Repository_InitialConfig) Descriptor deprecated

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

Deprecated: Use Repository_InitialConfig.ProtoReflect.Descriptor instead.

func (*Repository_InitialConfig) GetDefaultBranch

func (x *Repository_InitialConfig) GetDefaultBranch() string

func (*Repository_InitialConfig) GetGitignores

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

func (*Repository_InitialConfig) GetLicense

func (x *Repository_InitialConfig) GetLicense() string

func (*Repository_InitialConfig) GetReadme

func (x *Repository_InitialConfig) GetReadme() string

func (*Repository_InitialConfig) ProtoMessage

func (*Repository_InitialConfig) ProtoMessage()

func (*Repository_InitialConfig) ProtoReflect

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

func (*Repository_InitialConfig) Reset

func (x *Repository_InitialConfig) Reset()

func (*Repository_InitialConfig) String

func (x *Repository_InitialConfig) String() string

type Repository_URIs

type Repository_URIs struct {

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

URIs for the repository.

func (*Repository_URIs) Descriptor deprecated

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

Deprecated: Use Repository_URIs.ProtoReflect.Descriptor instead.

func (*Repository_URIs) GetApi

func (x *Repository_URIs) GetApi() string

func (*Repository_URIs) GetGitHttps

func (x *Repository_URIs) GetGitHttps() string

func (*Repository_URIs) GetHtml

func (x *Repository_URIs) GetHtml() string

func (*Repository_URIs) ProtoMessage

func (*Repository_URIs) ProtoMessage()

func (*Repository_URIs) ProtoReflect

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

func (*Repository_URIs) Reset

func (x *Repository_URIs) Reset()

func (*Repository_URIs) String

func (x *Repository_URIs) String() string

type ResolvePullRequestCommentsRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ResolvePullRequestCommentsRequest.ProtoReflect.Descriptor instead.

func (*ResolvePullRequestCommentsRequest) GetAutoFill added in v1.4.0

func (x *ResolvePullRequestCommentsRequest) GetAutoFill() bool

func (*ResolvePullRequestCommentsRequest) GetNames added in v1.4.0

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

func (*ResolvePullRequestCommentsRequest) GetParent added in v1.4.0

func (*ResolvePullRequestCommentsRequest) ProtoMessage added in v1.4.0

func (*ResolvePullRequestCommentsRequest) ProtoMessage()

func (*ResolvePullRequestCommentsRequest) ProtoReflect added in v1.4.0

func (*ResolvePullRequestCommentsRequest) Reset added in v1.4.0

func (*ResolvePullRequestCommentsRequest) String added in v1.4.0

type ResolvePullRequestCommentsResponse added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use ResolvePullRequestCommentsResponse.ProtoReflect.Descriptor instead.

func (*ResolvePullRequestCommentsResponse) GetPullRequestComments added in v1.4.0

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

func (*ResolvePullRequestCommentsResponse) ProtoMessage added in v1.4.0

func (*ResolvePullRequestCommentsResponse) ProtoMessage()

func (*ResolvePullRequestCommentsResponse) ProtoReflect added in v1.4.0

func (*ResolvePullRequestCommentsResponse) Reset added in v1.4.0

func (*ResolvePullRequestCommentsResponse) String added in v1.4.0

type SecureSourceManagerClient

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

SecureSourceManagerClient is the client API for SecureSourceManager service.

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

type SecureSourceManagerServer

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

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

type TreeEntry added in v1.4.0

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 added in v1.4.0

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

Deprecated: Use TreeEntry.ProtoReflect.Descriptor instead.

func (*TreeEntry) GetMode added in v1.4.0

func (x *TreeEntry) GetMode() string

func (*TreeEntry) GetPath added in v1.4.0

func (x *TreeEntry) GetPath() string

func (*TreeEntry) GetSha added in v1.4.0

func (x *TreeEntry) GetSha() string

func (*TreeEntry) GetSize added in v1.4.0

func (x *TreeEntry) GetSize() int64

func (*TreeEntry) GetType added in v1.4.0

func (x *TreeEntry) GetType() TreeEntry_ObjectType

func (*TreeEntry) ProtoMessage added in v1.4.0

func (*TreeEntry) ProtoMessage()

func (*TreeEntry) ProtoReflect added in v1.4.0

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

func (*TreeEntry) Reset added in v1.4.0

func (x *TreeEntry) Reset()

func (*TreeEntry) String added in v1.4.0

func (x *TreeEntry) String() string

type TreeEntry_ObjectType added in v1.4.0

type TreeEntry_ObjectType int32

Defines the type of object the TreeEntry represents.

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 added in v1.4.0

func (TreeEntry_ObjectType) Enum added in v1.4.0

func (TreeEntry_ObjectType) EnumDescriptor deprecated added in v1.4.0

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

Deprecated: Use TreeEntry_ObjectType.Descriptor instead.

func (TreeEntry_ObjectType) Number added in v1.4.0

func (TreeEntry_ObjectType) String added in v1.4.0

func (x TreeEntry_ObjectType) String() string

func (TreeEntry_ObjectType) Type added in v1.4.0

type UnimplementedSecureSourceManagerServer

type UnimplementedSecureSourceManagerServer struct {
}

UnimplementedSecureSourceManagerServer should be embedded to have forward compatible implementations.

func (UnimplementedSecureSourceManagerServer) BatchCreatePullRequestComments added in v1.4.0

func (UnimplementedSecureSourceManagerServer) CloseIssue added in v1.4.0

func (UnimplementedSecureSourceManagerServer) ClosePullRequest added in v1.4.0

func (UnimplementedSecureSourceManagerServer) CreateBranchRule added in v1.3.0

func (UnimplementedSecureSourceManagerServer) CreateHook added in v1.4.0

func (UnimplementedSecureSourceManagerServer) CreateInstance

func (UnimplementedSecureSourceManagerServer) CreateIssue added in v1.4.0

func (UnimplementedSecureSourceManagerServer) CreateIssueComment added in v1.4.0

func (UnimplementedSecureSourceManagerServer) CreatePullRequest added in v1.4.0

func (UnimplementedSecureSourceManagerServer) CreatePullRequestComment added in v1.4.0

func (UnimplementedSecureSourceManagerServer) CreateRepository

func (UnimplementedSecureSourceManagerServer) DeleteBranchRule added in v1.3.0

func (UnimplementedSecureSourceManagerServer) DeleteHook added in v1.4.0

func (UnimplementedSecureSourceManagerServer) DeleteInstance

func (UnimplementedSecureSourceManagerServer) DeleteIssue added in v1.4.0

func (UnimplementedSecureSourceManagerServer) DeleteIssueComment added in v1.4.0

func (UnimplementedSecureSourceManagerServer) DeletePullRequestComment added in v1.4.0

func (UnimplementedSecureSourceManagerServer) DeleteRepository

func (UnimplementedSecureSourceManagerServer) FetchBlob added in v1.4.0

func (UnimplementedSecureSourceManagerServer) FetchTree added in v1.4.0

func (UnimplementedSecureSourceManagerServer) GetBranchRule added in v1.3.0

func (UnimplementedSecureSourceManagerServer) GetHook added in v1.4.0

func (UnimplementedSecureSourceManagerServer) GetIamPolicyRepo

func (UnimplementedSecureSourceManagerServer) GetInstance

func (UnimplementedSecureSourceManagerServer) GetIssue added in v1.4.0

func (UnimplementedSecureSourceManagerServer) GetIssueComment added in v1.4.0

func (UnimplementedSecureSourceManagerServer) GetPullRequest added in v1.4.0

func (UnimplementedSecureSourceManagerServer) GetPullRequestComment added in v1.4.0

func (UnimplementedSecureSourceManagerServer) GetRepository

func (UnimplementedSecureSourceManagerServer) ListBranchRules added in v1.3.0

func (UnimplementedSecureSourceManagerServer) ListHooks added in v1.4.0

func (UnimplementedSecureSourceManagerServer) ListInstances

func (UnimplementedSecureSourceManagerServer) ListIssueComments added in v1.4.0

func (UnimplementedSecureSourceManagerServer) ListIssues added in v1.4.0

func (UnimplementedSecureSourceManagerServer) ListPullRequestComments added in v1.4.0

func (UnimplementedSecureSourceManagerServer) ListPullRequestFileDiffs added in v1.4.0

func (UnimplementedSecureSourceManagerServer) ListPullRequests added in v1.4.0

func (UnimplementedSecureSourceManagerServer) ListRepositories

func (UnimplementedSecureSourceManagerServer) MergePullRequest added in v1.4.0

func (UnimplementedSecureSourceManagerServer) OpenIssue added in v1.4.0

func (UnimplementedSecureSourceManagerServer) OpenPullRequest added in v1.4.0

func (UnimplementedSecureSourceManagerServer) ResolvePullRequestComments added in v1.4.0

func (UnimplementedSecureSourceManagerServer) SetIamPolicyRepo

func (UnimplementedSecureSourceManagerServer) UnresolvePullRequestComments added in v1.4.0

func (UnimplementedSecureSourceManagerServer) UpdateBranchRule added in v1.3.0

func (UnimplementedSecureSourceManagerServer) UpdateHook added in v1.4.0

func (UnimplementedSecureSourceManagerServer) UpdateIssue added in v1.4.0

func (UnimplementedSecureSourceManagerServer) UpdateIssueComment added in v1.4.0

func (UnimplementedSecureSourceManagerServer) UpdatePullRequest added in v1.4.0

func (UnimplementedSecureSourceManagerServer) UpdatePullRequestComment added in v1.4.0

func (UnimplementedSecureSourceManagerServer) UpdateRepository added in v1.4.0

type UnresolvePullRequestCommentsRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use UnresolvePullRequestCommentsRequest.ProtoReflect.Descriptor instead.

func (*UnresolvePullRequestCommentsRequest) GetAutoFill added in v1.4.0

func (x *UnresolvePullRequestCommentsRequest) GetAutoFill() bool

func (*UnresolvePullRequestCommentsRequest) GetNames added in v1.4.0

func (*UnresolvePullRequestCommentsRequest) GetParent added in v1.4.0

func (*UnresolvePullRequestCommentsRequest) ProtoMessage added in v1.4.0

func (*UnresolvePullRequestCommentsRequest) ProtoMessage()

func (*UnresolvePullRequestCommentsRequest) ProtoReflect added in v1.4.0

func (*UnresolvePullRequestCommentsRequest) Reset added in v1.4.0

func (*UnresolvePullRequestCommentsRequest) String added in v1.4.0

type UnresolvePullRequestCommentsResponse added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use UnresolvePullRequestCommentsResponse.ProtoReflect.Descriptor instead.

func (*UnresolvePullRequestCommentsResponse) GetPullRequestComments added in v1.4.0

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

func (*UnresolvePullRequestCommentsResponse) ProtoMessage added in v1.4.0

func (*UnresolvePullRequestCommentsResponse) ProtoMessage()

func (*UnresolvePullRequestCommentsResponse) ProtoReflect added in v1.4.0

func (*UnresolvePullRequestCommentsResponse) Reset added in v1.4.0

func (*UnresolvePullRequestCommentsResponse) String added in v1.4.0

type UnsafeSecureSourceManagerServer added in v1.4.1

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.

type UpdateBranchRuleRequest added in v1.3.0

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 deprecated added in v1.3.0

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

Deprecated: Use UpdateBranchRuleRequest.ProtoReflect.Descriptor instead.

func (*UpdateBranchRuleRequest) GetBranchRule added in v1.3.0

func (x *UpdateBranchRuleRequest) GetBranchRule() *BranchRule

func (*UpdateBranchRuleRequest) GetUpdateMask added in v1.3.0

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

func (*UpdateBranchRuleRequest) GetValidateOnly added in v1.3.0

func (x *UpdateBranchRuleRequest) GetValidateOnly() bool

func (*UpdateBranchRuleRequest) ProtoMessage added in v1.3.0

func (*UpdateBranchRuleRequest) ProtoMessage()

func (*UpdateBranchRuleRequest) ProtoReflect added in v1.3.0

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

func (*UpdateBranchRuleRequest) Reset added in v1.3.0

func (x *UpdateBranchRuleRequest) Reset()

func (*UpdateBranchRuleRequest) String added in v1.3.0

func (x *UpdateBranchRuleRequest) String() string

type UpdateHookRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use UpdateHookRequest.ProtoReflect.Descriptor instead.

func (*UpdateHookRequest) GetHook added in v1.4.0

func (x *UpdateHookRequest) GetHook() *Hook

func (*UpdateHookRequest) GetUpdateMask added in v1.4.0

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

func (*UpdateHookRequest) ProtoMessage added in v1.4.0

func (*UpdateHookRequest) ProtoMessage()

func (*UpdateHookRequest) ProtoReflect added in v1.4.0

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

func (*UpdateHookRequest) Reset added in v1.4.0

func (x *UpdateHookRequest) Reset()

func (*UpdateHookRequest) String added in v1.4.0

func (x *UpdateHookRequest) String() string

type UpdateIssueCommentRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use UpdateIssueCommentRequest.ProtoReflect.Descriptor instead.

func (*UpdateIssueCommentRequest) GetIssueComment added in v1.4.0

func (x *UpdateIssueCommentRequest) GetIssueComment() *IssueComment

func (*UpdateIssueCommentRequest) GetUpdateMask added in v1.4.0

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

func (*UpdateIssueCommentRequest) ProtoMessage added in v1.4.0

func (*UpdateIssueCommentRequest) ProtoMessage()

func (*UpdateIssueCommentRequest) ProtoReflect added in v1.4.0

func (*UpdateIssueCommentRequest) Reset added in v1.4.0

func (x *UpdateIssueCommentRequest) Reset()

func (*UpdateIssueCommentRequest) String added in v1.4.0

func (x *UpdateIssueCommentRequest) String() string

type UpdateIssueRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use UpdateIssueRequest.ProtoReflect.Descriptor instead.

func (*UpdateIssueRequest) GetIssue added in v1.4.0

func (x *UpdateIssueRequest) GetIssue() *Issue

func (*UpdateIssueRequest) GetUpdateMask added in v1.4.0

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

func (*UpdateIssueRequest) ProtoMessage added in v1.4.0

func (*UpdateIssueRequest) ProtoMessage()

func (*UpdateIssueRequest) ProtoReflect added in v1.4.0

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

func (*UpdateIssueRequest) Reset added in v1.4.0

func (x *UpdateIssueRequest) Reset()

func (*UpdateIssueRequest) String added in v1.4.0

func (x *UpdateIssueRequest) String() string

type UpdatePullRequestCommentRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use UpdatePullRequestCommentRequest.ProtoReflect.Descriptor instead.

func (*UpdatePullRequestCommentRequest) GetPullRequestComment added in v1.4.0

func (x *UpdatePullRequestCommentRequest) GetPullRequestComment() *PullRequestComment

func (*UpdatePullRequestCommentRequest) GetUpdateMask added in v1.4.0

func (*UpdatePullRequestCommentRequest) ProtoMessage added in v1.4.0

func (*UpdatePullRequestCommentRequest) ProtoMessage()

func (*UpdatePullRequestCommentRequest) ProtoReflect added in v1.4.0

func (*UpdatePullRequestCommentRequest) Reset added in v1.4.0

func (*UpdatePullRequestCommentRequest) String added in v1.4.0

type UpdatePullRequestRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use UpdatePullRequestRequest.ProtoReflect.Descriptor instead.

func (*UpdatePullRequestRequest) GetPullRequest added in v1.4.0

func (x *UpdatePullRequestRequest) GetPullRequest() *PullRequest

func (*UpdatePullRequestRequest) GetUpdateMask added in v1.4.0

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

func (*UpdatePullRequestRequest) ProtoMessage added in v1.4.0

func (*UpdatePullRequestRequest) ProtoMessage()

func (*UpdatePullRequestRequest) ProtoReflect added in v1.4.0

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

func (*UpdatePullRequestRequest) Reset added in v1.4.0

func (x *UpdatePullRequestRequest) Reset()

func (*UpdatePullRequestRequest) String added in v1.4.0

func (x *UpdatePullRequestRequest) String() string

type UpdateRepositoryRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use UpdateRepositoryRequest.ProtoReflect.Descriptor instead.

func (*UpdateRepositoryRequest) GetRepository added in v1.4.0

func (x *UpdateRepositoryRequest) GetRepository() *Repository

func (*UpdateRepositoryRequest) GetUpdateMask added in v1.4.0

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

func (*UpdateRepositoryRequest) GetValidateOnly added in v1.4.0

func (x *UpdateRepositoryRequest) GetValidateOnly() bool

func (*UpdateRepositoryRequest) ProtoMessage added in v1.4.0

func (*UpdateRepositoryRequest) ProtoMessage()

func (*UpdateRepositoryRequest) ProtoReflect added in v1.4.0

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

func (*UpdateRepositoryRequest) Reset added in v1.4.0

func (x *UpdateRepositoryRequest) Reset()

func (*UpdateRepositoryRequest) String added in v1.4.0

func (x *UpdateRepositoryRequest) String() string

Jump to

Keyboard shortcuts

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