modulev1beta1

package
v1.31.0-20231103193141... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

View Source
var File_buf_registry_module_v1beta1_branch_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_module_v1beta1_branch_service_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_module_v1beta1_commit_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_module_v1beta1_commit_service_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_module_v1beta1_module_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_module_v1beta1_module_service_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_module_v1beta1_resource_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_module_v1beta1_tag_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_module_v1beta1_tag_service_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_module_v1beta1_vcs_commit_proto protoreflect.FileDescriptor
View Source
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) Descriptor deprecated

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

Deprecated: Use Branch.ProtoReflect.Descriptor instead.

func (*Branch) GetCreateTime

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

func (*Branch) GetId

func (x *Branch) GetId() string

func (*Branch) GetIsRelease

func (x *Branch) GetIsRelease() bool

func (*Branch) GetLatestCommitDigest

func (x *Branch) GetLatestCommitDigest() *v1beta1.Digest

func (*Branch) GetLatestCommitId

func (x *Branch) GetLatestCommitId() string

func (*Branch) GetModuleId

func (x *Branch) GetModuleId() string

func (*Branch) GetName

func (x *Branch) GetName() string

func (*Branch) GetOwnerId

func (x *Branch) GetOwnerId() string

func (*Branch) GetUpdateTime

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

func (*Branch) ProtoMessage

func (*Branch) ProtoMessage()

func (*Branch) ProtoReflect

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

func (*Branch) Reset

func (x *Branch) Reset()

func (*Branch) String

func (x *Branch) String() string

type BranchFullName

type BranchFullName 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 BranchFullName uniquely identifies a Branch. This is used for requests when a caller only has the branch name and not the ID.

func (*BranchFullName) Descriptor deprecated

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

Deprecated: Use BranchFullName.ProtoReflect.Descriptor instead.

func (*BranchFullName) GetBranch

func (x *BranchFullName) GetBranch() string

func (*BranchFullName) GetModule

func (x *BranchFullName) GetModule() string

func (*BranchFullName) GetOwner

func (x *BranchFullName) GetOwner() string

func (*BranchFullName) ProtoMessage

func (*BranchFullName) ProtoMessage()

func (*BranchFullName) ProtoReflect

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

func (*BranchFullName) Reset

func (x *BranchFullName) Reset()

func (*BranchFullName) String

func (x *BranchFullName) String() string

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

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

Deprecated: Use BranchRef.ProtoReflect.Descriptor instead.

func (*BranchRef) GetId

func (x *BranchRef) GetId() string

func (*BranchRef) GetName

func (x *BranchRef) GetName() *BranchFullName

func (*BranchRef) GetValue

func (m *BranchRef) GetValue() isBranchRef_Value

func (*BranchRef) ProtoMessage

func (*BranchRef) ProtoMessage()

func (*BranchRef) ProtoReflect

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

func (*BranchRef) Reset

func (x *BranchRef) Reset()

func (*BranchRef) String

func (x *BranchRef) String() string

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 fully-qualified name of the Branch.
	Name *BranchFullName `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) Descriptor deprecated

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

Deprecated: Use Commit.ProtoReflect.Descriptor instead.

func (*Commit) GetCreateTime

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

func (*Commit) GetCreatedByUserId

func (x *Commit) GetCreatedByUserId() string

func (*Commit) GetDigest

func (x *Commit) GetDigest() *v1beta1.Digest

func (*Commit) GetId

func (x *Commit) GetId() string

func (*Commit) GetModuleId

func (x *Commit) GetModuleId() string

func (*Commit) GetOwnerId

func (x *Commit) GetOwnerId() string

func (*Commit) GetSpdxLicenseId

func (x *Commit) GetSpdxLicenseId() string

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) ProtoReflect

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

func (*Commit) Reset

func (x *Commit) Reset()

func (*Commit) String

func (x *Commit) String() string

type CreateCommitsRequest

type CreateCommitsRequest struct {

	// All of the Files for the Modules that should have Commits created for them.
	//
	// If you have a workspace, all files from the workspace, including buf.yaml and buf.lock, should
	// be in files. The backend will parse the buf.yaml to discover the ModuleResourceRefs.
	FileNodes []*v1beta1.FileNode `protobuf:"bytes,1,rep,name=file_nodes,json=fileNodes,proto3" json:"file_nodes,omitempty"`
	// Blobs for the given FileNodes.
	//
	// Only Blobs that were returned as missing from GetMissingBlobDigests need to be sent.
	// Other Blobs already exist on the server, and will be ignored.
	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) GetFileNodes

func (x *CreateCommitsRequest) GetFileNodes() []*v1beta1.FileNode

func (*CreateCommitsRequest) GetMissingBlobs

func (x *CreateCommitsRequest) GetMissingBlobs() []*v1beta1.Blob

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 (*CreateCommitsRequest_AssociatedVCSCommit) GetAuthorName

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 (*CreateCommitsRequest_AssociatedVCSCommit) GetType

func (*CreateCommitsRequest_AssociatedVCSCommit) GetVcsRepositoryUrl

func (x *CreateCommitsRequest_AssociatedVCSCommit) GetVcsRepositoryUrl() string

func (*CreateCommitsRequest_AssociatedVCSCommit) ProtoMessage

func (*CreateCommitsRequest_AssociatedVCSCommit) ProtoReflect

func (*CreateCommitsRequest_AssociatedVCSCommit) Reset

func (*CreateCommitsRequest_AssociatedVCSCommit) String

type CreateCommitsResponse

type CreateCommitsResponse struct {

	// The created Commits.
	//
	// 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 (*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 (*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 {

	// The digests to retrieve Blobs for.
	Digests []*v1beta1.Digest `protobuf:"bytes,1,rep,name=digests,proto3" json:"digests,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlobsRequest) Descriptor deprecated

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

Deprecated: Use GetBlobsRequest.ProtoReflect.Descriptor instead.

func (*GetBlobsRequest) GetDigests

func (x *GetBlobsRequest) GetDigests() []*v1beta1.Digest

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 GetBlobsResponse

type GetBlobsResponse struct {

	// The retrieved Blobs.
	Blobs []*v1beta1.Blob `protobuf:"bytes,1,rep,name=blobs,proto3" json:"blobs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlobsResponse) Descriptor deprecated

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

Deprecated: Use GetBlobsResponse.ProtoReflect.Descriptor instead.

func (*GetBlobsResponse) GetBlobs

func (x *GetBlobsResponse) GetBlobs() []*v1beta1.Blob

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

type GetFileNodesRequest struct {

	// The File sets to request.
	Values []*GetFileNodesRequest_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFileNodesRequest) Descriptor deprecated

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

Deprecated: Use GetFileNodesRequest.ProtoReflect.Descriptor instead.

func (*GetFileNodesRequest) GetValues

func (*GetFileNodesRequest) ProtoMessage

func (*GetFileNodesRequest) ProtoMessage()

func (*GetFileNodesRequest) ProtoReflect

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

func (*GetFileNodesRequest) Reset

func (x *GetFileNodesRequest) Reset()

func (*GetFileNodesRequest) String

func (x *GetFileNodesRequest) String() string

type GetFileNodesRequest_Value

type GetFileNodesRequest_Value struct {

	// The reference to get files 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.
	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.
	//
	// TODO: Can we encode the above requirements via validation?
	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 a set of files from a single Commit, Module, Branch, Tag, or VCSCommit.

func (*GetFileNodesRequest_Value) Descriptor deprecated

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

Deprecated: Use GetFileNodesRequest_Value.ProtoReflect.Descriptor instead.

func (*GetFileNodesRequest_Value) GetAllowPathsNotExist

func (x *GetFileNodesRequest_Value) GetAllowPathsNotExist() bool

func (*GetFileNodesRequest_Value) GetPaths

func (x *GetFileNodesRequest_Value) GetPaths() []string

func (*GetFileNodesRequest_Value) GetResourceRef

func (x *GetFileNodesRequest_Value) GetResourceRef() *ResourceRef

func (*GetFileNodesRequest_Value) ProtoMessage

func (*GetFileNodesRequest_Value) ProtoMessage()

func (*GetFileNodesRequest_Value) ProtoReflect

func (*GetFileNodesRequest_Value) Reset

func (x *GetFileNodesRequest_Value) Reset()

func (*GetFileNodesRequest_Value) String

func (x *GetFileNodesRequest_Value) String() string

type GetFileNodesResponse

type GetFileNodesResponse struct {

	// The returned File sets in the same order as requested.
	Values []*GetFileNodesResponse_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFileNodesResponse) Descriptor deprecated

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

Deprecated: Use GetFileNodesResponse.ProtoReflect.Descriptor instead.

func (*GetFileNodesResponse) GetValues

func (*GetFileNodesResponse) ProtoMessage

func (*GetFileNodesResponse) ProtoMessage()

func (*GetFileNodesResponse) ProtoReflect

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

func (*GetFileNodesResponse) Reset

func (x *GetFileNodesResponse) Reset()

func (*GetFileNodesResponse) String

func (x *GetFileNodesResponse) String() string

type GetFileNodesResponse_Value

type GetFileNodesResponse_Value struct {
	FileNodes []*v1beta1.FileNode `protobuf:"bytes,1,rep,name=file_nodes,json=fileNodes,proto3" json:"file_nodes,omitempty"`
	Commit    *Commit             `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
	// contains filtered or unexported fields
}

A single set of FileNodes and their associated commits.

func (*GetFileNodesResponse_Value) Descriptor deprecated

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

Deprecated: Use GetFileNodesResponse_Value.ProtoReflect.Descriptor instead.

func (*GetFileNodesResponse_Value) GetCommit

func (x *GetFileNodesResponse_Value) GetCommit() *Commit

func (*GetFileNodesResponse_Value) GetFileNodes

func (x *GetFileNodesResponse_Value) GetFileNodes() []*v1beta1.FileNode

func (*GetFileNodesResponse_Value) ProtoMessage

func (*GetFileNodesResponse_Value) ProtoMessage()

func (*GetFileNodesResponse_Value) ProtoReflect

func (*GetFileNodesResponse_Value) Reset

func (x *GetFileNodesResponse_Value) Reset()

func (*GetFileNodesResponse_Value) String

func (x *GetFileNodesResponse_Value) String() string

type GetMissingBlobDigestsRequest

type GetMissingBlobDigestsRequest struct {

	// The digests to see if we have Blobs for.
	Digests []*v1beta1.Digest `protobuf:"bytes,1,rep,name=digests,proto3" json:"digests,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMissingBlobDigestsRequest) Descriptor deprecated

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

Deprecated: Use GetMissingBlobDigestsRequest.ProtoReflect.Descriptor instead.

func (*GetMissingBlobDigestsRequest) GetDigests

func (x *GetMissingBlobDigestsRequest) GetDigests() []*v1beta1.Digest

func (*GetMissingBlobDigestsRequest) ProtoMessage

func (*GetMissingBlobDigestsRequest) ProtoMessage()

func (*GetMissingBlobDigestsRequest) ProtoReflect

func (*GetMissingBlobDigestsRequest) Reset

func (x *GetMissingBlobDigestsRequest) Reset()

func (*GetMissingBlobDigestsRequest) String

type GetMissingBlobDigestsResponse

type GetMissingBlobDigestsResponse struct {

	// The digests that are missing.
	MissingBlobDigests []*v1beta1.Digest `protobuf:"bytes,1,rep,name=missing_blob_digests,json=missingBlobDigests,proto3" json:"missing_blob_digests,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMissingBlobDigestsResponse) Descriptor deprecated

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

Deprecated: Use GetMissingBlobDigestsResponse.ProtoReflect.Descriptor instead.

func (*GetMissingBlobDigestsResponse) GetMissingBlobDigests

func (x *GetMissingBlobDigestsResponse) GetMissingBlobDigests() []*v1beta1.Digest

func (*GetMissingBlobDigestsResponse) ProtoMessage

func (*GetMissingBlobDigestsResponse) ProtoMessage()

func (*GetMissingBlobDigestsResponse) ProtoReflect

func (*GetMissingBlobDigestsResponse) Reset

func (x *GetMissingBlobDigestsResponse) Reset()

func (*GetMissingBlobDigestsResponse) 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 (*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 (*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.
	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.
	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 (*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 only available for Users with the UserServerRole of USER_SERVER_ROLE_ADMIN.
	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.
	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.
	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) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetCreateTime

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

func (*Module) GetDescription

func (x *Module) GetDescription() string

func (*Module) GetId

func (x *Module) GetId() string

func (*Module) GetName

func (x *Module) GetName() string

func (*Module) GetOwnerId

func (x *Module) GetOwnerId() string

func (*Module) GetReleaseBranchId

func (x *Module) GetReleaseBranchId() string

func (*Module) GetState

func (x *Module) GetState() ModuleState

func (*Module) GetUpdateTime

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

func (*Module) GetUrl

func (x *Module) GetUrl() string

func (*Module) GetVisibility

func (x *Module) GetVisibility() ModuleVisibility

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

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

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

type ModuleFullName

type ModuleFullName 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 ModuleFullName uniquely identifies a Module. This is used for requests when a caller only has the module name and not the ID.

func (*ModuleFullName) Descriptor deprecated

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

Deprecated: Use ModuleFullName.ProtoReflect.Descriptor instead.

func (*ModuleFullName) GetModule

func (x *ModuleFullName) GetModule() string

func (*ModuleFullName) GetOwner

func (x *ModuleFullName) GetOwner() string

func (*ModuleFullName) ProtoMessage

func (*ModuleFullName) ProtoMessage()

func (*ModuleFullName) ProtoReflect

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

func (*ModuleFullName) Reset

func (x *ModuleFullName) Reset()

func (*ModuleFullName) String

func (x *ModuleFullName) String() string

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

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

Deprecated: Use ModuleRef.ProtoReflect.Descriptor instead.

func (*ModuleRef) GetId

func (x *ModuleRef) GetId() string

func (*ModuleRef) GetName

func (x *ModuleRef) GetName() *ModuleFullName

func (*ModuleRef) GetValue

func (m *ModuleRef) GetValue() isModuleRef_Value

func (*ModuleRef) ProtoMessage

func (*ModuleRef) ProtoMessage()

func (*ModuleRef) ProtoReflect

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

func (*ModuleRef) Reset

func (x *ModuleRef) Reset()

func (*ModuleRef) String

func (x *ModuleRef) String() string

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 fully-qualified name of the Module.
	Name *ModuleFullName `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) 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

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

func (ModuleVisibility) EnumDescriptor deprecated

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

Deprecated: Use ModuleVisibility.Descriptor instead.

func (ModuleVisibility) Number

func (ModuleVisibility) String

func (x ModuleVisibility) String() string

func (ModuleVisibility) Type

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.
	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 ResourceFullName

type ResourceFullName struct {
	Owner  string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
	// Types that are assignable to Child:
	//
	//	*ResourceFullName_BranchName
	//	*ResourceFullName_TagName
	//	*ResourceFullName_VcsCommitHash
	//	*ResourceFullName_Ref
	Child isResourceFullName_Child `protobuf_oneof:"child"`
	// contains filtered or unexported fields
}

The fully-qualified name component of a ResourceRef.

See the documentation on ResourceRef for more details.

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 interpeted to reference a VCSCommit.
  • 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, or VCSCommit hash.
  • 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

ResourceFullNames 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 (*ResourceFullName) Descriptor deprecated

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

Deprecated: Use ResourceFullName.ProtoReflect.Descriptor instead.

func (*ResourceFullName) GetBranchName

func (x *ResourceFullName) GetBranchName() string

func (*ResourceFullName) GetChild

func (m *ResourceFullName) GetChild() isResourceFullName_Child

func (*ResourceFullName) GetModule

func (x *ResourceFullName) GetModule() string

func (*ResourceFullName) GetOwner

func (x *ResourceFullName) GetOwner() string

func (*ResourceFullName) GetRef

func (x *ResourceFullName) GetRef() string

func (*ResourceFullName) GetTagName

func (x *ResourceFullName) GetTagName() string

func (*ResourceFullName) GetVcsCommitHash

func (x *ResourceFullName) GetVcsCommitHash() string

func (*ResourceFullName) ProtoMessage

func (*ResourceFullName) ProtoMessage()

func (*ResourceFullName) ProtoReflect

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

func (*ResourceFullName) Reset

func (x *ResourceFullName) Reset()

func (*ResourceFullName) String

func (x *ResourceFullName) String() string

type ResourceFullName_BranchName

type ResourceFullName_BranchName struct {
	BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3,oneof"`
}

type ResourceFullName_Ref

type ResourceFullName_Ref struct {
	Ref string `protobuf:"bytes,6,opt,name=ref,proto3,oneof"`
}

type ResourceFullName_TagName

type ResourceFullName_TagName struct {
	TagName string `protobuf:"bytes,4,opt,name=tag_name,json=tagName,proto3,oneof"`
}

type ResourceFullName_VcsCommitHash

type ResourceFullName_VcsCommitHash struct {
	VcsCommitHash string `protobuf:"bytes,5,opt,name=vcs_commit_hash,json=vcsCommitHash,proto3,oneof"`
}

type ResourceRef

type ResourceRef struct {

	// Types that are assignable to Ref:
	//
	//	*ResourceRef_Id
	//	*ResourceRef_Name
	Ref isResourceRef_Ref `protobuf_oneof:"ref"`
	// 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 ResourceFullName 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() *ResourceFullName

func (*ResourceRef) GetRef

func (m *ResourceRef) GetRef() isResourceRef_Ref

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 {
	Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type ResourceRef_Name

type ResourceRef_Name struct {
	Name *ResourceFullName `protobuf:"bytes,2,opt,name=name,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) Descriptor deprecated

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetCommitDigest

func (x *Tag) GetCommitDigest() *v1beta1.Digest

func (*Tag) GetCommitId

func (x *Tag) GetCommitId() string

func (*Tag) GetCreateTime

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

func (*Tag) GetId

func (x *Tag) GetId() string

func (*Tag) GetModuleId

func (x *Tag) GetModuleId() string

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) GetOwnerId

func (x *Tag) GetOwnerId() string

func (*Tag) GetUpdateTime

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

func (*Tag) GetUpdatedByUserId

func (x *Tag) GetUpdatedByUserId() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

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

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

type TagFullName

type TagFullName 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 TagFullName uniquely identifies a Tag. This is used for requests when a caller only has the tag name and not the ID.

func (*TagFullName) Descriptor deprecated

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

Deprecated: Use TagFullName.ProtoReflect.Descriptor instead.

func (*TagFullName) GetModule

func (x *TagFullName) GetModule() string

func (*TagFullName) GetOwner

func (x *TagFullName) GetOwner() string

func (*TagFullName) GetTag

func (x *TagFullName) GetTag() string

func (*TagFullName) ProtoMessage

func (*TagFullName) ProtoMessage()

func (*TagFullName) ProtoReflect

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

func (*TagFullName) Reset

func (x *TagFullName) Reset()

func (*TagFullName) String

func (x *TagFullName) String() string

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

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

Deprecated: Use TagRef.ProtoReflect.Descriptor instead.

func (*TagRef) GetId

func (x *TagRef) GetId() string

func (*TagRef) GetName

func (x *TagRef) GetName() *TagFullName

func (*TagRef) GetValue

func (m *TagRef) GetValue() isTagRef_Value

func (*TagRef) ProtoMessage

func (*TagRef) ProtoMessage()

func (*TagRef) ProtoReflect

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

func (*TagRef) Reset

func (x *TagRef) Reset()

func (*TagRef) String

func (x *TagRef) String() string

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 fully-qualified name of the Tag.
	Name *TagFullName `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 (*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"`
	// uThe 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 (*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 (*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.
	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.
	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) Descriptor deprecated

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

Deprecated: Use VCSCommit.ProtoReflect.Descriptor instead.

func (*VCSCommit) GetAuthorEmail

func (x *VCSCommit) GetAuthorEmail() string

func (*VCSCommit) GetAuthorName

func (x *VCSCommit) GetAuthorName() string

func (*VCSCommit) GetCommitDigest

func (x *VCSCommit) GetCommitDigest() *v1beta1.Digest

func (*VCSCommit) GetCommitId

func (x *VCSCommit) GetCommitId() string

func (*VCSCommit) GetCommitterEmail

func (x *VCSCommit) GetCommitterEmail() string

func (*VCSCommit) GetCommitterName

func (x *VCSCommit) GetCommitterName() string

func (*VCSCommit) GetCreateTime

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

func (*VCSCommit) GetHash

func (x *VCSCommit) GetHash() string

func (*VCSCommit) GetId

func (x *VCSCommit) GetId() string

func (*VCSCommit) GetModuleId

func (x *VCSCommit) GetModuleId() string

func (*VCSCommit) GetOwnerId

func (x *VCSCommit) GetOwnerId() string

func (*VCSCommit) GetType

func (x *VCSCommit) GetType() VCSType

func (*VCSCommit) GetUpdateTime

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

func (*VCSCommit) GetVcsRepositoryUrl

func (x *VCSCommit) GetVcsRepositoryUrl() string

func (*VCSCommit) ProtoMessage

func (*VCSCommit) ProtoMessage()

func (*VCSCommit) ProtoReflect

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

func (*VCSCommit) Reset

func (x *VCSCommit) Reset()

func (*VCSCommit) String

func (x *VCSCommit) String() string

type VCSCommitFullName

type VCSCommitFullName 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 VCSCommitFullName uniquely identifies a VCSCommit. This is used for requests when a caller only has the VCSCommit hash and not the ID.

func (*VCSCommitFullName) Descriptor deprecated

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

Deprecated: Use VCSCommitFullName.ProtoReflect.Descriptor instead.

func (*VCSCommitFullName) GetHash

func (x *VCSCommitFullName) GetHash() string

func (*VCSCommitFullName) GetModule

func (x *VCSCommitFullName) GetModule() string

func (*VCSCommitFullName) GetOwner

func (x *VCSCommitFullName) GetOwner() string

func (*VCSCommitFullName) ProtoMessage

func (*VCSCommitFullName) ProtoMessage()

func (*VCSCommitFullName) ProtoReflect

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

func (*VCSCommitFullName) Reset

func (x *VCSCommitFullName) Reset()

func (*VCSCommitFullName) String

func (x *VCSCommitFullName) String() string

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() *VCSCommitFullName

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 fully-qualified name of the VCSCommit.
	Name *VCSCommitFullName `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}

type VCSType

type VCSType int32

The VCS type, currently only git.

const (
	VCSType_VCS_TYPE_UNSPECIFIED VCSType = 0
	// The git version control system.
	VCSType_VCS_TYPE_GIT VCSType = 1
)

func (VCSType) Descriptor

func (VCSType) Descriptor() protoreflect.EnumDescriptor

func (VCSType) Enum

func (x VCSType) Enum() *VCSType

func (VCSType) EnumDescriptor deprecated

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

Deprecated: Use VCSType.Descriptor instead.

func (VCSType) Number

func (x VCSType) Number() protoreflect.EnumNumber

func (VCSType) String

func (x VCSType) String() string

func (VCSType) Type

func (VCSType) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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