pluginv1beta1

package
v1.36.11-2026012614494... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 10 Imported by: 18

Documentation

Index

Constants

View Source
const CollectionRef_Id_case case_CollectionRef_Value = 1
View Source
const CollectionRef_Name_case case_CollectionRef_Value = 2
View Source
const CollectionRef_Value_not_set_case case_CollectionRef_Value = 0
View Source
const LabelRef_Id_case case_LabelRef_Value = 1
View Source
const LabelRef_Name_case case_LabelRef_Value = 2
View Source
const LabelRef_Value_not_set_case case_LabelRef_Value = 0
View Source
const PluginRef_Id_case case_PluginRef_Value = 1
View Source
const PluginRef_Name_case case_PluginRef_Value = 2
View Source
const PluginRef_Value_not_set_case case_PluginRef_Value = 0
View Source
const ResourceRef_Id_case case_ResourceRef_Value = 1
View Source
const ResourceRef_Name_Child_not_set_case case_ResourceRef_Name_Child = 0
View Source
const ResourceRef_Name_LabelName_case case_ResourceRef_Name_Child = 3
View Source
const ResourceRef_Name_Ref_case case_ResourceRef_Name_Child = 4
View Source
const ResourceRef_Name_case case_ResourceRef_Value = 2
View Source
const ResourceRef_Value_not_set_case case_ResourceRef_Value = 0
View Source
const Resource_Commit_case case_Resource_Value = 3
View Source
const Resource_Label_case case_Resource_Value = 2
View Source
const Resource_Plugin_case case_Resource_Value = 1
View Source
const Resource_Value_not_set_case case_Resource_Value = 0
View Source
const ScopedLabelRef_Id_case case_ScopedLabelRef_Value = 1
View Source
const ScopedLabelRef_Name_case case_ScopedLabelRef_Value = 2
View Source
const ScopedLabelRef_Value_not_set_case case_ScopedLabelRef_Value = 0

Variables

View Source
var (
	ListCollectionsRequest_Order_name = map[int32]string{
		0: "ORDER_UNSPECIFIED",
		1: "ORDER_CREATE_TIME_DESC",
		2: "ORDER_CREATE_TIME_ASC",
	}
	ListCollectionsRequest_Order_value = map[string]int32{
		"ORDER_UNSPECIFIED":      0,
		"ORDER_CREATE_TIME_DESC": 1,
		"ORDER_CREATE_TIME_ASC":  2,
	}
)

Enum value maps for ListCollectionsRequest_Order.

View Source
var (
	ListCommitsRequest_Order_name = map[int32]string{
		0: "ORDER_UNSPECIFIED",
		1: "ORDER_CREATE_TIME_DESC",
		2: "ORDER_CREATE_TIME_ASC",
	}
	ListCommitsRequest_Order_value = map[string]int32{
		"ORDER_UNSPECIFIED":      0,
		"ORDER_CREATE_TIME_DESC": 1,
		"ORDER_CREATE_TIME_ASC":  2,
	}
)

Enum value maps for ListCommitsRequest_Order.

View Source
var (
	CompressionType_name = map[int32]string{
		0: "COMPRESSION_TYPE_UNSPECIFIED",
		1: "COMPRESSION_TYPE_NONE",
		2: "COMPRESSION_TYPE_ZSTD",
	}
	CompressionType_value = map[string]int32{
		"COMPRESSION_TYPE_UNSPECIFIED": 0,
		"COMPRESSION_TYPE_NONE":        1,
		"COMPRESSION_TYPE_ZSTD":        2,
	}
)

Enum value maps for CompressionType.

View Source
var (
	DigestType_name = map[int32]string{
		0: "DIGEST_TYPE_UNSPECIFIED",
		1: "DIGEST_TYPE_P1",
	}
	DigestType_value = map[string]int32{
		"DIGEST_TYPE_UNSPECIFIED": 0,
		"DIGEST_TYPE_P1":          1,
	}
)

Enum value maps for DigestType.

View Source
var (
	ListLabelsRequest_Order_name = map[int32]string{
		0: "ORDER_UNSPECIFIED",
		1: "ORDER_CREATE_TIME_DESC",
		2: "ORDER_CREATE_TIME_ASC",
		3: "ORDER_UPDATE_TIME_DESC",
		4: "ORDER_UPDATE_TIME_ASC",
	}
	ListLabelsRequest_Order_value = map[string]int32{
		"ORDER_UNSPECIFIED":      0,
		"ORDER_CREATE_TIME_DESC": 1,
		"ORDER_CREATE_TIME_ASC":  2,
		"ORDER_UPDATE_TIME_DESC": 3,
		"ORDER_UPDATE_TIME_ASC":  4,
	}
)

Enum value maps for ListLabelsRequest_Order.

View Source
var (
	ListLabelsRequest_ArchiveFilter_name = map[int32]string{
		0: "ARCHIVE_FILTER_UNSPECIFIED",
		1: "ARCHIVE_FILTER_UNARCHIVED_ONLY",
		2: "ARCHIVE_FILTER_ARCHIVED_ONLY",
		3: "ARCHIVE_FILTER_ALL",
	}
	ListLabelsRequest_ArchiveFilter_value = map[string]int32{
		"ARCHIVE_FILTER_UNSPECIFIED":     0,
		"ARCHIVE_FILTER_UNARCHIVED_ONLY": 1,
		"ARCHIVE_FILTER_ARCHIVED_ONLY":   2,
		"ARCHIVE_FILTER_ALL":             3,
	}
)

Enum value maps for ListLabelsRequest_ArchiveFilter.

View Source
var (
	ListLabelHistoryRequest_Order_name = map[int32]string{
		0: "ORDER_UNSPECIFIED",
		1: "ORDER_DESC",
		2: "ORDER_ASC",
	}
	ListLabelHistoryRequest_Order_value = map[string]int32{
		"ORDER_UNSPECIFIED": 0,
		"ORDER_DESC":        1,
		"ORDER_ASC":         2,
	}
)

Enum value maps for ListLabelHistoryRequest_Order.

View Source
var (
	PluginVisibility_name = map[int32]string{
		0: "PLUGIN_VISIBILITY_UNSPECIFIED",
		1: "PLUGIN_VISIBILITY_PUBLIC",
		2: "PLUGIN_VISIBILITY_PRIVATE",
	}
	PluginVisibility_value = map[string]int32{
		"PLUGIN_VISIBILITY_UNSPECIFIED": 0,
		"PLUGIN_VISIBILITY_PUBLIC":      1,
		"PLUGIN_VISIBILITY_PRIVATE":     2,
	}
)

Enum value maps for PluginVisibility.

View Source
var (
	PluginState_name = map[int32]string{
		0: "PLUGIN_STATE_UNSPECIFIED",
		1: "PLUGIN_STATE_ACTIVE",
		2: "PLUGIN_STATE_DEPRECATED",
	}
	PluginState_value = map[string]int32{
		"PLUGIN_STATE_UNSPECIFIED": 0,
		"PLUGIN_STATE_ACTIVE":      1,
		"PLUGIN_STATE_DEPRECATED":  2,
	}
)

Enum value maps for PluginState.

View Source
var (
	PluginType_name = map[int32]string{
		0: "PLUGIN_TYPE_UNSPECIFIED",
		1: "PLUGIN_TYPE_CHECK",
	}
	PluginType_value = map[string]int32{
		"PLUGIN_TYPE_UNSPECIFIED": 0,
		"PLUGIN_TYPE_CHECK":       1,
	}
)

Enum value maps for PluginType.

View Source
var (
	ListPluginsRequest_Order_name = map[int32]string{
		0: "ORDER_UNSPECIFIED",
		1: "ORDER_CREATE_TIME_DESC",
		2: "ORDER_CREATE_TIME_ASC",
	}
	ListPluginsRequest_Order_value = map[string]int32{
		"ORDER_UNSPECIFIED":      0,
		"ORDER_CREATE_TIME_DESC": 1,
		"ORDER_CREATE_TIME_ASC":  2,
	}
)

Enum value maps for ListPluginsRequest_Order.

View Source
var File_buf_registry_plugin_v1beta1_check_service_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_collection_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_collection_service_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_commit_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_commit_service_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_compression_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_digest_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_download_service_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_label_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_label_service_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_plugin_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_plugin_service_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_resource_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_resource_service_proto protoreflect.FileDescriptor
View Source
var File_buf_registry_plugin_v1beta1_upload_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ArchiveLabelsRequest

type ArchiveLabelsRequest struct {

	// The Labels to archive.
	LabelRefs []*LabelRef `protobuf:"bytes,1,rep,name=label_refs,json=labelRefs,proto3" json:"label_refs,omitempty"`
	// contains filtered or unexported fields
}

func (*ArchiveLabelsRequest) GetLabelRefs

func (x *ArchiveLabelsRequest) GetLabelRefs() []*LabelRef

func (*ArchiveLabelsRequest) ProtoMessage

func (*ArchiveLabelsRequest) ProtoMessage()

func (*ArchiveLabelsRequest) ProtoReflect

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

func (*ArchiveLabelsRequest) Reset

func (x *ArchiveLabelsRequest) Reset()

func (*ArchiveLabelsRequest) SetLabelRefs

func (x *ArchiveLabelsRequest) SetLabelRefs(v []*LabelRef)

func (*ArchiveLabelsRequest) String

func (x *ArchiveLabelsRequest) String() string

type ArchiveLabelsRequest_builder

type ArchiveLabelsRequest_builder struct {

	// The Labels to archive.
	LabelRefs []*LabelRef
	// contains filtered or unexported fields
}

func (ArchiveLabelsRequest_builder) Build

type ArchiveLabelsResponse

type ArchiveLabelsResponse struct {
	// contains filtered or unexported fields
}

func (*ArchiveLabelsResponse) ProtoMessage

func (*ArchiveLabelsResponse) ProtoMessage()

func (*ArchiveLabelsResponse) ProtoReflect

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

func (*ArchiveLabelsResponse) Reset

func (x *ArchiveLabelsResponse) Reset()

func (*ArchiveLabelsResponse) String

func (x *ArchiveLabelsResponse) String() string

type ArchiveLabelsResponse_builder

type ArchiveLabelsResponse_builder struct {
	// contains filtered or unexported fields
}

func (ArchiveLabelsResponse_builder) Build

type Collection

type Collection struct {

	// The id of the Collection.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The time the Collection 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 Collection 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 Collection.
	//
	// Unique within a BSR instance.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// The configurable description of the Collection.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

A collection for a Plugin.

These collections help organize plugins based on their functionality or ecosystem.

func (*Collection) ClearCreateTime

func (x *Collection) ClearCreateTime()

func (*Collection) ClearUpdateTime

func (x *Collection) ClearUpdateTime()

func (*Collection) GetCreateTime

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

func (*Collection) GetDescription

func (x *Collection) GetDescription() string

func (*Collection) GetId

func (x *Collection) GetId() string

func (*Collection) GetName

func (x *Collection) GetName() string

func (*Collection) GetUpdateTime

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

func (*Collection) HasCreateTime

func (x *Collection) HasCreateTime() bool

func (*Collection) HasUpdateTime

func (x *Collection) HasUpdateTime() bool

func (*Collection) ProtoMessage

func (*Collection) ProtoMessage()

func (*Collection) ProtoReflect

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

func (*Collection) Reset

func (x *Collection) Reset()

func (*Collection) SetCreateTime

func (x *Collection) SetCreateTime(v *timestamppb.Timestamp)

func (*Collection) SetDescription

func (x *Collection) SetDescription(v string)

func (*Collection) SetId

func (x *Collection) SetId(v string)

func (*Collection) SetName

func (x *Collection) SetName(v string)

func (*Collection) SetUpdateTime

func (x *Collection) SetUpdateTime(v *timestamppb.Timestamp)

func (*Collection) String

func (x *Collection) String() string

type CollectionRef

type CollectionRef struct {

	// Types that are valid to be assigned to Value:
	//
	//	*CollectionRef_Id
	//	*CollectionRef_Name
	Value isCollectionRef_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

CollectionRef is a reference to a Collection, either an id or a name.

func (*CollectionRef) ClearId

func (x *CollectionRef) ClearId()

func (*CollectionRef) ClearName

func (x *CollectionRef) ClearName()

func (*CollectionRef) ClearValue

func (x *CollectionRef) ClearValue()

func (*CollectionRef) GetId

func (x *CollectionRef) GetId() string

func (*CollectionRef) GetName

func (x *CollectionRef) GetName() string

func (*CollectionRef) GetValue

func (x *CollectionRef) GetValue() isCollectionRef_Value

func (*CollectionRef) HasId

func (x *CollectionRef) HasId() bool

func (*CollectionRef) HasName

func (x *CollectionRef) HasName() bool

func (*CollectionRef) HasValue

func (x *CollectionRef) HasValue() bool

func (*CollectionRef) ProtoMessage

func (*CollectionRef) ProtoMessage()

func (*CollectionRef) ProtoReflect

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

func (*CollectionRef) Reset

func (x *CollectionRef) Reset()

func (*CollectionRef) SetId

func (x *CollectionRef) SetId(v string)

func (*CollectionRef) SetName

func (x *CollectionRef) SetName(v string)

func (*CollectionRef) String

func (x *CollectionRef) String() string

func (*CollectionRef) WhichValue

func (x *CollectionRef) WhichValue() case_CollectionRef_Value

type CollectionRef_Id

type CollectionRef_Id struct {
	// The id of the Collection.
	Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type CollectionRef_Name

type CollectionRef_Name struct {
	// The name of the Collection.
	Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}

type CollectionRef_builder

type CollectionRef_builder struct {

	// Fields of oneof Value:
	// The id of the Collection.
	Id *string
	// The name of the Collection.
	Name *string
	// contains filtered or unexported fields
}

func (CollectionRef_builder) Build

type Collection_builder

type Collection_builder struct {

	// The id of the Collection.
	Id string
	// The time the Collection was created on the BSR.
	CreateTime *timestamppb.Timestamp
	// The last time the Collection was updated on the BSR.
	UpdateTime *timestamppb.Timestamp
	// The name of the Collection.
	//
	// Unique within a BSR instance.
	Name string
	// The configurable description of the Collection.
	Description string
	// contains filtered or unexported fields
}

func (Collection_builder) Build

func (b0 Collection_builder) Build() *Collection

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 Organization that owns the Plugin 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 Plugin that the Commit is associated with.
	PluginId string `protobuf:"bytes,4,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
	// The Digest of the Commit's contents.
	Digest *Digest `protobuf:"bytes,5,opt,name=digest,proto3" json:"digest,omitempty"`
	// The id of the User that created this Commit on the BSR.
	//
	// May be empty if the User is no longer available.
	CreatedByUserId string `protobuf:"bytes,6,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"`
	// The URL of the source control commit that is associated with the Commit.
	//
	// BSR users can navigate to this link to find source control information that is relevant to this Commit
	// (e.g. commit description, PR discussion, authors, approvers, etc.).
	SourceControlUrl string `protobuf:"bytes,7,opt,name=source_control_url,json=sourceControlUrl,proto3" json:"source_control_url,omitempty"`
	// The plugin information as stored directly within the plugin. This is part of the Bufplugin API,
	// and can be returned from a plugin's GetPluginInfo implementation.
	PluginInfo *v1.PluginInfo `protobuf:"bytes,8,opt,name=plugin_info,json=pluginInfo,proto3" json:"plugin_info,omitempty"`
	// contains filtered or unexported fields
}

A commit on a specific Plugin.

Commits are immutable.

Many Commits may be associated with one Digest.

Note that the Digest returned on a Commit depends on the requested DigestType in the RPC that returned the Commit.

func (*Commit) ClearCreateTime

func (x *Commit) ClearCreateTime()

func (*Commit) ClearDigest

func (x *Commit) ClearDigest()

func (*Commit) ClearPluginInfo

func (x *Commit) ClearPluginInfo()

func (*Commit) GetCreateTime

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

func (*Commit) GetCreatedByUserId

func (x *Commit) GetCreatedByUserId() string

func (*Commit) GetDigest

func (x *Commit) GetDigest() *Digest

func (*Commit) GetId

func (x *Commit) GetId() string

func (*Commit) GetOwnerId

func (x *Commit) GetOwnerId() string

func (*Commit) GetPluginId

func (x *Commit) GetPluginId() string

func (*Commit) GetPluginInfo

func (x *Commit) GetPluginInfo() *v1.PluginInfo

func (*Commit) GetSourceControlUrl

func (x *Commit) GetSourceControlUrl() string

func (*Commit) HasCreateTime

func (x *Commit) HasCreateTime() bool

func (*Commit) HasDigest

func (x *Commit) HasDigest() bool

func (*Commit) HasPluginInfo

func (x *Commit) HasPluginInfo() bool

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) ProtoReflect

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

func (*Commit) Reset

func (x *Commit) Reset()

func (*Commit) SetCreateTime

func (x *Commit) SetCreateTime(v *timestamppb.Timestamp)

func (*Commit) SetCreatedByUserId

func (x *Commit) SetCreatedByUserId(v string)

func (*Commit) SetDigest

func (x *Commit) SetDigest(v *Digest)

func (*Commit) SetId

func (x *Commit) SetId(v string)

func (*Commit) SetOwnerId

func (x *Commit) SetOwnerId(v string)

func (*Commit) SetPluginId

func (x *Commit) SetPluginId(v string)

func (*Commit) SetPluginInfo

func (x *Commit) SetPluginInfo(v *v1.PluginInfo)

func (*Commit) SetSourceControlUrl

func (x *Commit) SetSourceControlUrl(v string)

func (*Commit) String

func (x *Commit) String() string

type Commit_builder

type Commit_builder struct {

	// The id of the Commit.
	Id string
	// The time the Commit was pushed to the BSR.
	//
	// Commits are immutable, so there is no corresponding update_time.
	CreateTime *timestamppb.Timestamp
	// The id of the Organization that owns the Plugin that the Commit is associated with.
	OwnerId string
	// The id of the Plugin that the Commit is associated with.
	PluginId string
	// The Digest of the Commit's contents.
	Digest *Digest
	// The id of the User that created this Commit on the BSR.
	//
	// May be empty if the User is no longer available.
	CreatedByUserId string
	// The URL of the source control commit that is associated with the Commit.
	//
	// BSR users can navigate to this link to find source control information that is relevant to this Commit
	// (e.g. commit description, PR discussion, authors, approvers, etc.).
	SourceControlUrl string
	// The plugin information as stored directly within the plugin. This is part of the Bufplugin API,
	// and can be returned from a plugin's GetPluginInfo implementation.
	PluginInfo *v1.PluginInfo
	// contains filtered or unexported fields
}

func (Commit_builder) Build

func (b0 Commit_builder) Build() *Commit

type CompressionType

type CompressionType int32

The type of compression.

const (
	CompressionType_COMPRESSION_TYPE_UNSPECIFIED CompressionType = 0
	// No compression.
	CompressionType_COMPRESSION_TYPE_NONE CompressionType = 1
	// Zstandard compression.
	CompressionType_COMPRESSION_TYPE_ZSTD CompressionType = 2
)

func (CompressionType) Descriptor

func (CompressionType) Enum

func (x CompressionType) Enum() *CompressionType

func (CompressionType) Number

func (CompressionType) String

func (x CompressionType) String() string

func (CompressionType) Type

type CreateOrUpdateLabelsRequest

type CreateOrUpdateLabelsRequest struct {

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

func (*CreateOrUpdateLabelsRequest) GetValues

func (*CreateOrUpdateLabelsRequest) ProtoMessage

func (*CreateOrUpdateLabelsRequest) ProtoMessage()

func (*CreateOrUpdateLabelsRequest) ProtoReflect

func (*CreateOrUpdateLabelsRequest) Reset

func (x *CreateOrUpdateLabelsRequest) Reset()

func (*CreateOrUpdateLabelsRequest) SetValues

func (*CreateOrUpdateLabelsRequest) String

func (x *CreateOrUpdateLabelsRequest) String() string

type CreateOrUpdateLabelsRequest_Value

type CreateOrUpdateLabelsRequest_Value struct {

	// The Labels to create or update.
	LabelRef *LabelRef `protobuf:"bytes,1,opt,name=label_ref,json=labelRef,proto3" json:"label_ref,omitempty"`
	// The id of the Commit to associate with the Label.
	//
	// If the Label already existed, the Label will now point to this Commit, as long as this Commit
	// is newer than the Commit that the Label is currently pointing to, otherwise an error is
	// returned. If the Label was archived, it will be unarchived.
	CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
	// contains filtered or unexported fields
}

An individual request to create or update a Label.

func (*CreateOrUpdateLabelsRequest_Value) ClearLabelRef

func (x *CreateOrUpdateLabelsRequest_Value) ClearLabelRef()

func (*CreateOrUpdateLabelsRequest_Value) GetCommitId

func (x *CreateOrUpdateLabelsRequest_Value) GetCommitId() string

func (*CreateOrUpdateLabelsRequest_Value) GetLabelRef

func (x *CreateOrUpdateLabelsRequest_Value) GetLabelRef() *LabelRef

func (*CreateOrUpdateLabelsRequest_Value) HasLabelRef

func (x *CreateOrUpdateLabelsRequest_Value) HasLabelRef() bool

func (*CreateOrUpdateLabelsRequest_Value) ProtoMessage

func (*CreateOrUpdateLabelsRequest_Value) ProtoMessage()

func (*CreateOrUpdateLabelsRequest_Value) ProtoReflect

func (*CreateOrUpdateLabelsRequest_Value) Reset

func (*CreateOrUpdateLabelsRequest_Value) SetCommitId

func (x *CreateOrUpdateLabelsRequest_Value) SetCommitId(v string)

func (*CreateOrUpdateLabelsRequest_Value) SetLabelRef

func (x *CreateOrUpdateLabelsRequest_Value) SetLabelRef(v *LabelRef)

func (*CreateOrUpdateLabelsRequest_Value) String

type CreateOrUpdateLabelsRequest_Value_builder

type CreateOrUpdateLabelsRequest_Value_builder struct {

	// The Labels to create or update.
	LabelRef *LabelRef
	// The id of the Commit to associate with the Label.
	//
	// If the Label already existed, the Label will now point to this Commit, as long as this Commit
	// is newer than the Commit that the Label is currently pointing to, otherwise an error is
	// returned. If the Label was archived, it will be unarchived.
	CommitId string
	// contains filtered or unexported fields
}

func (CreateOrUpdateLabelsRequest_Value_builder) Build

type CreateOrUpdateLabelsRequest_builder

type CreateOrUpdateLabelsRequest_builder struct {

	// The Labels to create.
	Values []*CreateOrUpdateLabelsRequest_Value
	// contains filtered or unexported fields
}

func (CreateOrUpdateLabelsRequest_builder) Build

type CreateOrUpdateLabelsResponse

type CreateOrUpdateLabelsResponse struct {

	// The created or updated Labels in the same order as given on the request.
	Labels []*Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateLabelsResponse) GetLabels

func (x *CreateOrUpdateLabelsResponse) GetLabels() []*Label

func (*CreateOrUpdateLabelsResponse) ProtoMessage

func (*CreateOrUpdateLabelsResponse) ProtoMessage()

func (*CreateOrUpdateLabelsResponse) ProtoReflect

func (*CreateOrUpdateLabelsResponse) Reset

func (x *CreateOrUpdateLabelsResponse) Reset()

func (*CreateOrUpdateLabelsResponse) SetLabels

func (x *CreateOrUpdateLabelsResponse) SetLabels(v []*Label)

func (*CreateOrUpdateLabelsResponse) String

type CreateOrUpdateLabelsResponse_builder

type CreateOrUpdateLabelsResponse_builder struct {

	// The created or updated Labels in the same order as given on the request.
	Labels []*Label
	// contains filtered or unexported fields
}

func (CreateOrUpdateLabelsResponse_builder) Build

type CreatePluginsRequest

type CreatePluginsRequest struct {

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

func (*CreatePluginsRequest) GetValues

func (*CreatePluginsRequest) ProtoMessage

func (*CreatePluginsRequest) ProtoMessage()

func (*CreatePluginsRequest) ProtoReflect

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

func (*CreatePluginsRequest) Reset

func (x *CreatePluginsRequest) Reset()

func (*CreatePluginsRequest) SetValues

func (*CreatePluginsRequest) String

func (x *CreatePluginsRequest) String() string

type CreatePluginsRequest_Value

type CreatePluginsRequest_Value struct {

	// The Organization to create the Plugin under. The OwnerRef must be a reference to an
	// Organization and cannot be a User reference.
	OwnerRef *v1.OwnerRef `protobuf:"bytes,1,opt,name=owner_ref,json=ownerRef,proto3" json:"owner_ref,omitempty"`
	// The name of the Plugin.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The plugin's visibility.
	//
	// If not specified, it uses the value from the instance or organization visibility control,
	// which defaults to PLUGIN_VISIBILITY_PRIVATE.
	Visibility PluginVisibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.registry.plugin.v1beta1.PluginVisibility" json:"visibility,omitempty"`
	// The configurable description of the Plugin.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The configurable source URL of the Plugin.
	SourceUrl string `protobuf:"bytes,5,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
	// The Plugin type.
	Type PluginType `protobuf:"varint,6,opt,name=type,proto3,enum=buf.registry.plugin.v1beta1.PluginType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

An individual request to create a Plugin.

func (*CreatePluginsRequest_Value) ClearOwnerRef

func (x *CreatePluginsRequest_Value) ClearOwnerRef()

func (*CreatePluginsRequest_Value) GetDescription

func (x *CreatePluginsRequest_Value) GetDescription() string

func (*CreatePluginsRequest_Value) GetName

func (x *CreatePluginsRequest_Value) GetName() string

func (*CreatePluginsRequest_Value) GetOwnerRef

func (x *CreatePluginsRequest_Value) GetOwnerRef() *v1.OwnerRef

func (*CreatePluginsRequest_Value) GetSourceUrl

func (x *CreatePluginsRequest_Value) GetSourceUrl() string

func (*CreatePluginsRequest_Value) GetType

func (*CreatePluginsRequest_Value) GetVisibility

func (x *CreatePluginsRequest_Value) GetVisibility() PluginVisibility

func (*CreatePluginsRequest_Value) HasOwnerRef

func (x *CreatePluginsRequest_Value) HasOwnerRef() bool

func (*CreatePluginsRequest_Value) ProtoMessage

func (*CreatePluginsRequest_Value) ProtoMessage()

func (*CreatePluginsRequest_Value) ProtoReflect

func (*CreatePluginsRequest_Value) Reset

func (x *CreatePluginsRequest_Value) Reset()

func (*CreatePluginsRequest_Value) SetDescription

func (x *CreatePluginsRequest_Value) SetDescription(v string)

func (*CreatePluginsRequest_Value) SetName

func (x *CreatePluginsRequest_Value) SetName(v string)

func (*CreatePluginsRequest_Value) SetOwnerRef

func (x *CreatePluginsRequest_Value) SetOwnerRef(v *v1.OwnerRef)

func (*CreatePluginsRequest_Value) SetSourceUrl

func (x *CreatePluginsRequest_Value) SetSourceUrl(v string)

func (*CreatePluginsRequest_Value) SetType

func (x *CreatePluginsRequest_Value) SetType(v PluginType)

func (*CreatePluginsRequest_Value) SetVisibility

func (x *CreatePluginsRequest_Value) SetVisibility(v PluginVisibility)

func (*CreatePluginsRequest_Value) String

func (x *CreatePluginsRequest_Value) String() string

type CreatePluginsRequest_Value_builder

type CreatePluginsRequest_Value_builder struct {

	// The Organization to create the Plugin under. The OwnerRef must be a reference to an
	// Organization and cannot be a User reference.
	OwnerRef *v1.OwnerRef
	// The name of the Plugin.
	Name string
	// The plugin's visibility.
	//
	// If not specified, it uses the value from the instance or organization visibility control,
	// which defaults to PLUGIN_VISIBILITY_PRIVATE.
	Visibility PluginVisibility
	// The configurable description of the Plugin.
	Description string
	// The configurable source URL of the Plugin.
	SourceUrl string
	// The Plugin type.
	Type PluginType
	// contains filtered or unexported fields
}

func (CreatePluginsRequest_Value_builder) Build

type CreatePluginsRequest_builder

type CreatePluginsRequest_builder struct {

	// The Plugins to create.
	Values []*CreatePluginsRequest_Value
	// contains filtered or unexported fields
}

func (CreatePluginsRequest_builder) Build

type CreatePluginsResponse

type CreatePluginsResponse struct {
	Plugins []*Plugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePluginsResponse) GetPlugins

func (x *CreatePluginsResponse) GetPlugins() []*Plugin

func (*CreatePluginsResponse) ProtoMessage

func (*CreatePluginsResponse) ProtoMessage()

func (*CreatePluginsResponse) ProtoReflect

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

func (*CreatePluginsResponse) Reset

func (x *CreatePluginsResponse) Reset()

func (*CreatePluginsResponse) SetPlugins

func (x *CreatePluginsResponse) SetPlugins(v []*Plugin)

func (*CreatePluginsResponse) String

func (x *CreatePluginsResponse) String() string

type CreatePluginsResponse_builder

type CreatePluginsResponse_builder struct {
	Plugins []*Plugin
	// contains filtered or unexported fields
}

func (CreatePluginsResponse_builder) Build

type DeletePluginsRequest

type DeletePluginsRequest struct {

	// The Plugins to delete.
	PluginRefs []*PluginRef `protobuf:"bytes,1,rep,name=plugin_refs,json=pluginRefs,proto3" json:"plugin_refs,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePluginsRequest) GetPluginRefs

func (x *DeletePluginsRequest) GetPluginRefs() []*PluginRef

func (*DeletePluginsRequest) ProtoMessage

func (*DeletePluginsRequest) ProtoMessage()

func (*DeletePluginsRequest) ProtoReflect

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

func (*DeletePluginsRequest) Reset

func (x *DeletePluginsRequest) Reset()

func (*DeletePluginsRequest) SetPluginRefs

func (x *DeletePluginsRequest) SetPluginRefs(v []*PluginRef)

func (*DeletePluginsRequest) String

func (x *DeletePluginsRequest) String() string

type DeletePluginsRequest_builder

type DeletePluginsRequest_builder struct {

	// The Plugins to delete.
	PluginRefs []*PluginRef
	// contains filtered or unexported fields
}

func (DeletePluginsRequest_builder) Build

type DeletePluginsResponse

type DeletePluginsResponse struct {
	// contains filtered or unexported fields
}

func (*DeletePluginsResponse) ProtoMessage

func (*DeletePluginsResponse) ProtoMessage()

func (*DeletePluginsResponse) ProtoReflect

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

func (*DeletePluginsResponse) Reset

func (x *DeletePluginsResponse) Reset()

func (*DeletePluginsResponse) String

func (x *DeletePluginsResponse) String() string

type DeletePluginsResponse_builder

type DeletePluginsResponse_builder struct {
	// contains filtered or unexported fields
}

func (DeletePluginsResponse_builder) Build

type Digest

type Digest struct {

	// The type of the Digest.
	Type DigestType `protobuf:"varint,1,opt,name=type,proto3,enum=buf.registry.plugin.v1beta1.DigestType" json:"type,omitempty"`
	// The value of the Digest.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A digest of a Commit's content.

A digest represents all content for a single Commit.

func (*Digest) GetType

func (x *Digest) GetType() DigestType

func (*Digest) GetValue

func (x *Digest) GetValue() []byte

func (*Digest) ProtoMessage

func (*Digest) ProtoMessage()

func (*Digest) ProtoReflect

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

func (*Digest) Reset

func (x *Digest) Reset()

func (*Digest) SetType

func (x *Digest) SetType(v DigestType)

func (*Digest) SetValue

func (x *Digest) SetValue(v []byte)

func (*Digest) String

func (x *Digest) String() string

type DigestType

type DigestType int32

The type of Digest.

const (
	DigestType_DIGEST_TYPE_UNSPECIFIED DigestType = 0
	// The p1 digest function.
	DigestType_DIGEST_TYPE_P1 DigestType = 1
)

func (DigestType) Descriptor

func (DigestType) Descriptor() protoreflect.EnumDescriptor

func (DigestType) Enum

func (x DigestType) Enum() *DigestType

func (DigestType) Number

func (x DigestType) Number() protoreflect.EnumNumber

func (DigestType) String

func (x DigestType) String() string

func (DigestType) Type

type Digest_builder

type Digest_builder struct {

	// The type of the Digest.
	Type DigestType
	// The value of the Digest.
	Value []byte
	// contains filtered or unexported fields
}

func (Digest_builder) Build

func (b0 Digest_builder) Build() *Digest

type DownloadRequest

type DownloadRequest struct {

	// The references to get contents for.
	Values []*DownloadRequest_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadRequest) GetValues

func (x *DownloadRequest) GetValues() []*DownloadRequest_Value

func (*DownloadRequest) ProtoMessage

func (*DownloadRequest) ProtoMessage()

func (*DownloadRequest) ProtoReflect

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

func (*DownloadRequest) Reset

func (x *DownloadRequest) Reset()

func (*DownloadRequest) SetValues

func (x *DownloadRequest) SetValues(v []*DownloadRequest_Value)

func (*DownloadRequest) String

func (x *DownloadRequest) String() string

type DownloadRequest_Value

type DownloadRequest_Value struct {

	// The reference to get content for.
	//
	// See the documentation on Reference for reference resolution details.
	//
	// Once the resource is resolved, the following content is returned:
	//   - If a Plugin is referenced, the content of the latest commit of the default label is
	//     returned.
	//   - If a Label is referenced, the content of the Commit of this Label is returned.
	//   - If a Commit is referenced, the content for this Commit is returned.
	ResourceRef *ResourceRef `protobuf:"bytes,1,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"`
	// contains filtered or unexported fields
}

A request for content for a single version of a Plugin.

func (*DownloadRequest_Value) ClearResourceRef

func (x *DownloadRequest_Value) ClearResourceRef()

func (*DownloadRequest_Value) GetResourceRef

func (x *DownloadRequest_Value) GetResourceRef() *ResourceRef

func (*DownloadRequest_Value) HasResourceRef

func (x *DownloadRequest_Value) HasResourceRef() bool

func (*DownloadRequest_Value) ProtoMessage

func (*DownloadRequest_Value) ProtoMessage()

func (*DownloadRequest_Value) ProtoReflect

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

func (*DownloadRequest_Value) Reset

func (x *DownloadRequest_Value) Reset()

func (*DownloadRequest_Value) SetResourceRef

func (x *DownloadRequest_Value) SetResourceRef(v *ResourceRef)

func (*DownloadRequest_Value) String

func (x *DownloadRequest_Value) String() string

type DownloadRequest_Value_builder

type DownloadRequest_Value_builder struct {

	// The reference to get content for.
	//
	// See the documentation on Reference for reference resolution details.
	//
	// Once the resource is resolved, the following content is returned:
	//   - If a Plugin is referenced, the content of the latest commit of the default label is
	//     returned.
	//   - If a Label is referenced, the content of the Commit of this Label is returned.
	//   - If a Commit is referenced, the content for this Commit is returned.
	ResourceRef *ResourceRef
	// contains filtered or unexported fields
}

func (DownloadRequest_Value_builder) Build

type DownloadRequest_builder

type DownloadRequest_builder struct {

	// The references to get contents for.
	Values []*DownloadRequest_Value
	// contains filtered or unexported fields
}

func (DownloadRequest_builder) Build

type DownloadResponse

type DownloadResponse struct {
	Contents []*DownloadResponse_Content `protobuf:"bytes,1,rep,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadResponse) GetContents

func (x *DownloadResponse) GetContents() []*DownloadResponse_Content

func (*DownloadResponse) ProtoMessage

func (*DownloadResponse) ProtoMessage()

func (*DownloadResponse) ProtoReflect

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

func (*DownloadResponse) Reset

func (x *DownloadResponse) Reset()

func (*DownloadResponse) SetContents

func (x *DownloadResponse) SetContents(v []*DownloadResponse_Content)

func (*DownloadResponse) String

func (x *DownloadResponse) String() string

type DownloadResponse_Content

type DownloadResponse_Content struct {

	// The Commit associated with the Content.
	Commit *Commit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
	// The compression type.
	CompressionType CompressionType `` /* 156-byte string literal not displayed */
	// The content.
	Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

Content for a single version of a Plugin.

func (*DownloadResponse_Content) ClearCommit

func (x *DownloadResponse_Content) ClearCommit()

func (*DownloadResponse_Content) GetCommit

func (x *DownloadResponse_Content) GetCommit() *Commit

func (*DownloadResponse_Content) GetCompressionType

func (x *DownloadResponse_Content) GetCompressionType() CompressionType

func (*DownloadResponse_Content) GetContent

func (x *DownloadResponse_Content) GetContent() []byte

func (*DownloadResponse_Content) HasCommit

func (x *DownloadResponse_Content) HasCommit() bool

func (*DownloadResponse_Content) ProtoMessage

func (*DownloadResponse_Content) ProtoMessage()

func (*DownloadResponse_Content) ProtoReflect

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

func (*DownloadResponse_Content) Reset

func (x *DownloadResponse_Content) Reset()

func (*DownloadResponse_Content) SetCommit

func (x *DownloadResponse_Content) SetCommit(v *Commit)

func (*DownloadResponse_Content) SetCompressionType

func (x *DownloadResponse_Content) SetCompressionType(v CompressionType)

func (*DownloadResponse_Content) SetContent

func (x *DownloadResponse_Content) SetContent(v []byte)

func (*DownloadResponse_Content) String

func (x *DownloadResponse_Content) String() string

type DownloadResponse_Content_builder

type DownloadResponse_Content_builder struct {

	// The Commit associated with the Content.
	Commit *Commit
	// The compression type.
	CompressionType CompressionType
	// The content.
	Content []byte
	// contains filtered or unexported fields
}

func (DownloadResponse_Content_builder) Build

type DownloadResponse_builder

type DownloadResponse_builder struct {
	Contents []*DownloadResponse_Content
	// contains filtered or unexported fields
}

func (DownloadResponse_builder) Build

type GetCollectionsRequest

type GetCollectionsRequest struct {

	// The Collections to request.
	CollectionRefs []*CollectionRef `protobuf:"bytes,1,rep,name=collection_refs,json=collectionRefs,proto3" json:"collection_refs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCollectionsRequest) GetCollectionRefs

func (x *GetCollectionsRequest) GetCollectionRefs() []*CollectionRef

func (*GetCollectionsRequest) ProtoMessage

func (*GetCollectionsRequest) ProtoMessage()

func (*GetCollectionsRequest) ProtoReflect

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

func (*GetCollectionsRequest) Reset

func (x *GetCollectionsRequest) Reset()

func (*GetCollectionsRequest) SetCollectionRefs

func (x *GetCollectionsRequest) SetCollectionRefs(v []*CollectionRef)

func (*GetCollectionsRequest) String

func (x *GetCollectionsRequest) String() string

type GetCollectionsRequest_builder

type GetCollectionsRequest_builder struct {

	// The Collections to request.
	CollectionRefs []*CollectionRef
	// contains filtered or unexported fields
}

func (GetCollectionsRequest_builder) Build

type GetCollectionsResponse

type GetCollectionsResponse struct {

	// The retrieved Collections in the same order as requested.
	Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCollectionsResponse) GetCollections

func (x *GetCollectionsResponse) GetCollections() []*Collection

func (*GetCollectionsResponse) ProtoMessage

func (*GetCollectionsResponse) ProtoMessage()

func (*GetCollectionsResponse) ProtoReflect

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

func (*GetCollectionsResponse) Reset

func (x *GetCollectionsResponse) Reset()

func (*GetCollectionsResponse) SetCollections

func (x *GetCollectionsResponse) SetCollections(v []*Collection)

func (*GetCollectionsResponse) String

func (x *GetCollectionsResponse) String() string

type GetCollectionsResponse_builder

type GetCollectionsResponse_builder struct {

	// The retrieved Collections in the same order as requested.
	Collections []*Collection
	// contains filtered or unexported fields
}

func (GetCollectionsResponse_builder) Build

type GetCommitsRequest

type GetCommitsRequest struct {

	// References to request a Commit for.
	//
	// See the documentation on ResourceRef for resource resolution details.
	//
	// Resolution is as follows:
	//   - If a Plugin is referenced, the Commit of the default Label is returned.
	//   - If a Label is referenced, the Commit of this Label is returned.
	//   - If a Commit is referenced, this Commit is returned.
	ResourceRefs []*ResourceRef `protobuf:"bytes,1,rep,name=resource_refs,json=resourceRefs,proto3" json:"resource_refs,omitempty"`
	// The DigestType to use for Digests returned on Commits.
	//
	// If this DigestType is not available, an error is returned.
	// Note that certain DigestTypes may be deprecated over time.
	//
	// If not set, the latest DigestType is used, currently P1.
	DigestType DigestType `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetCommitsRequest) GetDigestType

func (x *GetCommitsRequest) GetDigestType() DigestType

func (*GetCommitsRequest) GetResourceRefs

func (x *GetCommitsRequest) GetResourceRefs() []*ResourceRef

func (*GetCommitsRequest) ProtoMessage

func (*GetCommitsRequest) ProtoMessage()

func (*GetCommitsRequest) ProtoReflect

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

func (*GetCommitsRequest) Reset

func (x *GetCommitsRequest) Reset()

func (*GetCommitsRequest) SetDigestType

func (x *GetCommitsRequest) SetDigestType(v DigestType)

func (*GetCommitsRequest) SetResourceRefs

func (x *GetCommitsRequest) SetResourceRefs(v []*ResourceRef)

func (*GetCommitsRequest) String

func (x *GetCommitsRequest) String() string

type GetCommitsRequest_builder

type GetCommitsRequest_builder struct {

	// References to request a Commit for.
	//
	// See the documentation on ResourceRef for resource resolution details.
	//
	// Resolution is as follows:
	//   - If a Plugin is referenced, the Commit of the default Label is returned.
	//   - If a Label is referenced, the Commit of this Label is returned.
	//   - If a Commit is referenced, this Commit is returned.
	ResourceRefs []*ResourceRef
	// The DigestType to use for Digests returned on Commits.
	//
	// If this DigestType is not available, an error is returned.
	// Note that certain DigestTypes may be deprecated over time.
	//
	// If not set, the latest DigestType is used, currently P1.
	DigestType DigestType
	// contains filtered or unexported fields
}

func (GetCommitsRequest_builder) Build

type GetCommitsResponse

type GetCommitsResponse 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 (*GetCommitsResponse) GetCommits

func (x *GetCommitsResponse) GetCommits() []*Commit

func (*GetCommitsResponse) ProtoMessage

func (*GetCommitsResponse) ProtoMessage()

func (*GetCommitsResponse) ProtoReflect

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

func (*GetCommitsResponse) Reset

func (x *GetCommitsResponse) Reset()

func (*GetCommitsResponse) SetCommits

func (x *GetCommitsResponse) SetCommits(v []*Commit)

func (*GetCommitsResponse) String

func (x *GetCommitsResponse) String() string

type GetCommitsResponse_builder

type GetCommitsResponse_builder struct {

	// The found Commits in the same order as requested.
	Commits []*Commit
	// contains filtered or unexported fields
}

func (GetCommitsResponse_builder) Build

type GetLabelsRequest

type GetLabelsRequest struct {

	// The Labels to request.
	//
	// This may reference archived Labels.
	LabelRefs []*LabelRef `protobuf:"bytes,1,rep,name=label_refs,json=labelRefs,proto3" json:"label_refs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLabelsRequest) GetLabelRefs

func (x *GetLabelsRequest) GetLabelRefs() []*LabelRef

func (*GetLabelsRequest) ProtoMessage

func (*GetLabelsRequest) ProtoMessage()

func (*GetLabelsRequest) ProtoReflect

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

func (*GetLabelsRequest) Reset

func (x *GetLabelsRequest) Reset()

func (*GetLabelsRequest) SetLabelRefs

func (x *GetLabelsRequest) SetLabelRefs(v []*LabelRef)

func (*GetLabelsRequest) String

func (x *GetLabelsRequest) String() string

type GetLabelsRequest_builder

type GetLabelsRequest_builder struct {

	// The Labels to request.
	//
	// This may reference archived Labels.
	LabelRefs []*LabelRef
	// contains filtered or unexported fields
}

func (GetLabelsRequest_builder) Build

type GetLabelsResponse

type GetLabelsResponse struct {

	// The retrieved Labels in the same order as requested.
	Labels []*Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLabelsResponse) GetLabels

func (x *GetLabelsResponse) GetLabels() []*Label

func (*GetLabelsResponse) ProtoMessage

func (*GetLabelsResponse) ProtoMessage()

func (*GetLabelsResponse) ProtoReflect

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

func (*GetLabelsResponse) Reset

func (x *GetLabelsResponse) Reset()

func (*GetLabelsResponse) SetLabels

func (x *GetLabelsResponse) SetLabels(v []*Label)

func (*GetLabelsResponse) String

func (x *GetLabelsResponse) String() string

type GetLabelsResponse_builder

type GetLabelsResponse_builder struct {

	// The retrieved Labels in the same order as requested.
	Labels []*Label
	// contains filtered or unexported fields
}

func (GetLabelsResponse_builder) Build

type GetPluginCollectionAssociationsRequest

type GetPluginCollectionAssociationsRequest struct {

	// The Plugins to request Collections for.
	PluginRefs []*PluginRef `protobuf:"bytes,1,rep,name=plugin_refs,json=pluginRefs,proto3" json:"plugin_refs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPluginCollectionAssociationsRequest) GetPluginRefs

func (x *GetPluginCollectionAssociationsRequest) GetPluginRefs() []*PluginRef

func (*GetPluginCollectionAssociationsRequest) ProtoMessage

func (*GetPluginCollectionAssociationsRequest) ProtoReflect

func (*GetPluginCollectionAssociationsRequest) Reset

func (*GetPluginCollectionAssociationsRequest) SetPluginRefs

func (x *GetPluginCollectionAssociationsRequest) SetPluginRefs(v []*PluginRef)

func (*GetPluginCollectionAssociationsRequest) String

type GetPluginCollectionAssociationsRequest_builder

type GetPluginCollectionAssociationsRequest_builder struct {

	// The Plugins to request Collections for.
	PluginRefs []*PluginRef
	// contains filtered or unexported fields
}

func (GetPluginCollectionAssociationsRequest_builder) Build

type GetPluginCollectionAssociationsResponse

type GetPluginCollectionAssociationsResponse struct {

	// The Associations for the requested Plugins in the same order as requested.
	Associations []*GetPluginCollectionAssociationsResponse_Association `protobuf:"bytes,1,rep,name=associations,proto3" json:"associations,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPluginCollectionAssociationsResponse) GetAssociations

func (*GetPluginCollectionAssociationsResponse) ProtoMessage

func (*GetPluginCollectionAssociationsResponse) ProtoReflect

func (*GetPluginCollectionAssociationsResponse) Reset

func (*GetPluginCollectionAssociationsResponse) SetAssociations

func (*GetPluginCollectionAssociationsResponse) String

type GetPluginCollectionAssociationsResponse_Association

type GetPluginCollectionAssociationsResponse_Association struct {

	// The id of the Plugin.
	PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
	// The Collection ids associated with the Plugin.
	CollectionIds []string `protobuf:"bytes,2,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
	// contains filtered or unexported fields
}

The Associations for the requested Plugins.

func (*GetPluginCollectionAssociationsResponse_Association) GetCollectionIds

func (*GetPluginCollectionAssociationsResponse_Association) GetPluginId

func (*GetPluginCollectionAssociationsResponse_Association) ProtoMessage

func (*GetPluginCollectionAssociationsResponse_Association) ProtoReflect

func (*GetPluginCollectionAssociationsResponse_Association) Reset

func (*GetPluginCollectionAssociationsResponse_Association) SetCollectionIds

func (*GetPluginCollectionAssociationsResponse_Association) SetPluginId

func (*GetPluginCollectionAssociationsResponse_Association) String

type GetPluginCollectionAssociationsResponse_Association_builder

type GetPluginCollectionAssociationsResponse_Association_builder struct {

	// The id of the Plugin.
	PluginId string
	// The Collection ids associated with the Plugin.
	CollectionIds []string
	// contains filtered or unexported fields
}

func (GetPluginCollectionAssociationsResponse_Association_builder) Build

type GetPluginCollectionAssociationsResponse_builder

type GetPluginCollectionAssociationsResponse_builder struct {

	// The Associations for the requested Plugins in the same order as requested.
	Associations []*GetPluginCollectionAssociationsResponse_Association
	// contains filtered or unexported fields
}

func (GetPluginCollectionAssociationsResponse_builder) Build

type GetPluginsRequest

type GetPluginsRequest struct {

	// The Plugins to request.
	PluginRefs []*PluginRef `protobuf:"bytes,1,rep,name=plugin_refs,json=pluginRefs,proto3" json:"plugin_refs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPluginsRequest) GetPluginRefs

func (x *GetPluginsRequest) GetPluginRefs() []*PluginRef

func (*GetPluginsRequest) ProtoMessage

func (*GetPluginsRequest) ProtoMessage()

func (*GetPluginsRequest) ProtoReflect

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

func (*GetPluginsRequest) Reset

func (x *GetPluginsRequest) Reset()

func (*GetPluginsRequest) SetPluginRefs

func (x *GetPluginsRequest) SetPluginRefs(v []*PluginRef)

func (*GetPluginsRequest) String

func (x *GetPluginsRequest) String() string

type GetPluginsRequest_builder

type GetPluginsRequest_builder struct {

	// The Plugins to request.
	PluginRefs []*PluginRef
	// contains filtered or unexported fields
}

func (GetPluginsRequest_builder) Build

type GetPluginsResponse

type GetPluginsResponse struct {

	// The retrieved Plugins in the same order as requested.
	Plugins []*Plugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPluginsResponse) GetPlugins

func (x *GetPluginsResponse) GetPlugins() []*Plugin

func (*GetPluginsResponse) ProtoMessage

func (*GetPluginsResponse) ProtoMessage()

func (*GetPluginsResponse) ProtoReflect

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

func (*GetPluginsResponse) Reset

func (x *GetPluginsResponse) Reset()

func (*GetPluginsResponse) SetPlugins

func (x *GetPluginsResponse) SetPlugins(v []*Plugin)

func (*GetPluginsResponse) String

func (x *GetPluginsResponse) String() string

type GetPluginsResponse_builder

type GetPluginsResponse_builder struct {

	// The retrieved Plugins in the same order as requested.
	Plugins []*Plugin
	// contains filtered or unexported fields
}

func (GetPluginsResponse_builder) Build

type GetResourcesRequest

type GetResourcesRequest struct {

	// References to request a Resource for.
	//
	// See the documentation on ResourceRef for resource resolution details.
	ResourceRefs []*ResourceRef `protobuf:"bytes,1,rep,name=resource_refs,json=resourceRefs,proto3" json:"resource_refs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourcesRequest) GetResourceRefs

func (x *GetResourcesRequest) GetResourceRefs() []*ResourceRef

func (*GetResourcesRequest) ProtoMessage

func (*GetResourcesRequest) ProtoMessage()

func (*GetResourcesRequest) ProtoReflect

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

func (*GetResourcesRequest) Reset

func (x *GetResourcesRequest) Reset()

func (*GetResourcesRequest) SetResourceRefs

func (x *GetResourcesRequest) SetResourceRefs(v []*ResourceRef)

func (*GetResourcesRequest) String

func (x *GetResourcesRequest) String() string

type GetResourcesRequest_builder

type GetResourcesRequest_builder struct {

	// References to request a Resource for.
	//
	// See the documentation on ResourceRef for resource resolution details.
	ResourceRefs []*ResourceRef
	// contains filtered or unexported fields
}

func (GetResourcesRequest_builder) Build

type GetResourcesResponse

type GetResourcesResponse struct {

	// The found Resources in the same order as requested.
	Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourcesResponse) GetResources

func (x *GetResourcesResponse) GetResources() []*Resource

func (*GetResourcesResponse) ProtoMessage

func (*GetResourcesResponse) ProtoMessage()

func (*GetResourcesResponse) ProtoReflect

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

func (*GetResourcesResponse) Reset

func (x *GetResourcesResponse) Reset()

func (*GetResourcesResponse) SetResources

func (x *GetResourcesResponse) SetResources(v []*Resource)

func (*GetResourcesResponse) String

func (x *GetResourcesResponse) String() string

type GetResourcesResponse_builder

type GetResourcesResponse_builder struct {

	// The found Resources in the same order as requested.
	Resources []*Resource
	// contains filtered or unexported fields
}

func (GetResourcesResponse_builder) Build

type Label

type Label struct {

	// The id of the Label.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The time the Label 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 Label was updated on the BSR.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The time the Label was archived if it is currently archived.
	//
	// If this field is not set, the Label is not currently archived.
	ArchiveTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=archive_time,json=archiveTime,proto3" json:"archive_time,omitempty"`
	// The name of the Label.
	//
	// Unique within a given Plugin.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the Organization that owns the Plugin that the Label is associated with.
	OwnerId string `protobuf:"bytes,6,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// The id of the Plugin that the Label is associated with.
	PluginId string `protobuf:"bytes,7,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
	// The id of the Commit currently associated with the Label.
	//
	// To get the history of the Commits that have been associated with a Label, use ListLabelHistory.
	CommitId string `protobuf:"bytes,8,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
	// The id of the User that last updated this Label on the BSR.
	//
	// May be empty if the User is no longer available.
	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 label on a specific Plugin.

Many Labels can be associated with one Commit.

func (*Label) ClearArchiveTime

func (x *Label) ClearArchiveTime()

func (*Label) ClearCreateTime

func (x *Label) ClearCreateTime()

func (*Label) ClearUpdateTime

func (x *Label) ClearUpdateTime()

func (*Label) GetArchiveTime

func (x *Label) GetArchiveTime() *timestamppb.Timestamp

func (*Label) GetCommitId

func (x *Label) GetCommitId() string

func (*Label) GetCreateTime

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

func (*Label) GetId

func (x *Label) GetId() string

func (*Label) GetName

func (x *Label) GetName() string

func (*Label) GetOwnerId

func (x *Label) GetOwnerId() string

func (*Label) GetPluginId

func (x *Label) GetPluginId() string

func (*Label) GetUpdateTime

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

func (*Label) GetUpdatedByUserId

func (x *Label) GetUpdatedByUserId() string

func (*Label) HasArchiveTime

func (x *Label) HasArchiveTime() bool

func (*Label) HasCreateTime

func (x *Label) HasCreateTime() bool

func (*Label) HasUpdateTime

func (x *Label) HasUpdateTime() bool

func (*Label) ProtoMessage

func (*Label) ProtoMessage()

func (*Label) ProtoReflect

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

func (*Label) Reset

func (x *Label) Reset()

func (*Label) SetArchiveTime

func (x *Label) SetArchiveTime(v *timestamppb.Timestamp)

func (*Label) SetCommitId

func (x *Label) SetCommitId(v string)

func (*Label) SetCreateTime

func (x *Label) SetCreateTime(v *timestamppb.Timestamp)

func (*Label) SetId

func (x *Label) SetId(v string)

func (*Label) SetName

func (x *Label) SetName(v string)

func (*Label) SetOwnerId

func (x *Label) SetOwnerId(v string)

func (*Label) SetPluginId

func (x *Label) SetPluginId(v string)

func (*Label) SetUpdateTime

func (x *Label) SetUpdateTime(v *timestamppb.Timestamp)

func (*Label) SetUpdatedByUserId

func (x *Label) SetUpdatedByUserId(v string)

func (*Label) String

func (x *Label) String() string

type LabelRef

type LabelRef struct {

	// Types that are valid to be assigned to Value:
	//
	//	*LabelRef_Id
	//	*LabelRef_Name_
	Value isLabelRef_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

LabelRef is a reference to a Label, either an id or a fully-qualified name.

This is used in requests.

func (*LabelRef) ClearId

func (x *LabelRef) ClearId()

func (*LabelRef) ClearName

func (x *LabelRef) ClearName()

func (*LabelRef) ClearValue

func (x *LabelRef) ClearValue()

func (*LabelRef) GetId

func (x *LabelRef) GetId() string

func (*LabelRef) GetName

func (x *LabelRef) GetName() *LabelRef_Name

func (*LabelRef) GetValue

func (x *LabelRef) GetValue() isLabelRef_Value

func (*LabelRef) HasId

func (x *LabelRef) HasId() bool

func (*LabelRef) HasName

func (x *LabelRef) HasName() bool

func (*LabelRef) HasValue

func (x *LabelRef) HasValue() bool

func (*LabelRef) ProtoMessage

func (*LabelRef) ProtoMessage()

func (*LabelRef) ProtoReflect

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

func (*LabelRef) Reset

func (x *LabelRef) Reset()

func (*LabelRef) SetId

func (x *LabelRef) SetId(v string)

func (*LabelRef) SetName

func (x *LabelRef) SetName(v *LabelRef_Name)

func (*LabelRef) String

func (x *LabelRef) String() string

func (*LabelRef) WhichValue

func (x *LabelRef) WhichValue() case_LabelRef_Value

type LabelRef_Id

type LabelRef_Id struct {
	// The id of the Label.
	Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type LabelRef_Name

type LabelRef_Name struct {

	// The name of the owner of the Plugin that contains the Label, an Organization.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// The name of the Plugin that contains the Label.
	Plugin string `protobuf:"bytes,2,opt,name=plugin,proto3" json:"plugin,omitempty"`
	// The Label name.
	Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

The fully-qualified name of a Label within a BSR instance.

A Name uniquely identifies a Label. This is used for requests when a caller only has the label name and not the ID.

func (*LabelRef_Name) GetLabel

func (x *LabelRef_Name) GetLabel() string

func (*LabelRef_Name) GetOwner

func (x *LabelRef_Name) GetOwner() string

func (*LabelRef_Name) GetPlugin

func (x *LabelRef_Name) GetPlugin() string

func (*LabelRef_Name) ProtoMessage

func (*LabelRef_Name) ProtoMessage()

func (*LabelRef_Name) ProtoReflect

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

func (*LabelRef_Name) Reset

func (x *LabelRef_Name) Reset()

func (*LabelRef_Name) SetLabel

func (x *LabelRef_Name) SetLabel(v string)

func (*LabelRef_Name) SetOwner

func (x *LabelRef_Name) SetOwner(v string)

func (*LabelRef_Name) SetPlugin

func (x *LabelRef_Name) SetPlugin(v string)

func (*LabelRef_Name) String

func (x *LabelRef_Name) String() string

type LabelRef_Name_

type LabelRef_Name_ struct {
	// The fully-qualified name of the Label.
	Name *LabelRef_Name `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}

type LabelRef_Name_builder

type LabelRef_Name_builder struct {

	// The name of the owner of the Plugin that contains the Label, an Organization.
	Owner string
	// The name of the Plugin that contains the Label.
	Plugin string
	// The Label name.
	Label string
	// contains filtered or unexported fields
}

func (LabelRef_Name_builder) Build

type LabelRef_builder

type LabelRef_builder struct {

	// Fields of oneof Value:
	// The id of the Label.
	Id *string
	// The fully-qualified name of the Label.
	Name *LabelRef_Name
	// contains filtered or unexported fields
}

func (LabelRef_builder) Build

func (b0 LabelRef_builder) Build() *LabelRef

type Label_builder

type Label_builder struct {

	// The id of the Label.
	Id string
	// The time the Label was created on the BSR.
	CreateTime *timestamppb.Timestamp
	// The last time the Label was updated on the BSR.
	UpdateTime *timestamppb.Timestamp
	// The time the Label was archived if it is currently archived.
	//
	// If this field is not set, the Label is not currently archived.
	ArchiveTime *timestamppb.Timestamp
	// The name of the Label.
	//
	// Unique within a given Plugin.
	Name string
	// The id of the Organization that owns the Plugin that the Label is associated with.
	OwnerId string
	// The id of the Plugin that the Label is associated with.
	PluginId string
	// The id of the Commit currently associated with the Label.
	//
	// To get the history of the Commits that have been associated with a Label, use ListLabelHistory.
	CommitId string
	// The id of the User that last updated this Label on the BSR.
	//
	// May be empty if the User is no longer available.
	UpdatedByUserId string
	// contains filtered or unexported fields
}

func (Label_builder) Build

func (b0 Label_builder) Build() *Label

type ListCategoriesRequest

type ListCategoriesRequest 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 Categories for.
	//
	// See the documentation on ResourceRef for resource resolution details.
	//
	// Once the resource is resolved, the following Categories are returned:
	//   - If a Plugin is referenced, the Categories of the the default Label are returned.
	//   - If a Label is referenced, the Categories of the Commit of this Label are returned.
	//   - If a Commit is referenced, the Categories for this Commit are returned.
	ResourceRef *ResourceRef `protobuf:"bytes,3,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCategoriesRequest) ClearResourceRef

func (x *ListCategoriesRequest) ClearResourceRef()

func (*ListCategoriesRequest) GetPageSize

func (x *ListCategoriesRequest) GetPageSize() uint32

func (*ListCategoriesRequest) GetPageToken

func (x *ListCategoriesRequest) GetPageToken() string

func (*ListCategoriesRequest) GetResourceRef

func (x *ListCategoriesRequest) GetResourceRef() *ResourceRef

func (*ListCategoriesRequest) HasResourceRef

func (x *ListCategoriesRequest) HasResourceRef() bool

func (*ListCategoriesRequest) ProtoMessage

func (*ListCategoriesRequest) ProtoMessage()

func (*ListCategoriesRequest) ProtoReflect

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

func (*ListCategoriesRequest) Reset

func (x *ListCategoriesRequest) Reset()

func (*ListCategoriesRequest) SetPageSize

func (x *ListCategoriesRequest) SetPageSize(v uint32)

func (*ListCategoriesRequest) SetPageToken

func (x *ListCategoriesRequest) SetPageToken(v string)

func (*ListCategoriesRequest) SetResourceRef

func (x *ListCategoriesRequest) SetResourceRef(v *ResourceRef)

func (*ListCategoriesRequest) String

func (x *ListCategoriesRequest) String() string

type ListCategoriesRequest_builder

type ListCategoriesRequest_builder struct {

	// The maximum number of items to return.
	//
	// The default value is 10.
	PageSize uint32
	// The page to start from.
	//
	// If empty, the first page is returned.
	PageToken string
	// The reference to get Categories for.
	//
	// See the documentation on ResourceRef for resource resolution details.
	//
	// Once the resource is resolved, the following Categories are returned:
	//   - If a Plugin is referenced, the Categories of the the default Label are returned.
	//   - If a Label is referenced, the Categories of the Commit of this Label are returned.
	//   - If a Commit is referenced, the Categories for this Commit are returned.
	ResourceRef *ResourceRef
	// contains filtered or unexported fields
}

func (ListCategoriesRequest_builder) Build

type ListCategoriesResponse

type ListCategoriesResponse 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 Categories. This is part of the Bufplugin API, and can be returned from
	// a plugin's ListCategories implementation.
	Categories []*v1.Category `protobuf:"bytes,2,rep,name=categories,proto3" json:"categories,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCategoriesResponse) GetCategories

func (x *ListCategoriesResponse) GetCategories() []*v1.Category

func (*ListCategoriesResponse) GetNextPageToken

func (x *ListCategoriesResponse) GetNextPageToken() string

func (*ListCategoriesResponse) ProtoMessage

func (*ListCategoriesResponse) ProtoMessage()

func (*ListCategoriesResponse) ProtoReflect

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

func (*ListCategoriesResponse) Reset

func (x *ListCategoriesResponse) Reset()

func (*ListCategoriesResponse) SetCategories

func (x *ListCategoriesResponse) SetCategories(v []*v1.Category)

func (*ListCategoriesResponse) SetNextPageToken

func (x *ListCategoriesResponse) SetNextPageToken(v string)

func (*ListCategoriesResponse) String

func (x *ListCategoriesResponse) String() string

type ListCategoriesResponse_builder

type ListCategoriesResponse_builder struct {

	// The next page token.
	//
	// If empty, there are no more pages.
	NextPageToken string
	// The listed Categories. This is part of the Bufplugin API, and can be returned from
	// a plugin's ListCategories implementation.
	Categories []*v1.Category
	// contains filtered or unexported fields
}

func (ListCategoriesResponse_builder) Build

type ListCollectionsRequest

type ListCollectionsRequest 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 order to return the Plugins.
	//
	// If not specified, defaults to ORDER_CREATE_TIME_DESC.
	Order ListCollectionsRequest_Order `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListCollectionsRequest) GetOrder

func (*ListCollectionsRequest) GetPageSize

func (x *ListCollectionsRequest) GetPageSize() uint32

func (*ListCollectionsRequest) GetPageToken

func (x *ListCollectionsRequest) GetPageToken() string

func (*ListCollectionsRequest) ProtoMessage

func (*ListCollectionsRequest) ProtoMessage()

func (*ListCollectionsRequest) ProtoReflect

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

func (*ListCollectionsRequest) Reset

func (x *ListCollectionsRequest) Reset()

func (*ListCollectionsRequest) SetOrder

func (*ListCollectionsRequest) SetPageSize

func (x *ListCollectionsRequest) SetPageSize(v uint32)

func (*ListCollectionsRequest) SetPageToken

func (x *ListCollectionsRequest) SetPageToken(v string)

func (*ListCollectionsRequest) String

func (x *ListCollectionsRequest) String() string

type ListCollectionsRequest_Order

type ListCollectionsRequest_Order int32

The list order.

const (
	ListCollectionsRequest_ORDER_UNSPECIFIED ListCollectionsRequest_Order = 0
	// Order by create_time newest to oldest.
	ListCollectionsRequest_ORDER_CREATE_TIME_DESC ListCollectionsRequest_Order = 1
	// Order by create_time oldest to newest.
	ListCollectionsRequest_ORDER_CREATE_TIME_ASC ListCollectionsRequest_Order = 2
)

func (ListCollectionsRequest_Order) Descriptor

func (ListCollectionsRequest_Order) Enum

func (ListCollectionsRequest_Order) Number

func (ListCollectionsRequest_Order) String

func (ListCollectionsRequest_Order) Type

type ListCollectionsRequest_builder

type ListCollectionsRequest_builder struct {

	// The maximum number of items to return.
	//
	// The default value is 10.
	PageSize uint32
	// The page to start from.
	//
	// If empty, the first page is returned.
	PageToken string
	// The order to return the Plugins.
	//
	// If not specified, defaults to ORDER_CREATE_TIME_DESC.
	Order ListCollectionsRequest_Order
	// contains filtered or unexported fields
}

func (ListCollectionsRequest_builder) Build

type ListCollectionsResponse

type ListCollectionsResponse 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 Collections.
	Collections []*Collection `protobuf:"bytes,2,rep,name=collections,proto3" json:"collections,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCollectionsResponse) GetCollections

func (x *ListCollectionsResponse) GetCollections() []*Collection

func (*ListCollectionsResponse) GetNextPageToken

func (x *ListCollectionsResponse) GetNextPageToken() string

func (*ListCollectionsResponse) ProtoMessage

func (*ListCollectionsResponse) ProtoMessage()

func (*ListCollectionsResponse) ProtoReflect

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

func (*ListCollectionsResponse) Reset

func (x *ListCollectionsResponse) Reset()

func (*ListCollectionsResponse) SetCollections

func (x *ListCollectionsResponse) SetCollections(v []*Collection)

func (*ListCollectionsResponse) SetNextPageToken

func (x *ListCollectionsResponse) SetNextPageToken(v string)

func (*ListCollectionsResponse) String

func (x *ListCollectionsResponse) String() string

type ListCollectionsResponse_builder

type ListCollectionsResponse_builder struct {

	// The next page token.
	//
	// If empty, there are no more pages.
	NextPageToken string
	// The listed Collections.
	Collections []*Collection
	// contains filtered or unexported fields
}

func (ListCollectionsResponse_builder) Build

type ListCommitsRequest

type ListCommitsRequest 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 Commits for.
	//
	// See the documentation on Ref for resource resolution details.
	//
	// Once the resource is resolved, the following Commits are listed (subject to any additional filters in the request):
	//   - If a Plugin is referenced, all Commits for the Plugin are returned.
	//   - If a Label is referenced, the Commit the Label points to is returned.
	//     Use ListLabelHistory to get the history of Commits for a Label.
	//   - If a Commit is referenced, this Commit is returned.
	ResourceRef *ResourceRef `protobuf:"bytes,3,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"`
	// The order to return the Commits.
	//
	// If not specified, defaults to ORDER_CREATE_TIME_DESC.
	Order ListCommitsRequest_Order `protobuf:"varint,4,opt,name=order,proto3,enum=buf.registry.plugin.v1beta1.ListCommitsRequest_Order" json:"order,omitempty"`
	// The DigestType to use for Digests returned on Commits.
	//
	// If this DigestType is not available, an error is returned.
	// Note that certain DigestTypes may be deprecated over time.
	//
	// If not set, the latest DigestType is used, currently p1.
	DigestType DigestType `` /* 136-byte string literal not displayed */
	// Only return Commits with an id that contains this string using a case-insensitive comparison.
	IdQuery string `protobuf:"bytes,6,opt,name=id_query,json=idQuery,proto3" json:"id_query,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCommitsRequest) ClearResourceRef

func (x *ListCommitsRequest) ClearResourceRef()

func (*ListCommitsRequest) GetDigestType

func (x *ListCommitsRequest) GetDigestType() DigestType

func (*ListCommitsRequest) GetIdQuery

func (x *ListCommitsRequest) GetIdQuery() string

func (*ListCommitsRequest) GetOrder

func (*ListCommitsRequest) GetPageSize

func (x *ListCommitsRequest) GetPageSize() uint32

func (*ListCommitsRequest) GetPageToken

func (x *ListCommitsRequest) GetPageToken() string

func (*ListCommitsRequest) GetResourceRef

func (x *ListCommitsRequest) GetResourceRef() *ResourceRef

func (*ListCommitsRequest) HasResourceRef

func (x *ListCommitsRequest) HasResourceRef() bool

func (*ListCommitsRequest) ProtoMessage

func (*ListCommitsRequest) ProtoMessage()

func (*ListCommitsRequest) ProtoReflect

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

func (*ListCommitsRequest) Reset

func (x *ListCommitsRequest) Reset()

func (*ListCommitsRequest) SetDigestType

func (x *ListCommitsRequest) SetDigestType(v DigestType)

func (*ListCommitsRequest) SetIdQuery

func (x *ListCommitsRequest) SetIdQuery(v string)

func (*ListCommitsRequest) SetOrder

func (*ListCommitsRequest) SetPageSize

func (x *ListCommitsRequest) SetPageSize(v uint32)

func (*ListCommitsRequest) SetPageToken

func (x *ListCommitsRequest) SetPageToken(v string)

func (*ListCommitsRequest) SetResourceRef

func (x *ListCommitsRequest) SetResourceRef(v *ResourceRef)

func (*ListCommitsRequest) String

func (x *ListCommitsRequest) String() string

type ListCommitsRequest_Order

type ListCommitsRequest_Order int32

The list order.

const (
	ListCommitsRequest_ORDER_UNSPECIFIED ListCommitsRequest_Order = 0
	// Order by create_time newest to oldest.
	ListCommitsRequest_ORDER_CREATE_TIME_DESC ListCommitsRequest_Order = 1
	// Order by create_time oldest to newest.
	ListCommitsRequest_ORDER_CREATE_TIME_ASC ListCommitsRequest_Order = 2
)

func (ListCommitsRequest_Order) Descriptor

func (ListCommitsRequest_Order) Enum

func (ListCommitsRequest_Order) Number

func (ListCommitsRequest_Order) String

func (x ListCommitsRequest_Order) String() string

func (ListCommitsRequest_Order) Type

type ListCommitsRequest_builder

type ListCommitsRequest_builder struct {

	// The maximum number of items to return.
	//
	// The default value is 10.
	PageSize uint32
	// The page to start from.
	//
	// If empty, the first page is returned.
	PageToken string
	// The reference to list Commits for.
	//
	// See the documentation on Ref for resource resolution details.
	//
	// Once the resource is resolved, the following Commits are listed (subject to any additional filters in the request):
	//   - If a Plugin is referenced, all Commits for the Plugin are returned.
	//   - If a Label is referenced, the Commit the Label points to is returned.
	//     Use ListLabelHistory to get the history of Commits for a Label.
	//   - If a Commit is referenced, this Commit is returned.
	ResourceRef *ResourceRef
	// The order to return the Commits.
	//
	// If not specified, defaults to ORDER_CREATE_TIME_DESC.
	Order ListCommitsRequest_Order
	// The DigestType to use for Digests returned on Commits.
	//
	// If this DigestType is not available, an error is returned.
	// Note that certain DigestTypes may be deprecated over time.
	//
	// If not set, the latest DigestType is used, currently p1.
	DigestType DigestType
	// Only return Commits with an id that contains this string using a case-insensitive comparison.
	IdQuery string
	// contains filtered or unexported fields
}

func (ListCommitsRequest_builder) Build

type ListCommitsResponse

type ListCommitsResponse 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 (*ListCommitsResponse) GetCommits

func (x *ListCommitsResponse) GetCommits() []*Commit

func (*ListCommitsResponse) GetNextPageToken

func (x *ListCommitsResponse) GetNextPageToken() string

func (*ListCommitsResponse) ProtoMessage

func (*ListCommitsResponse) ProtoMessage()

func (*ListCommitsResponse) ProtoReflect

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

func (*ListCommitsResponse) Reset

func (x *ListCommitsResponse) Reset()

func (*ListCommitsResponse) SetCommits

func (x *ListCommitsResponse) SetCommits(v []*Commit)

func (*ListCommitsResponse) SetNextPageToken

func (x *ListCommitsResponse) SetNextPageToken(v string)

func (*ListCommitsResponse) String

func (x *ListCommitsResponse) String() string

type ListCommitsResponse_builder

type ListCommitsResponse_builder struct {

	// The next page token.
	//
	// If empty, there are no more pages.
	NextPageToken string
	// The listed Commits.
	Commits []*Commit
	// contains filtered or unexported fields
}

func (ListCommitsResponse_builder) Build

type ListLabelHistoryRequest

type ListLabelHistoryRequest 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 Label to list history for.
	//
	// This may reference archived Labels.
	LabelRef *LabelRef `protobuf:"bytes,3,opt,name=label_ref,json=labelRef,proto3" json:"label_ref,omitempty"`
	// The order to list the Labels.
	//
	// If not specified, defaults to ORDER_DESC.
	Order ListLabelHistoryRequest_Order `` /* 127-byte string literal not displayed */
	// The DigestType to use for Digests returned on Commits.
	//
	// If this DigestType is not available, an error is returned. Note that certain DigestTypes may be
	// deprecated over time.
	//
	// If not set, the latest DigestType is used, currently P1.
	DigestType DigestType `` /* 136-byte string literal not displayed */
	// The Commit id to start from.
	//
	// It is an error to provide a Commit id that doesn't exist on the Label.
	StartCommitId string `protobuf:"bytes,6,opt,name=start_commit_id,json=startCommitId,proto3" json:"start_commit_id,omitempty"`
	// Only list Commits where the Digest has changed from the previous Commit in the history of this
	// Label.
	OnlyCommitsWithChangedDigests bool `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListLabelHistoryRequest) ClearLabelRef

func (x *ListLabelHistoryRequest) ClearLabelRef()

func (*ListLabelHistoryRequest) GetDigestType

func (x *ListLabelHistoryRequest) GetDigestType() DigestType

func (*ListLabelHistoryRequest) GetLabelRef

func (x *ListLabelHistoryRequest) GetLabelRef() *LabelRef

func (*ListLabelHistoryRequest) GetOnlyCommitsWithChangedDigests

func (x *ListLabelHistoryRequest) GetOnlyCommitsWithChangedDigests() bool

func (*ListLabelHistoryRequest) GetOrder

func (*ListLabelHistoryRequest) GetPageSize

func (x *ListLabelHistoryRequest) GetPageSize() uint32

func (*ListLabelHistoryRequest) GetPageToken

func (x *ListLabelHistoryRequest) GetPageToken() string

func (*ListLabelHistoryRequest) GetStartCommitId

func (x *ListLabelHistoryRequest) GetStartCommitId() string

func (*ListLabelHistoryRequest) HasLabelRef

func (x *ListLabelHistoryRequest) HasLabelRef() bool

func (*ListLabelHistoryRequest) ProtoMessage

func (*ListLabelHistoryRequest) ProtoMessage()

func (*ListLabelHistoryRequest) ProtoReflect

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

func (*ListLabelHistoryRequest) Reset

func (x *ListLabelHistoryRequest) Reset()

func (*ListLabelHistoryRequest) SetDigestType

func (x *ListLabelHistoryRequest) SetDigestType(v DigestType)

func (*ListLabelHistoryRequest) SetLabelRef

func (x *ListLabelHistoryRequest) SetLabelRef(v *LabelRef)

func (*ListLabelHistoryRequest) SetOnlyCommitsWithChangedDigests

func (x *ListLabelHistoryRequest) SetOnlyCommitsWithChangedDigests(v bool)

func (*ListLabelHistoryRequest) SetOrder

func (*ListLabelHistoryRequest) SetPageSize

func (x *ListLabelHistoryRequest) SetPageSize(v uint32)

func (*ListLabelHistoryRequest) SetPageToken

func (x *ListLabelHistoryRequest) SetPageToken(v string)

func (*ListLabelHistoryRequest) SetStartCommitId

func (x *ListLabelHistoryRequest) SetStartCommitId(v string)

func (*ListLabelHistoryRequest) String

func (x *ListLabelHistoryRequest) String() string

type ListLabelHistoryRequest_Order

type ListLabelHistoryRequest_Order int32

The list order.

const (
	ListLabelHistoryRequest_ORDER_UNSPECIFIED ListLabelHistoryRequest_Order = 0
	// Order by association time newest to oldest.
	//
	// The Commits most recently associated with the Label will be listed first.
	ListLabelHistoryRequest_ORDER_DESC ListLabelHistoryRequest_Order = 1
	// Order by association time oldest to newest.
	ListLabelHistoryRequest_ORDER_ASC ListLabelHistoryRequest_Order = 2
)

func (ListLabelHistoryRequest_Order) Descriptor

func (ListLabelHistoryRequest_Order) Enum

func (ListLabelHistoryRequest_Order) Number

func (ListLabelHistoryRequest_Order) String

func (ListLabelHistoryRequest_Order) Type

type ListLabelHistoryRequest_builder

type ListLabelHistoryRequest_builder struct {

	// The maximum number of items to return.
	//
	// The default value is 10.
	PageSize uint32
	// The page to start from.
	//
	// If empty, the first page is returned.
	PageToken string
	// The Label to list history for.
	//
	// This may reference archived Labels.
	LabelRef *LabelRef
	// The order to list the Labels.
	//
	// If not specified, defaults to ORDER_DESC.
	Order ListLabelHistoryRequest_Order
	// The DigestType to use for Digests returned on Commits.
	//
	// If this DigestType is not available, an error is returned. Note that certain DigestTypes may be
	// deprecated over time.
	//
	// If not set, the latest DigestType is used, currently P1.
	DigestType DigestType
	// The Commit id to start from.
	//
	// It is an error to provide a Commit id that doesn't exist on the Label.
	StartCommitId string
	// Only list Commits where the Digest has changed from the previous Commit in the history of this
	// Label.
	OnlyCommitsWithChangedDigests bool
	// contains filtered or unexported fields
}

func (ListLabelHistoryRequest_builder) Build

type ListLabelHistoryResponse

type ListLabelHistoryResponse 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 ordered history of the Label.
	Values []*ListLabelHistoryResponse_Value `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLabelHistoryResponse) GetNextPageToken

func (x *ListLabelHistoryResponse) GetNextPageToken() string

func (*ListLabelHistoryResponse) GetValues

func (*ListLabelHistoryResponse) ProtoMessage

func (*ListLabelHistoryResponse) ProtoMessage()

func (*ListLabelHistoryResponse) ProtoReflect

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

func (*ListLabelHistoryResponse) Reset

func (x *ListLabelHistoryResponse) Reset()

func (*ListLabelHistoryResponse) SetNextPageToken

func (x *ListLabelHistoryResponse) SetNextPageToken(v string)

func (*ListLabelHistoryResponse) SetValues

func (*ListLabelHistoryResponse) String

func (x *ListLabelHistoryResponse) String() string

type ListLabelHistoryResponse_Value

type ListLabelHistoryResponse_Value struct {

	// The Commit.
	Commit *Commit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLabelHistoryResponse_Value) ClearCommit

func (x *ListLabelHistoryResponse_Value) ClearCommit()

func (*ListLabelHistoryResponse_Value) GetCommit

func (x *ListLabelHistoryResponse_Value) GetCommit() *Commit

func (*ListLabelHistoryResponse_Value) HasCommit

func (x *ListLabelHistoryResponse_Value) HasCommit() bool

func (*ListLabelHistoryResponse_Value) ProtoMessage

func (*ListLabelHistoryResponse_Value) ProtoMessage()

func (*ListLabelHistoryResponse_Value) ProtoReflect

func (*ListLabelHistoryResponse_Value) Reset

func (x *ListLabelHistoryResponse_Value) Reset()

func (*ListLabelHistoryResponse_Value) SetCommit

func (x *ListLabelHistoryResponse_Value) SetCommit(v *Commit)

func (*ListLabelHistoryResponse_Value) String

type ListLabelHistoryResponse_Value_builder

type ListLabelHistoryResponse_Value_builder struct {

	// The Commit.
	Commit *Commit
	// contains filtered or unexported fields
}

func (ListLabelHistoryResponse_Value_builder) Build

type ListLabelHistoryResponse_builder

type ListLabelHistoryResponse_builder struct {

	// The next page token.
	//
	// If empty, there are no more pages.
	NextPageToken string
	// The ordered history of the Label.
	Values []*ListLabelHistoryResponse_Value
	// contains filtered or unexported fields
}

func (ListLabelHistoryResponse_builder) Build

type ListLabelsRequest

type ListLabelsRequest 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 Labels for.
	//
	// See the documentation on Ref for resource resolution details.
	//
	// Once the resource is resolved, the following Labels are listed (subject to any additional
	// filters in the request):
	//   - If a Plugin is referenced, all Labels for the Plugin are returned.
	//   - If a Label is referenced, this Label is returned.
	//   - If a Commit is referenced, all Labels that currently point to the Commit are returned.
	ResourceRef *ResourceRef `protobuf:"bytes,3,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"`
	// The order to return the Labels.
	//
	// If not specified, defaults to ORDER_CREATE_TIME_DESC.
	Order ListLabelsRequest_Order `protobuf:"varint,4,opt,name=order,proto3,enum=buf.registry.plugin.v1beta1.ListLabelsRequest_Order" json:"order,omitempty"`
	// Only return Labels with a name that contains this string using a case-insensitive comparison.
	NameQuery string `protobuf:"bytes,5,opt,name=name_query,json=nameQuery,proto3" json:"name_query,omitempty"`
	// The archive filter on the returned Labels.
	//
	// If not specified, defaults to ARCHIVE_FILTER_UNARCHIVED_ONLY.
	ArchiveFilter ListLabelsRequest_ArchiveFilter `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListLabelsRequest) ClearResourceRef

func (x *ListLabelsRequest) ClearResourceRef()

func (*ListLabelsRequest) GetArchiveFilter

func (x *ListLabelsRequest) GetArchiveFilter() ListLabelsRequest_ArchiveFilter

func (*ListLabelsRequest) GetNameQuery

func (x *ListLabelsRequest) GetNameQuery() string

func (*ListLabelsRequest) GetOrder

func (*ListLabelsRequest) GetPageSize

func (x *ListLabelsRequest) GetPageSize() uint32

func (*ListLabelsRequest) GetPageToken

func (x *ListLabelsRequest) GetPageToken() string

func (*ListLabelsRequest) GetResourceRef

func (x *ListLabelsRequest) GetResourceRef() *ResourceRef

func (*ListLabelsRequest) HasResourceRef

func (x *ListLabelsRequest) HasResourceRef() bool

func (*ListLabelsRequest) ProtoMessage

func (*ListLabelsRequest) ProtoMessage()

func (*ListLabelsRequest) ProtoReflect

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

func (*ListLabelsRequest) Reset

func (x *ListLabelsRequest) Reset()

func (*ListLabelsRequest) SetArchiveFilter

func (x *ListLabelsRequest) SetArchiveFilter(v ListLabelsRequest_ArchiveFilter)

func (*ListLabelsRequest) SetNameQuery

func (x *ListLabelsRequest) SetNameQuery(v string)

func (*ListLabelsRequest) SetOrder

func (*ListLabelsRequest) SetPageSize

func (x *ListLabelsRequest) SetPageSize(v uint32)

func (*ListLabelsRequest) SetPageToken

func (x *ListLabelsRequest) SetPageToken(v string)

func (*ListLabelsRequest) SetResourceRef

func (x *ListLabelsRequest) SetResourceRef(v *ResourceRef)

func (*ListLabelsRequest) String

func (x *ListLabelsRequest) String() string

type ListLabelsRequest_ArchiveFilter

type ListLabelsRequest_ArchiveFilter int32

A filter on whether a Label is archived or not.

const (
	ListLabelsRequest_ARCHIVE_FILTER_UNSPECIFIED ListLabelsRequest_ArchiveFilter = 0
	// Return only unarchived labels.
	ListLabelsRequest_ARCHIVE_FILTER_UNARCHIVED_ONLY ListLabelsRequest_ArchiveFilter = 1
	// Return only archived labels.
	ListLabelsRequest_ARCHIVE_FILTER_ARCHIVED_ONLY ListLabelsRequest_ArchiveFilter = 2
	// Return both archived and unarchived labels.
	ListLabelsRequest_ARCHIVE_FILTER_ALL ListLabelsRequest_ArchiveFilter = 3
)

func (ListLabelsRequest_ArchiveFilter) Descriptor

func (ListLabelsRequest_ArchiveFilter) Enum

func (ListLabelsRequest_ArchiveFilter) Number

func (ListLabelsRequest_ArchiveFilter) String

func (ListLabelsRequest_ArchiveFilter) Type

type ListLabelsRequest_Order

type ListLabelsRequest_Order int32

The list order.

const (
	ListLabelsRequest_ORDER_UNSPECIFIED ListLabelsRequest_Order = 0
	// Order by create_time newest to oldest.
	ListLabelsRequest_ORDER_CREATE_TIME_DESC ListLabelsRequest_Order = 1
	// Order by create_time oldest to newest.
	ListLabelsRequest_ORDER_CREATE_TIME_ASC ListLabelsRequest_Order = 2
	// Order by update_time newest to oldest.
	ListLabelsRequest_ORDER_UPDATE_TIME_DESC ListLabelsRequest_Order = 3
	// Order by update_time oldest to newest.
	ListLabelsRequest_ORDER_UPDATE_TIME_ASC ListLabelsRequest_Order = 4
)

func (ListLabelsRequest_Order) Descriptor

func (ListLabelsRequest_Order) Enum

func (ListLabelsRequest_Order) Number

func (ListLabelsRequest_Order) String

func (x ListLabelsRequest_Order) String() string

func (ListLabelsRequest_Order) Type

type ListLabelsRequest_builder

type ListLabelsRequest_builder struct {

	// The maximum number of items to return.
	//
	// The default value is 10.
	PageSize uint32
	// The page to start from.
	//
	// If empty, the first page is returned.
	PageToken string
	// The reference to list Labels for.
	//
	// See the documentation on Ref for resource resolution details.
	//
	// Once the resource is resolved, the following Labels are listed (subject to any additional
	// filters in the request):
	//   - If a Plugin is referenced, all Labels for the Plugin are returned.
	//   - If a Label is referenced, this Label is returned.
	//   - If a Commit is referenced, all Labels that currently point to the Commit are returned.
	ResourceRef *ResourceRef
	// The order to return the Labels.
	//
	// If not specified, defaults to ORDER_CREATE_TIME_DESC.
	Order ListLabelsRequest_Order
	// Only return Labels with a name that contains this string using a case-insensitive comparison.
	NameQuery string
	// The archive filter on the returned Labels.
	//
	// If not specified, defaults to ARCHIVE_FILTER_UNARCHIVED_ONLY.
	ArchiveFilter ListLabelsRequest_ArchiveFilter
	// contains filtered or unexported fields
}

func (ListLabelsRequest_builder) Build

type ListLabelsResponse

type ListLabelsResponse 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 Labels.
	Labels []*Label `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLabelsResponse) GetLabels

func (x *ListLabelsResponse) GetLabels() []*Label

func (*ListLabelsResponse) GetNextPageToken

func (x *ListLabelsResponse) GetNextPageToken() string

func (*ListLabelsResponse) ProtoMessage

func (*ListLabelsResponse) ProtoMessage()

func (*ListLabelsResponse) ProtoReflect

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

func (*ListLabelsResponse) Reset

func (x *ListLabelsResponse) Reset()

func (*ListLabelsResponse) SetLabels

func (x *ListLabelsResponse) SetLabels(v []*Label)

func (*ListLabelsResponse) SetNextPageToken

func (x *ListLabelsResponse) SetNextPageToken(v string)

func (*ListLabelsResponse) String

func (x *ListLabelsResponse) String() string

type ListLabelsResponse_builder

type ListLabelsResponse_builder struct {

	// The next page token.
	//
	// If empty, there are no more pages.
	NextPageToken string
	// The listed Labels.
	Labels []*Label
	// contains filtered or unexported fields
}

func (ListLabelsResponse_builder) Build

type ListPluginsRequest

type ListPluginsRequest 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 Organizations to list Plugins for.
	//
	// If empty, all Plugins for all Organizations are listed, but this functionality is limited to
	// Users with the necessary permissions.
	OwnerRefs []*v1.OwnerRef `protobuf:"bytes,3,rep,name=owner_refs,json=ownerRefs,proto3" json:"owner_refs,omitempty"`
	// The specific Collections to list Plugins for.
	//
	// If empty, all Plugins are listed regardless of collection.
	CollectionRefs []*CollectionRef `protobuf:"bytes,4,rep,name=collection_refs,json=collectionRefs,proto3" json:"collection_refs,omitempty"`
	// The order to return the Plugins.
	//
	// If not specified, defaults to ORDER_CREATE_TIME_DESC.
	Order ListPluginsRequest_Order `protobuf:"varint,5,opt,name=order,proto3,enum=buf.registry.plugin.v1beta1.ListPluginsRequest_Order" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPluginsRequest) GetCollectionRefs

func (x *ListPluginsRequest) GetCollectionRefs() []*CollectionRef

func (*ListPluginsRequest) GetOrder

func (*ListPluginsRequest) GetOwnerRefs

func (x *ListPluginsRequest) GetOwnerRefs() []*v1.OwnerRef

func (*ListPluginsRequest) GetPageSize

func (x *ListPluginsRequest) GetPageSize() uint32

func (*ListPluginsRequest) GetPageToken

func (x *ListPluginsRequest) GetPageToken() string

func (*ListPluginsRequest) ProtoMessage

func (*ListPluginsRequest) ProtoMessage()

func (*ListPluginsRequest) ProtoReflect

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

func (*ListPluginsRequest) Reset

func (x *ListPluginsRequest) Reset()

func (*ListPluginsRequest) SetCollectionRefs

func (x *ListPluginsRequest) SetCollectionRefs(v []*CollectionRef)

func (*ListPluginsRequest) SetOrder

func (*ListPluginsRequest) SetOwnerRefs

func (x *ListPluginsRequest) SetOwnerRefs(v []*v1.OwnerRef)

func (*ListPluginsRequest) SetPageSize

func (x *ListPluginsRequest) SetPageSize(v uint32)

func (*ListPluginsRequest) SetPageToken

func (x *ListPluginsRequest) SetPageToken(v string)

func (*ListPluginsRequest) String

func (x *ListPluginsRequest) String() string

type ListPluginsRequest_Order

type ListPluginsRequest_Order int32

The list order.

const (
	ListPluginsRequest_ORDER_UNSPECIFIED ListPluginsRequest_Order = 0
	// Order by create_time newest to oldest.
	ListPluginsRequest_ORDER_CREATE_TIME_DESC ListPluginsRequest_Order = 1
	// Order by create_time oldest to newest.
	ListPluginsRequest_ORDER_CREATE_TIME_ASC ListPluginsRequest_Order = 2
)

func (ListPluginsRequest_Order) Descriptor

func (ListPluginsRequest_Order) Enum

func (ListPluginsRequest_Order) Number

func (ListPluginsRequest_Order) String

func (x ListPluginsRequest_Order) String() string

func (ListPluginsRequest_Order) Type

type ListPluginsRequest_builder

type ListPluginsRequest_builder struct {

	// The maximum number of items to return.
	//
	// The default value is 10.
	PageSize uint32
	// The page to start from.
	//
	// If empty, the first page is returned.
	PageToken string
	// The specific Organizations to list Plugins for.
	//
	// If empty, all Plugins for all Organizations are listed, but this functionality is limited to
	// Users with the necessary permissions.
	OwnerRefs []*v1.OwnerRef
	// The specific Collections to list Plugins for.
	//
	// If empty, all Plugins are listed regardless of collection.
	CollectionRefs []*CollectionRef
	// The order to return the Plugins.
	//
	// If not specified, defaults to ORDER_CREATE_TIME_DESC.
	Order ListPluginsRequest_Order
	// contains filtered or unexported fields
}

func (ListPluginsRequest_builder) Build

type ListPluginsResponse

type ListPluginsResponse 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 Plugins.
	Plugins []*Plugin `protobuf:"bytes,2,rep,name=plugins,proto3" json:"plugins,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPluginsResponse) GetNextPageToken

func (x *ListPluginsResponse) GetNextPageToken() string

func (*ListPluginsResponse) GetPlugins

func (x *ListPluginsResponse) GetPlugins() []*Plugin

func (*ListPluginsResponse) ProtoMessage

func (*ListPluginsResponse) ProtoMessage()

func (*ListPluginsResponse) ProtoReflect

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

func (*ListPluginsResponse) Reset

func (x *ListPluginsResponse) Reset()

func (*ListPluginsResponse) SetNextPageToken

func (x *ListPluginsResponse) SetNextPageToken(v string)

func (*ListPluginsResponse) SetPlugins

func (x *ListPluginsResponse) SetPlugins(v []*Plugin)

func (*ListPluginsResponse) String

func (x *ListPluginsResponse) String() string

type ListPluginsResponse_builder

type ListPluginsResponse_builder struct {

	// The next page token.
	//
	// If empty, there are no more pages.
	NextPageToken string
	// The listed Plugins.
	Plugins []*Plugin
	// contains filtered or unexported fields
}

func (ListPluginsResponse_builder) Build

type ListRulesRequest

type ListRulesRequest 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 Rules for.
	//
	// See the documentation on ResourceRef for resource resolution details.
	//
	// Once the resource is resolved, the following Rules are returned:
	//   - If a Plugin is referenced, the Rules of the the default Label are returned.
	//   - If a Label is referenced, the Rules of the Commit of this Label are returned.
	//   - If a Commit is referenced, the Rules for this Commit are returned.
	ResourceRef *ResourceRef `protobuf:"bytes,3,opt,name=resource_ref,json=resourceRef,proto3" json:"resource_ref,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRulesRequest) ClearResourceRef

func (x *ListRulesRequest) ClearResourceRef()

func (*ListRulesRequest) GetPageSize

func (x *ListRulesRequest) GetPageSize() uint32

func (*ListRulesRequest) GetPageToken

func (x *ListRulesRequest) GetPageToken() string

func (*ListRulesRequest) GetResourceRef

func (x *ListRulesRequest) GetResourceRef() *ResourceRef

func (*ListRulesRequest) HasResourceRef

func (x *ListRulesRequest) HasResourceRef() bool

func (*ListRulesRequest) ProtoMessage

func (*ListRulesRequest) ProtoMessage()

func (*ListRulesRequest) ProtoReflect

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

func (*ListRulesRequest) Reset

func (x *ListRulesRequest) Reset()

func (*ListRulesRequest) SetPageSize

func (x *ListRulesRequest) SetPageSize(v uint32)

func (*ListRulesRequest) SetPageToken

func (x *ListRulesRequest) SetPageToken(v string)

func (*ListRulesRequest) SetResourceRef

func (x *ListRulesRequest) SetResourceRef(v *ResourceRef)

func (*ListRulesRequest) String

func (x *ListRulesRequest) String() string

type ListRulesRequest_builder

type ListRulesRequest_builder struct {

	// The maximum number of items to return.
	//
	// The default value is 10.
	PageSize uint32
	// The page to start from.
	//
	// If empty, the first page is returned.
	PageToken string
	// The reference to get Rules for.
	//
	// See the documentation on ResourceRef for resource resolution details.
	//
	// Once the resource is resolved, the following Rules are returned:
	//   - If a Plugin is referenced, the Rules of the the default Label are returned.
	//   - If a Label is referenced, the Rules of the Commit of this Label are returned.
	//   - If a Commit is referenced, the Rules for this Commit are returned.
	ResourceRef *ResourceRef
	// contains filtered or unexported fields
}

func (ListRulesRequest_builder) Build

type ListRulesResponse

type ListRulesResponse 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 Rules. This is part of the Bufplugin API, and can be returned from
	// a plugin's ListRules implementation.
	Rules []*v1.Rule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRulesResponse) GetNextPageToken

func (x *ListRulesResponse) GetNextPageToken() string

func (*ListRulesResponse) GetRules

func (x *ListRulesResponse) GetRules() []*v1.Rule

func (*ListRulesResponse) ProtoMessage

func (*ListRulesResponse) ProtoMessage()

func (*ListRulesResponse) ProtoReflect

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

func (*ListRulesResponse) Reset

func (x *ListRulesResponse) Reset()

func (*ListRulesResponse) SetNextPageToken

func (x *ListRulesResponse) SetNextPageToken(v string)

func (*ListRulesResponse) SetRules

func (x *ListRulesResponse) SetRules(v []*v1.Rule)

func (*ListRulesResponse) String

func (x *ListRulesResponse) String() string

type ListRulesResponse_builder

type ListRulesResponse_builder struct {

	// The next page token.
	//
	// If empty, there are no more pages.
	NextPageToken string
	// The listed Rules. This is part of the Bufplugin API, and can be returned from
	// a plugin's ListRules implementation.
	Rules []*v1.Rule
	// contains filtered or unexported fields
}

func (ListRulesResponse_builder) Build

type Plugin

type Plugin struct {

	// The id of the Plugin.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The time the Plugin 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 Plugin 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 Plugin.
	//
	// Unique within a given Organization.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the Organization that owns the Plugin.
	OwnerId string `protobuf:"bytes,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// The Plugin's visibility, either public or private.
	Visibility PluginVisibility `protobuf:"varint,6,opt,name=visibility,proto3,enum=buf.registry.plugin.v1beta1.PluginVisibility" json:"visibility,omitempty"`
	// The Plugin state, either active or deprecated.
	State PluginState `protobuf:"varint,7,opt,name=state,proto3,enum=buf.registry.plugin.v1beta1.PluginState" json:"state,omitempty"`
	// The Plugin type.
	Type PluginType `protobuf:"varint,8,opt,name=type,proto3,enum=buf.registry.plugin.v1beta1.PluginType" json:"type,omitempty"`
	// The configurable short description of the Plugin.
	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// The configurable source URL of the Plugin.
	SourceUrl string `protobuf:"bytes,10,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
	// contains filtered or unexported fields
}

func (*Plugin) ClearCreateTime

func (x *Plugin) ClearCreateTime()

func (*Plugin) ClearUpdateTime

func (x *Plugin) ClearUpdateTime()

func (*Plugin) GetCreateTime

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

func (*Plugin) GetDescription

func (x *Plugin) GetDescription() string

func (*Plugin) GetId

func (x *Plugin) GetId() string

func (*Plugin) GetName

func (x *Plugin) GetName() string

func (*Plugin) GetOwnerId

func (x *Plugin) GetOwnerId() string

func (*Plugin) GetSourceUrl

func (x *Plugin) GetSourceUrl() string

func (*Plugin) GetState

func (x *Plugin) GetState() PluginState

func (*Plugin) GetType

func (x *Plugin) GetType() PluginType

func (*Plugin) GetUpdateTime

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

func (*Plugin) GetVisibility

func (x *Plugin) GetVisibility() PluginVisibility

func (*Plugin) HasCreateTime

func (x *Plugin) HasCreateTime() bool

func (*Plugin) HasUpdateTime

func (x *Plugin) HasUpdateTime() bool

func (*Plugin) ProtoMessage

func (*Plugin) ProtoMessage()

func (*Plugin) ProtoReflect

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

func (*Plugin) Reset

func (x *Plugin) Reset()

func (*Plugin) SetCreateTime

func (x *Plugin) SetCreateTime(v *timestamppb.Timestamp)

func (*Plugin) SetDescription

func (x *Plugin) SetDescription(v string)

func (*Plugin) SetId

func (x *Plugin) SetId(v string)

func (*Plugin) SetName

func (x *Plugin) SetName(v string)

func (*Plugin) SetOwnerId

func (x *Plugin) SetOwnerId(v string)

func (*Plugin) SetSourceUrl

func (x *Plugin) SetSourceUrl(v string)

func (*Plugin) SetState

func (x *Plugin) SetState(v PluginState)

func (*Plugin) SetType

func (x *Plugin) SetType(v PluginType)

func (*Plugin) SetUpdateTime

func (x *Plugin) SetUpdateTime(v *timestamppb.Timestamp)

func (*Plugin) SetVisibility

func (x *Plugin) SetVisibility(v PluginVisibility)

func (*Plugin) String

func (x *Plugin) String() string

type PluginRef

type PluginRef struct {

	// Types that are valid to be assigned to Value:
	//
	//	*PluginRef_Id
	//	*PluginRef_Name_
	Value isPluginRef_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

PluginRef is a reference to a Plugin, either an id or a fully-qualified name.

This is used in requests.

func (*PluginRef) ClearId

func (x *PluginRef) ClearId()

func (*PluginRef) ClearName

func (x *PluginRef) ClearName()

func (*PluginRef) ClearValue

func (x *PluginRef) ClearValue()

func (*PluginRef) GetId

func (x *PluginRef) GetId() string

func (*PluginRef) GetName

func (x *PluginRef) GetName() *PluginRef_Name

func (*PluginRef) GetValue

func (x *PluginRef) GetValue() isPluginRef_Value

func (*PluginRef) HasId

func (x *PluginRef) HasId() bool

func (*PluginRef) HasName

func (x *PluginRef) HasName() bool

func (*PluginRef) HasValue

func (x *PluginRef) HasValue() bool

func (*PluginRef) ProtoMessage

func (*PluginRef) ProtoMessage()

func (*PluginRef) ProtoReflect

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

func (*PluginRef) Reset

func (x *PluginRef) Reset()

func (*PluginRef) SetId

func (x *PluginRef) SetId(v string)

func (*PluginRef) SetName

func (x *PluginRef) SetName(v *PluginRef_Name)

func (*PluginRef) String

func (x *PluginRef) String() string

func (*PluginRef) WhichValue

func (x *PluginRef) WhichValue() case_PluginRef_Value

type PluginRef_Id

type PluginRef_Id struct {
	// The id of the Plugin.
	Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type PluginRef_Name

type PluginRef_Name struct {

	// The name of the Organization owner.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// The name of the Plugin.
	Plugin string `protobuf:"bytes,2,opt,name=plugin,proto3" json:"plugin,omitempty"`
	// contains filtered or unexported fields
}

The fully-qualified name of a Plugin within a BSR instance.

A Name uniquely identifies a Plugin. This is used for requests when a caller only has the plugin name and not the ID.

func (*PluginRef_Name) GetOwner

func (x *PluginRef_Name) GetOwner() string

func (*PluginRef_Name) GetPlugin

func (x *PluginRef_Name) GetPlugin() string

func (*PluginRef_Name) ProtoMessage

func (*PluginRef_Name) ProtoMessage()

func (*PluginRef_Name) ProtoReflect

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

func (*PluginRef_Name) Reset

func (x *PluginRef_Name) Reset()

func (*PluginRef_Name) SetOwner

func (x *PluginRef_Name) SetOwner(v string)

func (*PluginRef_Name) SetPlugin

func (x *PluginRef_Name) SetPlugin(v string)

func (*PluginRef_Name) String

func (x *PluginRef_Name) String() string

type PluginRef_Name_

type PluginRef_Name_ struct {
	// The fully-qualified name of the Plugin.
	Name *PluginRef_Name `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}

type PluginRef_Name_builder

type PluginRef_Name_builder struct {

	// The name of the Organization owner.
	Owner string
	// The name of the Plugin.
	Plugin string
	// contains filtered or unexported fields
}

func (PluginRef_Name_builder) Build

type PluginRef_builder

type PluginRef_builder struct {

	// Fields of oneof Value:
	// The id of the Plugin.
	Id *string
	// The fully-qualified name of the Plugin.
	Name *PluginRef_Name
	// contains filtered or unexported fields
}

func (PluginRef_builder) Build

func (b0 PluginRef_builder) Build() *PluginRef

type PluginState

type PluginState int32

The state of a Plugin, currently either active or deprecated.

const (
	PluginState_PLUGIN_STATE_UNSPECIFIED PluginState = 0
	// PLUGIN_STATE_ACTIVE says that the Plugin is currently active.
	PluginState_PLUGIN_STATE_ACTIVE PluginState = 1
	// PLUGIN_STATE_DEPRECATED says that the Plugin has been deprecated and should no longer be used.
	PluginState_PLUGIN_STATE_DEPRECATED PluginState = 2
)

func (PluginState) Descriptor

func (PluginState) Enum

func (x PluginState) Enum() *PluginState

func (PluginState) Number

func (x PluginState) Number() protoreflect.EnumNumber

func (PluginState) String

func (x PluginState) String() string

func (PluginState) Type

type PluginType

type PluginType int32

The type of the Plugin.

const (
	PluginType_PLUGIN_TYPE_UNSPECIFIED PluginType = 0
	// PLUGIN_TYPE_CHECK says that the Plugin is a check plugin.
	PluginType_PLUGIN_TYPE_CHECK PluginType = 1
)

func (PluginType) Descriptor

func (PluginType) Descriptor() protoreflect.EnumDescriptor

func (PluginType) Enum

func (x PluginType) Enum() *PluginType

func (PluginType) Number

func (x PluginType) Number() protoreflect.EnumNumber

func (PluginType) String

func (x PluginType) String() string

func (PluginType) Type

type PluginVisibility

type PluginVisibility int32

The visibility of a Plugin, currently either public or private.

const (
	PluginVisibility_PLUGIN_VISIBILITY_UNSPECIFIED PluginVisibility = 0
	// PLUGIN_VISIBILITY_PUBLIC says that the plugin is publicly available.
	PluginVisibility_PLUGIN_VISIBILITY_PUBLIC PluginVisibility = 1
	// PLUGIN_VISIBILITY_PRIVATE says that the plugin is private.
	PluginVisibility_PLUGIN_VISIBILITY_PRIVATE PluginVisibility = 2
)

func (PluginVisibility) Descriptor

func (PluginVisibility) Enum

func (PluginVisibility) Number

func (PluginVisibility) String

func (x PluginVisibility) String() string

func (PluginVisibility) Type

type Plugin_builder

type Plugin_builder struct {

	// The id of the Plugin.
	Id string
	// The time the Plugin was created on the BSR.
	CreateTime *timestamppb.Timestamp
	// The last time the Plugin was updated on the BSR.
	UpdateTime *timestamppb.Timestamp
	// The name of the Plugin.
	//
	// Unique within a given Organization.
	Name string
	// The id of the Organization that owns the Plugin.
	OwnerId string
	// The Plugin's visibility, either public or private.
	Visibility PluginVisibility
	// The Plugin state, either active or deprecated.
	State PluginState
	// The Plugin type.
	Type PluginType
	// The configurable short description of the Plugin.
	Description string
	// The configurable source URL of the Plugin.
	SourceUrl string
	// contains filtered or unexported fields
}

func (Plugin_builder) Build

func (b0 Plugin_builder) Build() *Plugin

type Resource

type Resource struct {

	// Types that are valid to be assigned to Value:
	//
	//	*Resource_Plugin
	//	*Resource_Label
	//	*Resource_Commit
	Value isResource_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

A Plugin, Label, or Commit.

func (*Resource) ClearCommit

func (x *Resource) ClearCommit()

func (*Resource) ClearLabel

func (x *Resource) ClearLabel()

func (*Resource) ClearPlugin

func (x *Resource) ClearPlugin()

func (*Resource) ClearValue

func (x *Resource) ClearValue()

func (*Resource) GetCommit

func (x *Resource) GetCommit() *Commit

func (*Resource) GetLabel

func (x *Resource) GetLabel() *Label

func (*Resource) GetPlugin

func (x *Resource) GetPlugin() *Plugin

func (*Resource) GetValue

func (x *Resource) GetValue() isResource_Value

func (*Resource) HasCommit

func (x *Resource) HasCommit() bool

func (*Resource) HasLabel

func (x *Resource) HasLabel() bool

func (*Resource) HasPlugin

func (x *Resource) HasPlugin() bool

func (*Resource) HasValue

func (x *Resource) HasValue() bool

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) SetCommit

func (x *Resource) SetCommit(v *Commit)

func (*Resource) SetLabel

func (x *Resource) SetLabel(v *Label)

func (*Resource) SetPlugin

func (x *Resource) SetPlugin(v *Plugin)

func (*Resource) String

func (x *Resource) String() string

func (*Resource) WhichValue

func (x *Resource) WhichValue() case_Resource_Value

type ResourceRef

type ResourceRef struct {

	// Types that are valid to be assigned to Value:
	//
	//	*ResourceRef_Id
	//	*ResourceRef_Name_
	Value isResourceRef_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

A reference to any of:

  • Plugin
  • Label
  • Commit

The id or name is resolved to a specific resource. If an id is passed, this is interpreted as being the id of the resource. If a name is passed, the semantics according to ResourceRef.Name are applied.

ResourceRefs can only be used in requests, and only for read-only RPCs, that is you should not use an arbitrary reference when modifying a specific resource.

func (*ResourceRef) ClearId

func (x *ResourceRef) ClearId()

func (*ResourceRef) ClearName

func (x *ResourceRef) ClearName()

func (*ResourceRef) ClearValue

func (x *ResourceRef) ClearValue()

func (*ResourceRef) GetId

func (x *ResourceRef) GetId() string

func (*ResourceRef) GetName

func (x *ResourceRef) GetName() *ResourceRef_Name

func (*ResourceRef) GetValue

func (x *ResourceRef) GetValue() isResourceRef_Value

func (*ResourceRef) HasId

func (x *ResourceRef) HasId() bool

func (*ResourceRef) HasName

func (x *ResourceRef) HasName() bool

func (*ResourceRef) HasValue

func (x *ResourceRef) HasValue() bool

func (*ResourceRef) ProtoMessage

func (*ResourceRef) ProtoMessage()

func (*ResourceRef) ProtoReflect

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

func (*ResourceRef) Reset

func (x *ResourceRef) Reset()

func (*ResourceRef) SetId

func (x *ResourceRef) SetId(v string)

func (*ResourceRef) SetName

func (x *ResourceRef) SetName(v *ResourceRef_Name)

func (*ResourceRef) String

func (x *ResourceRef) String() string

func (*ResourceRef) WhichValue

func (x *ResourceRef) WhichValue() case_ResourceRef_Value

type ResourceRef_Id

type ResourceRef_Id struct {
	// The id of the resource.
	Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type ResourceRef_Name

type ResourceRef_Name struct {

	// The name of the Organization that owns the resource.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// The name of the Plugin that contains or is the resource.
	Plugin string `protobuf:"bytes,2,opt,name=plugin,proto3" json:"plugin,omitempty"`
	// If the oneof is present but empty, this should be treated as not present.
	//
	// Types that are valid to be assigned to Child:
	//
	//	*ResourceRef_Name_LabelName
	//	*ResourceRef_Name_Ref
	Child isResourceRef_Name_Child `protobuf_oneof:"child"`
	// contains filtered or unexported fields
}

The fully-qualified name component of a ResourceRef.

The following semantics are applied:

  • If the child oneof is not specified, the name is interpreted to reference a Plugin.
  • If label_name is specified, the name is interpreted to reference a Label.
  • 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 plugin fields match the resource referenced, as additional validation.
  • If a name, this is interpreted to be a Label name.
  • If there is a conflict between names across resources (for example, there is a Commit id and Label name of the same value), the following order of precedence is applied:
  • Commit
  • Label

Names can only be used in requests, and only for read-only RPCs, that is you should not use an arbitrary reference when modifying a specific resource.

func (*ResourceRef_Name) ClearChild

func (x *ResourceRef_Name) ClearChild()

func (*ResourceRef_Name) ClearLabelName

func (x *ResourceRef_Name) ClearLabelName()

func (*ResourceRef_Name) ClearRef

func (x *ResourceRef_Name) ClearRef()

func (*ResourceRef_Name) GetChild

func (x *ResourceRef_Name) GetChild() isResourceRef_Name_Child

func (*ResourceRef_Name) GetLabelName

func (x *ResourceRef_Name) GetLabelName() string

func (*ResourceRef_Name) GetOwner

func (x *ResourceRef_Name) GetOwner() string

func (*ResourceRef_Name) GetPlugin

func (x *ResourceRef_Name) GetPlugin() string

func (*ResourceRef_Name) GetRef

func (x *ResourceRef_Name) GetRef() string

func (*ResourceRef_Name) HasChild

func (x *ResourceRef_Name) HasChild() bool

func (*ResourceRef_Name) HasLabelName

func (x *ResourceRef_Name) HasLabelName() bool

func (*ResourceRef_Name) HasRef

func (x *ResourceRef_Name) HasRef() bool

func (*ResourceRef_Name) ProtoMessage

func (*ResourceRef_Name) ProtoMessage()

func (*ResourceRef_Name) ProtoReflect

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

func (*ResourceRef_Name) Reset

func (x *ResourceRef_Name) Reset()

func (*ResourceRef_Name) SetLabelName

func (x *ResourceRef_Name) SetLabelName(v string)

func (*ResourceRef_Name) SetOwner

func (x *ResourceRef_Name) SetOwner(v string)

func (*ResourceRef_Name) SetPlugin

func (x *ResourceRef_Name) SetPlugin(v string)

func (*ResourceRef_Name) SetRef

func (x *ResourceRef_Name) SetRef(v string)

func (*ResourceRef_Name) String

func (x *ResourceRef_Name) String() string

func (*ResourceRef_Name) WhichChild

func (x *ResourceRef_Name) WhichChild() case_ResourceRef_Name_Child

type ResourceRef_Name_

type ResourceRef_Name_ struct {
	// The fully-qualified name of the resource.
	Name *ResourceRef_Name `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}

type ResourceRef_Name_LabelName

type ResourceRef_Name_LabelName struct {
	// The name of the Label.
	//
	// If this value is present but empty, this should be treated as not present, that is an empty
	// value is the same as a null value.
	LabelName string `protobuf:"bytes,3,opt,name=label_name,json=labelName,proto3,oneof"`
}

type ResourceRef_Name_Ref

type ResourceRef_Name_Ref struct {
	// The untyped reference, applying the semantics as documented on the Name message.
	//
	// If this value is present but empty, this should be treated as not present, that is an empty
	// value is the same as a null value.
	Ref string `protobuf:"bytes,4,opt,name=ref,proto3,oneof"`
}

type ResourceRef_Name_builder

type ResourceRef_Name_builder struct {

	// The name of the Organization that owns the resource.
	Owner string
	// The name of the Plugin that contains or is the resource.
	Plugin string

	// Fields of oneof Child:
	// The name of the Label.
	//
	// If this value is present but empty, this should be treated as not present, that is an empty
	// value is the same as a null value.
	LabelName *string
	// The untyped reference, applying the semantics as documented on the Name message.
	//
	// If this value is present but empty, this should be treated as not present, that is an empty
	// value is the same as a null value.
	Ref *string
	// contains filtered or unexported fields
}

func (ResourceRef_Name_builder) Build

type ResourceRef_builder

type ResourceRef_builder struct {

	// Fields of oneof Value:
	// The id of the resource.
	Id *string
	// The fully-qualified name of the resource.
	Name *ResourceRef_Name
	// contains filtered or unexported fields
}

func (ResourceRef_builder) Build

func (b0 ResourceRef_builder) Build() *ResourceRef

type Resource_Commit

type Resource_Commit struct {
	Commit *Commit `protobuf:"bytes,3,opt,name=commit,proto3,oneof"`
}

type Resource_Label

type Resource_Label struct {
	Label *Label `protobuf:"bytes,2,opt,name=label,proto3,oneof"`
}

type Resource_Plugin

type Resource_Plugin struct {
	Plugin *Plugin `protobuf:"bytes,1,opt,name=plugin,proto3,oneof"`
}

type Resource_builder

type Resource_builder struct {

	// Fields of oneof Value:
	Plugin *Plugin
	Label  *Label
	Commit *Commit
	// contains filtered or unexported fields
}

func (Resource_builder) Build

func (b0 Resource_builder) Build() *Resource

type ScopedLabelRef

type ScopedLabelRef struct {

	// Types that are valid to be assigned to Value:
	//
	//	*ScopedLabelRef_Id
	//	*ScopedLabelRef_Name
	Value isScopedLabelRef_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

A reference to a Label scoped to a Plugin, either an id or a name.

This is used in requests.

func (*ScopedLabelRef) ClearId

func (x *ScopedLabelRef) ClearId()

func (*ScopedLabelRef) ClearName

func (x *ScopedLabelRef) ClearName()

func (*ScopedLabelRef) ClearValue

func (x *ScopedLabelRef) ClearValue()

func (*ScopedLabelRef) GetId

func (x *ScopedLabelRef) GetId() string

func (*ScopedLabelRef) GetName

func (x *ScopedLabelRef) GetName() string

func (*ScopedLabelRef) GetValue

func (x *ScopedLabelRef) GetValue() isScopedLabelRef_Value

func (*ScopedLabelRef) HasId

func (x *ScopedLabelRef) HasId() bool

func (*ScopedLabelRef) HasName

func (x *ScopedLabelRef) HasName() bool

func (*ScopedLabelRef) HasValue

func (x *ScopedLabelRef) HasValue() bool

func (*ScopedLabelRef) ProtoMessage

func (*ScopedLabelRef) ProtoMessage()

func (*ScopedLabelRef) ProtoReflect

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

func (*ScopedLabelRef) Reset

func (x *ScopedLabelRef) Reset()

func (*ScopedLabelRef) SetId

func (x *ScopedLabelRef) SetId(v string)

func (*ScopedLabelRef) SetName

func (x *ScopedLabelRef) SetName(v string)

func (*ScopedLabelRef) String

func (x *ScopedLabelRef) String() string

func (*ScopedLabelRef) WhichValue

func (x *ScopedLabelRef) WhichValue() case_ScopedLabelRef_Value

type ScopedLabelRef_Id

type ScopedLabelRef_Id struct {
	// The id of the Label.
	Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type ScopedLabelRef_Name

type ScopedLabelRef_Name struct {
	// The name of the Label.
	Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}

type ScopedLabelRef_builder

type ScopedLabelRef_builder struct {

	// Fields of oneof Value:
	// The id of the Label.
	Id *string
	// The name of the Label.
	Name *string
	// contains filtered or unexported fields
}

func (ScopedLabelRef_builder) Build

type UnarchiveLabelsRequest

type UnarchiveLabelsRequest struct {

	// The Labels to unarchive.
	LabelRefs []*LabelRef `protobuf:"bytes,1,rep,name=label_refs,json=labelRefs,proto3" json:"label_refs,omitempty"`
	// contains filtered or unexported fields
}

func (*UnarchiveLabelsRequest) GetLabelRefs

func (x *UnarchiveLabelsRequest) GetLabelRefs() []*LabelRef

func (*UnarchiveLabelsRequest) ProtoMessage

func (*UnarchiveLabelsRequest) ProtoMessage()

func (*UnarchiveLabelsRequest) ProtoReflect

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

func (*UnarchiveLabelsRequest) Reset

func (x *UnarchiveLabelsRequest) Reset()

func (*UnarchiveLabelsRequest) SetLabelRefs

func (x *UnarchiveLabelsRequest) SetLabelRefs(v []*LabelRef)

func (*UnarchiveLabelsRequest) String

func (x *UnarchiveLabelsRequest) String() string

type UnarchiveLabelsRequest_builder

type UnarchiveLabelsRequest_builder struct {

	// The Labels to unarchive.
	LabelRefs []*LabelRef
	// contains filtered or unexported fields
}

func (UnarchiveLabelsRequest_builder) Build

type UnarchiveLabelsResponse

type UnarchiveLabelsResponse struct {
	// contains filtered or unexported fields
}

func (*UnarchiveLabelsResponse) ProtoMessage

func (*UnarchiveLabelsResponse) ProtoMessage()

func (*UnarchiveLabelsResponse) ProtoReflect

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

func (*UnarchiveLabelsResponse) Reset

func (x *UnarchiveLabelsResponse) Reset()

func (*UnarchiveLabelsResponse) String

func (x *UnarchiveLabelsResponse) String() string

type UnarchiveLabelsResponse_builder

type UnarchiveLabelsResponse_builder struct {
	// contains filtered or unexported fields
}

func (UnarchiveLabelsResponse_builder) Build

type UpdatePluginsRequest

type UpdatePluginsRequest struct {

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

func (*UpdatePluginsRequest) GetValues

func (*UpdatePluginsRequest) ProtoMessage

func (*UpdatePluginsRequest) ProtoMessage()

func (*UpdatePluginsRequest) ProtoReflect

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

func (*UpdatePluginsRequest) Reset

func (x *UpdatePluginsRequest) Reset()

func (*UpdatePluginsRequest) SetValues

func (*UpdatePluginsRequest) String

func (x *UpdatePluginsRequest) String() string

type UpdatePluginsRequest_Value

type UpdatePluginsRequest_Value struct {

	// The Plugin to update.
	PluginRef *PluginRef `protobuf:"bytes,1,opt,name=plugin_ref,json=pluginRef,proto3" json:"plugin_ref,omitempty"`
	// The plugins's visibility.
	Visibility *PluginVisibility `` /* 130-byte string literal not displayed */
	// The deprecation status of the Plugin.
	State *PluginState `protobuf:"varint,3,opt,name=state,proto3,enum=buf.registry.plugin.v1beta1.PluginState,oneof" json:"state,omitempty"`
	// The configurable description of the Plugin.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// The configurable source URL in the description of the Plugin.
	SourceUrl *string `protobuf:"bytes,5,opt,name=source_url,json=sourceUrl,proto3,oneof" json:"source_url,omitempty"`
	// contains filtered or unexported fields
}

An individual request to update a Plugin.

func (*UpdatePluginsRequest_Value) ClearDescription

func (x *UpdatePluginsRequest_Value) ClearDescription()

func (*UpdatePluginsRequest_Value) ClearPluginRef

func (x *UpdatePluginsRequest_Value) ClearPluginRef()

func (*UpdatePluginsRequest_Value) ClearSourceUrl

func (x *UpdatePluginsRequest_Value) ClearSourceUrl()

func (*UpdatePluginsRequest_Value) ClearState

func (x *UpdatePluginsRequest_Value) ClearState()

func (*UpdatePluginsRequest_Value) ClearVisibility

func (x *UpdatePluginsRequest_Value) ClearVisibility()

func (*UpdatePluginsRequest_Value) GetDescription

func (x *UpdatePluginsRequest_Value) GetDescription() string

func (*UpdatePluginsRequest_Value) GetPluginRef

func (x *UpdatePluginsRequest_Value) GetPluginRef() *PluginRef

func (*UpdatePluginsRequest_Value) GetSourceUrl

func (x *UpdatePluginsRequest_Value) GetSourceUrl() string

func (*UpdatePluginsRequest_Value) GetState

func (*UpdatePluginsRequest_Value) GetVisibility

func (x *UpdatePluginsRequest_Value) GetVisibility() PluginVisibility

func (*UpdatePluginsRequest_Value) HasDescription

func (x *UpdatePluginsRequest_Value) HasDescription() bool

func (*UpdatePluginsRequest_Value) HasPluginRef

func (x *UpdatePluginsRequest_Value) HasPluginRef() bool

func (*UpdatePluginsRequest_Value) HasSourceUrl

func (x *UpdatePluginsRequest_Value) HasSourceUrl() bool

func (*UpdatePluginsRequest_Value) HasState

func (x *UpdatePluginsRequest_Value) HasState() bool

func (*UpdatePluginsRequest_Value) HasVisibility

func (x *UpdatePluginsRequest_Value) HasVisibility() bool

func (*UpdatePluginsRequest_Value) ProtoMessage

func (*UpdatePluginsRequest_Value) ProtoMessage()

func (*UpdatePluginsRequest_Value) ProtoReflect

func (*UpdatePluginsRequest_Value) Reset

func (x *UpdatePluginsRequest_Value) Reset()

func (*UpdatePluginsRequest_Value) SetDescription

func (x *UpdatePluginsRequest_Value) SetDescription(v string)

func (*UpdatePluginsRequest_Value) SetPluginRef

func (x *UpdatePluginsRequest_Value) SetPluginRef(v *PluginRef)

func (*UpdatePluginsRequest_Value) SetSourceUrl

func (x *UpdatePluginsRequest_Value) SetSourceUrl(v string)

func (*UpdatePluginsRequest_Value) SetState

func (x *UpdatePluginsRequest_Value) SetState(v PluginState)

func (*UpdatePluginsRequest_Value) SetVisibility

func (x *UpdatePluginsRequest_Value) SetVisibility(v PluginVisibility)

func (*UpdatePluginsRequest_Value) String

func (x *UpdatePluginsRequest_Value) String() string

type UpdatePluginsRequest_Value_builder

type UpdatePluginsRequest_Value_builder struct {

	// The Plugin to update.
	PluginRef *PluginRef
	// The plugins's visibility.
	Visibility *PluginVisibility
	// The deprecation status of the Plugin.
	State *PluginState
	// The configurable description of the Plugin.
	Description *string
	// The configurable source URL in the description of the Plugin.
	SourceUrl *string
	// contains filtered or unexported fields
}

func (UpdatePluginsRequest_Value_builder) Build

type UpdatePluginsRequest_builder

type UpdatePluginsRequest_builder struct {

	// The Plugins to update.
	Values []*UpdatePluginsRequest_Value
	// contains filtered or unexported fields
}

func (UpdatePluginsRequest_builder) Build

type UpdatePluginsResponse

type UpdatePluginsResponse struct {

	// The updated Plugins in the same order as given on the request.
	Plugins []*Plugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePluginsResponse) GetPlugins

func (x *UpdatePluginsResponse) GetPlugins() []*Plugin

func (*UpdatePluginsResponse) ProtoMessage

func (*UpdatePluginsResponse) ProtoMessage()

func (*UpdatePluginsResponse) ProtoReflect

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

func (*UpdatePluginsResponse) Reset

func (x *UpdatePluginsResponse) Reset()

func (*UpdatePluginsResponse) SetPlugins

func (x *UpdatePluginsResponse) SetPlugins(v []*Plugin)

func (*UpdatePluginsResponse) String

func (x *UpdatePluginsResponse) String() string

type UpdatePluginsResponse_builder

type UpdatePluginsResponse_builder struct {

	// The updated Plugins in the same order as given on the request.
	Plugins []*Plugin
	// contains filtered or unexported fields
}

func (UpdatePluginsResponse_builder) Build

type UploadRequest

type UploadRequest struct {

	// The Contents of all references.
	Contents []*UploadRequest_Content `protobuf:"bytes,1,rep,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadRequest) GetContents

func (x *UploadRequest) GetContents() []*UploadRequest_Content

func (*UploadRequest) ProtoMessage

func (*UploadRequest) ProtoMessage()

func (*UploadRequest) ProtoReflect

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

func (*UploadRequest) Reset

func (x *UploadRequest) Reset()

func (*UploadRequest) SetContents

func (x *UploadRequest) SetContents(v []*UploadRequest_Content)

func (*UploadRequest) String

func (x *UploadRequest) String() string

type UploadRequest_Content

type UploadRequest_Content struct {

	// The Plugin of the reference.
	PluginRef *PluginRef `protobuf:"bytes,1,opt,name=plugin_ref,json=pluginRef,proto3" json:"plugin_ref,omitempty"`
	// Compression type of the content.
	CompressionType CompressionType `` /* 156-byte string literal not displayed */
	// The content to upload.
	Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// The labels to associate with the Commit for the Content.
	//
	// If an id is set, this id must represent a Label that already exists and is
	// owned by the Plugin. The Label will point to the newly-created Commits for the References,
	// or will be updated to point to the pre-existing Commit for the Reference.
	//
	// If no labels are referenced, the default Label for the Plugin is used.
	//
	// If the Labels do not exist, they will be created. If the Labels were archived, they will be
	// unarchived.
	ScopedLabelRefs []*ScopedLabelRef `protobuf:"bytes,4,rep,name=scoped_label_refs,json=scopedLabelRefs,proto3" json:"scoped_label_refs,omitempty"`
	// The URL of the source control commit to associate with the Commit for this Content.
	//
	// BSR users can navigate to this link to find source control information that is relevant to
	// this Commit (e.g. commit description, PR discussion, authors, approvers, etc.).
	SourceControlUrl string `protobuf:"bytes,5,opt,name=source_control_url,json=sourceControlUrl,proto3" json:"source_control_url,omitempty"`
	// contains filtered or unexported fields
}

Content to upload.

func (*UploadRequest_Content) ClearPluginRef

func (x *UploadRequest_Content) ClearPluginRef()

func (*UploadRequest_Content) GetCompressionType

func (x *UploadRequest_Content) GetCompressionType() CompressionType

func (*UploadRequest_Content) GetContent

func (x *UploadRequest_Content) GetContent() []byte

func (*UploadRequest_Content) GetPluginRef

func (x *UploadRequest_Content) GetPluginRef() *PluginRef

func (*UploadRequest_Content) GetScopedLabelRefs

func (x *UploadRequest_Content) GetScopedLabelRefs() []*ScopedLabelRef

func (*UploadRequest_Content) GetSourceControlUrl

func (x *UploadRequest_Content) GetSourceControlUrl() string

func (*UploadRequest_Content) HasPluginRef

func (x *UploadRequest_Content) HasPluginRef() bool

func (*UploadRequest_Content) ProtoMessage

func (*UploadRequest_Content) ProtoMessage()

func (*UploadRequest_Content) ProtoReflect

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

func (*UploadRequest_Content) Reset

func (x *UploadRequest_Content) Reset()

func (*UploadRequest_Content) SetCompressionType

func (x *UploadRequest_Content) SetCompressionType(v CompressionType)

func (*UploadRequest_Content) SetContent

func (x *UploadRequest_Content) SetContent(v []byte)

func (*UploadRequest_Content) SetPluginRef

func (x *UploadRequest_Content) SetPluginRef(v *PluginRef)

func (*UploadRequest_Content) SetScopedLabelRefs

func (x *UploadRequest_Content) SetScopedLabelRefs(v []*ScopedLabelRef)

func (*UploadRequest_Content) SetSourceControlUrl

func (x *UploadRequest_Content) SetSourceControlUrl(v string)

func (*UploadRequest_Content) String

func (x *UploadRequest_Content) String() string

type UploadRequest_Content_builder

type UploadRequest_Content_builder struct {

	// The Plugin of the reference.
	PluginRef *PluginRef
	// Compression type of the content.
	CompressionType CompressionType
	// The content to upload.
	Content []byte
	// The labels to associate with the Commit for the Content.
	//
	// If an id is set, this id must represent a Label that already exists and is
	// owned by the Plugin. The Label will point to the newly-created Commits for the References,
	// or will be updated to point to the pre-existing Commit for the Reference.
	//
	// If no labels are referenced, the default Label for the Plugin is used.
	//
	// If the Labels do not exist, they will be created. If the Labels were archived, they will be
	// unarchived.
	ScopedLabelRefs []*ScopedLabelRef
	// The URL of the source control commit to associate with the Commit for this Content.
	//
	// BSR users can navigate to this link to find source control information that is relevant to
	// this Commit (e.g. commit description, PR discussion, authors, approvers, etc.).
	SourceControlUrl string
	// contains filtered or unexported fields
}

func (UploadRequest_Content_builder) Build

type UploadRequest_builder

type UploadRequest_builder struct {

	// The Contents of all references.
	Contents []*UploadRequest_Content
	// contains filtered or unexported fields
}

func (UploadRequest_builder) Build

type UploadResponse

type UploadResponse struct {
	Commits []*Commit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadResponse) GetCommits

func (x *UploadResponse) GetCommits() []*Commit

func (*UploadResponse) ProtoMessage

func (*UploadResponse) ProtoMessage()

func (*UploadResponse) ProtoReflect

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

func (*UploadResponse) Reset

func (x *UploadResponse) Reset()

func (*UploadResponse) SetCommits

func (x *UploadResponse) SetCommits(v []*Commit)

func (*UploadResponse) String

func (x *UploadResponse) String() string

type UploadResponse_builder

type UploadResponse_builder struct {
	Commits []*Commit
	// contains filtered or unexported fields
}

func (UploadResponse_builder) Build

Source Files

  • check_service.pb.go
  • collection.pb.go
  • collection_service.pb.go
  • commit.pb.go
  • commit_service.pb.go
  • compression.pb.go
  • digest.pb.go
  • download_service.pb.go
  • label.pb.go
  • label_service.pb.go
  • plugin.pb.go
  • plugin_service.pb.go
  • resource.pb.go
  • resource_service.pb.go
  • upload_service.pb.go

Jump to

Keyboard shortcuts

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