Documentation ¶
Index ¶
- Variables
- type Branch
- func (*Branch) Descriptor() ([]byte, []int)deprecated
- func (x *Branch) GetCreateTime() *timestamppb.Timestamp
- func (x *Branch) GetId() string
- func (x *Branch) GetIsRelease() bool
- func (x *Branch) GetLatestCommitDigest() *v1beta1.Digest
- func (x *Branch) GetLatestCommitId() string
- func (x *Branch) GetModuleId() string
- func (x *Branch) GetName() string
- func (x *Branch) GetOwnerId() string
- func (x *Branch) GetUpdateTime() *timestamppb.Timestamp
- func (*Branch) ProtoMessage()
- func (x *Branch) ProtoReflect() protoreflect.Message
- func (x *Branch) Reset()
- func (x *Branch) String() string
- type BranchRef
- func (*BranchRef) Descriptor() ([]byte, []int)deprecated
- func (x *BranchRef) GetId() string
- func (x *BranchRef) GetName() *BranchRef_Name
- func (m *BranchRef) GetValue() isBranchRef_Value
- func (*BranchRef) ProtoMessage()
- func (x *BranchRef) ProtoReflect() protoreflect.Message
- func (x *BranchRef) Reset()
- func (x *BranchRef) String() string
- type BranchRef_Id
- type BranchRef_Name
- func (*BranchRef_Name) Descriptor() ([]byte, []int)deprecated
- func (x *BranchRef_Name) GetBranch() string
- func (x *BranchRef_Name) GetModule() string
- func (x *BranchRef_Name) GetOwner() string
- func (*BranchRef_Name) ProtoMessage()
- func (x *BranchRef_Name) ProtoReflect() protoreflect.Message
- func (x *BranchRef_Name) Reset()
- func (x *BranchRef_Name) String() string
- type BranchRef_Name_
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)deprecated
- func (x *Commit) GetCreateTime() *timestamppb.Timestamp
- func (x *Commit) GetCreatedByUserId() string
- func (x *Commit) GetDigest() *v1beta1.Digest
- func (x *Commit) GetId() string
- func (x *Commit) GetModuleId() string
- func (x *Commit) GetOwnerId() string
- func (x *Commit) GetSpdxLicenseId() string
- func (*Commit) ProtoMessage()
- func (x *Commit) ProtoReflect() protoreflect.Message
- func (x *Commit) Reset()
- func (x *Commit) String() string
- type CreateCommitsRequest
- func (*CreateCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCommitsRequest) GetAssociatedVcsCommits() []*CreateCommitsRequest_AssociatedVCSCommit
- func (x *CreateCommitsRequest) GetBranchNames() []string
- func (x *CreateCommitsRequest) GetMissingBlobs() []*v1beta1.Blob
- func (x *CreateCommitsRequest) GetModuleNodes() []*CreateCommitsRequest_ModuleNode
- func (x *CreateCommitsRequest) GetTagNames() []string
- func (*CreateCommitsRequest) ProtoMessage()
- func (x *CreateCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCommitsRequest) Reset()
- func (x *CreateCommitsRequest) String() string
- type CreateCommitsRequest_AssociatedVCSCommit
- func (*CreateCommitsRequest_AssociatedVCSCommit) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCommitsRequest_AssociatedVCSCommit) GetAuthorEmail() string
- func (x *CreateCommitsRequest_AssociatedVCSCommit) GetAuthorName() string
- func (x *CreateCommitsRequest_AssociatedVCSCommit) GetCommitterEmail() string
- func (x *CreateCommitsRequest_AssociatedVCSCommit) GetCommitterName() string
- func (x *CreateCommitsRequest_AssociatedVCSCommit) GetHash() string
- func (x *CreateCommitsRequest_AssociatedVCSCommit) GetType() VCSType
- func (x *CreateCommitsRequest_AssociatedVCSCommit) GetVcsRepositoryUrl() string
- func (*CreateCommitsRequest_AssociatedVCSCommit) ProtoMessage()
- func (x *CreateCommitsRequest_AssociatedVCSCommit) ProtoReflect() protoreflect.Message
- func (x *CreateCommitsRequest_AssociatedVCSCommit) Reset()
- func (x *CreateCommitsRequest_AssociatedVCSCommit) String() string
- type CreateCommitsRequest_DepNode
- func (*CreateCommitsRequest_DepNode) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCommitsRequest_DepNode) GetDigest() *v1beta1.Digest
- func (x *CreateCommitsRequest_DepNode) GetModuleRef() *ModuleRef
- func (*CreateCommitsRequest_DepNode) ProtoMessage()
- func (x *CreateCommitsRequest_DepNode) ProtoReflect() protoreflect.Message
- func (x *CreateCommitsRequest_DepNode) Reset()
- func (x *CreateCommitsRequest_DepNode) String() string
- type CreateCommitsRequest_ModuleNode
- func (*CreateCommitsRequest_ModuleNode) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCommitsRequest_ModuleNode) GetDepNodes() []*CreateCommitsRequest_DepNode
- func (x *CreateCommitsRequest_ModuleNode) GetFileNodes() []*v1beta1.FileNode
- func (x *CreateCommitsRequest_ModuleNode) GetModuleRef() *ModuleRef
- func (*CreateCommitsRequest_ModuleNode) ProtoMessage()
- func (x *CreateCommitsRequest_ModuleNode) ProtoReflect() protoreflect.Message
- func (x *CreateCommitsRequest_ModuleNode) Reset()
- func (x *CreateCommitsRequest_ModuleNode) String() string
- type CreateCommitsResponse
- func (*CreateCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCommitsResponse) GetCommits() []*Commit
- func (*CreateCommitsResponse) ProtoMessage()
- func (x *CreateCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCommitsResponse) Reset()
- func (x *CreateCommitsResponse) String() string
- type CreateModulesRequest
- func (*CreateModulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModulesRequest) GetValues() []*CreateModulesRequest_Value
- func (*CreateModulesRequest) ProtoMessage()
- func (x *CreateModulesRequest) ProtoReflect() protoreflect.Message
- func (x *CreateModulesRequest) Reset()
- func (x *CreateModulesRequest) String() string
- type CreateModulesRequest_Value
- func (*CreateModulesRequest_Value) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModulesRequest_Value) GetDescription() string
- func (x *CreateModulesRequest_Value) GetName() string
- func (x *CreateModulesRequest_Value) GetOwnerRef() *v1beta1.OwnerRef
- func (x *CreateModulesRequest_Value) GetReleaseBranchName() string
- func (x *CreateModulesRequest_Value) GetUrl() string
- func (x *CreateModulesRequest_Value) GetVisibility() ModuleVisibility
- func (*CreateModulesRequest_Value) ProtoMessage()
- func (x *CreateModulesRequest_Value) ProtoReflect() protoreflect.Message
- func (x *CreateModulesRequest_Value) Reset()
- func (x *CreateModulesRequest_Value) String() string
- type CreateModulesResponse
- func (*CreateModulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModulesResponse) GetModules() []*Module
- func (*CreateModulesResponse) ProtoMessage()
- func (x *CreateModulesResponse) ProtoReflect() protoreflect.Message
- func (x *CreateModulesResponse) Reset()
- func (x *CreateModulesResponse) String() string
- type CreateTagsRequest
- func (*CreateTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTagsRequest) GetValues() []*CreateTagsRequest_Value
- func (*CreateTagsRequest) ProtoMessage()
- func (x *CreateTagsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTagsRequest) Reset()
- func (x *CreateTagsRequest) String() string
- type CreateTagsRequest_Value
- func (*CreateTagsRequest_Value) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTagsRequest_Value) GetCommitId() string
- func (x *CreateTagsRequest_Value) GetModuleRef() *ModuleRef
- func (x *CreateTagsRequest_Value) GetName() string
- func (*CreateTagsRequest_Value) ProtoMessage()
- func (x *CreateTagsRequest_Value) ProtoReflect() protoreflect.Message
- func (x *CreateTagsRequest_Value) Reset()
- func (x *CreateTagsRequest_Value) String() string
- type CreateTagsResponse
- func (*CreateTagsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTagsResponse) GetTags() []*Tag
- func (*CreateTagsResponse) ProtoMessage()
- func (x *CreateTagsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTagsResponse) Reset()
- func (x *CreateTagsResponse) String() string
- type DeleteModulesRequest
- func (*DeleteModulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteModulesRequest) GetModuleRefs() []*ModuleRef
- func (*DeleteModulesRequest) ProtoMessage()
- func (x *DeleteModulesRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteModulesRequest) Reset()
- func (x *DeleteModulesRequest) String() string
- type DeleteModulesResponse
- type DeleteTagsRequest
- func (*DeleteTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTagsRequest) GetTagRefs() []*TagRef
- func (*DeleteTagsRequest) ProtoMessage()
- func (x *DeleteTagsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTagsRequest) Reset()
- func (x *DeleteTagsRequest) String() string
- type DeleteTagsResponse
- type GetBlobsRequest
- func (*GetBlobsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlobsRequest) GetValues() []*GetBlobsRequest_Value
- func (*GetBlobsRequest) ProtoMessage()
- func (x *GetBlobsRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlobsRequest) Reset()
- func (x *GetBlobsRequest) String() string
- type GetBlobsRequest_Value
- func (*GetBlobsRequest_Value) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlobsRequest_Value) GetBlobDigests() []*v1beta1.Digest
- func (x *GetBlobsRequest_Value) GetModuleRef() *ModuleRef
- func (*GetBlobsRequest_Value) ProtoMessage()
- func (x *GetBlobsRequest_Value) ProtoReflect() protoreflect.Message
- func (x *GetBlobsRequest_Value) Reset()
- func (x *GetBlobsRequest_Value) String() string
- type GetBlobsResponse
- func (*GetBlobsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlobsResponse) GetValues() []*GetBlobsResponse_Value
- func (*GetBlobsResponse) ProtoMessage()
- func (x *GetBlobsResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlobsResponse) Reset()
- func (x *GetBlobsResponse) String() string
- type GetBlobsResponse_Value
- func (*GetBlobsResponse_Value) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlobsResponse_Value) GetBlobs() []*v1beta1.Blob
- func (x *GetBlobsResponse_Value) GetModule() *Module
- func (*GetBlobsResponse_Value) ProtoMessage()
- func (x *GetBlobsResponse_Value) ProtoReflect() protoreflect.Message
- func (x *GetBlobsResponse_Value) Reset()
- func (x *GetBlobsResponse_Value) String() string
- type GetBranchesRequest
- func (*GetBranchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBranchesRequest) GetBranchRefs() []*BranchRef
- func (*GetBranchesRequest) ProtoMessage()
- func (x *GetBranchesRequest) ProtoReflect() protoreflect.Message
- func (x *GetBranchesRequest) Reset()
- func (x *GetBranchesRequest) String() string
- type GetBranchesResponse
- func (*GetBranchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBranchesResponse) GetBranches() []*Branch
- func (*GetBranchesResponse) ProtoMessage()
- func (x *GetBranchesResponse) ProtoReflect() protoreflect.Message
- func (x *GetBranchesResponse) Reset()
- func (x *GetBranchesResponse) String() string
- type GetCommitNodesRequest
- func (*GetCommitNodesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitNodesRequest) GetValues() []*GetCommitNodesRequest_Value
- func (*GetCommitNodesRequest) ProtoMessage()
- func (x *GetCommitNodesRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommitNodesRequest) Reset()
- func (x *GetCommitNodesRequest) String() string
- type GetCommitNodesRequest_Value
- func (*GetCommitNodesRequest_Value) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitNodesRequest_Value) GetAllowPathsNotExist() bool
- func (x *GetCommitNodesRequest_Value) GetPaths() []string
- func (x *GetCommitNodesRequest_Value) GetResourceRef() *ResourceRef
- func (*GetCommitNodesRequest_Value) ProtoMessage()
- func (x *GetCommitNodesRequest_Value) ProtoReflect() protoreflect.Message
- func (x *GetCommitNodesRequest_Value) Reset()
- func (x *GetCommitNodesRequest_Value) String() string
- type GetCommitNodesResponse
- func (*GetCommitNodesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitNodesResponse) GetCommitNodes() []*GetCommitNodesResponse_CommitNode
- func (*GetCommitNodesResponse) ProtoMessage()
- func (x *GetCommitNodesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCommitNodesResponse) Reset()
- func (x *GetCommitNodesResponse) String() string
- type GetCommitNodesResponse_CommitNode
- func (*GetCommitNodesResponse_CommitNode) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitNodesResponse_CommitNode) GetCommit() *Commit
- func (x *GetCommitNodesResponse_CommitNode) GetDeps() []*Commit
- func (x *GetCommitNodesResponse_CommitNode) GetFileNodes() []*v1beta1.FileNode
- func (*GetCommitNodesResponse_CommitNode) ProtoMessage()
- func (x *GetCommitNodesResponse_CommitNode) ProtoReflect() protoreflect.Message
- func (x *GetCommitNodesResponse_CommitNode) Reset()
- func (x *GetCommitNodesResponse_CommitNode) String() string
- type GetMissingBlobDigestsRequest
- func (*GetMissingBlobDigestsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMissingBlobDigestsRequest) GetValues() []*GetMissingBlobDigestsRequest_Value
- func (*GetMissingBlobDigestsRequest) ProtoMessage()
- func (x *GetMissingBlobDigestsRequest) ProtoReflect() protoreflect.Message
- func (x *GetMissingBlobDigestsRequest) Reset()
- func (x *GetMissingBlobDigestsRequest) String() string
- type GetMissingBlobDigestsRequest_Value
- func (*GetMissingBlobDigestsRequest_Value) Descriptor() ([]byte, []int)deprecated
- func (x *GetMissingBlobDigestsRequest_Value) GetBlobDigests() []*v1beta1.Digest
- func (x *GetMissingBlobDigestsRequest_Value) GetModuleRef() *ModuleRef
- func (*GetMissingBlobDigestsRequest_Value) ProtoMessage()
- func (x *GetMissingBlobDigestsRequest_Value) ProtoReflect() protoreflect.Message
- func (x *GetMissingBlobDigestsRequest_Value) Reset()
- func (x *GetMissingBlobDigestsRequest_Value) String() string
- type GetMissingBlobDigestsResponse
- func (*GetMissingBlobDigestsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMissingBlobDigestsResponse) GetValues() []*GetMissingBlobDigestsResponse_Value
- func (*GetMissingBlobDigestsResponse) ProtoMessage()
- func (x *GetMissingBlobDigestsResponse) ProtoReflect() protoreflect.Message
- func (x *GetMissingBlobDigestsResponse) Reset()
- func (x *GetMissingBlobDigestsResponse) String() string
- type GetMissingBlobDigestsResponse_Value
- func (*GetMissingBlobDigestsResponse_Value) Descriptor() ([]byte, []int)deprecated
- func (x *GetMissingBlobDigestsResponse_Value) GetMissingBlobDigests() []*v1beta1.Digest
- func (x *GetMissingBlobDigestsResponse_Value) GetModule() *Module
- func (*GetMissingBlobDigestsResponse_Value) ProtoMessage()
- func (x *GetMissingBlobDigestsResponse_Value) ProtoReflect() protoreflect.Message
- func (x *GetMissingBlobDigestsResponse_Value) Reset()
- func (x *GetMissingBlobDigestsResponse_Value) String() string
- type GetModulesRequest
- func (*GetModulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModulesRequest) GetModuleRefs() []*ModuleRef
- func (*GetModulesRequest) ProtoMessage()
- func (x *GetModulesRequest) ProtoReflect() protoreflect.Message
- func (x *GetModulesRequest) Reset()
- func (x *GetModulesRequest) String() string
- type GetModulesResponse
- func (*GetModulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetModulesResponse) GetModules() []*Module
- func (*GetModulesResponse) ProtoMessage()
- func (x *GetModulesResponse) ProtoReflect() protoreflect.Message
- func (x *GetModulesResponse) Reset()
- func (x *GetModulesResponse) String() string
- type GetReleaseBranchesRequest
- func (*GetReleaseBranchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReleaseBranchesRequest) GetModuleRefs() []*ModuleRef
- func (*GetReleaseBranchesRequest) ProtoMessage()
- func (x *GetReleaseBranchesRequest) ProtoReflect() protoreflect.Message
- func (x *GetReleaseBranchesRequest) Reset()
- func (x *GetReleaseBranchesRequest) String() string
- type GetReleaseBranchesResponse
- func (*GetReleaseBranchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetReleaseBranchesResponse) GetBranches() []*Branch
- func (*GetReleaseBranchesResponse) ProtoMessage()
- func (x *GetReleaseBranchesResponse) ProtoReflect() protoreflect.Message
- func (x *GetReleaseBranchesResponse) Reset()
- func (x *GetReleaseBranchesResponse) String() string
- type GetTagsRequest
- type GetTagsResponse
- type GetVCSCommitsRequest
- func (*GetVCSCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVCSCommitsRequest) GetVcsCommitRefs() []*VCSCommitRef
- func (*GetVCSCommitsRequest) ProtoMessage()
- func (x *GetVCSCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *GetVCSCommitsRequest) Reset()
- func (x *GetVCSCommitsRequest) String() string
- type GetVCSCommitsResponse
- func (*GetVCSCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVCSCommitsResponse) GetVcsCommits() []*VCSCommit
- func (*GetVCSCommitsResponse) ProtoMessage()
- func (x *GetVCSCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *GetVCSCommitsResponse) Reset()
- func (x *GetVCSCommitsResponse) String() string
- type ListBranchesRequest
- func (*ListBranchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBranchesRequest) GetPageSize() uint32
- func (x *ListBranchesRequest) GetPageToken() string
- func (x *ListBranchesRequest) GetResourceRef() *ResourceRef
- func (*ListBranchesRequest) ProtoMessage()
- func (x *ListBranchesRequest) ProtoReflect() protoreflect.Message
- func (x *ListBranchesRequest) Reset()
- func (x *ListBranchesRequest) String() string
- type ListBranchesResponse
- func (*ListBranchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBranchesResponse) GetBranches() []*Branch
- func (x *ListBranchesResponse) GetNextPageToken() string
- func (*ListBranchesResponse) ProtoMessage()
- func (x *ListBranchesResponse) ProtoReflect() protoreflect.Message
- func (x *ListBranchesResponse) Reset()
- func (x *ListBranchesResponse) String() string
- type ListCommitHistoryRequest
- func (*ListCommitHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitHistoryRequest) GetHasTag() bool
- func (x *ListCommitHistoryRequest) GetHasVcsCommit() bool
- func (x *ListCommitHistoryRequest) GetPageSize() uint32
- func (x *ListCommitHistoryRequest) GetPageToken() string
- func (x *ListCommitHistoryRequest) GetResourceRef() *ResourceRef
- func (*ListCommitHistoryRequest) ProtoMessage()
- func (x *ListCommitHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *ListCommitHistoryRequest) Reset()
- func (x *ListCommitHistoryRequest) String() string
- type ListCommitHistoryResponse
- func (*ListCommitHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitHistoryResponse) GetCommits() []*Commit
- func (x *ListCommitHistoryResponse) GetNextPageToken() string
- func (*ListCommitHistoryResponse) ProtoMessage()
- func (x *ListCommitHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *ListCommitHistoryResponse) Reset()
- func (x *ListCommitHistoryResponse) String() string
- type ListModulesRequest
- func (*ListModulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListModulesRequest) GetOwnerRefs() []*v1beta1.OwnerRef
- func (x *ListModulesRequest) GetPageSize() uint32
- func (x *ListModulesRequest) GetPageToken() string
- func (*ListModulesRequest) ProtoMessage()
- func (x *ListModulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListModulesRequest) Reset()
- func (x *ListModulesRequest) String() string
- type ListModulesResponse
- func (*ListModulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListModulesResponse) GetModules() []*Module
- func (x *ListModulesResponse) GetNextPageToken() string
- func (*ListModulesResponse) ProtoMessage()
- func (x *ListModulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListModulesResponse) Reset()
- func (x *ListModulesResponse) String() string
- type ListTagsRequest
- func (*ListTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagsRequest) GetPageSize() uint32
- func (x *ListTagsRequest) GetPageToken() string
- func (x *ListTagsRequest) GetResourceRef() *ResourceRef
- func (*ListTagsRequest) ProtoMessage()
- func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTagsRequest) Reset()
- func (x *ListTagsRequest) String() string
- type ListTagsResponse
- func (*ListTagsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagsResponse) GetNextPageToken() string
- func (x *ListTagsResponse) GetTags() []*Tag
- func (*ListTagsResponse) ProtoMessage()
- func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTagsResponse) Reset()
- func (x *ListTagsResponse) String() string
- type ListVCSCommitsRequest
- func (*ListVCSCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVCSCommitsRequest) GetPageSize() uint32
- func (x *ListVCSCommitsRequest) GetPageToken() string
- func (x *ListVCSCommitsRequest) GetResourceRef() *ResourceRef
- func (*ListVCSCommitsRequest) ProtoMessage()
- func (x *ListVCSCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *ListVCSCommitsRequest) Reset()
- func (x *ListVCSCommitsRequest) String() string
- type ListVCSCommitsResponse
- func (*ListVCSCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVCSCommitsResponse) GetNextPageToken() string
- func (x *ListVCSCommitsResponse) GetVcsCommits() []*VCSCommit
- func (*ListVCSCommitsResponse) ProtoMessage()
- func (x *ListVCSCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *ListVCSCommitsResponse) Reset()
- func (x *ListVCSCommitsResponse) String() string
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetCreateTime() *timestamppb.Timestamp
- func (x *Module) GetDescription() string
- func (x *Module) GetId() string
- func (x *Module) GetName() string
- func (x *Module) GetOwnerId() string
- func (x *Module) GetReleaseBranchId() string
- func (x *Module) GetState() ModuleState
- func (x *Module) GetUpdateTime() *timestamppb.Timestamp
- func (x *Module) GetUrl() string
- func (x *Module) GetVisibility() ModuleVisibility
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- type ModuleRef
- func (*ModuleRef) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleRef) GetId() string
- func (x *ModuleRef) GetName() *ModuleRef_Name
- func (m *ModuleRef) GetValue() isModuleRef_Value
- func (*ModuleRef) ProtoMessage()
- func (x *ModuleRef) ProtoReflect() protoreflect.Message
- func (x *ModuleRef) Reset()
- func (x *ModuleRef) String() string
- type ModuleRef_Id
- type ModuleRef_Name
- func (*ModuleRef_Name) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleRef_Name) GetModule() string
- func (x *ModuleRef_Name) GetOwner() string
- func (*ModuleRef_Name) ProtoMessage()
- func (x *ModuleRef_Name) ProtoReflect() protoreflect.Message
- func (x *ModuleRef_Name) Reset()
- func (x *ModuleRef_Name) String() string
- type ModuleRef_Name_
- type ModuleState
- func (ModuleState) Descriptor() protoreflect.EnumDescriptor
- func (x ModuleState) Enum() *ModuleState
- func (ModuleState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ModuleState) Number() protoreflect.EnumNumber
- func (x ModuleState) String() string
- func (ModuleState) Type() protoreflect.EnumType
- type ModuleVisibility
- func (ModuleVisibility) Descriptor() protoreflect.EnumDescriptor
- func (x ModuleVisibility) Enum() *ModuleVisibility
- func (ModuleVisibility) EnumDescriptor() ([]byte, []int)deprecated
- func (x ModuleVisibility) Number() protoreflect.EnumNumber
- func (x ModuleVisibility) String() string
- func (ModuleVisibility) Type() protoreflect.EnumType
- type ResolveCommitsRequest
- func (*ResolveCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveCommitsRequest) GetResourceRefs() []*ResourceRef
- func (*ResolveCommitsRequest) ProtoMessage()
- func (x *ResolveCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *ResolveCommitsRequest) Reset()
- func (x *ResolveCommitsRequest) String() string
- type ResolveCommitsResponse
- func (*ResolveCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveCommitsResponse) GetCommits() []*Commit
- func (*ResolveCommitsResponse) ProtoMessage()
- func (x *ResolveCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *ResolveCommitsResponse) Reset()
- func (x *ResolveCommitsResponse) String() string
- type ResourceRef
- func (*ResourceRef) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRef) GetId() string
- func (x *ResourceRef) GetName() *ResourceRef_Name
- func (m *ResourceRef) GetValue() isResourceRef_Value
- func (*ResourceRef) ProtoMessage()
- func (x *ResourceRef) ProtoReflect() protoreflect.Message
- func (x *ResourceRef) Reset()
- func (x *ResourceRef) String() string
- type ResourceRef_Id
- type ResourceRef_Name
- func (*ResourceRef_Name) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRef_Name) GetBranchName() string
- func (m *ResourceRef_Name) GetChild() isResourceRef_Name_Child
- func (x *ResourceRef_Name) GetDigest() *v1beta1.Digest
- func (x *ResourceRef_Name) GetModule() string
- func (x *ResourceRef_Name) GetOwner() string
- func (x *ResourceRef_Name) GetRef() string
- func (x *ResourceRef_Name) GetTagName() string
- func (x *ResourceRef_Name) GetVcsCommitHash() string
- func (*ResourceRef_Name) ProtoMessage()
- func (x *ResourceRef_Name) ProtoReflect() protoreflect.Message
- func (x *ResourceRef_Name) Reset()
- func (x *ResourceRef_Name) String() string
- type ResourceRef_Name_
- type ResourceRef_Name_BranchName
- type ResourceRef_Name_Digest
- type ResourceRef_Name_Ref
- type ResourceRef_Name_TagName
- type ResourceRef_Name_VcsCommitHash
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)deprecated
- func (x *Tag) GetCommitDigest() *v1beta1.Digest
- func (x *Tag) GetCommitId() string
- func (x *Tag) GetCreateTime() *timestamppb.Timestamp
- func (x *Tag) GetId() string
- func (x *Tag) GetModuleId() string
- func (x *Tag) GetName() string
- func (x *Tag) GetOwnerId() string
- func (x *Tag) GetUpdateTime() *timestamppb.Timestamp
- func (x *Tag) GetUpdatedByUserId() string
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (x *Tag) String() string
- type TagRef
- func (*TagRef) Descriptor() ([]byte, []int)deprecated
- func (x *TagRef) GetId() string
- func (x *TagRef) GetName() *TagRef_Name
- func (m *TagRef) GetValue() isTagRef_Value
- func (*TagRef) ProtoMessage()
- func (x *TagRef) ProtoReflect() protoreflect.Message
- func (x *TagRef) Reset()
- func (x *TagRef) String() string
- type TagRef_Id
- type TagRef_Name
- func (*TagRef_Name) Descriptor() ([]byte, []int)deprecated
- func (x *TagRef_Name) GetModule() string
- func (x *TagRef_Name) GetOwner() string
- func (x *TagRef_Name) GetTag() string
- func (*TagRef_Name) ProtoMessage()
- func (x *TagRef_Name) ProtoReflect() protoreflect.Message
- func (x *TagRef_Name) Reset()
- func (x *TagRef_Name) String() string
- type TagRef_Name_
- type UpdateModulesRequest
- func (*UpdateModulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateModulesRequest) GetValues() []*UpdateModulesRequest_Value
- func (*UpdateModulesRequest) ProtoMessage()
- func (x *UpdateModulesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateModulesRequest) Reset()
- func (x *UpdateModulesRequest) String() string
- type UpdateModulesRequest_Value
- func (*UpdateModulesRequest_Value) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateModulesRequest_Value) GetDescription() string
- func (x *UpdateModulesRequest_Value) GetModuleRef() *ModuleRef
- func (x *UpdateModulesRequest_Value) GetReleaseBranchId() string
- func (x *UpdateModulesRequest_Value) GetReleaseBranchName() string
- func (m *UpdateModulesRequest_Value) GetReleaseBranchRef() isUpdateModulesRequest_Value_ReleaseBranchRef
- func (x *UpdateModulesRequest_Value) GetState() ModuleState
- func (x *UpdateModulesRequest_Value) GetUrl() string
- func (x *UpdateModulesRequest_Value) GetVisibility() ModuleVisibility
- func (*UpdateModulesRequest_Value) ProtoMessage()
- func (x *UpdateModulesRequest_Value) ProtoReflect() protoreflect.Message
- func (x *UpdateModulesRequest_Value) Reset()
- func (x *UpdateModulesRequest_Value) String() string
- type UpdateModulesRequest_Value_ReleaseBranchId
- type UpdateModulesRequest_Value_ReleaseBranchName
- type UpdateModulesResponse
- func (*UpdateModulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateModulesResponse) GetModules() []*Module
- func (*UpdateModulesResponse) ProtoMessage()
- func (x *UpdateModulesResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateModulesResponse) Reset()
- func (x *UpdateModulesResponse) String() string
- type VCSCommit
- func (*VCSCommit) Descriptor() ([]byte, []int)deprecated
- func (x *VCSCommit) GetAuthorEmail() string
- func (x *VCSCommit) GetAuthorName() string
- func (x *VCSCommit) GetCommitDigest() *v1beta1.Digest
- func (x *VCSCommit) GetCommitId() string
- func (x *VCSCommit) GetCommitterEmail() string
- func (x *VCSCommit) GetCommitterName() string
- func (x *VCSCommit) GetCreateTime() *timestamppb.Timestamp
- func (x *VCSCommit) GetHash() string
- func (x *VCSCommit) GetId() string
- func (x *VCSCommit) GetModuleId() string
- func (x *VCSCommit) GetOwnerId() string
- func (x *VCSCommit) GetType() VCSType
- func (x *VCSCommit) GetUpdateTime() *timestamppb.Timestamp
- func (x *VCSCommit) GetVcsRepositoryUrl() string
- func (*VCSCommit) ProtoMessage()
- func (x *VCSCommit) ProtoReflect() protoreflect.Message
- func (x *VCSCommit) Reset()
- func (x *VCSCommit) String() string
- type VCSCommitRef
- func (*VCSCommitRef) Descriptor() ([]byte, []int)deprecated
- func (x *VCSCommitRef) GetId() string
- func (x *VCSCommitRef) GetName() *VCSCommitRef_Name
- func (m *VCSCommitRef) GetValue() isVCSCommitRef_Value
- func (*VCSCommitRef) ProtoMessage()
- func (x *VCSCommitRef) ProtoReflect() protoreflect.Message
- func (x *VCSCommitRef) Reset()
- func (x *VCSCommitRef) String() string
- type VCSCommitRef_Id
- type VCSCommitRef_Name
- func (*VCSCommitRef_Name) Descriptor() ([]byte, []int)deprecated
- func (x *VCSCommitRef_Name) GetHash() string
- func (x *VCSCommitRef_Name) GetModule() string
- func (x *VCSCommitRef_Name) GetOwner() string
- func (*VCSCommitRef_Name) ProtoMessage()
- func (x *VCSCommitRef_Name) ProtoReflect() protoreflect.Message
- func (x *VCSCommitRef_Name) Reset()
- func (x *VCSCommitRef_Name) String() string
- type VCSCommitRef_Name_
- type VCSType
Constants ¶
This section is empty.
Variables ¶
var ( ModuleVisibility_name = map[int32]string{ 0: "MODULE_VISIBILITY_UNSPECIFIED", 1: "MODULE_VISIBILITY_PUBLIC", 2: "MODULE_VISIBILITY_PRIVATE", } ModuleVisibility_value = map[string]int32{ "MODULE_VISIBILITY_UNSPECIFIED": 0, "MODULE_VISIBILITY_PUBLIC": 1, "MODULE_VISIBILITY_PRIVATE": 2, } )
Enum value maps for ModuleVisibility.
var ( ModuleState_name = map[int32]string{ 0: "MODULE_STATE_UNSPECIFIED", 1: "MODULE_STATE_ACTIVE", 2: "MODULE_STATE_DEPRECATED", } ModuleState_value = map[string]int32{ "MODULE_STATE_UNSPECIFIED": 0, "MODULE_STATE_ACTIVE": 1, "MODULE_STATE_DEPRECATED": 2, } )
Enum value maps for ModuleState.
var ( VCSType_name = map[int32]string{ 0: "VCS_TYPE_UNSPECIFIED", 1: "VCS_TYPE_GIT", } VCSType_value = map[string]int32{ "VCS_TYPE_UNSPECIFIED": 0, "VCS_TYPE_GIT": 1, } )
Enum value maps for VCSType.
var File_buf_registry_module_v1beta1_branch_proto protoreflect.FileDescriptor
var File_buf_registry_module_v1beta1_branch_service_proto protoreflect.FileDescriptor
var File_buf_registry_module_v1beta1_commit_proto protoreflect.FileDescriptor
var File_buf_registry_module_v1beta1_commit_service_proto protoreflect.FileDescriptor
var File_buf_registry_module_v1beta1_module_proto protoreflect.FileDescriptor
var File_buf_registry_module_v1beta1_module_service_proto protoreflect.FileDescriptor
var File_buf_registry_module_v1beta1_resource_proto protoreflect.FileDescriptor
var File_buf_registry_module_v1beta1_tag_proto protoreflect.FileDescriptor
var File_buf_registry_module_v1beta1_tag_service_proto protoreflect.FileDescriptor
var File_buf_registry_module_v1beta1_vcs_commit_proto protoreflect.FileDescriptor
var File_buf_registry_module_v1beta1_vcs_commit_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Branch ¶
type Branch struct { // The id of the Branch. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The time the Branch was created on the BSR. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The last time the Branch was updated on the BSR. // // This is typically the last time a Commit was pushed to the Branch. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The name of the Branch. // // Unique within a given Module. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // The id of the User or Organization that owns the Module that the Branch is associated with. OwnerId string `protobuf:"bytes,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // The id of the Module that the Branch is associated with. ModuleId string `protobuf:"bytes,6,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // True if the Branch is the release Branch for the module. // // Only one Branch per module will be marked as the release Branch. // TODO: enum? IsRelease bool `protobuf:"varint,9,opt,name=is_release,json=isRelease,proto3" json:"is_release,omitempty"` // The id of the latest Commit created on the Branch. LatestCommitId string `protobuf:"bytes,10,opt,name=latest_commit_id,json=latestCommitId,proto3" json:"latest_commit_id,omitempty"` // The Digest of the latest Commit pushed to the Branch. LatestCommitDigest *v1beta1.Digest `protobuf:"bytes,11,opt,name=latest_commit_digest,json=latestCommitDigest,proto3" json:"latest_commit_digest,omitempty"` // contains filtered or unexported fields }
A branch on a specific Module.
func (*Branch) GetCreateTime ¶
func (x *Branch) GetCreateTime() *timestamppb.Timestamp
func (*Branch) GetUpdateTime ¶
func (x *Branch) GetUpdateTime() *timestamppb.Timestamp
func (*Branch) ProtoReflect ¶
func (x *Branch) ProtoReflect() protoreflect.Message
type BranchRef ¶
type BranchRef struct { // Types that are assignable to Value: // // *BranchRef_Id // *BranchRef_Name_ Value isBranchRef_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
BranchRef is a reference to a Branch, either an id or a fully-qualified name.
This is used in requests.
func (*BranchRef) GetName ¶
func (x *BranchRef) GetName() *BranchRef_Name
func (*BranchRef) ProtoReflect ¶
func (x *BranchRef) ProtoReflect() protoreflect.Message
type BranchRef_Id ¶
type BranchRef_Id struct { // The id of the Branch. Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"` }
type BranchRef_Name ¶
type BranchRef_Name struct { // The name of the User or Organization that owns the Module that contains this Branch. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The name of the Module that contains this Branch. Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"` // The name of the Branch. Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
The fully-qualified name of a Branch within a BSR instance.
A Name uniquely identifies a Branch. This is used for requests when a caller only has the branch name and not the ID.
func (*BranchRef_Name) Descriptor
deprecated
func (*BranchRef_Name) Descriptor() ([]byte, []int)
Deprecated: Use BranchRef_Name.ProtoReflect.Descriptor instead.
func (*BranchRef_Name) GetBranch ¶
func (x *BranchRef_Name) GetBranch() string
func (*BranchRef_Name) GetModule ¶
func (x *BranchRef_Name) GetModule() string
func (*BranchRef_Name) GetOwner ¶
func (x *BranchRef_Name) GetOwner() string
func (*BranchRef_Name) ProtoMessage ¶
func (*BranchRef_Name) ProtoMessage()
func (*BranchRef_Name) ProtoReflect ¶
func (x *BranchRef_Name) ProtoReflect() protoreflect.Message
func (*BranchRef_Name) Reset ¶
func (x *BranchRef_Name) Reset()
func (*BranchRef_Name) String ¶
func (x *BranchRef_Name) String() string
type BranchRef_Name_ ¶
type BranchRef_Name_ struct { // The fully-qualified name of the Branch. Name *BranchRef_Name `protobuf:"bytes,2,opt,name=name,proto3,oneof"` }
type Commit ¶
type Commit struct { // The id of the Commit. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The time the Commit was pushed to the BSR. // // Commits are immutable, so there is no corresponding update_time. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The id of the User or Organization that owns the Module that the Commit is associated with. OwnerId string `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // The id of the Module that the Commit is associated with. ModuleId string `protobuf:"bytes,4,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // The digest of the Commit's contents. // // This is a digest of the digest of all files associated with the Commit. Digest *v1beta1.Digest `protobuf:"bytes,5,opt,name=digest,proto3" json:"digest,omitempty"` // The id of the User that created this Commit on the BSR. CreatedByUserId string `protobuf:"bytes,6,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"` // The SPDX license ID of the associated license, if any. // // To retrieve the specific license file, use the ContentService. SpdxLicenseId string `protobuf:"bytes,7,opt,name=spdx_license_id,json=spdxLicenseId,proto3" json:"spdx_license_id,omitempty"` // contains filtered or unexported fields }
A commit on a specific module.
Commits can be associated with multiple Branches.
func (*Commit) GetCreateTime ¶
func (x *Commit) GetCreateTime() *timestamppb.Timestamp
func (*Commit) ProtoReflect ¶
func (x *Commit) ProtoReflect() protoreflect.Message
type CreateCommitsRequest ¶
type CreateCommitsRequest struct { // The pointers to the content for the Modules that should have Commits created for them. // // Each ModuleNode must have a unique ModuleRef. // A commit will be created for each ModuleNode. ModuleNodes []*CreateCommitsRequest_ModuleNode `protobuf:"bytes,1,rep,name=module_nodes,json=moduleNodes,proto3" json:"module_nodes,omitempty"` // Blobs for the FileNodes referenced by module_nodes that are not present on the server. // // Only Blobs that were returned as missing from GetMissingBlobDigests need to be sent. // Other Blobs already exist on the server, and will be ignored. // // If a FileNode within module_nodes has a Blob that is not on the server, and is not // within missing_blobs, an error will be returned. MissingBlobs []*v1beta1.Blob `protobuf:"bytes,2,rep,name=missing_blobs,json=missingBlobs,proto3" json:"missing_blobs,omitempty"` // The names of Branches that should be associated with this Commit. // // If a Branch currently exists on the associated Module with a name, this existing // Branch will be used. Otherwise, a new Branch will be created for the corresponding name. // // If empty, the default branch is assumed as the only branch. BranchNames []string `protobuf:"bytes,3,rep,name=branch_names,json=branchNames,proto3" json:"branch_names,omitempty"` // The names of Tags that should be associated with this Commit. // // If a Tag currently exists on the assocated Module with a name, the RPC will error, however // this will change in the future when we allow Tags to move. If the Tag does not // currently exist, a new Tag will be created for each name. TagNames []string `protobuf:"bytes,4,rep,name=tag_names,json=tagNames,proto3" json:"tag_names,omitempty"` // Associated VCS commit information. // // If there are already VCSCommits on the associated Module with a given hash, this // will result in an error. Otherwise, a new VCSCommit is created. AssociatedVcsCommits []*CreateCommitsRequest_AssociatedVCSCommit `protobuf:"bytes,5,rep,name=associated_vcs_commits,json=associatedVcsCommits,proto3" json:"associated_vcs_commits,omitempty"` // contains filtered or unexported fields }
func (*CreateCommitsRequest) Descriptor
deprecated
func (*CreateCommitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCommitsRequest.ProtoReflect.Descriptor instead.
func (*CreateCommitsRequest) GetAssociatedVcsCommits ¶
func (x *CreateCommitsRequest) GetAssociatedVcsCommits() []*CreateCommitsRequest_AssociatedVCSCommit
func (*CreateCommitsRequest) GetBranchNames ¶
func (x *CreateCommitsRequest) GetBranchNames() []string
func (*CreateCommitsRequest) GetMissingBlobs ¶
func (x *CreateCommitsRequest) GetMissingBlobs() []*v1beta1.Blob
func (*CreateCommitsRequest) GetModuleNodes ¶
func (x *CreateCommitsRequest) GetModuleNodes() []*CreateCommitsRequest_ModuleNode
func (*CreateCommitsRequest) GetTagNames ¶
func (x *CreateCommitsRequest) GetTagNames() []string
func (*CreateCommitsRequest) ProtoMessage ¶
func (*CreateCommitsRequest) ProtoMessage()
func (*CreateCommitsRequest) ProtoReflect ¶
func (x *CreateCommitsRequest) ProtoReflect() protoreflect.Message
func (*CreateCommitsRequest) Reset ¶
func (x *CreateCommitsRequest) Reset()
func (*CreateCommitsRequest) String ¶
func (x *CreateCommitsRequest) String() string
type CreateCommitsRequest_AssociatedVCSCommit ¶
type CreateCommitsRequest_AssociatedVCSCommit struct { // The hash of the VCSCommit. // // VCS-specific. // Unique within a given Module. Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // The type of VCS. Type VCSType `protobuf:"varint,2,opt,name=type,proto3,enum=buf.registry.module.v1beta1.VCSType" json:"type,omitempty"` // The URL of of the repository on the VCS. VcsRepositoryUrl string `protobuf:"bytes,3,opt,name=vcs_repository_url,json=vcsRepositoryUrl,proto3" json:"vcs_repository_url,omitempty"` // The name of the author of the VCSCommit. // // VCS-specific: not associated with the name of Users on the BSR, for example. AuthorName string `protobuf:"bytes,4,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"` // The email of the author of the VCSCommit. // // VCS-specific: not associated with the Users on the BSR, for example. AuthorEmail string `protobuf:"bytes,5,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"` // The name of the committer of the VCSCommit. // // VCS-specific: not associated with the name of Users on the BSR, for example. CommitterName string `protobuf:"bytes,6,opt,name=committer_name,json=committerName,proto3" json:"committer_name,omitempty"` // The email of the committer of the VCSCommit. // // VCS-specific: not associated with the Users on the BSR, for example. CommitterEmail string `protobuf:"bytes,7,opt,name=committer_email,json=committerEmail,proto3" json:"committer_email,omitempty"` // contains filtered or unexported fields }
Information on an associated VCS commit needed to create a VCSCommit.
func (*CreateCommitsRequest_AssociatedVCSCommit) Descriptor
deprecated
func (*CreateCommitsRequest_AssociatedVCSCommit) Descriptor() ([]byte, []int)
Deprecated: Use CreateCommitsRequest_AssociatedVCSCommit.ProtoReflect.Descriptor instead.
func (*CreateCommitsRequest_AssociatedVCSCommit) GetAuthorEmail ¶
func (x *CreateCommitsRequest_AssociatedVCSCommit) GetAuthorEmail() string
func (*CreateCommitsRequest_AssociatedVCSCommit) GetAuthorName ¶
func (x *CreateCommitsRequest_AssociatedVCSCommit) GetAuthorName() string
func (*CreateCommitsRequest_AssociatedVCSCommit) GetCommitterEmail ¶
func (x *CreateCommitsRequest_AssociatedVCSCommit) GetCommitterEmail() string
func (*CreateCommitsRequest_AssociatedVCSCommit) GetCommitterName ¶
func (x *CreateCommitsRequest_AssociatedVCSCommit) GetCommitterName() string
func (*CreateCommitsRequest_AssociatedVCSCommit) GetHash ¶
func (x *CreateCommitsRequest_AssociatedVCSCommit) GetHash() string
func (*CreateCommitsRequest_AssociatedVCSCommit) GetType ¶
func (x *CreateCommitsRequest_AssociatedVCSCommit) GetType() VCSType
func (*CreateCommitsRequest_AssociatedVCSCommit) GetVcsRepositoryUrl ¶
func (x *CreateCommitsRequest_AssociatedVCSCommit) GetVcsRepositoryUrl() string
func (*CreateCommitsRequest_AssociatedVCSCommit) ProtoMessage ¶
func (*CreateCommitsRequest_AssociatedVCSCommit) ProtoMessage()
func (*CreateCommitsRequest_AssociatedVCSCommit) ProtoReflect ¶
func (x *CreateCommitsRequest_AssociatedVCSCommit) ProtoReflect() protoreflect.Message
func (*CreateCommitsRequest_AssociatedVCSCommit) Reset ¶
func (x *CreateCommitsRequest_AssociatedVCSCommit) Reset()
func (*CreateCommitsRequest_AssociatedVCSCommit) String ¶
func (x *CreateCommitsRequest_AssociatedVCSCommit) String() string
type CreateCommitsRequest_DepNode ¶
type CreateCommitsRequest_DepNode struct { // The reference to the Module to create a Commit for. ModuleRef *ModuleRef `protobuf:"bytes,1,opt,name=module_ref,json=moduleRef,proto3" json:"module_ref,omitempty"` // The digest of the dependency. Digest *v1beta1.Digest `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
A pointer to a dependency of a Module.
func (*CreateCommitsRequest_DepNode) Descriptor
deprecated
func (*CreateCommitsRequest_DepNode) Descriptor() ([]byte, []int)
Deprecated: Use CreateCommitsRequest_DepNode.ProtoReflect.Descriptor instead.
func (*CreateCommitsRequest_DepNode) GetDigest ¶
func (x *CreateCommitsRequest_DepNode) GetDigest() *v1beta1.Digest
func (*CreateCommitsRequest_DepNode) GetModuleRef ¶
func (x *CreateCommitsRequest_DepNode) GetModuleRef() *ModuleRef
func (*CreateCommitsRequest_DepNode) ProtoMessage ¶
func (*CreateCommitsRequest_DepNode) ProtoMessage()
func (*CreateCommitsRequest_DepNode) ProtoReflect ¶
func (x *CreateCommitsRequest_DepNode) ProtoReflect() protoreflect.Message
func (*CreateCommitsRequest_DepNode) Reset ¶
func (x *CreateCommitsRequest_DepNode) Reset()
func (*CreateCommitsRequest_DepNode) String ¶
func (x *CreateCommitsRequest_DepNode) String() string
type CreateCommitsRequest_ModuleNode ¶
type CreateCommitsRequest_ModuleNode struct { // The reference to the Module to create a Commit for. ModuleRef *ModuleRef `protobuf:"bytes,1,opt,name=module_ref,json=moduleRef,proto3" json:"module_ref,omitempty"` // The FileNodes for the Module. // // This consists of the .proto files, license files, and documentation files. This does // not contain any files relating to dependencies or configuration (such as buf.lock or // buf.yaml). A server will respond with an error if an unexpected file is passed here. // // Blobs are shared across Modules within a given CreateCommit call; missing blobs // should be passed via the missing_blobs field. See GetMissingBlobDigests for more details. FileNodes []*v1beta1.FileNode `protobuf:"bytes,2,rep,name=file_nodes,json=fileNodes,proto3" json:"file_nodes,omitempty"` // The dependencies of the Module. DepNodes []*CreateCommitsRequest_DepNode `protobuf:"bytes,3,rep,name=dep_nodes,json=depNodes,proto3" json:"dep_nodes,omitempty"` // contains filtered or unexported fields }
The pointers to the content of a single Module that a Commit will be created for.
func (*CreateCommitsRequest_ModuleNode) Descriptor
deprecated
func (*CreateCommitsRequest_ModuleNode) Descriptor() ([]byte, []int)
Deprecated: Use CreateCommitsRequest_ModuleNode.ProtoReflect.Descriptor instead.
func (*CreateCommitsRequest_ModuleNode) GetDepNodes ¶
func (x *CreateCommitsRequest_ModuleNode) GetDepNodes() []*CreateCommitsRequest_DepNode
func (*CreateCommitsRequest_ModuleNode) GetFileNodes ¶
func (x *CreateCommitsRequest_ModuleNode) GetFileNodes() []*v1beta1.FileNode
func (*CreateCommitsRequest_ModuleNode) GetModuleRef ¶
func (x *CreateCommitsRequest_ModuleNode) GetModuleRef() *ModuleRef
func (*CreateCommitsRequest_ModuleNode) ProtoMessage ¶
func (*CreateCommitsRequest_ModuleNode) ProtoMessage()
func (*CreateCommitsRequest_ModuleNode) ProtoReflect ¶
func (x *CreateCommitsRequest_ModuleNode) ProtoReflect() protoreflect.Message
func (*CreateCommitsRequest_ModuleNode) Reset ¶
func (x *CreateCommitsRequest_ModuleNode) Reset()
func (*CreateCommitsRequest_ModuleNode) String ¶
func (x *CreateCommitsRequest_ModuleNode) String() string
type CreateCommitsResponse ¶
type CreateCommitsResponse struct { // The created Commits, in the order of the nodes given via module_nodes. // // If the digest was found for an pre-existing Commit, this pre-existing Commit will be returned // instead of a new Commit being created. Commits []*Commit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
func (*CreateCommitsResponse) Descriptor
deprecated
func (*CreateCommitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCommitsResponse.ProtoReflect.Descriptor instead.
func (*CreateCommitsResponse) GetCommits ¶
func (x *CreateCommitsResponse) GetCommits() []*Commit
func (*CreateCommitsResponse) ProtoMessage ¶
func (*CreateCommitsResponse) ProtoMessage()
func (*CreateCommitsResponse) ProtoReflect ¶
func (x *CreateCommitsResponse) ProtoReflect() protoreflect.Message
func (*CreateCommitsResponse) Reset ¶
func (x *CreateCommitsResponse) Reset()
func (*CreateCommitsResponse) String ¶
func (x *CreateCommitsResponse) String() string
type CreateModulesRequest ¶
type CreateModulesRequest struct { // The Modules to create. Values []*CreateModulesRequest_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*CreateModulesRequest) Descriptor
deprecated
func (*CreateModulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateModulesRequest.ProtoReflect.Descriptor instead.
func (*CreateModulesRequest) GetValues ¶
func (x *CreateModulesRequest) GetValues() []*CreateModulesRequest_Value
func (*CreateModulesRequest) ProtoMessage ¶
func (*CreateModulesRequest) ProtoMessage()
func (*CreateModulesRequest) ProtoReflect ¶
func (x *CreateModulesRequest) ProtoReflect() protoreflect.Message
func (*CreateModulesRequest) Reset ¶
func (x *CreateModulesRequest) Reset()
func (*CreateModulesRequest) String ¶
func (x *CreateModulesRequest) String() string
type CreateModulesRequest_Value ¶
type CreateModulesRequest_Value struct { // The User or Organization to create the Module under. OwnerRef *v1beta1.OwnerRef `protobuf:"bytes,1,opt,name=owner_ref,json=ownerRef,proto3" json:"owner_ref,omitempty"` // The name of the Module. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The module's visibility. Visibility ModuleVisibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.registry.module.v1beta1.ModuleVisibility" json:"visibility,omitempty"` // The configurable description of the Module. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // The configurable URL in the description of the module. Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` // The name of the release Branch of the module. // // If not set, the release branch will be "main" upon creation. ReleaseBranchName string `protobuf:"bytes,6,opt,name=release_branch_name,json=releaseBranchName,proto3" json:"release_branch_name,omitempty"` // contains filtered or unexported fields }
An individual request to create a Module.
func (*CreateModulesRequest_Value) Descriptor
deprecated
func (*CreateModulesRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use CreateModulesRequest_Value.ProtoReflect.Descriptor instead.
func (*CreateModulesRequest_Value) GetDescription ¶
func (x *CreateModulesRequest_Value) GetDescription() string
func (*CreateModulesRequest_Value) GetName ¶
func (x *CreateModulesRequest_Value) GetName() string
func (*CreateModulesRequest_Value) GetOwnerRef ¶
func (x *CreateModulesRequest_Value) GetOwnerRef() *v1beta1.OwnerRef
func (*CreateModulesRequest_Value) GetReleaseBranchName ¶
func (x *CreateModulesRequest_Value) GetReleaseBranchName() string
func (*CreateModulesRequest_Value) GetUrl ¶
func (x *CreateModulesRequest_Value) GetUrl() string
func (*CreateModulesRequest_Value) GetVisibility ¶
func (x *CreateModulesRequest_Value) GetVisibility() ModuleVisibility
func (*CreateModulesRequest_Value) ProtoMessage ¶
func (*CreateModulesRequest_Value) ProtoMessage()
func (*CreateModulesRequest_Value) ProtoReflect ¶
func (x *CreateModulesRequest_Value) ProtoReflect() protoreflect.Message
func (*CreateModulesRequest_Value) Reset ¶
func (x *CreateModulesRequest_Value) Reset()
func (*CreateModulesRequest_Value) String ¶
func (x *CreateModulesRequest_Value) String() string
type CreateModulesResponse ¶
type CreateModulesResponse struct { // The created Modules in the same order as given on the request. Modules []*Module `protobuf:"bytes,1,rep,name=modules,proto3" json:"modules,omitempty"` // contains filtered or unexported fields }
func (*CreateModulesResponse) Descriptor
deprecated
func (*CreateModulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateModulesResponse.ProtoReflect.Descriptor instead.
func (*CreateModulesResponse) GetModules ¶
func (x *CreateModulesResponse) GetModules() []*Module
func (*CreateModulesResponse) ProtoMessage ¶
func (*CreateModulesResponse) ProtoMessage()
func (*CreateModulesResponse) ProtoReflect ¶
func (x *CreateModulesResponse) ProtoReflect() protoreflect.Message
func (*CreateModulesResponse) Reset ¶
func (x *CreateModulesResponse) Reset()
func (*CreateModulesResponse) String ¶
func (x *CreateModulesResponse) String() string
type CreateTagsRequest ¶
type CreateTagsRequest struct { // The Tags to create. Values []*CreateTagsRequest_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*CreateTagsRequest) Descriptor
deprecated
func (*CreateTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagsRequest.ProtoReflect.Descriptor instead.
func (*CreateTagsRequest) GetValues ¶
func (x *CreateTagsRequest) GetValues() []*CreateTagsRequest_Value
func (*CreateTagsRequest) ProtoMessage ¶
func (*CreateTagsRequest) ProtoMessage()
func (*CreateTagsRequest) ProtoReflect ¶
func (x *CreateTagsRequest) ProtoReflect() protoreflect.Message
func (*CreateTagsRequest) Reset ¶
func (x *CreateTagsRequest) Reset()
func (*CreateTagsRequest) String ¶
func (x *CreateTagsRequest) String() string
type CreateTagsRequest_Value ¶
type CreateTagsRequest_Value struct { // The Module to create the Tag under. ModuleRef *ModuleRef `protobuf:"bytes,1,opt,name=module_ref,json=moduleRef,proto3" json:"module_ref,omitempty"` // The Tag name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The id of the Commit associated with the Tag. CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // contains filtered or unexported fields }
An individual request to create a Tag.
func (*CreateTagsRequest_Value) Descriptor
deprecated
func (*CreateTagsRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagsRequest_Value.ProtoReflect.Descriptor instead.
func (*CreateTagsRequest_Value) GetCommitId ¶
func (x *CreateTagsRequest_Value) GetCommitId() string
func (*CreateTagsRequest_Value) GetModuleRef ¶
func (x *CreateTagsRequest_Value) GetModuleRef() *ModuleRef
func (*CreateTagsRequest_Value) GetName ¶
func (x *CreateTagsRequest_Value) GetName() string
func (*CreateTagsRequest_Value) ProtoMessage ¶
func (*CreateTagsRequest_Value) ProtoMessage()
func (*CreateTagsRequest_Value) ProtoReflect ¶
func (x *CreateTagsRequest_Value) ProtoReflect() protoreflect.Message
func (*CreateTagsRequest_Value) Reset ¶
func (x *CreateTagsRequest_Value) Reset()
func (*CreateTagsRequest_Value) String ¶
func (x *CreateTagsRequest_Value) String() string
type CreateTagsResponse ¶
type CreateTagsResponse struct { // The created Tags in the same order as given on the request. Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*CreateTagsResponse) Descriptor
deprecated
func (*CreateTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagsResponse.ProtoReflect.Descriptor instead.
func (*CreateTagsResponse) GetTags ¶
func (x *CreateTagsResponse) GetTags() []*Tag
func (*CreateTagsResponse) ProtoMessage ¶
func (*CreateTagsResponse) ProtoMessage()
func (*CreateTagsResponse) ProtoReflect ¶
func (x *CreateTagsResponse) ProtoReflect() protoreflect.Message
func (*CreateTagsResponse) Reset ¶
func (x *CreateTagsResponse) Reset()
func (*CreateTagsResponse) String ¶
func (x *CreateTagsResponse) String() string
type DeleteModulesRequest ¶
type DeleteModulesRequest struct { // The Modules to delete. ModuleRefs []*ModuleRef `protobuf:"bytes,1,rep,name=module_refs,json=moduleRefs,proto3" json:"module_refs,omitempty"` // contains filtered or unexported fields }
func (*DeleteModulesRequest) Descriptor
deprecated
func (*DeleteModulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModulesRequest.ProtoReflect.Descriptor instead.
func (*DeleteModulesRequest) GetModuleRefs ¶
func (x *DeleteModulesRequest) GetModuleRefs() []*ModuleRef
func (*DeleteModulesRequest) ProtoMessage ¶
func (*DeleteModulesRequest) ProtoMessage()
func (*DeleteModulesRequest) ProtoReflect ¶
func (x *DeleteModulesRequest) ProtoReflect() protoreflect.Message
func (*DeleteModulesRequest) Reset ¶
func (x *DeleteModulesRequest) Reset()
func (*DeleteModulesRequest) String ¶
func (x *DeleteModulesRequest) String() string
type DeleteModulesResponse ¶
type DeleteModulesResponse struct {
// contains filtered or unexported fields
}
func (*DeleteModulesResponse) Descriptor
deprecated
func (*DeleteModulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModulesResponse.ProtoReflect.Descriptor instead.
func (*DeleteModulesResponse) ProtoMessage ¶
func (*DeleteModulesResponse) ProtoMessage()
func (*DeleteModulesResponse) ProtoReflect ¶
func (x *DeleteModulesResponse) ProtoReflect() protoreflect.Message
func (*DeleteModulesResponse) Reset ¶
func (x *DeleteModulesResponse) Reset()
func (*DeleteModulesResponse) String ¶
func (x *DeleteModulesResponse) String() string
type DeleteTagsRequest ¶
type DeleteTagsRequest struct { // The Tags to delete. TagRefs []*TagRef `protobuf:"bytes,1,rep,name=tag_refs,json=tagRefs,proto3" json:"tag_refs,omitempty"` // contains filtered or unexported fields }
func (*DeleteTagsRequest) Descriptor
deprecated
func (*DeleteTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagsRequest.ProtoReflect.Descriptor instead.
func (*DeleteTagsRequest) GetTagRefs ¶
func (x *DeleteTagsRequest) GetTagRefs() []*TagRef
func (*DeleteTagsRequest) ProtoMessage ¶
func (*DeleteTagsRequest) ProtoMessage()
func (*DeleteTagsRequest) ProtoReflect ¶
func (x *DeleteTagsRequest) ProtoReflect() protoreflect.Message
func (*DeleteTagsRequest) Reset ¶
func (x *DeleteTagsRequest) Reset()
func (*DeleteTagsRequest) String ¶
func (x *DeleteTagsRequest) String() string
type DeleteTagsResponse ¶
type DeleteTagsResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTagsResponse) Descriptor
deprecated
func (*DeleteTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagsResponse.ProtoReflect.Descriptor instead.
func (*DeleteTagsResponse) ProtoMessage ¶
func (*DeleteTagsResponse) ProtoMessage()
func (*DeleteTagsResponse) ProtoReflect ¶
func (x *DeleteTagsResponse) ProtoReflect() protoreflect.Message
func (*DeleteTagsResponse) Reset ¶
func (x *DeleteTagsResponse) Reset()
func (*DeleteTagsResponse) String ¶
func (x *DeleteTagsResponse) String() string
type GetBlobsRequest ¶
type GetBlobsRequest struct { Values []*GetBlobsRequest_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*GetBlobsRequest) Descriptor
deprecated
func (*GetBlobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlobsRequest.ProtoReflect.Descriptor instead.
func (*GetBlobsRequest) GetValues ¶
func (x *GetBlobsRequest) GetValues() []*GetBlobsRequest_Value
func (*GetBlobsRequest) ProtoMessage ¶
func (*GetBlobsRequest) ProtoMessage()
func (*GetBlobsRequest) ProtoReflect ¶
func (x *GetBlobsRequest) ProtoReflect() protoreflect.Message
func (*GetBlobsRequest) Reset ¶
func (x *GetBlobsRequest) Reset()
func (*GetBlobsRequest) String ¶
func (x *GetBlobsRequest) String() string
type GetBlobsRequest_Value ¶
type GetBlobsRequest_Value struct { // The reference to the Module that the Blobs belong to. ModuleRef *ModuleRef `protobuf:"bytes,1,opt,name=module_ref,json=moduleRef,proto3" json:"module_ref,omitempty"` // The Digests to retrieve Blobs for. BlobDigests []*v1beta1.Digest `protobuf:"bytes,2,rep,name=blob_digests,json=blobDigests,proto3" json:"blob_digests,omitempty"` // contains filtered or unexported fields }
A set of blog Digests associated with a Module.
func (*GetBlobsRequest_Value) Descriptor
deprecated
func (*GetBlobsRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use GetBlobsRequest_Value.ProtoReflect.Descriptor instead.
func (*GetBlobsRequest_Value) GetBlobDigests ¶
func (x *GetBlobsRequest_Value) GetBlobDigests() []*v1beta1.Digest
func (*GetBlobsRequest_Value) GetModuleRef ¶
func (x *GetBlobsRequest_Value) GetModuleRef() *ModuleRef
func (*GetBlobsRequest_Value) ProtoMessage ¶
func (*GetBlobsRequest_Value) ProtoMessage()
func (*GetBlobsRequest_Value) ProtoReflect ¶
func (x *GetBlobsRequest_Value) ProtoReflect() protoreflect.Message
func (*GetBlobsRequest_Value) Reset ¶
func (x *GetBlobsRequest_Value) Reset()
func (*GetBlobsRequest_Value) String ¶
func (x *GetBlobsRequest_Value) String() string
type GetBlobsResponse ¶
type GetBlobsResponse struct { Values []*GetBlobsResponse_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*GetBlobsResponse) Descriptor
deprecated
func (*GetBlobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlobsResponse.ProtoReflect.Descriptor instead.
func (*GetBlobsResponse) GetValues ¶
func (x *GetBlobsResponse) GetValues() []*GetBlobsResponse_Value
func (*GetBlobsResponse) ProtoMessage ¶
func (*GetBlobsResponse) ProtoMessage()
func (*GetBlobsResponse) ProtoReflect ¶
func (x *GetBlobsResponse) ProtoReflect() protoreflect.Message
func (*GetBlobsResponse) Reset ¶
func (x *GetBlobsResponse) Reset()
func (*GetBlobsResponse) String ¶
func (x *GetBlobsResponse) String() string
type GetBlobsResponse_Value ¶
type GetBlobsResponse_Value struct { // The Module that associated with the Blobs. Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // The retrieved Blobs. Blobs []*v1beta1.Blob `protobuf:"bytes,2,rep,name=blobs,proto3" json:"blobs,omitempty"` // contains filtered or unexported fields }
A set of missing blob Digests associated with a Module.
func (*GetBlobsResponse_Value) Descriptor
deprecated
func (*GetBlobsResponse_Value) Descriptor() ([]byte, []int)
Deprecated: Use GetBlobsResponse_Value.ProtoReflect.Descriptor instead.
func (*GetBlobsResponse_Value) GetBlobs ¶
func (x *GetBlobsResponse_Value) GetBlobs() []*v1beta1.Blob
func (*GetBlobsResponse_Value) GetModule ¶
func (x *GetBlobsResponse_Value) GetModule() *Module
func (*GetBlobsResponse_Value) ProtoMessage ¶
func (*GetBlobsResponse_Value) ProtoMessage()
func (*GetBlobsResponse_Value) ProtoReflect ¶
func (x *GetBlobsResponse_Value) ProtoReflect() protoreflect.Message
func (*GetBlobsResponse_Value) Reset ¶
func (x *GetBlobsResponse_Value) Reset()
func (*GetBlobsResponse_Value) String ¶
func (x *GetBlobsResponse_Value) String() string
type GetBranchesRequest ¶
type GetBranchesRequest struct { // The Branches to request. BranchRefs []*BranchRef `protobuf:"bytes,1,rep,name=branch_refs,json=branchRefs,proto3" json:"branch_refs,omitempty"` // contains filtered or unexported fields }
func (*GetBranchesRequest) Descriptor
deprecated
func (*GetBranchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBranchesRequest.ProtoReflect.Descriptor instead.
func (*GetBranchesRequest) GetBranchRefs ¶
func (x *GetBranchesRequest) GetBranchRefs() []*BranchRef
func (*GetBranchesRequest) ProtoMessage ¶
func (*GetBranchesRequest) ProtoMessage()
func (*GetBranchesRequest) ProtoReflect ¶
func (x *GetBranchesRequest) ProtoReflect() protoreflect.Message
func (*GetBranchesRequest) Reset ¶
func (x *GetBranchesRequest) Reset()
func (*GetBranchesRequest) String ¶
func (x *GetBranchesRequest) String() string
type GetBranchesResponse ¶
type GetBranchesResponse struct { // The retreived Branches in the same order as requested. Branches []*Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` // contains filtered or unexported fields }
func (*GetBranchesResponse) Descriptor
deprecated
func (*GetBranchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBranchesResponse.ProtoReflect.Descriptor instead.
func (*GetBranchesResponse) GetBranches ¶
func (x *GetBranchesResponse) GetBranches() []*Branch
func (*GetBranchesResponse) ProtoMessage ¶
func (*GetBranchesResponse) ProtoMessage()
func (*GetBranchesResponse) ProtoReflect ¶
func (x *GetBranchesResponse) ProtoReflect() protoreflect.Message
func (*GetBranchesResponse) Reset ¶
func (x *GetBranchesResponse) Reset()
func (*GetBranchesResponse) String ¶
func (x *GetBranchesResponse) String() string
type GetCommitNodesRequest ¶
type GetCommitNodesRequest struct { // The File sets to request. Values []*GetCommitNodesRequest_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*GetCommitNodesRequest) Descriptor
deprecated
func (*GetCommitNodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCommitNodesRequest.ProtoReflect.Descriptor instead.
func (*GetCommitNodesRequest) GetValues ¶
func (x *GetCommitNodesRequest) GetValues() []*GetCommitNodesRequest_Value
func (*GetCommitNodesRequest) ProtoMessage ¶
func (*GetCommitNodesRequest) ProtoMessage()
func (*GetCommitNodesRequest) ProtoReflect ¶
func (x *GetCommitNodesRequest) ProtoReflect() protoreflect.Message
func (*GetCommitNodesRequest) Reset ¶
func (x *GetCommitNodesRequest) Reset()
func (*GetCommitNodesRequest) String ¶
func (x *GetCommitNodesRequest) String() string
type GetCommitNodesRequest_Value ¶
type GetCommitNodesRequest_Value struct { // The reference to get nodes for. // // See the documentation on ResourceRef for resource resolution details. // // Once the resource is resolved, files are returned from the following Commit: // - If a Module is referenced, files are returned from the latest released Commit on the Module. // - If a Commit is referenced, files are returned from this Commit. // - If a Tag is referenced, files are returned from the Commit associated with the Tag. // - If a VCSCommit is referenced, files are returned from the Commit associated with the VCSCommit. // - Is a Branch is referenced, files are returned from the latest Commit on the Branch. // - If a Digest is referenced, files are returned from the latest released Commit that has this Digest. // Digests referencing unreleased Commits cannot be referenced. ResourceRef *ResourceRef `protobuf:"bytes,1,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"` // Specific file paths to retrieve. // // If empty, all file paths for the given reference are retrieved. // // The path must be relative, and connect contain any "." or ".." components // The separator "/" must be used. Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` // Whether to allow file paths not to exist within the given module. // // For example, one may want to retrieve the file paths "buf.md" and "README.md", // but only expect one to actually exist. // // If false, it is an error to specify non-existent file paths. AllowPathsNotExist bool `protobuf:"varint,3,opt,name=allow_paths_not_exist,json=allowPathsNotExist,proto3" json:"allow_paths_not_exist,omitempty"` // contains filtered or unexported fields }
An individual request for pointers to the content of a single Commit, Module, Branch, Tag, or VCSCommit.
func (*GetCommitNodesRequest_Value) Descriptor
deprecated
func (*GetCommitNodesRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use GetCommitNodesRequest_Value.ProtoReflect.Descriptor instead.
func (*GetCommitNodesRequest_Value) GetAllowPathsNotExist ¶
func (x *GetCommitNodesRequest_Value) GetAllowPathsNotExist() bool
func (*GetCommitNodesRequest_Value) GetPaths ¶
func (x *GetCommitNodesRequest_Value) GetPaths() []string
func (*GetCommitNodesRequest_Value) GetResourceRef ¶
func (x *GetCommitNodesRequest_Value) GetResourceRef() *ResourceRef
func (*GetCommitNodesRequest_Value) ProtoMessage ¶
func (*GetCommitNodesRequest_Value) ProtoMessage()
func (*GetCommitNodesRequest_Value) ProtoReflect ¶
func (x *GetCommitNodesRequest_Value) ProtoReflect() protoreflect.Message
func (*GetCommitNodesRequest_Value) Reset ¶
func (x *GetCommitNodesRequest_Value) Reset()
func (*GetCommitNodesRequest_Value) String ¶
func (x *GetCommitNodesRequest_Value) String() string
type GetCommitNodesResponse ¶
type GetCommitNodesResponse struct { // The returned CommitNodes in the same order as requested. CommitNodes []*GetCommitNodesResponse_CommitNode `protobuf:"bytes,1,rep,name=commit_nodes,json=commitNodes,proto3" json:"commit_nodes,omitempty"` // contains filtered or unexported fields }
func (*GetCommitNodesResponse) Descriptor
deprecated
func (*GetCommitNodesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCommitNodesResponse.ProtoReflect.Descriptor instead.
func (*GetCommitNodesResponse) GetCommitNodes ¶
func (x *GetCommitNodesResponse) GetCommitNodes() []*GetCommitNodesResponse_CommitNode
func (*GetCommitNodesResponse) ProtoMessage ¶
func (*GetCommitNodesResponse) ProtoMessage()
func (*GetCommitNodesResponse) ProtoReflect ¶
func (x *GetCommitNodesResponse) ProtoReflect() protoreflect.Message
func (*GetCommitNodesResponse) Reset ¶
func (x *GetCommitNodesResponse) Reset()
func (*GetCommitNodesResponse) String ¶
func (x *GetCommitNodesResponse) String() string
type GetCommitNodesResponse_CommitNode ¶
type GetCommitNodesResponse_CommitNode struct { // The Commit for the nodes referenced in this message. // // The Digest on the Commit will always match the Digest calculable by the FileNodes and the DepNodes. Commit *Commit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // The FileNodes for the files associated with this Commit. // // This will consist of the .proto files, license files, and documentation files. // Use GetBlobs to get the content of these files. FileNodes []*v1beta1.FileNode `protobuf:"bytes,2,rep,name=file_nodes,json=fileNodes,proto3" json:"file_nodes,omitempty"` // The Commits representing the dependencies of the Module at this commit. // // Use GetCommitNodes recursively to get the nodes for dependency commits. Deps []*Commit `protobuf:"bytes,3,rep,name=deps,proto3" json:"deps,omitempty"` // contains filtered or unexported fields }
A single Commit node and its associated FileNodes and dependencies.
func (*GetCommitNodesResponse_CommitNode) Descriptor
deprecated
func (*GetCommitNodesResponse_CommitNode) Descriptor() ([]byte, []int)
Deprecated: Use GetCommitNodesResponse_CommitNode.ProtoReflect.Descriptor instead.
func (*GetCommitNodesResponse_CommitNode) GetCommit ¶
func (x *GetCommitNodesResponse_CommitNode) GetCommit() *Commit
func (*GetCommitNodesResponse_CommitNode) GetDeps ¶
func (x *GetCommitNodesResponse_CommitNode) GetDeps() []*Commit
func (*GetCommitNodesResponse_CommitNode) GetFileNodes ¶
func (x *GetCommitNodesResponse_CommitNode) GetFileNodes() []*v1beta1.FileNode
func (*GetCommitNodesResponse_CommitNode) ProtoMessage ¶
func (*GetCommitNodesResponse_CommitNode) ProtoMessage()
func (*GetCommitNodesResponse_CommitNode) ProtoReflect ¶
func (x *GetCommitNodesResponse_CommitNode) ProtoReflect() protoreflect.Message
func (*GetCommitNodesResponse_CommitNode) Reset ¶
func (x *GetCommitNodesResponse_CommitNode) Reset()
func (*GetCommitNodesResponse_CommitNode) String ¶
func (x *GetCommitNodesResponse_CommitNode) String() string
type GetMissingBlobDigestsRequest ¶
type GetMissingBlobDigestsRequest struct { Values []*GetMissingBlobDigestsRequest_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*GetMissingBlobDigestsRequest) Descriptor
deprecated
func (*GetMissingBlobDigestsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMissingBlobDigestsRequest.ProtoReflect.Descriptor instead.
func (*GetMissingBlobDigestsRequest) GetValues ¶
func (x *GetMissingBlobDigestsRequest) GetValues() []*GetMissingBlobDigestsRequest_Value
func (*GetMissingBlobDigestsRequest) ProtoMessage ¶
func (*GetMissingBlobDigestsRequest) ProtoMessage()
func (*GetMissingBlobDigestsRequest) ProtoReflect ¶
func (x *GetMissingBlobDigestsRequest) ProtoReflect() protoreflect.Message
func (*GetMissingBlobDigestsRequest) Reset ¶
func (x *GetMissingBlobDigestsRequest) Reset()
func (*GetMissingBlobDigestsRequest) String ¶
func (x *GetMissingBlobDigestsRequest) String() string
type GetMissingBlobDigestsRequest_Value ¶
type GetMissingBlobDigestsRequest_Value struct { // The reference to the Module that the digests belong to. ModuleRef *ModuleRef `protobuf:"bytes,1,opt,name=module_ref,json=moduleRef,proto3" json:"module_ref,omitempty"` // The Digests to see if we have Blobs for. BlobDigests []*v1beta1.Digest `protobuf:"bytes,2,rep,name=blob_digests,json=blobDigests,proto3" json:"blob_digests,omitempty"` // contains filtered or unexported fields }
A set of blob Digests associated with a Module.
func (*GetMissingBlobDigestsRequest_Value) Descriptor
deprecated
func (*GetMissingBlobDigestsRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use GetMissingBlobDigestsRequest_Value.ProtoReflect.Descriptor instead.
func (*GetMissingBlobDigestsRequest_Value) GetBlobDigests ¶
func (x *GetMissingBlobDigestsRequest_Value) GetBlobDigests() []*v1beta1.Digest
func (*GetMissingBlobDigestsRequest_Value) GetModuleRef ¶
func (x *GetMissingBlobDigestsRequest_Value) GetModuleRef() *ModuleRef
func (*GetMissingBlobDigestsRequest_Value) ProtoMessage ¶
func (*GetMissingBlobDigestsRequest_Value) ProtoMessage()
func (*GetMissingBlobDigestsRequest_Value) ProtoReflect ¶
func (x *GetMissingBlobDigestsRequest_Value) ProtoReflect() protoreflect.Message
func (*GetMissingBlobDigestsRequest_Value) Reset ¶
func (x *GetMissingBlobDigestsRequest_Value) Reset()
func (*GetMissingBlobDigestsRequest_Value) String ¶
func (x *GetMissingBlobDigestsRequest_Value) String() string
type GetMissingBlobDigestsResponse ¶
type GetMissingBlobDigestsResponse struct { // The digests that are missing. Values []*GetMissingBlobDigestsResponse_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*GetMissingBlobDigestsResponse) Descriptor
deprecated
func (*GetMissingBlobDigestsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMissingBlobDigestsResponse.ProtoReflect.Descriptor instead.
func (*GetMissingBlobDigestsResponse) GetValues ¶
func (x *GetMissingBlobDigestsResponse) GetValues() []*GetMissingBlobDigestsResponse_Value
func (*GetMissingBlobDigestsResponse) ProtoMessage ¶
func (*GetMissingBlobDigestsResponse) ProtoMessage()
func (*GetMissingBlobDigestsResponse) ProtoReflect ¶
func (x *GetMissingBlobDigestsResponse) ProtoReflect() protoreflect.Message
func (*GetMissingBlobDigestsResponse) Reset ¶
func (x *GetMissingBlobDigestsResponse) Reset()
func (*GetMissingBlobDigestsResponse) String ¶
func (x *GetMissingBlobDigestsResponse) String() string
type GetMissingBlobDigestsResponse_Value ¶
type GetMissingBlobDigestsResponse_Value struct { // The Module that the missing digests are for. Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // The digests that are missing. MissingBlobDigests []*v1beta1.Digest `protobuf:"bytes,2,rep,name=missing_blob_digests,json=missingBlobDigests,proto3" json:"missing_blob_digests,omitempty"` // contains filtered or unexported fields }
A set of missing blob Digests associated with a Module.
func (*GetMissingBlobDigestsResponse_Value) Descriptor
deprecated
func (*GetMissingBlobDigestsResponse_Value) Descriptor() ([]byte, []int)
Deprecated: Use GetMissingBlobDigestsResponse_Value.ProtoReflect.Descriptor instead.
func (*GetMissingBlobDigestsResponse_Value) GetMissingBlobDigests ¶
func (x *GetMissingBlobDigestsResponse_Value) GetMissingBlobDigests() []*v1beta1.Digest
func (*GetMissingBlobDigestsResponse_Value) GetModule ¶
func (x *GetMissingBlobDigestsResponse_Value) GetModule() *Module
func (*GetMissingBlobDigestsResponse_Value) ProtoMessage ¶
func (*GetMissingBlobDigestsResponse_Value) ProtoMessage()
func (*GetMissingBlobDigestsResponse_Value) ProtoReflect ¶
func (x *GetMissingBlobDigestsResponse_Value) ProtoReflect() protoreflect.Message
func (*GetMissingBlobDigestsResponse_Value) Reset ¶
func (x *GetMissingBlobDigestsResponse_Value) Reset()
func (*GetMissingBlobDigestsResponse_Value) String ¶
func (x *GetMissingBlobDigestsResponse_Value) String() string
type GetModulesRequest ¶
type GetModulesRequest struct { // The Modules to request. ModuleRefs []*ModuleRef `protobuf:"bytes,1,rep,name=module_refs,json=moduleRefs,proto3" json:"module_refs,omitempty"` // contains filtered or unexported fields }
func (*GetModulesRequest) Descriptor
deprecated
func (*GetModulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModulesRequest.ProtoReflect.Descriptor instead.
func (*GetModulesRequest) GetModuleRefs ¶
func (x *GetModulesRequest) GetModuleRefs() []*ModuleRef
func (*GetModulesRequest) ProtoMessage ¶
func (*GetModulesRequest) ProtoMessage()
func (*GetModulesRequest) ProtoReflect ¶
func (x *GetModulesRequest) ProtoReflect() protoreflect.Message
func (*GetModulesRequest) Reset ¶
func (x *GetModulesRequest) Reset()
func (*GetModulesRequest) String ¶
func (x *GetModulesRequest) String() string
type GetModulesResponse ¶
type GetModulesResponse struct { // The retrieved Modules in the same order as requested. Modules []*Module `protobuf:"bytes,1,rep,name=modules,proto3" json:"modules,omitempty"` // contains filtered or unexported fields }
func (*GetModulesResponse) Descriptor
deprecated
func (*GetModulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModulesResponse.ProtoReflect.Descriptor instead.
func (*GetModulesResponse) GetModules ¶
func (x *GetModulesResponse) GetModules() []*Module
func (*GetModulesResponse) ProtoMessage ¶
func (*GetModulesResponse) ProtoMessage()
func (*GetModulesResponse) ProtoReflect ¶
func (x *GetModulesResponse) ProtoReflect() protoreflect.Message
func (*GetModulesResponse) Reset ¶
func (x *GetModulesResponse) Reset()
func (*GetModulesResponse) String ¶
func (x *GetModulesResponse) String() string
type GetReleaseBranchesRequest ¶
type GetReleaseBranchesRequest struct { // The Modules to request the release Branches for. ModuleRefs []*ModuleRef `protobuf:"bytes,1,rep,name=module_refs,json=moduleRefs,proto3" json:"module_refs,omitempty"` // contains filtered or unexported fields }
func (*GetReleaseBranchesRequest) Descriptor
deprecated
func (*GetReleaseBranchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReleaseBranchesRequest.ProtoReflect.Descriptor instead.
func (*GetReleaseBranchesRequest) GetModuleRefs ¶
func (x *GetReleaseBranchesRequest) GetModuleRefs() []*ModuleRef
func (*GetReleaseBranchesRequest) ProtoMessage ¶
func (*GetReleaseBranchesRequest) ProtoMessage()
func (*GetReleaseBranchesRequest) ProtoReflect ¶
func (x *GetReleaseBranchesRequest) ProtoReflect() protoreflect.Message
func (*GetReleaseBranchesRequest) Reset ¶
func (x *GetReleaseBranchesRequest) Reset()
func (*GetReleaseBranchesRequest) String ¶
func (x *GetReleaseBranchesRequest) String() string
type GetReleaseBranchesResponse ¶
type GetReleaseBranchesResponse struct { // The retrieved release Branches in the same order as requested. Branches []*Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` // contains filtered or unexported fields }
func (*GetReleaseBranchesResponse) Descriptor
deprecated
func (*GetReleaseBranchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetReleaseBranchesResponse.ProtoReflect.Descriptor instead.
func (*GetReleaseBranchesResponse) GetBranches ¶
func (x *GetReleaseBranchesResponse) GetBranches() []*Branch
func (*GetReleaseBranchesResponse) ProtoMessage ¶
func (*GetReleaseBranchesResponse) ProtoMessage()
func (*GetReleaseBranchesResponse) ProtoReflect ¶
func (x *GetReleaseBranchesResponse) ProtoReflect() protoreflect.Message
func (*GetReleaseBranchesResponse) Reset ¶
func (x *GetReleaseBranchesResponse) Reset()
func (*GetReleaseBranchesResponse) String ¶
func (x *GetReleaseBranchesResponse) String() string
type GetTagsRequest ¶
type GetTagsRequest struct { // The Tags to request. TagRefs []*TagRef `protobuf:"bytes,1,rep,name=tag_refs,json=tagRefs,proto3" json:"tag_refs,omitempty"` // contains filtered or unexported fields }
func (*GetTagsRequest) Descriptor
deprecated
func (*GetTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagsRequest.ProtoReflect.Descriptor instead.
func (*GetTagsRequest) GetTagRefs ¶
func (x *GetTagsRequest) GetTagRefs() []*TagRef
func (*GetTagsRequest) ProtoMessage ¶
func (*GetTagsRequest) ProtoMessage()
func (*GetTagsRequest) ProtoReflect ¶
func (x *GetTagsRequest) ProtoReflect() protoreflect.Message
func (*GetTagsRequest) Reset ¶
func (x *GetTagsRequest) Reset()
func (*GetTagsRequest) String ¶
func (x *GetTagsRequest) String() string
type GetTagsResponse ¶
type GetTagsResponse struct { // The retrieved Tags in the same order as requested. Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*GetTagsResponse) Descriptor
deprecated
func (*GetTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTagsResponse.ProtoReflect.Descriptor instead.
func (*GetTagsResponse) GetTags ¶
func (x *GetTagsResponse) GetTags() []*Tag
func (*GetTagsResponse) ProtoMessage ¶
func (*GetTagsResponse) ProtoMessage()
func (*GetTagsResponse) ProtoReflect ¶
func (x *GetTagsResponse) ProtoReflect() protoreflect.Message
func (*GetTagsResponse) Reset ¶
func (x *GetTagsResponse) Reset()
func (*GetTagsResponse) String ¶
func (x *GetTagsResponse) String() string
type GetVCSCommitsRequest ¶
type GetVCSCommitsRequest struct { // The VCSCommits to request. VcsCommitRefs []*VCSCommitRef `protobuf:"bytes,1,rep,name=vcs_commit_refs,json=vcsCommitRefs,proto3" json:"vcs_commit_refs,omitempty"` // contains filtered or unexported fields }
func (*GetVCSCommitsRequest) Descriptor
deprecated
func (*GetVCSCommitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVCSCommitsRequest.ProtoReflect.Descriptor instead.
func (*GetVCSCommitsRequest) GetVcsCommitRefs ¶
func (x *GetVCSCommitsRequest) GetVcsCommitRefs() []*VCSCommitRef
func (*GetVCSCommitsRequest) ProtoMessage ¶
func (*GetVCSCommitsRequest) ProtoMessage()
func (*GetVCSCommitsRequest) ProtoReflect ¶
func (x *GetVCSCommitsRequest) ProtoReflect() protoreflect.Message
func (*GetVCSCommitsRequest) Reset ¶
func (x *GetVCSCommitsRequest) Reset()
func (*GetVCSCommitsRequest) String ¶
func (x *GetVCSCommitsRequest) String() string
type GetVCSCommitsResponse ¶
type GetVCSCommitsResponse struct { // The retrieved VCSCommits in the same order as requested. VcsCommits []*VCSCommit `protobuf:"bytes,1,rep,name=vcs_commits,json=vcsCommits,proto3" json:"vcs_commits,omitempty"` // contains filtered or unexported fields }
func (*GetVCSCommitsResponse) Descriptor
deprecated
func (*GetVCSCommitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVCSCommitsResponse.ProtoReflect.Descriptor instead.
func (*GetVCSCommitsResponse) GetVcsCommits ¶
func (x *GetVCSCommitsResponse) GetVcsCommits() []*VCSCommit
func (*GetVCSCommitsResponse) ProtoMessage ¶
func (*GetVCSCommitsResponse) ProtoMessage()
func (*GetVCSCommitsResponse) ProtoReflect ¶
func (x *GetVCSCommitsResponse) ProtoReflect() protoreflect.Message
func (*GetVCSCommitsResponse) Reset ¶
func (x *GetVCSCommitsResponse) Reset()
func (*GetVCSCommitsResponse) String ¶
func (x *GetVCSCommitsResponse) String() string
type ListBranchesRequest ¶
type ListBranchesRequest struct { // The maximum number of items to return. // // The default value is 10. PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page to start from. // // If empty, the first page is returned, PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The reference to list Branches for. // // See the documentation on Ref for resource resolution details. // // Once the resource is resolved, the following Branches are listed: // - If a Module is referenced, all Branches for the Module are returned. // - If a Commit is referenced, all Branches that contain the Commit are returned. // - If a Tag is referenced, all Branches that contain the Tag are returned. // - If a VCSCommit is referenced, all Branches that contain the VCSCommit are returned. // - Is a Branch is referenced, this Branch is returned. // - If a Digest is referenced, all Branches that contain a Commit with this Digest are returned. ResourceRef *ResourceRef `protobuf:"bytes,3,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"` // contains filtered or unexported fields }
func (*ListBranchesRequest) Descriptor
deprecated
func (*ListBranchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBranchesRequest.ProtoReflect.Descriptor instead.
func (*ListBranchesRequest) GetPageSize ¶
func (x *ListBranchesRequest) GetPageSize() uint32
func (*ListBranchesRequest) GetPageToken ¶
func (x *ListBranchesRequest) GetPageToken() string
func (*ListBranchesRequest) GetResourceRef ¶
func (x *ListBranchesRequest) GetResourceRef() *ResourceRef
func (*ListBranchesRequest) ProtoMessage ¶
func (*ListBranchesRequest) ProtoMessage()
func (*ListBranchesRequest) ProtoReflect ¶
func (x *ListBranchesRequest) ProtoReflect() protoreflect.Message
func (*ListBranchesRequest) Reset ¶
func (x *ListBranchesRequest) Reset()
func (*ListBranchesRequest) String ¶
func (x *ListBranchesRequest) String() string
type ListBranchesResponse ¶
type ListBranchesResponse struct { // The next page token. // // / If empty, there are no more pages. NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The listed Branches. Branches []*Branch `protobuf:"bytes,2,rep,name=branches,proto3" json:"branches,omitempty"` // contains filtered or unexported fields }
func (*ListBranchesResponse) Descriptor
deprecated
func (*ListBranchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBranchesResponse.ProtoReflect.Descriptor instead.
func (*ListBranchesResponse) GetBranches ¶
func (x *ListBranchesResponse) GetBranches() []*Branch
func (*ListBranchesResponse) GetNextPageToken ¶
func (x *ListBranchesResponse) GetNextPageToken() string
func (*ListBranchesResponse) ProtoMessage ¶
func (*ListBranchesResponse) ProtoMessage()
func (*ListBranchesResponse) ProtoReflect ¶
func (x *ListBranchesResponse) ProtoReflect() protoreflect.Message
func (*ListBranchesResponse) Reset ¶
func (x *ListBranchesResponse) Reset()
func (*ListBranchesResponse) String ¶
func (x *ListBranchesResponse) String() string
type ListCommitHistoryRequest ¶
type ListCommitHistoryRequest struct { // The maximum number of items to return. // // The default value is 10. PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page to start from. // // If empty, the first page is returned. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The reference to get the history for. // // See the documentation on ResourceRef for resource resolution details. // // Once the resource is resolved, history is started from the following Commit: // - If a Module is referenced, history is started at the latest released Commit on the Module. // - If a Commit is referenced, history is started at this Commit. // - If a Tag is referenced, history is started at the Commit associated with the Tag. // - If a VCSCommit is referenced, history is started at the Commit associated with the VCSCommit. // - Is a Branch is referenced, history is started at the latest Commit on the Branch. // - If a Digest is referenced, history is started at the latest released Commit that has this Digest. // Digests referencing unreleased Commits cannot be referenced. ResourceRef *ResourceRef `protobuf:"bytes,3,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"` // Only return Commits that have one or more associated Tags. HasTag bool `protobuf:"varint,4,opt,name=has_tag,json=hasTag,proto3" json:"has_tag,omitempty"` // Only return Commits that have one or more associated VCSCommits. HasVcsCommit bool `protobuf:"varint,5,opt,name=has_vcs_commit,json=hasVcsCommit,proto3" json:"has_vcs_commit,omitempty"` // contains filtered or unexported fields }
func (*ListCommitHistoryRequest) Descriptor
deprecated
func (*ListCommitHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCommitHistoryRequest.ProtoReflect.Descriptor instead.
func (*ListCommitHistoryRequest) GetHasTag ¶
func (x *ListCommitHistoryRequest) GetHasTag() bool
func (*ListCommitHistoryRequest) GetHasVcsCommit ¶
func (x *ListCommitHistoryRequest) GetHasVcsCommit() bool
func (*ListCommitHistoryRequest) GetPageSize ¶
func (x *ListCommitHistoryRequest) GetPageSize() uint32
func (*ListCommitHistoryRequest) GetPageToken ¶
func (x *ListCommitHistoryRequest) GetPageToken() string
func (*ListCommitHistoryRequest) GetResourceRef ¶
func (x *ListCommitHistoryRequest) GetResourceRef() *ResourceRef
func (*ListCommitHistoryRequest) ProtoMessage ¶
func (*ListCommitHistoryRequest) ProtoMessage()
func (*ListCommitHistoryRequest) ProtoReflect ¶
func (x *ListCommitHistoryRequest) ProtoReflect() protoreflect.Message
func (*ListCommitHistoryRequest) Reset ¶
func (x *ListCommitHistoryRequest) Reset()
func (*ListCommitHistoryRequest) String ¶
func (x *ListCommitHistoryRequest) String() string
type ListCommitHistoryResponse ¶
type ListCommitHistoryResponse struct { // The next page token. // // / If empty, there are no more pages. NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The listed Commits. Commits []*Commit `protobuf:"bytes,2,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
func (*ListCommitHistoryResponse) Descriptor
deprecated
func (*ListCommitHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCommitHistoryResponse.ProtoReflect.Descriptor instead.
func (*ListCommitHistoryResponse) GetCommits ¶
func (x *ListCommitHistoryResponse) GetCommits() []*Commit
func (*ListCommitHistoryResponse) GetNextPageToken ¶
func (x *ListCommitHistoryResponse) GetNextPageToken() string
func (*ListCommitHistoryResponse) ProtoMessage ¶
func (*ListCommitHistoryResponse) ProtoMessage()
func (*ListCommitHistoryResponse) ProtoReflect ¶
func (x *ListCommitHistoryResponse) ProtoReflect() protoreflect.Message
func (*ListCommitHistoryResponse) Reset ¶
func (x *ListCommitHistoryResponse) Reset()
func (*ListCommitHistoryResponse) String ¶
func (x *ListCommitHistoryResponse) String() string
type ListModulesRequest ¶
type ListModulesRequest struct { // The maximum number of items to return. // // The default value is 10. PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page to start from. // // If empty, the first page is returned, PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The specific Users or Organizations to list Modules for. // // If empty, all Modules for all owners are listed, but this functionality // is limited to Users with the necessary permissions. OwnerRefs []*v1beta1.OwnerRef `protobuf:"bytes,3,rep,name=owner_refs,json=ownerRefs,proto3" json:"owner_refs,omitempty"` // contains filtered or unexported fields }
func (*ListModulesRequest) Descriptor
deprecated
func (*ListModulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModulesRequest.ProtoReflect.Descriptor instead.
func (*ListModulesRequest) GetOwnerRefs ¶
func (x *ListModulesRequest) GetOwnerRefs() []*v1beta1.OwnerRef
func (*ListModulesRequest) GetPageSize ¶
func (x *ListModulesRequest) GetPageSize() uint32
func (*ListModulesRequest) GetPageToken ¶
func (x *ListModulesRequest) GetPageToken() string
func (*ListModulesRequest) ProtoMessage ¶
func (*ListModulesRequest) ProtoMessage()
func (*ListModulesRequest) ProtoReflect ¶
func (x *ListModulesRequest) ProtoReflect() protoreflect.Message
func (*ListModulesRequest) Reset ¶
func (x *ListModulesRequest) Reset()
func (*ListModulesRequest) String ¶
func (x *ListModulesRequest) String() string
type ListModulesResponse ¶
type ListModulesResponse struct { // The next page token. // // / If empty, there are no more pages. NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The listed Modules. Modules []*Module `protobuf:"bytes,2,rep,name=modules,proto3" json:"modules,omitempty"` // contains filtered or unexported fields }
func (*ListModulesResponse) Descriptor
deprecated
func (*ListModulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListModulesResponse.ProtoReflect.Descriptor instead.
func (*ListModulesResponse) GetModules ¶
func (x *ListModulesResponse) GetModules() []*Module
func (*ListModulesResponse) GetNextPageToken ¶
func (x *ListModulesResponse) GetNextPageToken() string
func (*ListModulesResponse) ProtoMessage ¶
func (*ListModulesResponse) ProtoMessage()
func (*ListModulesResponse) ProtoReflect ¶
func (x *ListModulesResponse) ProtoReflect() protoreflect.Message
func (*ListModulesResponse) Reset ¶
func (x *ListModulesResponse) Reset()
func (*ListModulesResponse) String ¶
func (x *ListModulesResponse) String() string
type ListTagsRequest ¶
type ListTagsRequest struct { // The maximum number of items to return. // // The default value is 10. PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page to start from. // // If empty, the first page is returned, PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The reference to list Tags for. // // See the documentation on Ref for resource resolution details. // // Once the resource is resolved, the following Tags are listed: // - If a Module is referenced, all Tags for the Module are returned. // - If a Commit is referenced, all Tags for the Commit are returned. // - If a Tag is referenced, this Tag is returned. // - If a VCSCommit is referenced, all Tags for commits that the VCSCommit is associated with are returned. // - Is a Branch is referenced, all Tags for Commits on the Branch are returned. // - If a Digest is referenced, all Tags that contain a Commit with this Digest are returned. ResourceRef *ResourceRef `protobuf:"bytes,3,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"` // contains filtered or unexported fields }
func (*ListTagsRequest) Descriptor
deprecated
func (*ListTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
func (*ListTagsRequest) GetPageSize ¶
func (x *ListTagsRequest) GetPageSize() uint32
func (*ListTagsRequest) GetPageToken ¶
func (x *ListTagsRequest) GetPageToken() string
func (*ListTagsRequest) GetResourceRef ¶
func (x *ListTagsRequest) GetResourceRef() *ResourceRef
func (*ListTagsRequest) ProtoMessage ¶
func (*ListTagsRequest) ProtoMessage()
func (*ListTagsRequest) ProtoReflect ¶
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
func (*ListTagsRequest) Reset ¶
func (x *ListTagsRequest) Reset()
func (*ListTagsRequest) String ¶
func (x *ListTagsRequest) String() string
type ListTagsResponse ¶
type ListTagsResponse struct { // The next page token. // // / If empty, there are no more pages. NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The listed Tags. Tags []*Tag `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*ListTagsResponse) Descriptor
deprecated
func (*ListTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
func (*ListTagsResponse) GetNextPageToken ¶
func (x *ListTagsResponse) GetNextPageToken() string
func (*ListTagsResponse) GetTags ¶
func (x *ListTagsResponse) GetTags() []*Tag
func (*ListTagsResponse) ProtoMessage ¶
func (*ListTagsResponse) ProtoMessage()
func (*ListTagsResponse) ProtoReflect ¶
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
func (*ListTagsResponse) Reset ¶
func (x *ListTagsResponse) Reset()
func (*ListTagsResponse) String ¶
func (x *ListTagsResponse) String() string
type ListVCSCommitsRequest ¶
type ListVCSCommitsRequest struct { // The maximum number of items to return. // // The default value is 10. PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page to start from. // // If empty, the first page is returned, PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The reference to list VCSCommits for. // // See the documentation on Ref for resource resolution details. // // Once the resource is resolved, the following VCSCommits are listed: // - If a Module is referenced, all VCSCommits for the Module are returned. // - If a Commit is referenced, all VCSCommits for the Commit are returned. // - If a Tag is referenced, all VCSCommits for the Commit associated with the Tag are returned. // - If a VCSCommit is referenced, this VCSCommit is returned. // - Is a Branch is referenced, all VCSCommits associated with Commits on the Branch are returned. // - If a Digest is referenced, all VCSCommits associated with Commits with this Digest are returned. ResourceRef *ResourceRef `protobuf:"bytes,3,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"` // contains filtered or unexported fields }
func (*ListVCSCommitsRequest) Descriptor
deprecated
func (*ListVCSCommitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVCSCommitsRequest.ProtoReflect.Descriptor instead.
func (*ListVCSCommitsRequest) GetPageSize ¶
func (x *ListVCSCommitsRequest) GetPageSize() uint32
func (*ListVCSCommitsRequest) GetPageToken ¶
func (x *ListVCSCommitsRequest) GetPageToken() string
func (*ListVCSCommitsRequest) GetResourceRef ¶
func (x *ListVCSCommitsRequest) GetResourceRef() *ResourceRef
func (*ListVCSCommitsRequest) ProtoMessage ¶
func (*ListVCSCommitsRequest) ProtoMessage()
func (*ListVCSCommitsRequest) ProtoReflect ¶
func (x *ListVCSCommitsRequest) ProtoReflect() protoreflect.Message
func (*ListVCSCommitsRequest) Reset ¶
func (x *ListVCSCommitsRequest) Reset()
func (*ListVCSCommitsRequest) String ¶
func (x *ListVCSCommitsRequest) String() string
type ListVCSCommitsResponse ¶
type ListVCSCommitsResponse struct { // The next page token. // // / If empty, there are no more pages. NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // The listed VCSCommits. VcsCommits []*VCSCommit `protobuf:"bytes,2,rep,name=vcs_commits,json=vcsCommits,proto3" json:"vcs_commits,omitempty"` // contains filtered or unexported fields }
func (*ListVCSCommitsResponse) Descriptor
deprecated
func (*ListVCSCommitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVCSCommitsResponse.ProtoReflect.Descriptor instead.
func (*ListVCSCommitsResponse) GetNextPageToken ¶
func (x *ListVCSCommitsResponse) GetNextPageToken() string
func (*ListVCSCommitsResponse) GetVcsCommits ¶
func (x *ListVCSCommitsResponse) GetVcsCommits() []*VCSCommit
func (*ListVCSCommitsResponse) ProtoMessage ¶
func (*ListVCSCommitsResponse) ProtoMessage()
func (*ListVCSCommitsResponse) ProtoReflect ¶
func (x *ListVCSCommitsResponse) ProtoReflect() protoreflect.Message
func (*ListVCSCommitsResponse) Reset ¶
func (x *ListVCSCommitsResponse) Reset()
func (*ListVCSCommitsResponse) String ¶
func (x *ListVCSCommitsResponse) String() string
type Module ¶
type Module struct { // The id of the Module. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The time the Module was created on the BSR. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The last time the Module was updated on the BSR. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The name of the Module. // // Unique within a given User or Organization. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // The id of the User or Organization that owns the Module. OwnerId string `protobuf:"bytes,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // The Module's visibility, either public or private. Visibility ModuleVisibility `protobuf:"varint,6,opt,name=visibility,proto3,enum=buf.registry.module.v1beta1.ModuleVisibility" json:"visibility,omitempty"` // The Module state, either active or deprecated. State ModuleState `protobuf:"varint,7,opt,name=state,proto3,enum=buf.registry.module.v1beta1.ModuleState" json:"state,omitempty"` // The configurable description of the Module. Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` // The configurable URL in the description of the Module, Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"` // The id of the Branch which releases are generated from. ReleaseBranchId string `protobuf:"bytes,10,opt,name=release_branch_id,json=releaseBranchId,proto3" json:"release_branch_id,omitempty"` // contains filtered or unexported fields }
A module within the BSR.
func (*Module) GetCreateTime ¶
func (x *Module) GetCreateTime() *timestamppb.Timestamp
func (*Module) GetState ¶
func (x *Module) GetState() ModuleState
func (*Module) GetUpdateTime ¶
func (x *Module) GetUpdateTime() *timestamppb.Timestamp
func (*Module) GetVisibility ¶
func (x *Module) GetVisibility() ModuleVisibility
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
type ModuleRef ¶
type ModuleRef struct { // Types that are assignable to Value: // // *ModuleRef_Id // *ModuleRef_Name_ Value isModuleRef_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
ModuleRef is a reference to a Module, either an id or a fully-qualified name.
This is used in requests.
func (*ModuleRef) GetName ¶
func (x *ModuleRef) GetName() *ModuleRef_Name
func (*ModuleRef) ProtoReflect ¶
func (x *ModuleRef) ProtoReflect() protoreflect.Message
type ModuleRef_Id ¶
type ModuleRef_Id struct { // The id of the Module. Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"` }
type ModuleRef_Name ¶
type ModuleRef_Name struct { // The name of the owner of the Module, either a User or Organization. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The name of the Module. Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"` // contains filtered or unexported fields }
The fully-qualified name of a Module within a BSR instance.
A Name uniquely identifies a Module. This is used for requests when a caller only has the module name and not the ID.
func (*ModuleRef_Name) Descriptor
deprecated
func (*ModuleRef_Name) Descriptor() ([]byte, []int)
Deprecated: Use ModuleRef_Name.ProtoReflect.Descriptor instead.
func (*ModuleRef_Name) GetModule ¶
func (x *ModuleRef_Name) GetModule() string
func (*ModuleRef_Name) GetOwner ¶
func (x *ModuleRef_Name) GetOwner() string
func (*ModuleRef_Name) ProtoMessage ¶
func (*ModuleRef_Name) ProtoMessage()
func (*ModuleRef_Name) ProtoReflect ¶
func (x *ModuleRef_Name) ProtoReflect() protoreflect.Message
func (*ModuleRef_Name) Reset ¶
func (x *ModuleRef_Name) Reset()
func (*ModuleRef_Name) String ¶
func (x *ModuleRef_Name) String() string
type ModuleRef_Name_ ¶
type ModuleRef_Name_ struct { // The fully-qualified name of the Module. Name *ModuleRef_Name `protobuf:"bytes,2,opt,name=name,proto3,oneof"` }
type ModuleState ¶
type ModuleState int32
The state of a Module, currently either active or deprecated.
const ( ModuleState_MODULE_STATE_UNSPECIFIED ModuleState = 0 // MODULE_STATE_ACTIVE says that the Module is currently active. ModuleState_MODULE_STATE_ACTIVE ModuleState = 1 // MODULE_STATE_DEPRECATED says that the Module has been deprecated and should not longer be // used. ModuleState_MODULE_STATE_DEPRECATED ModuleState = 2 )
func (ModuleState) Descriptor ¶
func (ModuleState) Descriptor() protoreflect.EnumDescriptor
func (ModuleState) Enum ¶
func (x ModuleState) Enum() *ModuleState
func (ModuleState) EnumDescriptor
deprecated
func (ModuleState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ModuleState.Descriptor instead.
func (ModuleState) Number ¶
func (x ModuleState) Number() protoreflect.EnumNumber
func (ModuleState) String ¶
func (x ModuleState) String() string
func (ModuleState) Type ¶
func (ModuleState) Type() protoreflect.EnumType
type ModuleVisibility ¶
type ModuleVisibility int32
The visibility of a Module, currently either public or private.
const ( ModuleVisibility_MODULE_VISIBILITY_UNSPECIFIED ModuleVisibility = 0 // MODULE_VISIBILITY_PUBLIC says that the module is publicly availabile. ModuleVisibility_MODULE_VISIBILITY_PUBLIC ModuleVisibility = 1 // MODULE_VISIBILITY_PRIVATE says that the module is private. ModuleVisibility_MODULE_VISIBILITY_PRIVATE ModuleVisibility = 2 )
func (ModuleVisibility) Descriptor ¶
func (ModuleVisibility) Descriptor() protoreflect.EnumDescriptor
func (ModuleVisibility) Enum ¶
func (x ModuleVisibility) Enum() *ModuleVisibility
func (ModuleVisibility) EnumDescriptor
deprecated
func (ModuleVisibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use ModuleVisibility.Descriptor instead.
func (ModuleVisibility) Number ¶
func (x ModuleVisibility) Number() protoreflect.EnumNumber
func (ModuleVisibility) String ¶
func (x ModuleVisibility) String() string
func (ModuleVisibility) Type ¶
func (ModuleVisibility) Type() protoreflect.EnumType
type ResolveCommitsRequest ¶
type ResolveCommitsRequest struct { // References to request a Commit for. // // See the documentation on ResourceRef for resource resolution details. // // Once the resource is resolved, this reference is interpeted to refer to the following Commit: // - If a Module is referenced, this is interpreted to mean the latest released Commit on the Module. // - If a Commit is referenced, this just references that specific commit. // - If a Tag is referenced, this is interpreted to mean the Commit associated with the Tag. // - If a VCSCommit is referenced, this is interpreted to mean the Commit associated with the VCSCommit. // - Is a Branch is referenced, this is interpreted to mean the latest Commit on the Branch. // - If a Digest is referenced, this is interpreted to mean the latest released Commit that has this Digest. // Digests referencing unreleased Commits cannot be referenced. ResourceRefs []*ResourceRef `protobuf:"bytes,1,rep,name=resource_refs,json=resourceRefs,proto3" json:"resource_refs,omitempty"` // contains filtered or unexported fields }
func (*ResolveCommitsRequest) Descriptor
deprecated
func (*ResolveCommitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolveCommitsRequest.ProtoReflect.Descriptor instead.
func (*ResolveCommitsRequest) GetResourceRefs ¶
func (x *ResolveCommitsRequest) GetResourceRefs() []*ResourceRef
func (*ResolveCommitsRequest) ProtoMessage ¶
func (*ResolveCommitsRequest) ProtoMessage()
func (*ResolveCommitsRequest) ProtoReflect ¶
func (x *ResolveCommitsRequest) ProtoReflect() protoreflect.Message
func (*ResolveCommitsRequest) Reset ¶
func (x *ResolveCommitsRequest) Reset()
func (*ResolveCommitsRequest) String ¶
func (x *ResolveCommitsRequest) String() string
type ResolveCommitsResponse ¶
type ResolveCommitsResponse struct { // The found Commits in the same order as requested. Commits []*Commit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
func (*ResolveCommitsResponse) Descriptor
deprecated
func (*ResolveCommitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResolveCommitsResponse.ProtoReflect.Descriptor instead.
func (*ResolveCommitsResponse) GetCommits ¶
func (x *ResolveCommitsResponse) GetCommits() []*Commit
func (*ResolveCommitsResponse) ProtoMessage ¶
func (*ResolveCommitsResponse) ProtoMessage()
func (*ResolveCommitsResponse) ProtoReflect ¶
func (x *ResolveCommitsResponse) ProtoReflect() protoreflect.Message
func (*ResolveCommitsResponse) Reset ¶
func (x *ResolveCommitsResponse) Reset()
func (*ResolveCommitsResponse) String ¶
func (x *ResolveCommitsResponse) String() string
type ResourceRef ¶
type ResourceRef struct { // Types that are assignable to Value: // // *ResourceRef_Id // *ResourceRef_Name_ Value isResourceRef_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
A reference to any of these resources:
- Module
- Commit
- Tag
- Branch
- VCSCommit
The id or name is resolved to a specific resource. If an id is passed, this is interpreted as being the id of the resource. If a name is passed, the semantics according to ResourceRef.Name are applied.
ResourceRefs can only be used in requests, and only for read-only RPCs, that is you should not use an arbitrary reference when modifying a specific resource.
func (*ResourceRef) Descriptor
deprecated
func (*ResourceRef) Descriptor() ([]byte, []int)
Deprecated: Use ResourceRef.ProtoReflect.Descriptor instead.
func (*ResourceRef) GetId ¶
func (x *ResourceRef) GetId() string
func (*ResourceRef) GetName ¶
func (x *ResourceRef) GetName() *ResourceRef_Name
func (*ResourceRef) GetValue ¶
func (m *ResourceRef) GetValue() isResourceRef_Value
func (*ResourceRef) ProtoMessage ¶
func (*ResourceRef) ProtoMessage()
func (*ResourceRef) ProtoReflect ¶
func (x *ResourceRef) ProtoReflect() protoreflect.Message
func (*ResourceRef) Reset ¶
func (x *ResourceRef) Reset()
func (*ResourceRef) String ¶
func (x *ResourceRef) String() string
type ResourceRef_Id ¶
type ResourceRef_Id struct { // The id of the resource. Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"` }
type ResourceRef_Name ¶
type ResourceRef_Name struct { // The name of the User or Organization that owns the resource. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The name of the Module the contains or is the resource. Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"` // Types that are assignable to Child: // // *ResourceRef_Name_BranchName // *ResourceRef_Name_TagName // *ResourceRef_Name_VcsCommitHash // *ResourceRef_Name_Digest // *ResourceRef_Name_Ref Child isResourceRef_Name_Child `protobuf_oneof:"child"` // contains filtered or unexported fields }
The fully-qualified name component of a ResourceRef.
The following semantics are applied:
- If the child oneof is not specified, the name is interpreted to reference a Module.
- If branch_name is specified, the name is interpreted to reference a Branch.
- If tag_name is specified, the name is interpreted to reference a Tag.
- If vcs_commit_hash is specified, the name is interpreted to reference a VCSCommit.
- If digest is specified, the name is interpreted to reference a Commit with this Digest.
- If ref is specified, it is interpreted to be either an id or name.
- If an id, this is equivalent to setting the id field on ResourceRef. However, backends can choose to validate that the owner and module fields match the resource referenced, as additional validation.
- If a name, this is interpreted to be either a Branch name, Tag name, VCSCommit hash, or Digest string. A digest string is of the form "typeString:hexValue", where typeString is the lowercase of the Type value with TYPE_ stripped, and hexValue is the hex-encoded value of the digest.
- If there is a conflict between names across resources (for example, there is a Branch and Tag with the same name), the following order of precedence is applied:
- Commit
- VCSCommit
- Tag
- Branch
Names can only be used in requests, and only for read-only RPCs, that is you should not use an arbitrary reference when modifying a specific resource.
func (*ResourceRef_Name) Descriptor
deprecated
func (*ResourceRef_Name) Descriptor() ([]byte, []int)
Deprecated: Use ResourceRef_Name.ProtoReflect.Descriptor instead.
func (*ResourceRef_Name) GetBranchName ¶
func (x *ResourceRef_Name) GetBranchName() string
func (*ResourceRef_Name) GetChild ¶
func (m *ResourceRef_Name) GetChild() isResourceRef_Name_Child
func (*ResourceRef_Name) GetDigest ¶
func (x *ResourceRef_Name) GetDigest() *v1beta1.Digest
func (*ResourceRef_Name) GetModule ¶
func (x *ResourceRef_Name) GetModule() string
func (*ResourceRef_Name) GetOwner ¶
func (x *ResourceRef_Name) GetOwner() string
func (*ResourceRef_Name) GetRef ¶
func (x *ResourceRef_Name) GetRef() string
func (*ResourceRef_Name) GetTagName ¶
func (x *ResourceRef_Name) GetTagName() string
func (*ResourceRef_Name) GetVcsCommitHash ¶
func (x *ResourceRef_Name) GetVcsCommitHash() string
func (*ResourceRef_Name) ProtoMessage ¶
func (*ResourceRef_Name) ProtoMessage()
func (*ResourceRef_Name) ProtoReflect ¶
func (x *ResourceRef_Name) ProtoReflect() protoreflect.Message
func (*ResourceRef_Name) Reset ¶
func (x *ResourceRef_Name) Reset()
func (*ResourceRef_Name) String ¶
func (x *ResourceRef_Name) String() string
type ResourceRef_Name_ ¶
type ResourceRef_Name_ struct { // The fully-qualified name of the resource. Name *ResourceRef_Name `protobuf:"bytes,2,opt,name=name,proto3,oneof"` }
type ResourceRef_Name_BranchName ¶
type ResourceRef_Name_BranchName struct { // The name of the Branch. BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3,oneof"` }
type ResourceRef_Name_Digest ¶
type ResourceRef_Name_Ref ¶
type ResourceRef_Name_Ref struct { // The untyped reference, applying the semantics as documented on the Name message. // // If this value is present but empty, this should be treated as not present, that is // an empty value is the same as a null value. Ref string `protobuf:"bytes,7,opt,name=ref,proto3,oneof"` }
type ResourceRef_Name_TagName ¶
type ResourceRef_Name_TagName struct { // The name of the Tag. TagName string `protobuf:"bytes,4,opt,name=tag_name,json=tagName,proto3,oneof"` }
type ResourceRef_Name_VcsCommitHash ¶
type ResourceRef_Name_VcsCommitHash struct { // The hash of the VCSCommit. VcsCommitHash string `protobuf:"bytes,5,opt,name=vcs_commit_hash,json=vcsCommitHash,proto3,oneof"` }
type Tag ¶
type Tag struct { // The id of the Tag. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The time the Tag was created on the BSR. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The last time the Tag was updated on the BSR. // // Currently, Tags are immutable, but this may change in the near future. // TODO: is this true? UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The name of the Tag. // // Unique within a given Module. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // The id of the User or Organization that owns the Module that the Tag is associated with. OwnerId string `protobuf:"bytes,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // The id of the Module that the Tag is associated with. ModuleId string `protobuf:"bytes,6,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // The id of the Commit associated with the Tag. CommitId string `protobuf:"bytes,7,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // The Digest of the Commit associated with the Tag. CommitDigest *v1beta1.Digest `protobuf:"bytes,8,opt,name=commit_digest,json=commitDigest,proto3" json:"commit_digest,omitempty"` // The id of the User that last updated this Tag on the BSR. UpdatedByUserId string `protobuf:"bytes,9,opt,name=updated_by_user_id,json=updatedByUserId,proto3" json:"updated_by_user_id,omitempty"` // contains filtered or unexported fields }
A tag on a specific Module.
Many Tags can be associated with a single Commit.
func (*Tag) GetCreateTime ¶
func (x *Tag) GetCreateTime() *timestamppb.Timestamp
func (*Tag) GetUpdateTime ¶
func (x *Tag) GetUpdateTime() *timestamppb.Timestamp
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type TagRef ¶
type TagRef struct { // Types that are assignable to Value: // // *TagRef_Id // *TagRef_Name_ Value isTagRef_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
TagRef is a reference to a Tag, either an id or a fully-qualified name.
This is used in requests.
func (*TagRef) GetName ¶
func (x *TagRef) GetName() *TagRef_Name
func (*TagRef) ProtoReflect ¶
func (x *TagRef) ProtoReflect() protoreflect.Message
type TagRef_Id ¶
type TagRef_Id struct { // The id of the Tag. Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"` }
type TagRef_Name ¶
type TagRef_Name struct { // The name of the owner of the Module that contains the Tag, either a User or Organization. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The name of the Module that contains the Tag, either a User or Organization. Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"` // The Tag name. Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
The fully-qualified name of a Tag within a BSR instance.
A Name uniquely identifies a Tag. This is used for requests when a caller only has the tag name and not the ID.
func (*TagRef_Name) Descriptor
deprecated
func (*TagRef_Name) Descriptor() ([]byte, []int)
Deprecated: Use TagRef_Name.ProtoReflect.Descriptor instead.
func (*TagRef_Name) GetModule ¶
func (x *TagRef_Name) GetModule() string
func (*TagRef_Name) GetOwner ¶
func (x *TagRef_Name) GetOwner() string
func (*TagRef_Name) GetTag ¶
func (x *TagRef_Name) GetTag() string
func (*TagRef_Name) ProtoMessage ¶
func (*TagRef_Name) ProtoMessage()
func (*TagRef_Name) ProtoReflect ¶
func (x *TagRef_Name) ProtoReflect() protoreflect.Message
func (*TagRef_Name) Reset ¶
func (x *TagRef_Name) Reset()
func (*TagRef_Name) String ¶
func (x *TagRef_Name) String() string
type TagRef_Name_ ¶
type TagRef_Name_ struct { // The fully-qualified name of the Tag. Name *TagRef_Name `protobuf:"bytes,2,opt,name=name,proto3,oneof"` }
type UpdateModulesRequest ¶
type UpdateModulesRequest struct { // The Modules to update. Values []*UpdateModulesRequest_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*UpdateModulesRequest) Descriptor
deprecated
func (*UpdateModulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModulesRequest.ProtoReflect.Descriptor instead.
func (*UpdateModulesRequest) GetValues ¶
func (x *UpdateModulesRequest) GetValues() []*UpdateModulesRequest_Value
func (*UpdateModulesRequest) ProtoMessage ¶
func (*UpdateModulesRequest) ProtoMessage()
func (*UpdateModulesRequest) ProtoReflect ¶
func (x *UpdateModulesRequest) ProtoReflect() protoreflect.Message
func (*UpdateModulesRequest) Reset ¶
func (x *UpdateModulesRequest) Reset()
func (*UpdateModulesRequest) String ¶
func (x *UpdateModulesRequest) String() string
type UpdateModulesRequest_Value ¶
type UpdateModulesRequest_Value struct { // The Module to update. ModuleRef *ModuleRef `protobuf:"bytes,1,opt,name=module_ref,json=moduleRef,proto3" json:"module_ref,omitempty"` // The module's visibility. Visibility *ModuleVisibility `` /* 130-byte string literal not displayed */ // The deprecation status of the module. State *ModuleState `protobuf:"varint,4,opt,name=state,proto3,enum=buf.registry.module.v1beta1.ModuleState,oneof" json:"state,omitempty"` // The configurable description of the module. Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` // The configurable URL in the description of the module. Url *string `protobuf:"bytes,6,opt,name=url,proto3,oneof" json:"url,omitempty"` // Types that are assignable to ReleaseBranchRef: // // *UpdateModulesRequest_Value_ReleaseBranchId // *UpdateModulesRequest_Value_ReleaseBranchName ReleaseBranchRef isUpdateModulesRequest_Value_ReleaseBranchRef `protobuf_oneof:"release_branch_ref"` // contains filtered or unexported fields }
An individual request to update a Module.
func (*UpdateModulesRequest_Value) Descriptor
deprecated
func (*UpdateModulesRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModulesRequest_Value.ProtoReflect.Descriptor instead.
func (*UpdateModulesRequest_Value) GetDescription ¶
func (x *UpdateModulesRequest_Value) GetDescription() string
func (*UpdateModulesRequest_Value) GetModuleRef ¶
func (x *UpdateModulesRequest_Value) GetModuleRef() *ModuleRef
func (*UpdateModulesRequest_Value) GetReleaseBranchId ¶
func (x *UpdateModulesRequest_Value) GetReleaseBranchId() string
func (*UpdateModulesRequest_Value) GetReleaseBranchName ¶
func (x *UpdateModulesRequest_Value) GetReleaseBranchName() string
func (*UpdateModulesRequest_Value) GetReleaseBranchRef ¶
func (m *UpdateModulesRequest_Value) GetReleaseBranchRef() isUpdateModulesRequest_Value_ReleaseBranchRef
func (*UpdateModulesRequest_Value) GetState ¶
func (x *UpdateModulesRequest_Value) GetState() ModuleState
func (*UpdateModulesRequest_Value) GetUrl ¶
func (x *UpdateModulesRequest_Value) GetUrl() string
func (*UpdateModulesRequest_Value) GetVisibility ¶
func (x *UpdateModulesRequest_Value) GetVisibility() ModuleVisibility
func (*UpdateModulesRequest_Value) ProtoMessage ¶
func (*UpdateModulesRequest_Value) ProtoMessage()
func (*UpdateModulesRequest_Value) ProtoReflect ¶
func (x *UpdateModulesRequest_Value) ProtoReflect() protoreflect.Message
func (*UpdateModulesRequest_Value) Reset ¶
func (x *UpdateModulesRequest_Value) Reset()
func (*UpdateModulesRequest_Value) String ¶
func (x *UpdateModulesRequest_Value) String() string
type UpdateModulesRequest_Value_ReleaseBranchId ¶
type UpdateModulesRequest_Value_ReleaseBranchId struct { // The id of the release Branch of the Module. // // This Branch must already exist. // This Branch must be contained within the Module referenced by module_ref. ReleaseBranchId string `protobuf:"bytes,7,opt,name=release_branch_id,json=releaseBranchId,proto3,oneof"` }
type UpdateModulesRequest_Value_ReleaseBranchName ¶
type UpdateModulesRequest_Value_ReleaseBranchName struct { // The name of the release Branch of the Module. // // This Branch must already exist. // This Branch must be contained within the Module referenced by module_ref. ReleaseBranchName string `protobuf:"bytes,8,opt,name=release_branch_name,json=releaseBranchName,proto3,oneof"` }
type UpdateModulesResponse ¶
type UpdateModulesResponse struct { // The updated Modules in the same order as given on the request. Modules []*Module `protobuf:"bytes,1,rep,name=modules,proto3" json:"modules,omitempty"` // contains filtered or unexported fields }
func (*UpdateModulesResponse) Descriptor
deprecated
func (*UpdateModulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModulesResponse.ProtoReflect.Descriptor instead.
func (*UpdateModulesResponse) GetModules ¶
func (x *UpdateModulesResponse) GetModules() []*Module
func (*UpdateModulesResponse) ProtoMessage ¶
func (*UpdateModulesResponse) ProtoMessage()
func (*UpdateModulesResponse) ProtoReflect ¶
func (x *UpdateModulesResponse) ProtoReflect() protoreflect.Message
func (*UpdateModulesResponse) Reset ¶
func (x *UpdateModulesResponse) Reset()
func (*UpdateModulesResponse) String ¶
func (x *UpdateModulesResponse) String() string
type VCSCommit ¶
type VCSCommit struct { // The id of the VCSCommit. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The time the VCSCommit was created on the BSR. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The last time the VCSCommit was updated on the BSR. // // Currently, VCSCommits are immutable, but this may change in the near future. // TODO: is this true? UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The hash of the VCSCommit. // // VCS-specific. // Unique within a given Module. Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // The id of the User or Organization that owns the Module that the VCSCommit is associated with. OwnerId string `protobuf:"bytes,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // The id of the Module that the VCSCommit is associated with. ModuleId string `protobuf:"bytes,6,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // The type of VCS. Type VCSType `protobuf:"varint,7,opt,name=type,proto3,enum=buf.registry.module.v1beta1.VCSType" json:"type,omitempty"` // The id of the Commit associated with the VCSCommit. CommitId string `protobuf:"bytes,8,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // The Digest of the Commit associated with the VCSCommit. CommitDigest *v1beta1.Digest `protobuf:"bytes,9,opt,name=commit_digest,json=commitDigest,proto3" json:"commit_digest,omitempty"` // The URL of of the repository on the VCS. VcsRepositoryUrl string `protobuf:"bytes,10,opt,name=vcs_repository_url,json=vcsRepositoryUrl,proto3" json:"vcs_repository_url,omitempty"` // The name of the author of the VCSCommit. // // VCS-specific: not associated with the name of Users on the BSR, for example. AuthorName string `protobuf:"bytes,11,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"` // The email of the author of the VCSCommit. // // VCS-specific: not associated with the Users on the BSR, for example. AuthorEmail string `protobuf:"bytes,12,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"` // The name of the committer of the VCSCommit. // // VCS-specific: not associated with the name of Users on the BSR, for example. CommitterName string `protobuf:"bytes,13,opt,name=committer_name,json=committerName,proto3" json:"committer_name,omitempty"` // The email of the committer of the VCSCommit. // // VCS-specific: not associated with the Users on the BSR, for example. CommitterEmail string `protobuf:"bytes,14,opt,name=committer_email,json=committerEmail,proto3" json:"committer_email,omitempty"` // contains filtered or unexported fields }
VCSCommit is a commit from a specific VCS associated with a specific Module.
Many VCSCommits can be associated with a single Commit.
func (*VCSCommit) GetCreateTime ¶
func (x *VCSCommit) GetCreateTime() *timestamppb.Timestamp
func (*VCSCommit) GetUpdateTime ¶
func (x *VCSCommit) GetUpdateTime() *timestamppb.Timestamp
func (*VCSCommit) ProtoReflect ¶
func (x *VCSCommit) ProtoReflect() protoreflect.Message
type VCSCommitRef ¶
type VCSCommitRef struct { // Types that are assignable to Value: // // *VCSCommitRef_Id // *VCSCommitRef_Name_ Value isVCSCommitRef_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
VCSCommitRef is a reference to a VCSCommit, either an id or a fully-qualified name.
This is used in requests.
func (*VCSCommitRef) Descriptor
deprecated
func (*VCSCommitRef) Descriptor() ([]byte, []int)
Deprecated: Use VCSCommitRef.ProtoReflect.Descriptor instead.
func (*VCSCommitRef) GetId ¶
func (x *VCSCommitRef) GetId() string
func (*VCSCommitRef) GetName ¶
func (x *VCSCommitRef) GetName() *VCSCommitRef_Name
func (*VCSCommitRef) GetValue ¶
func (m *VCSCommitRef) GetValue() isVCSCommitRef_Value
func (*VCSCommitRef) ProtoMessage ¶
func (*VCSCommitRef) ProtoMessage()
func (*VCSCommitRef) ProtoReflect ¶
func (x *VCSCommitRef) ProtoReflect() protoreflect.Message
func (*VCSCommitRef) Reset ¶
func (x *VCSCommitRef) Reset()
func (*VCSCommitRef) String ¶
func (x *VCSCommitRef) String() string
type VCSCommitRef_Id ¶
type VCSCommitRef_Id struct { // The id of the VCSCommit. Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"` }
type VCSCommitRef_Name ¶
type VCSCommitRef_Name struct { // The name of the owner of the Module that contains the VCSCommit, either a user or organization. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The name of the Module that contains the VCSCommit. Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"` // The hash of the VCSCommit. Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
The fully-qualified name of a VCSCommit within a BSR instance.
A Name uniquely identifies a VCSCommit. This is used for requests when a caller only has the VCSCommit hash and not the ID.
func (*VCSCommitRef_Name) Descriptor
deprecated
func (*VCSCommitRef_Name) Descriptor() ([]byte, []int)
Deprecated: Use VCSCommitRef_Name.ProtoReflect.Descriptor instead.
func (*VCSCommitRef_Name) GetHash ¶
func (x *VCSCommitRef_Name) GetHash() string
func (*VCSCommitRef_Name) GetModule ¶
func (x *VCSCommitRef_Name) GetModule() string
func (*VCSCommitRef_Name) GetOwner ¶
func (x *VCSCommitRef_Name) GetOwner() string
func (*VCSCommitRef_Name) ProtoMessage ¶
func (*VCSCommitRef_Name) ProtoMessage()
func (*VCSCommitRef_Name) ProtoReflect ¶
func (x *VCSCommitRef_Name) ProtoReflect() protoreflect.Message
func (*VCSCommitRef_Name) Reset ¶
func (x *VCSCommitRef_Name) Reset()
func (*VCSCommitRef_Name) String ¶
func (x *VCSCommitRef_Name) String() string
type VCSCommitRef_Name_ ¶
type VCSCommitRef_Name_ struct { // The fully-qualified name of the VCSCommit. Name *VCSCommitRef_Name `protobuf:"bytes,2,opt,name=name,proto3,oneof"` }
type VCSType ¶
type VCSType int32
The VCS type, currently only git.
func (VCSType) Descriptor ¶
func (VCSType) Descriptor() protoreflect.EnumDescriptor
func (VCSType) Number ¶
func (x VCSType) Number() protoreflect.EnumNumber
func (VCSType) Type ¶
func (VCSType) Type() protoreflect.EnumType