diff --git a/go.mod b/go.mod index 422f49a23b..7df94f4bbd 100644 --- a/go.mod +++ b/go.mod @@ -5,10 +5,10 @@ go 1.22.0 toolchain go1.23.4 require ( - buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.35.2-20241031151143-70f632351282.1 - buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20241127180247-a33202765966.1 + buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.0-20241031151143-70f632351282.1 + buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.0-20241127180247-a33202765966.1 buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241210175624-28487aef65cd.1 - buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.35.2-20241210175624-28487aef65cd.1 + buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.36.0-20241210175624-28487aef65cd.1 buf.build/go/bufplugin v0.6.0 buf.build/go/protoyaml v0.3.0 buf.build/go/spdx v0.2.0 @@ -47,13 +47,13 @@ require ( golang.org/x/sync v0.10.0 golang.org/x/term v0.27.0 golang.org/x/tools v0.28.0 - google.golang.org/protobuf v1.35.2 + google.golang.org/protobuf v1.36.0 gopkg.in/yaml.v3 v3.0.1 pluginrpc.com/pluginrpc v0.5.0 ) require ( - buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.35.2-20241007202033-cf42259fcbfc.1 // indirect + buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.36.0-20241007202033-cf42259fcbfc.1 // indirect cel.dev/expr v0.19.1 // indirect github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect github.com/Microsoft/go-winio v0.6.2 // indirect diff --git a/go.sum b/go.sum index ddeea1816c..b6570cafa5 100644 --- a/go.sum +++ b/go.sum @@ -1,13 +1,13 @@ -buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.35.2-20241031151143-70f632351282.1 h1:d6K/z/RqVYxeAsAIGaIBDjFmmAz6A0Fp21pZXNlAxZs= -buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.35.2-20241031151143-70f632351282.1/go.mod h1:vKDy7lD1bsN2UjeLhqklPEjIsHfHAPgMb/PbRx2EFDc= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20241127180247-a33202765966.1 h1:jLd96rDDNJ+zIJxvV/L855VEtrjR0G4aePVDlCpf6kw= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20241127180247-a33202765966.1/go.mod h1:mnHCFccv4HwuIAOHNGdiIc5ZYbBCvbTWZcodLN5wITI= +buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.0-20241031151143-70f632351282.1 h1:FXEFgDFrBYuXjn3twNRo/t80qSbdKmkfZSgR2JGTuyk= +buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.0-20241031151143-70f632351282.1/go.mod h1:/bPD5uslGsdRKBeVavIK7D7yr+3ISI0OoyUOkokSJTA= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.0-20241127180247-a33202765966.1 h1:ntAj16eF7AtUyzOOAFk5gvbAO52QmUKPKk7GmsIEORo= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.0-20241127180247-a33202765966.1/go.mod h1:AxRT+qTj5PJCz2nyQzsR/qxAcveW5USRhJTt/edTO5w= buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241210175624-28487aef65cd.1 h1:x8cCitPNXODGzWbfApZMFc4ALtRe5LZJmTdAkNqk62A= buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241210175624-28487aef65cd.1/go.mod h1:kDOQd1sZ0wRp33hvCTQeaz9KprnHNfJ+a8dcIQ/6+0k= -buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.35.2-20241210175624-28487aef65cd.1 h1:nZnN9UhWdadDkl9HRDooqPmZSUvte34tjPxsxnnXzBk= -buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.35.2-20241210175624-28487aef65cd.1/go.mod h1:EQCcR04Wp6ffVPfxNb4ZXAVJXrZJopDNKQWp37BDCgU= -buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.35.2-20241007202033-cf42259fcbfc.1 h1:FcoYwX9eJhc73MdVlqyJjMOQ863akpHK0VEQ/+Zkt9U= -buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.35.2-20241007202033-cf42259fcbfc.1/go.mod h1:uTCf/J5B6H9XCTgHuI91LC9qaNqxJxQFh0kDY/GLn2k= +buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.36.0-20241210175624-28487aef65cd.1 h1:NOuNS+nCp3xc4CALIC7sNz7irT63UMcYAfofrxurUfE= +buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.36.0-20241210175624-28487aef65cd.1/go.mod h1:NeX3YCZgM9E/wNp9e3g/9u5bu8/OPntr7K0ygUlgrDE= +buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.36.0-20241007202033-cf42259fcbfc.1 h1:HuK77NuzllXrJNgB+lAtnG2dKrB7WAjd9QQ+n0zTQHc= +buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.36.0-20241007202033-cf42259fcbfc.1/go.mod h1:BLQCnWbu3tZcKQfbU1f5ysbRk55FDFwOvjlyzN+uLXg= buf.build/go/bufplugin v0.6.0 h1:3lhoh+0z+IUPS3ZajTPn/27LaLIkero2BDVnV7yXD1s= buf.build/go/bufplugin v0.6.0/go.mod h1:hWCjxxv24xdR6F5pNlQavZV2oo0J3uF4Ff1XEoyV6vU= buf.build/go/protoyaml v0.3.0 h1:NF/C1r0ezdUm8J3ABJsZqbsOVpT/Igrg2b//QPAIieo= @@ -397,8 +397,8 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.35.2 h1:8Ar7bF+apOIoThw1EdZl0p1oWvMqTHmpA2fRTyZO8io= -google.golang.org/protobuf v1.35.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.0 h1:mjIs9gYtt56AzC4ZaffQuh88TZurBGhIJMBZGSxNerQ= +google.golang.org/protobuf v1.36.0/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= diff --git a/make/go/dep_protoc_gen_go.mk b/make/go/dep_protoc_gen_go.mk index e42ee1f354..b6fccb3edf 100644 --- a/make/go/dep_protoc_gen_go.mk +++ b/make/go/dep_protoc_gen_go.mk @@ -7,8 +7,8 @@ $(call _assert_var,CACHE_VERSIONS) $(call _assert_var,CACHE_BIN) # Settable -# https://github.com/protocolbuffers/protobuf-go/releases 20241007 checked 20241007 -PROTOC_GEN_GO_VERSION ?= v1.35.2 +# https://github.com/protocolbuffers/protobuf-go/releases 20241216 checked 20241216 +PROTOC_GEN_GO_VERSION ?= v1.36.0 GO_GET_PKGS := $(GO_GET_PKGS) \ google.golang.org/protobuf/proto@$(PROTOC_GEN_GO_VERSION) diff --git a/private/gen/proto/go/buf/alpha/audit/v1alpha1/event.pb.go b/private/gen/proto/go/buf/alpha/audit/v1alpha1/event.pb.go index 975ed20ff8..52e2ca4088 100644 --- a/private/gen/proto/go/buf/alpha/audit/v1alpha1/event.pb.go +++ b/private/gen/proto/go/buf/alpha/audit/v1alpha1/event.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/audit/v1alpha1/event.proto @@ -373,16 +373,15 @@ func (EventType) EnumDescriptor() ([]byte, []int) { // Actor is the actor who caused the audited event. type Actor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Type of actor who caused the audited event. Type ActorType `protobuf:"varint,1,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.ActorType" json:"type,omitempty"` // Id of the actor who caused the audited event. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Name of the actor who caused the audited event. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Actor) Reset() { @@ -438,16 +437,15 @@ func (x *Actor) GetName() string { // Resource is the affected resource by the audited event. type Resource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Type of resource that was affected by the audited event. Type ResourceType `protobuf:"varint,1,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.ResourceType" json:"type,omitempty"` // Id of the affected resource by the audited event. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Name of the affected resource by the audited event. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Resource) Reset() { @@ -503,16 +501,15 @@ func (x *Resource) GetName() string { // EventMetadata provides additional details about the audited event. type EventMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // UserAgent is the User-Agent header associated with the request that triggered the audited event, if any. UserAgent string `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` // IP is the IP address associated with the request that triggered the audited event, if any. Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` // TraceID is the ID of the trace associated with the audited event, if any. - TraceId string `protobuf:"bytes,3,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` + TraceId string `protobuf:"bytes,3,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventMetadata) Reset() { @@ -570,10 +567,7 @@ func (x *EventMetadata) GetTraceId() string { // what happened, when it happened, who did it, which resource was affected, and // more contextual information on the event. type Event struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique id of the audited event. EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // Type of the audited event. It specifies "what" happened. @@ -588,7 +582,7 @@ type Event struct { Metadata *EventMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // Payload of the audited event. It specifies additional context on the event. // - // Types that are assignable to Payload: + // Types that are valid to be assigned to Payload: // // *Event_OrganizationCreated // *Event_OrganizationDeleted @@ -639,7 +633,9 @@ type Event struct { // *Event_PluginLabelMoved // *Event_PluginLabelArchived // *Event_PluginLabelUnarchived - Payload isEvent_Payload `protobuf_oneof:"payload"` + Payload isEvent_Payload `protobuf_oneof:"payload"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Event) Reset() { @@ -714,353 +710,451 @@ func (x *Event) GetMetadata() *EventMetadata { return nil } -func (m *Event) GetPayload() isEvent_Payload { - if m != nil { - return m.Payload +func (x *Event) GetPayload() isEvent_Payload { + if x != nil { + return x.Payload } return nil } func (x *Event) GetOrganizationCreated() *PayloadOrganizationCreated { - if x, ok := x.GetPayload().(*Event_OrganizationCreated); ok { - return x.OrganizationCreated + if x != nil { + if x, ok := x.Payload.(*Event_OrganizationCreated); ok { + return x.OrganizationCreated + } } return nil } func (x *Event) GetOrganizationDeleted() *PayloadOrganizationDeleted { - if x, ok := x.GetPayload().(*Event_OrganizationDeleted); ok { - return x.OrganizationDeleted + if x != nil { + if x, ok := x.Payload.(*Event_OrganizationDeleted); ok { + return x.OrganizationDeleted + } } return nil } func (x *Event) GetOrganizationMemberAdded() *PayloadOrganizationMemberAdded { - if x, ok := x.GetPayload().(*Event_OrganizationMemberAdded); ok { - return x.OrganizationMemberAdded + if x != nil { + if x, ok := x.Payload.(*Event_OrganizationMemberAdded); ok { + return x.OrganizationMemberAdded + } } return nil } func (x *Event) GetOrganizationMemberRoleChanged() *PayloadOrganizationMemberRoleChanged { - if x, ok := x.GetPayload().(*Event_OrganizationMemberRoleChanged); ok { - return x.OrganizationMemberRoleChanged + if x != nil { + if x, ok := x.Payload.(*Event_OrganizationMemberRoleChanged); ok { + return x.OrganizationMemberRoleChanged + } } return nil } func (x *Event) GetOrganizationMemberRemoved() *PayloadOrganizationMemberRemoved { - if x, ok := x.GetPayload().(*Event_OrganizationMemberRemoved); ok { - return x.OrganizationMemberRemoved + if x != nil { + if x, ok := x.Payload.(*Event_OrganizationMemberRemoved); ok { + return x.OrganizationMemberRemoved + } } return nil } func (x *Event) GetRepositoryCreated() *PayloadRepositoryCreated { - if x, ok := x.GetPayload().(*Event_RepositoryCreated); ok { - return x.RepositoryCreated + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryCreated); ok { + return x.RepositoryCreated + } } return nil } func (x *Event) GetRepositoryDeprecated() *PayloadRepositoryDeprecated { - if x, ok := x.GetPayload().(*Event_RepositoryDeprecated); ok { - return x.RepositoryDeprecated + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryDeprecated); ok { + return x.RepositoryDeprecated + } } return nil } func (x *Event) GetRepositoryUndeprecated() *PayloadRepositoryUndeprecated { - if x, ok := x.GetPayload().(*Event_RepositoryUndeprecated); ok { - return x.RepositoryUndeprecated + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryUndeprecated); ok { + return x.RepositoryUndeprecated + } } return nil } func (x *Event) GetRepositoryDeleted() *PayloadRepositoryDeleted { - if x, ok := x.GetPayload().(*Event_RepositoryDeleted); ok { - return x.RepositoryDeleted + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryDeleted); ok { + return x.RepositoryDeleted + } } return nil } func (x *Event) GetRepositoryCommitPushed() *PayloadRepositoryCommitPushed { - if x, ok := x.GetPayload().(*Event_RepositoryCommitPushed); ok { - return x.RepositoryCommitPushed + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryCommitPushed); ok { + return x.RepositoryCommitPushed + } } return nil } func (x *Event) GetRepositoryContributorAdded() *PayloadRepositoryContributorAdded { - if x, ok := x.GetPayload().(*Event_RepositoryContributorAdded); ok { - return x.RepositoryContributorAdded + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryContributorAdded); ok { + return x.RepositoryContributorAdded + } } return nil } func (x *Event) GetRepositoryContributorRoleChanged() *PayloadRepositoryContributorRoleChanged { - if x, ok := x.GetPayload().(*Event_RepositoryContributorRoleChanged); ok { - return x.RepositoryContributorRoleChanged + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryContributorRoleChanged); ok { + return x.RepositoryContributorRoleChanged + } } return nil } func (x *Event) GetRepositoryContributorRemoved() *PayloadRepositoryContributorRemoved { - if x, ok := x.GetPayload().(*Event_RepositoryContributorRemoved); ok { - return x.RepositoryContributorRemoved + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryContributorRemoved); ok { + return x.RepositoryContributorRemoved + } } return nil } func (x *Event) GetRepositoryVisibilityChanged() *PayloadRepositoryVisibilityChanged { - if x, ok := x.GetPayload().(*Event_RepositoryVisibilityChanged); ok { - return x.RepositoryVisibilityChanged + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryVisibilityChanged); ok { + return x.RepositoryVisibilityChanged + } } return nil } func (x *Event) GetRepositoryDefaultLabelNameChanged() *PayloadRepositoryDefaultLabelNameChanged { - if x, ok := x.GetPayload().(*Event_RepositoryDefaultLabelNameChanged); ok { - return x.RepositoryDefaultLabelNameChanged + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryDefaultLabelNameChanged); ok { + return x.RepositoryDefaultLabelNameChanged + } } return nil } func (x *Event) GetPluginCreated() *PayloadPluginCreated { - if x, ok := x.GetPayload().(*Event_PluginCreated); ok { - return x.PluginCreated + if x != nil { + if x, ok := x.Payload.(*Event_PluginCreated); ok { + return x.PluginCreated + } } return nil } func (x *Event) GetPluginDeleted() *PayloadPluginDeleted { - if x, ok := x.GetPayload().(*Event_PluginDeleted); ok { - return x.PluginDeleted + if x != nil { + if x, ok := x.Payload.(*Event_PluginDeleted); ok { + return x.PluginDeleted + } } return nil } func (x *Event) GetPluginCommitPushed() *PayloadPluginCommitPushed { - if x, ok := x.GetPayload().(*Event_PluginCommitPushed); ok { - return x.PluginCommitPushed + if x != nil { + if x, ok := x.Payload.(*Event_PluginCommitPushed); ok { + return x.PluginCommitPushed + } } return nil } func (x *Event) GetUserCreated() *PayloadUserCreated { - if x, ok := x.GetPayload().(*Event_UserCreated); ok { - return x.UserCreated + if x != nil { + if x, ok := x.Payload.(*Event_UserCreated); ok { + return x.UserCreated + } } return nil } func (x *Event) GetUserDeactivated() *PayloadUserDeactivated { - if x, ok := x.GetPayload().(*Event_UserDeactivated); ok { - return x.UserDeactivated + if x != nil { + if x, ok := x.Payload.(*Event_UserDeactivated); ok { + return x.UserDeactivated + } } return nil } func (x *Event) GetUserDeleted() *PayloadUserDeleted { - if x, ok := x.GetPayload().(*Event_UserDeleted); ok { - return x.UserDeleted + if x != nil { + if x, ok := x.Payload.(*Event_UserDeleted); ok { + return x.UserDeleted + } } return nil } func (x *Event) GetUserLoggedIn() *PayloadUserLoggedIn { - if x, ok := x.GetPayload().(*Event_UserLoggedIn); ok { - return x.UserLoggedIn + if x != nil { + if x, ok := x.Payload.(*Event_UserLoggedIn); ok { + return x.UserLoggedIn + } } return nil } func (x *Event) GetUserLoggedOut() *PayloadUserLoggedOut { - if x, ok := x.GetPayload().(*Event_UserLoggedOut); ok { - return x.UserLoggedOut + if x != nil { + if x, ok := x.Payload.(*Event_UserLoggedOut); ok { + return x.UserLoggedOut + } } return nil } func (x *Event) GetCuratedPluginCreated() *PayloadCuratedPluginCreated { - if x, ok := x.GetPayload().(*Event_CuratedPluginCreated); ok { - return x.CuratedPluginCreated + if x != nil { + if x, ok := x.Payload.(*Event_CuratedPluginCreated); ok { + return x.CuratedPluginCreated + } } return nil } func (x *Event) GetIdpGroupAdded() *PayloadOrganizationIDPGroupAdded { - if x, ok := x.GetPayload().(*Event_IdpGroupAdded); ok { - return x.IdpGroupAdded + if x != nil { + if x, ok := x.Payload.(*Event_IdpGroupAdded); ok { + return x.IdpGroupAdded + } } return nil } func (x *Event) GetIdpGroupRemoved() *PayloadOrganizationIDPGroupRemoved { - if x, ok := x.GetPayload().(*Event_IdpGroupRemoved); ok { - return x.IdpGroupRemoved + if x != nil { + if x, ok := x.Payload.(*Event_IdpGroupRemoved); ok { + return x.IdpGroupRemoved + } } return nil } func (x *Event) GetTokenCreated() *PayloadTokenCreated { - if x, ok := x.GetPayload().(*Event_TokenCreated); ok { - return x.TokenCreated + if x != nil { + if x, ok := x.Payload.(*Event_TokenCreated); ok { + return x.TokenCreated + } } return nil } func (x *Event) GetTokenDeleted() *PayloadTokenDeleted { - if x, ok := x.GetPayload().(*Event_TokenDeleted); ok { - return x.TokenDeleted + if x != nil { + if x, ok := x.Payload.(*Event_TokenDeleted); ok { + return x.TokenDeleted + } } return nil } func (x *Event) GetUserReactivated() *PayloadUserReactivated { - if x, ok := x.GetPayload().(*Event_UserReactivated); ok { - return x.UserReactivated + if x != nil { + if x, ok := x.Payload.(*Event_UserReactivated); ok { + return x.UserReactivated + } } return nil } func (x *Event) GetScimTokenCreated() *PayloadSCIMTokenCreated { - if x, ok := x.GetPayload().(*Event_ScimTokenCreated); ok { - return x.ScimTokenCreated + if x != nil { + if x, ok := x.Payload.(*Event_ScimTokenCreated); ok { + return x.ScimTokenCreated + } } return nil } func (x *Event) GetScimTokenDeleted() *PayloadSCIMTokenDeleted { - if x, ok := x.GetPayload().(*Event_ScimTokenDeleted); ok { - return x.ScimTokenDeleted + if x != nil { + if x, ok := x.Payload.(*Event_ScimTokenDeleted); ok { + return x.ScimTokenDeleted + } } return nil } func (x *Event) GetRepositoryCommitDeleted() *PayloadRepositoryCommitDeleted { - if x, ok := x.GetPayload().(*Event_RepositoryCommitDeleted); ok { - return x.RepositoryCommitDeleted + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryCommitDeleted); ok { + return x.RepositoryCommitDeleted + } } return nil } func (x *Event) GetRepositoryLabelCreated() *PayloadRepositoryLabelCreated { - if x, ok := x.GetPayload().(*Event_RepositoryLabelCreated); ok { - return x.RepositoryLabelCreated + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryLabelCreated); ok { + return x.RepositoryLabelCreated + } } return nil } func (x *Event) GetRepositoryLabelMoved() *PayloadRepositoryLabelMoved { - if x, ok := x.GetPayload().(*Event_RepositoryLabelMoved); ok { - return x.RepositoryLabelMoved + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryLabelMoved); ok { + return x.RepositoryLabelMoved + } } return nil } func (x *Event) GetRepositoryLabelArchived() *PayloadRepositoryLabelArchived { - if x, ok := x.GetPayload().(*Event_RepositoryLabelArchived); ok { - return x.RepositoryLabelArchived + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryLabelArchived); ok { + return x.RepositoryLabelArchived + } } return nil } func (x *Event) GetRepositoryLabelUnarchived() *PayloadRepositoryLabelUnarchived { - if x, ok := x.GetPayload().(*Event_RepositoryLabelUnarchived); ok { - return x.RepositoryLabelUnarchived + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryLabelUnarchived); ok { + return x.RepositoryLabelUnarchived + } } return nil } func (x *Event) GetCuratedPluginDeleted() *PayloadCuratedPluginDeleted { - if x, ok := x.GetPayload().(*Event_CuratedPluginDeleted); ok { - return x.CuratedPluginDeleted + if x != nil { + if x, ok := x.Payload.(*Event_CuratedPluginDeleted); ok { + return x.CuratedPluginDeleted + } } return nil } func (x *Event) GetPayloadServerBreakingChangePolicyEnabled() *PayloadServerBreakingChangePolicyEnabled { - if x, ok := x.GetPayload().(*Event_PayloadServerBreakingChangePolicyEnabled); ok { - return x.PayloadServerBreakingChangePolicyEnabled + if x != nil { + if x, ok := x.Payload.(*Event_PayloadServerBreakingChangePolicyEnabled); ok { + return x.PayloadServerBreakingChangePolicyEnabled + } } return nil } func (x *Event) GetPayloadServerBreakingChangePolicyDisabled() *PayloadServerBreakingChangePolicyDisabled { - if x, ok := x.GetPayload().(*Event_PayloadServerBreakingChangePolicyDisabled); ok { - return x.PayloadServerBreakingChangePolicyDisabled + if x != nil { + if x, ok := x.Payload.(*Event_PayloadServerBreakingChangePolicyDisabled); ok { + return x.PayloadServerBreakingChangePolicyDisabled + } } return nil } // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. func (x *Event) GetRepositoryDefaultBranchChanged() *PayloadRepositoryDefaultBranchChanged { - if x, ok := x.GetPayload().(*Event_RepositoryDefaultBranchChanged); ok { - return x.RepositoryDefaultBranchChanged + if x != nil { + if x, ok := x.Payload.(*Event_RepositoryDefaultBranchChanged); ok { + return x.RepositoryDefaultBranchChanged + } } return nil } func (x *Event) GetPayloadServerUniquenessPolicyEnabled() *PayloadServerUniquenessPolicyEnabled { - if x, ok := x.GetPayload().(*Event_PayloadServerUniquenessPolicyEnabled); ok { - return x.PayloadServerUniquenessPolicyEnabled + if x != nil { + if x, ok := x.Payload.(*Event_PayloadServerUniquenessPolicyEnabled); ok { + return x.PayloadServerUniquenessPolicyEnabled + } } return nil } func (x *Event) GetPayloadServerUniquenessPolicyDisabled() *PayloadServerUniquenessPolicyDisabled { - if x, ok := x.GetPayload().(*Event_PayloadServerUniquenessPolicyDisabled); ok { - return x.PayloadServerUniquenessPolicyDisabled + if x != nil { + if x, ok := x.Payload.(*Event_PayloadServerUniquenessPolicyDisabled); ok { + return x.PayloadServerUniquenessPolicyDisabled + } } return nil } func (x *Event) GetUserAutoMergedFromNewIdp() *PayloadUserAutoMergedFromNewIdP { - if x, ok := x.GetPayload().(*Event_UserAutoMergedFromNewIdp); ok { - return x.UserAutoMergedFromNewIdp + if x != nil { + if x, ok := x.Payload.(*Event_UserAutoMergedFromNewIdp); ok { + return x.UserAutoMergedFromNewIdp + } } return nil } func (x *Event) GetDeviceAuthorizationGrantApproved() *PayloadDeviceAuthorizationGrantApproved { - if x, ok := x.GetPayload().(*Event_DeviceAuthorizationGrantApproved); ok { - return x.DeviceAuthorizationGrantApproved + if x != nil { + if x, ok := x.Payload.(*Event_DeviceAuthorizationGrantApproved); ok { + return x.DeviceAuthorizationGrantApproved + } } return nil } func (x *Event) GetDeviceAuthorizationGrantDenied() *PayloadDeviceAuthorizationGrantDenied { - if x, ok := x.GetPayload().(*Event_DeviceAuthorizationGrantDenied); ok { - return x.DeviceAuthorizationGrantDenied + if x != nil { + if x, ok := x.Payload.(*Event_DeviceAuthorizationGrantDenied); ok { + return x.DeviceAuthorizationGrantDenied + } } return nil } func (x *Event) GetPluginLabelCreated() *PayloadPluginLabelCreated { - if x, ok := x.GetPayload().(*Event_PluginLabelCreated); ok { - return x.PluginLabelCreated + if x != nil { + if x, ok := x.Payload.(*Event_PluginLabelCreated); ok { + return x.PluginLabelCreated + } } return nil } func (x *Event) GetPluginLabelMoved() *PayloadPluginLabelMoved { - if x, ok := x.GetPayload().(*Event_PluginLabelMoved); ok { - return x.PluginLabelMoved + if x != nil { + if x, ok := x.Payload.(*Event_PluginLabelMoved); ok { + return x.PluginLabelMoved + } } return nil } func (x *Event) GetPluginLabelArchived() *PayloadPluginLabelArchived { - if x, ok := x.GetPayload().(*Event_PluginLabelArchived); ok { - return x.PluginLabelArchived + if x != nil { + if x, ok := x.Payload.(*Event_PluginLabelArchived); ok { + return x.PluginLabelArchived + } } return nil } func (x *Event) GetPluginLabelUnarchived() *PayloadPluginLabelUnarchived { - if x, ok := x.GetPayload().(*Event_PluginLabelUnarchived); ok { - return x.PluginLabelUnarchived + if x != nil { + if x, ok := x.Payload.(*Event_PluginLabelUnarchived); ok { + return x.PluginLabelUnarchived + } } return nil } @@ -1365,9 +1459,9 @@ func (*Event_PluginLabelArchived) isEvent_Payload() {} func (*Event_PluginLabelUnarchived) isEvent_Payload() {} type PayloadOrganizationCreated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadOrganizationCreated) Reset() { @@ -1401,9 +1495,9 @@ func (*PayloadOrganizationCreated) Descriptor() ([]byte, []int) { } type PayloadOrganizationDeleted struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadOrganizationDeleted) Reset() { @@ -1437,10 +1531,7 @@ func (*PayloadOrganizationDeleted) Descriptor() ([]byte, []int) { } type PayloadOrganizationMemberAdded struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // organization_id is the id of the organization with the new member. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // organization_name is the name of the organization with the new member. @@ -1449,6 +1540,8 @@ type PayloadOrganizationMemberAdded struct { MemberRole v1alpha1.OrganizationRole `protobuf:"varint,3,opt,name=member_role,json=memberRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"member_role,omitempty"` // member_role_source is the source of the role granted to the member. MemberRoleSource v1alpha1.OrganizationRoleSource `protobuf:"varint,4,opt,name=member_role_source,json=memberRoleSource,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRoleSource" json:"member_role_source,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadOrganizationMemberAdded) Reset() { @@ -1510,10 +1603,7 @@ func (x *PayloadOrganizationMemberAdded) GetMemberRoleSource() v1alpha1.Organiza } type PayloadOrganizationMemberRoleChanged struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // organization_id is the id of the organization within which the role was changed. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // organization_name is the name of the organization within which the role was changed. @@ -1526,6 +1616,8 @@ type PayloadOrganizationMemberRoleChanged struct { OldMemberRoleSource v1alpha1.OrganizationRoleSource `protobuf:"varint,5,opt,name=old_member_role_source,json=oldMemberRoleSource,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRoleSource" json:"old_member_role_source,omitempty"` // new_member_role_source is the new source of the role granted to the member. NewMemberRoleSource v1alpha1.OrganizationRoleSource `protobuf:"varint,6,opt,name=new_member_role_source,json=newMemberRoleSource,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRoleSource" json:"new_member_role_source,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadOrganizationMemberRoleChanged) Reset() { @@ -1601,10 +1693,7 @@ func (x *PayloadOrganizationMemberRoleChanged) GetNewMemberRoleSource() v1alpha1 } type PayloadOrganizationMemberRemoved struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // organization_id is the id of the organization that the member was removed from. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // organization_name is the name of the organization that the member was removed from. @@ -1613,6 +1702,8 @@ type PayloadOrganizationMemberRemoved struct { MemberRole v1alpha1.OrganizationRole `protobuf:"varint,3,opt,name=member_role,json=memberRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"member_role,omitempty"` // member_role_source is the source of the role granted to the member. MemberRoleSource v1alpha1.OrganizationRoleSource `protobuf:"varint,4,opt,name=member_role_source,json=memberRoleSource,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRoleSource" json:"member_role_source,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadOrganizationMemberRemoved) Reset() { @@ -1674,14 +1765,13 @@ func (x *PayloadOrganizationMemberRemoved) GetMemberRoleSource() v1alpha1.Organi } type PayloadOrganizationIDPGroupAdded struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // organization_id is the id of the organization with the new IDP group. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // organization_name is the name of the organization with the new IDP group. OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadOrganizationIDPGroupAdded) Reset() { @@ -1729,14 +1819,13 @@ func (x *PayloadOrganizationIDPGroupAdded) GetOrganizationName() string { } type PayloadOrganizationIDPGroupRemoved struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // organization_id is the id of the organization with the removed IDP group. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // organization_name is the name of the organization with the removed IDP group. OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadOrganizationIDPGroupRemoved) Reset() { @@ -1784,10 +1873,7 @@ func (x *PayloadOrganizationIDPGroupRemoved) GetOrganizationName() string { } type PayloadRepositoryCreated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. @@ -1797,6 +1883,8 @@ type PayloadRepositoryCreated struct { // default_label_name is the name of the default label for the repository. // If empty, the repository was created with the default label name of 'main'. DefaultLabelName string `protobuf:"bytes,4,opt,name=default_label_name,json=defaultLabelName,proto3" json:"default_label_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryCreated) Reset() { @@ -1858,16 +1946,15 @@ func (x *PayloadRepositoryCreated) GetDefaultLabelName() string { } type PayloadRepositoryDeleted struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // visibility is the visibility of the repository. - Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` + Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryDeleted) Reset() { @@ -1922,10 +2009,7 @@ func (x *PayloadRepositoryDeleted) GetVisibility() v1alpha1.Visibility { } type PayloadRepositoryDeprecated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. @@ -1934,6 +2018,8 @@ type PayloadRepositoryDeprecated struct { Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` // deprecation_message is the deprecation message set by the deprecation actor. DeprecationMessage string `protobuf:"bytes,4,opt,name=deprecation_message,json=deprecationMessage,proto3" json:"deprecation_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryDeprecated) Reset() { @@ -1995,16 +2081,15 @@ func (x *PayloadRepositoryDeprecated) GetDeprecationMessage() string { } type PayloadRepositoryUndeprecated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // visibility is the visibility of the repository. - Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` + Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryUndeprecated) Reset() { @@ -2059,10 +2144,7 @@ func (x *PayloadRepositoryUndeprecated) GetVisibility() v1alpha1.Visibility { } type PayloadRepositoryCommitPushed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. @@ -2078,7 +2160,9 @@ type PayloadRepositoryCommitPushed struct { // manifest_digest is the module's manifest digest. ManifestDigest string `protobuf:"bytes,7,opt,name=manifest_digest,json=manifestDigest,proto3" json:"manifest_digest,omitempty"` // b5_digest is the module's b5 digest. - B5Digest string `protobuf:"bytes,8,opt,name=b5_digest,json=b5Digest,proto3" json:"b5_digest,omitempty"` + B5Digest string `protobuf:"bytes,8,opt,name=b5_digest,json=b5Digest,proto3" json:"b5_digest,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryCommitPushed) Reset() { @@ -2168,10 +2252,7 @@ func (x *PayloadRepositoryCommitPushed) GetB5Digest() string { } type PayloadRepositoryContributorAdded struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. @@ -2182,6 +2263,8 @@ type PayloadRepositoryContributorAdded struct { RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // contributor_role is the role granted to the contributor added to the repository. ContributorRole v1alpha1.RepositoryRole `protobuf:"varint,5,opt,name=contributor_role,json=contributorRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"contributor_role,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryContributorAdded) Reset() { @@ -2250,10 +2333,7 @@ func (x *PayloadRepositoryContributorAdded) GetContributorRole() v1alpha1.Reposi } type PayloadRepositoryContributorRoleChanged struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. @@ -2265,7 +2345,9 @@ type PayloadRepositoryContributorRoleChanged struct { // old_role is the old role of the contributor whose role was changed. OldRole v1alpha1.RepositoryRole `protobuf:"varint,5,opt,name=old_role,json=oldRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"old_role,omitempty"` // new_role is the new role of the contributor whose role was changed. - NewRole v1alpha1.RepositoryRole `protobuf:"varint,6,opt,name=new_role,json=newRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"new_role,omitempty"` + NewRole v1alpha1.RepositoryRole `protobuf:"varint,6,opt,name=new_role,json=newRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"new_role,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryContributorRoleChanged) Reset() { @@ -2341,10 +2423,7 @@ func (x *PayloadRepositoryContributorRoleChanged) GetNewRole() v1alpha1.Reposito } type PayloadRepositoryContributorRemoved struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. @@ -2355,6 +2434,8 @@ type PayloadRepositoryContributorRemoved struct { RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // contributor_role is the role that the contributor had when removed from the repository. ContributorRole v1alpha1.RepositoryRole `protobuf:"varint,5,opt,name=contributor_role,json=contributorRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"contributor_role,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryContributorRemoved) Reset() { @@ -2423,10 +2504,7 @@ func (x *PayloadRepositoryContributorRemoved) GetContributorRole() v1alpha1.Repo } type PayloadRepositoryVisibilityChanged struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. @@ -2435,6 +2513,8 @@ type PayloadRepositoryVisibilityChanged struct { OldVisibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=old_visibility,json=oldVisibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"old_visibility,omitempty"` // new_visibility is the new visibility of the repository. NewVisibility v1alpha1.Visibility `protobuf:"varint,4,opt,name=new_visibility,json=newVisibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"new_visibility,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryVisibilityChanged) Reset() { @@ -2496,10 +2576,7 @@ func (x *PayloadRepositoryVisibilityChanged) GetNewVisibility() v1alpha1.Visibil } type PayloadRepositoryDefaultLabelNameChanged struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. @@ -2508,6 +2585,8 @@ type PayloadRepositoryDefaultLabelNameChanged struct { OldDefaultLabelName string `protobuf:"bytes,3,opt,name=old_default_label_name,json=oldDefaultLabelName,proto3" json:"old_default_label_name,omitempty"` // new_default_label_name is the new default label name of the repository. NewDefaultLabelName string `protobuf:"bytes,4,opt,name=new_default_label_name,json=newDefaultLabelName,proto3" json:"new_default_label_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryDefaultLabelNameChanged) Reset() { @@ -2574,10 +2653,7 @@ func (x *PayloadRepositoryDefaultLabelNameChanged) GetNewDefaultLabelName() stri // // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. type PayloadRepositoryDefaultBranchChanged struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository. @@ -2586,6 +2662,8 @@ type PayloadRepositoryDefaultBranchChanged struct { OldDefaultBranch string `protobuf:"bytes,3,opt,name=old_default_branch,json=oldDefaultBranch,proto3" json:"old_default_branch,omitempty"` // new_default_branch is the new default branch of the repository. NewDefaultBranch string `protobuf:"bytes,4,opt,name=new_default_branch,json=newDefaultBranch,proto3" json:"new_default_branch,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryDefaultBranchChanged) Reset() { @@ -2647,16 +2725,15 @@ func (x *PayloadRepositoryDefaultBranchChanged) GetNewDefaultBranch() string { } type PayloadPluginCreated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the plugin. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the plugin. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // plugin_type is the type of the plugin. - PluginType string `protobuf:"bytes,3,opt,name=plugin_type,json=pluginType,proto3" json:"plugin_type,omitempty"` + PluginType string `protobuf:"bytes,3,opt,name=plugin_type,json=pluginType,proto3" json:"plugin_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadPluginCreated) Reset() { @@ -2711,16 +2788,15 @@ func (x *PayloadPluginCreated) GetPluginType() string { } type PayloadPluginDeleted struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the check plugin. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the check plugin. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // plugin_type is the type of the plugin. - PluginType string `protobuf:"bytes,3,opt,name=plugin_type,json=pluginType,proto3" json:"plugin_type,omitempty"` + PluginType string `protobuf:"bytes,3,opt,name=plugin_type,json=pluginType,proto3" json:"plugin_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadPluginDeleted) Reset() { @@ -2775,10 +2851,7 @@ func (x *PayloadPluginDeleted) GetPluginType() string { } type PayloadPluginCommitPushed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the plugin. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the plugin. @@ -2788,7 +2861,9 @@ type PayloadPluginCommitPushed struct { // plugin_name is the name of the plugin. PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` // p1_digest is the p1 digest of the pushed plugin commit. - P1Digest string `protobuf:"bytes,5,opt,name=p1_digest,json=p1Digest,proto3" json:"p1_digest,omitempty"` + P1Digest string `protobuf:"bytes,5,opt,name=p1_digest,json=p1Digest,proto3" json:"p1_digest,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadPluginCommitPushed) Reset() { @@ -2857,9 +2932,9 @@ func (x *PayloadPluginCommitPushed) GetP1Digest() string { } type PayloadUserCreated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadUserCreated) Reset() { @@ -2893,9 +2968,9 @@ func (*PayloadUserCreated) Descriptor() ([]byte, []int) { } type PayloadUserReactivated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadUserReactivated) Reset() { @@ -2929,9 +3004,9 @@ func (*PayloadUserReactivated) Descriptor() ([]byte, []int) { } type PayloadUserDeactivated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadUserDeactivated) Reset() { @@ -2965,9 +3040,9 @@ func (*PayloadUserDeactivated) Descriptor() ([]byte, []int) { } type PayloadUserDeleted struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadUserDeleted) Reset() { @@ -3001,9 +3076,9 @@ func (*PayloadUserDeleted) Descriptor() ([]byte, []int) { } type PayloadUserLoggedIn struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadUserLoggedIn) Reset() { @@ -3037,9 +3112,9 @@ func (*PayloadUserLoggedIn) Descriptor() ([]byte, []int) { } type PayloadUserLoggedOut struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadUserLoggedOut) Reset() { @@ -3077,9 +3152,9 @@ func (*PayloadUserLoggedOut) Descriptor() ([]byte, []int) { // to be included, since the new user is automatically merged to an existing user // without the new user being created. type PayloadUserAutoMergedFromNewIdP struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadUserAutoMergedFromNewIdP) Reset() { @@ -3113,14 +3188,13 @@ func (*PayloadUserAutoMergedFromNewIdP) Descriptor() ([]byte, []int) { } type PayloadCuratedPluginCreated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the plugin. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the plugin. - OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadCuratedPluginCreated) Reset() { @@ -3168,14 +3242,13 @@ func (x *PayloadCuratedPluginCreated) GetOwnerName() string { } type PayloadCuratedPluginDeleted struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the plugin. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the plugin. - OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadCuratedPluginDeleted) Reset() { @@ -3223,14 +3296,13 @@ func (x *PayloadCuratedPluginDeleted) GetOwnerName() string { } type PayloadTokenCreated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the token. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // token_expiry_time is the expiry time of the token. TokenExpiryTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=token_expiry_time,json=tokenExpiryTime,proto3" json:"token_expiry_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadTokenCreated) Reset() { @@ -3278,12 +3350,11 @@ func (x *PayloadTokenCreated) GetTokenExpiryTime() *timestamppb.Timestamp { } type PayloadTokenDeleted struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the token. - OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadTokenDeleted) Reset() { @@ -3324,12 +3395,11 @@ func (x *PayloadTokenDeleted) GetOwnerId() string { } type PayloadSCIMTokenCreated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // token_expiry_time is the expiry time of the token. TokenExpiryTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=token_expiry_time,json=tokenExpiryTime,proto3" json:"token_expiry_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadSCIMTokenCreated) Reset() { @@ -3370,9 +3440,9 @@ func (x *PayloadSCIMTokenCreated) GetTokenExpiryTime() *timestamppb.Timestamp { } type PayloadSCIMTokenDeleted struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadSCIMTokenDeleted) Reset() { @@ -3406,10 +3476,7 @@ func (*PayloadSCIMTokenDeleted) Descriptor() ([]byte, []int) { } type PayloadRepositoryCommitDeleted struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository from which the commit will be deleted. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository from which the commit will be deleted. @@ -3419,7 +3486,9 @@ type PayloadRepositoryCommitDeleted struct { // repository_name is the name of the repository from which the commit will be deleted. RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // draft_name is the name of the draft. Optional. - DraftName string `protobuf:"bytes,5,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` + DraftName string `protobuf:"bytes,5,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryCommitDeleted) Reset() { @@ -3488,10 +3557,7 @@ func (x *PayloadRepositoryCommitDeleted) GetDraftName() string { } type PayloadRepositoryLabelCreated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository on which the label was created. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository on which the label was created. @@ -3505,7 +3571,9 @@ type PayloadRepositoryLabelCreated struct { // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. LabelNamespace string `protobuf:"bytes,5,opt,name=label_namespace,json=labelNamespace,proto3" json:"label_namespace,omitempty"` // commit_id is the id of the commit on which the label was created. - CommitId string `protobuf:"bytes,6,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + CommitId string `protobuf:"bytes,6,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryLabelCreated) Reset() { @@ -3582,10 +3650,7 @@ func (x *PayloadRepositoryLabelCreated) GetCommitId() string { } type PayloadRepositoryLabelMoved struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository on which the label was moved. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository on which the label was moved. @@ -3601,7 +3666,9 @@ type PayloadRepositoryLabelMoved struct { // to_commit_id is the id of the commit on which the label was moved to. ToCommitId string `protobuf:"bytes,6,opt,name=to_commit_id,json=toCommitId,proto3" json:"to_commit_id,omitempty"` // from_commit_id is the id of the commit on which the label was moved from. - FromCommitId string `protobuf:"bytes,7,opt,name=from_commit_id,json=fromCommitId,proto3" json:"from_commit_id,omitempty"` + FromCommitId string `protobuf:"bytes,7,opt,name=from_commit_id,json=fromCommitId,proto3" json:"from_commit_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryLabelMoved) Reset() { @@ -3685,10 +3752,7 @@ func (x *PayloadRepositoryLabelMoved) GetFromCommitId() string { } type PayloadRepositoryLabelArchived struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository on which the label was archived. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository on which the label was archived. @@ -3697,6 +3761,8 @@ type PayloadRepositoryLabelArchived struct { RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // repository_name is the name of the repository from which the label was archived. RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryLabelArchived) Reset() { @@ -3758,10 +3824,7 @@ func (x *PayloadRepositoryLabelArchived) GetRepositoryName() string { } type PayloadRepositoryLabelUnarchived struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the repository on which the label was unarchived. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the repository on which the label was unarchived. @@ -3770,6 +3833,8 @@ type PayloadRepositoryLabelUnarchived struct { RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // repository_name is the name of the repository from which the label was unarchived. RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadRepositoryLabelUnarchived) Reset() { @@ -3831,14 +3896,13 @@ func (x *PayloadRepositoryLabelUnarchived) GetRepositoryName() string { } type PayloadServerBreakingChangePolicyEnabled struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // category is the category of breaking changes. Category v1alpha1.BreakingChangeCategory `protobuf:"varint,1,opt,name=category,proto3,enum=buf.alpha.registry.v1alpha1.BreakingChangeCategory" json:"category,omitempty"` // ignore_unstable_packages tracks breaking change enforcement for unstable packages. IgnoreUnstablePackages *bool `protobuf:"varint,2,opt,name=ignore_unstable_packages,json=ignoreUnstablePackages,proto3,oneof" json:"ignore_unstable_packages,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadServerBreakingChangePolicyEnabled) Reset() { @@ -3886,9 +3950,9 @@ func (x *PayloadServerBreakingChangePolicyEnabled) GetIgnoreUnstablePackages() b } type PayloadServerBreakingChangePolicyDisabled struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadServerBreakingChangePolicyDisabled) Reset() { @@ -3922,9 +3986,9 @@ func (*PayloadServerBreakingChangePolicyDisabled) Descriptor() ([]byte, []int) { } type PayloadServerUniquenessPolicyEnabled struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadServerUniquenessPolicyEnabled) Reset() { @@ -3958,9 +4022,9 @@ func (*PayloadServerUniquenessPolicyEnabled) Descriptor() ([]byte, []int) { } type PayloadServerUniquenessPolicyDisabled struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadServerUniquenessPolicyDisabled) Reset() { @@ -3994,12 +4058,11 @@ func (*PayloadServerUniquenessPolicyDisabled) Descriptor() ([]byte, []int) { } type PayloadDeviceAuthorizationGrantApproved struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // client_id is the id of the registered oauth2 client of the grant. - ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadDeviceAuthorizationGrantApproved) Reset() { @@ -4040,12 +4103,11 @@ func (x *PayloadDeviceAuthorizationGrantApproved) GetClientId() string { } type PayloadDeviceAuthorizationGrantDenied struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // client_id is the id of the registered oauth2 client of the grant. - ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadDeviceAuthorizationGrantDenied) Reset() { @@ -4086,10 +4148,7 @@ func (x *PayloadDeviceAuthorizationGrantDenied) GetClientId() string { } type PayloadPluginLabelCreated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the plugin on which the label was created. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the plugin on which the label was created. @@ -4099,7 +4158,9 @@ type PayloadPluginLabelCreated struct { // plugin_name is the name of the plugin from which the label was created. PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` // commit_id is the id of the commit on which the label was created. - CommitId string `protobuf:"bytes,6,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + CommitId string `protobuf:"bytes,6,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadPluginLabelCreated) Reset() { @@ -4168,10 +4229,7 @@ func (x *PayloadPluginLabelCreated) GetCommitId() string { } type PayloadPluginLabelMoved struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the plugin on which the label was moved. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the plugin on which the label was moved. @@ -4183,7 +4241,9 @@ type PayloadPluginLabelMoved struct { // to_commit_id is the id of the commit on which the label was moved to. ToCommitId string `protobuf:"bytes,6,opt,name=to_commit_id,json=toCommitId,proto3" json:"to_commit_id,omitempty"` // from_commit_id is the id of the commit on which the label was moved from. - FromCommitId string `protobuf:"bytes,7,opt,name=from_commit_id,json=fromCommitId,proto3" json:"from_commit_id,omitempty"` + FromCommitId string `protobuf:"bytes,7,opt,name=from_commit_id,json=fromCommitId,proto3" json:"from_commit_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadPluginLabelMoved) Reset() { @@ -4259,10 +4319,7 @@ func (x *PayloadPluginLabelMoved) GetFromCommitId() string { } type PayloadPluginLabelArchived struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the plugin on which the label was archived. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the plugin on which the label was archived. @@ -4270,7 +4327,9 @@ type PayloadPluginLabelArchived struct { // plugin_id is the id of the plugin on which the label was archived. PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` // plugin_name is the name of the plugin from which the label was archived. - PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` + PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadPluginLabelArchived) Reset() { @@ -4332,10 +4391,7 @@ func (x *PayloadPluginLabelArchived) GetPluginName() string { } type PayloadPluginLabelUnarchived struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // owner_id is the id of the owner of the plugin on which the label was unarchived. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // owner_name is the name of the owner of the plugin on which the label was unarchived. @@ -4343,7 +4399,9 @@ type PayloadPluginLabelUnarchived struct { // plugin_id is the id of the plugin on which the label was unarchived. PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` // plugin_name is the name of the plugin from which the label was unarchived. - PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` + PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadPluginLabelUnarchived) Reset() { diff --git a/private/gen/proto/go/buf/alpha/audit/v1alpha1/service.pb.go b/private/gen/proto/go/buf/alpha/audit/v1alpha1/service.pb.go index cece908b51..580a994869 100644 --- a/private/gen/proto/go/buf/alpha/audit/v1alpha1/service.pb.go +++ b/private/gen/proto/go/buf/alpha/audit/v1alpha1/service.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/audit/v1alpha1/service.proto @@ -36,10 +36,7 @@ const ( ) type ListAuditedEventsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The page size for listing audited events, values between 1-250. PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page token for paginating. The first page is returned if this is empty. @@ -47,7 +44,9 @@ type ListAuditedEventsRequest struct { // The start timestamp to filter events from. Start *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"` // The end timestamp to filter events to. - End *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"` + End *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAuditedEventsRequest) Reset() { @@ -109,15 +108,14 @@ func (x *ListAuditedEventsRequest) GetEnd() *timestamppb.Timestamp { } type ListAuditedEventsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The list of audited events in the current page. Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // The token for the next page of audited events. There are no more pages if // this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAuditedEventsResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/breaking/v1/config.pb.go b/private/gen/proto/go/buf/alpha/breaking/v1/config.pb.go index c2270a7bc4..ce1c4e38fe 100644 --- a/private/gen/proto/go/buf/alpha/breaking/v1/config.pb.go +++ b/private/gen/proto/go/buf/alpha/breaking/v1/config.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/breaking/v1/config.proto @@ -42,10 +42,7 @@ const ( // The rule and category IDs are not encoded as enums in this package because we may want to support custom rule // and category IDs in the future. Callers will need to resolve the rule and category ID strings. type Config struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // version represents the version of the breaking change rule and category IDs that should be used with this config. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // use_ids lists the rule and/or category IDs that are included in the breaking change check. @@ -65,6 +62,8 @@ type Config struct { // v\d+(alpha|beta)\d+ // v\d+p\d+(alpha|beta)\d+ IgnoreUnstablePackages bool `protobuf:"varint,6,opt,name=ignore_unstable_packages,json=ignoreUnstablePackages,proto3" json:"ignore_unstable_packages,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Config) Reset() { @@ -141,12 +140,11 @@ func (x *Config) GetIgnoreUnstablePackages() bool { // IDPaths represents a rule or category ID and the file and/or directory paths that are ignored for the rule. type IDPaths struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IDPaths) Reset() { diff --git a/private/gen/proto/go/buf/alpha/image/v1/image.pb.go b/private/gen/proto/go/buf/alpha/image/v1/image.pb.go index bd77ed195a..a1b96dd52e 100644 --- a/private/gen/proto/go/buf/alpha/image/v1/image.pb.go +++ b/private/gen/proto/go/buf/alpha/image/v1/image.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/image/v1/image.proto @@ -39,11 +39,10 @@ const ( // // See https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/descriptor.proto type Image struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + File []*ImageFile `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"` unknownFields protoimpl.UnknownFields - - File []*ImageFile `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Image) Reset() { @@ -91,10 +90,7 @@ func (x *Image) GetFile() []*ImageFile { // // See https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/descriptor.proto type ImageFile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Package *string `protobuf:"bytes,2,opt,name=package" json:"package,omitempty"` Dependency []string `protobuf:"bytes,3,rep,name=dependency" json:"dependency,omitempty"` @@ -114,7 +110,9 @@ type ImageFile struct { // will never be any conflict with Google's FileDescriptorProto definition. // The definition of a FileDescriptorProto has not changed in years, so // we're not too worried about a conflict here. - BufExtension *ImageFileExtension `protobuf:"bytes,8042,opt,name=buf_extension,json=bufExtension" json:"buf_extension,omitempty"` + BufExtension *ImageFileExtension `protobuf:"bytes,8042,opt,name=buf_extension,json=bufExtension" json:"buf_extension,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ImageFile) Reset() { @@ -252,10 +250,7 @@ func (x *ImageFile) GetBufExtension() *ImageFileExtension { // by protoc, and so that we can add fields in a freeform manner without // worrying about conflicts with FileDescriptorProto. type ImageFileExtension struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // is_import denotes whether this file is considered an "import". // // An import is a file which was not derived from the local source files. @@ -292,6 +287,8 @@ type ImageFileExtension struct { // This matches the shape of the public_dependency and weak_dependency // fields. UnusedDependency []int32 `protobuf:"varint,4,rep,name=unused_dependency,json=unusedDependency" json:"unused_dependency,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ImageFileExtension) Reset() { @@ -355,10 +352,7 @@ func (x *ImageFileExtension) GetUnusedDependency() []int32 { // ModuleInfo contains information about a Buf module that an ImageFile // belongs to. type ModuleInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name is the name of the Buf module. // // This will always be set. @@ -366,7 +360,9 @@ type ModuleInfo struct { // commit is the repository commit. // // This field is optional and will not be set if the commit is not known. - Commit *string `protobuf:"bytes,2,opt,name=commit" json:"commit,omitempty"` + Commit *string `protobuf:"bytes,2,opt,name=commit" json:"commit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ModuleInfo) Reset() { @@ -417,13 +413,12 @@ func (x *ModuleInfo) GetCommit() string { // // All fields will always be set. type ModuleName struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Remote *string `protobuf:"bytes,1,opt,name=remote" json:"remote,omitempty"` + Owner *string `protobuf:"bytes,2,opt,name=owner" json:"owner,omitempty"` + Repository *string `protobuf:"bytes,3,opt,name=repository" json:"repository,omitempty"` unknownFields protoimpl.UnknownFields - - Remote *string `protobuf:"bytes,1,opt,name=remote" json:"remote,omitempty"` - Owner *string `protobuf:"bytes,2,opt,name=owner" json:"owner,omitempty"` - Repository *string `protobuf:"bytes,3,opt,name=repository" json:"repository,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ModuleName) Reset() { diff --git a/private/gen/proto/go/buf/alpha/lint/v1/config.pb.go b/private/gen/proto/go/buf/alpha/lint/v1/config.pb.go index fc65900eb0..9186b1440c 100644 --- a/private/gen/proto/go/buf/alpha/lint/v1/config.pb.go +++ b/private/gen/proto/go/buf/alpha/lint/v1/config.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/lint/v1/config.proto @@ -42,10 +42,7 @@ const ( // The rule and category IDs are not encoded as enums in this package because we may want to support custom rule // and category IDs in the future. Callers will need to resolve the rule and category ID strings. type Config struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // version represents the version of the lint rule and category IDs that should be used with this config. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // use_ids lists the rule and/or category IDs that are included in the lint check. @@ -73,6 +70,8 @@ type Config struct { ServiceSuffix string `protobuf:"bytes,10,opt,name=service_suffix,json=serviceSuffix,proto3" json:"service_suffix,omitempty"` // allow_comment_ignores turns on comment-driven ignores. AllowCommentIgnores bool `protobuf:"varint,11,opt,name=allow_comment_ignores,json=allowCommentIgnores,proto3" json:"allow_comment_ignores,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Config) Reset() { @@ -184,12 +183,11 @@ func (x *Config) GetAllowCommentIgnores() bool { // IDPaths represents a rule or category ID and the file and/or directory paths that are ignored for the rule. type IDPaths struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IDPaths) Reset() { diff --git a/private/gen/proto/go/buf/alpha/module/v1alpha1/module.pb.go b/private/gen/proto/go/buf/alpha/module/v1alpha1/module.pb.go index 54319394cc..41b42fbade 100644 --- a/private/gen/proto/go/buf/alpha/module/v1alpha1/module.pb.go +++ b/private/gen/proto/go/buf/alpha/module/v1alpha1/module.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/module/v1alpha1/module.proto @@ -84,14 +84,13 @@ func (DigestType) EnumDescriptor() ([]byte, []int) { // Digest represents a hash function's value. type Digest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // digest_type describes the hash algorithm. e.g. "SHAKE256" DigestType DigestType `protobuf:"varint,1,opt,name=digest_type,json=digestType,proto3,enum=buf.alpha.module.v1alpha1.DigestType" json:"digest_type,omitempty"` // digest is the hash's output without encoding. - Digest []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` + Digest []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Digest) Reset() { @@ -140,14 +139,13 @@ func (x *Digest) GetDigest() []byte { // Blob represents some module content with an associated digest. type Blob struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Digest of the content. Digest *Digest `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` // Content of the blob. - Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Blob) Reset() { @@ -196,10 +194,7 @@ func (x *Blob) GetContent() []byte { // Module is a module. type Module struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // files are the files that make up the set. // // Sorted by path. @@ -227,6 +222,8 @@ type Module struct { // either `buf.md`, `README.md` or `README.markdown`. // if empty, assumes buf.md. DocumentationPath string `protobuf:"bytes,7,opt,name=documentation_path,json=documentationPath,proto3" json:"documentation_path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Module) Reset() { @@ -310,15 +307,14 @@ func (x *Module) GetDocumentationPath() string { // ModuleFile is a file within a FileSet. type ModuleFile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // path is the relative path of the file. // Path can only use '/' as the separator character, and includes no ".." components. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // content is the content of the file. - Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ModuleFile) Reset() { @@ -367,15 +363,14 @@ func (x *ModuleFile) GetContent() []byte { // ModuleReference is a module reference. type ModuleReference struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` - Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` + Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` // either tag, or commit - Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` + Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ModuleReference) Reset() { @@ -438,19 +433,18 @@ func (x *ModuleReference) GetReference() string { // ModulePin is a module pin. type ModulePin struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` - Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` - Commit string `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` + Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` + Commit string `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"` // Module's manifest digest. Replacement for previous b1/b3 digests. // This is in the format ':`, where '' is the lowercase digest name ('shake256'), // and '' is the lowercase hex-encoded digest. // This value is persisted directly to the buf.lock file (https://buf.build/docs/configuration/v1/buf-lock) as the 'digest' key. ManifestDigest string `protobuf:"bytes,8,opt,name=manifest_digest,json=manifestDigest,proto3" json:"manifest_digest,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ModulePin) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/admin.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/admin.pb.go index 6a20e2be20..f094f6554a 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/admin.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/admin.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/admin.proto @@ -139,13 +139,12 @@ func (CollisionType) EnumDescriptor() ([]byte, []int) { } type BreakingChangePolicy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` IgnoreUnstablePackages *bool `protobuf:"varint,2,opt,name=ignore_unstable_packages,json=ignoreUnstablePackages,proto3,oneof" json:"ignore_unstable_packages,omitempty"` Category BreakingChangeCategory `protobuf:"varint,3,opt,name=category,proto3,enum=buf.alpha.registry.v1alpha1.BreakingChangeCategory" json:"category,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BreakingChangePolicy) Reset() { @@ -201,12 +200,11 @@ func (x *BreakingChangePolicy) GetCategory() BreakingChangeCategory { // UniquenessPolicy is the policy for uniqueness on the server. type UniquenessPolicy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Whether uniqueness policy is enforced. - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UniquenessPolicy) Reset() { @@ -248,13 +246,12 @@ func (x *UniquenessPolicy) GetEnabled() bool { // ReviewFlowGracePeriodPolicy is the policy for the review flow grace period on the server. type ReviewFlowGracePeriodPolicy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The number of seconds of the grace period. // Set to zero to disable the grace period. DurationSeconds uint32 `protobuf:"varint,1,opt,name=duration_seconds,json=durationSeconds,proto3" json:"duration_seconds,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReviewFlowGracePeriodPolicy) Reset() { @@ -296,10 +293,7 @@ func (x *ReviewFlowGracePeriodPolicy) GetDurationSeconds() uint32 { // Collision is a collision that has occurred. type Collision struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The reference that has collisions. Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` // The type of collision. @@ -309,6 +303,8 @@ type Collision struct { // Whether there are other collision sources that the user is not authorized to see. // The user should contact a server admin for more information about these collisions. HasOtherCollisionSources bool `protobuf:"varint,4,opt,name=has_other_collision_sources,json=hasOtherCollisionSources,proto3" json:"has_other_collision_sources,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Collision) Reset() { @@ -371,16 +367,15 @@ func (x *Collision) GetHasOtherCollisionSources() bool { // CollisionSource is the source of a collision type CollisionSource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of the owner of the source. OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // The name of the repository of the source. RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // The path of the file that is the source of the collision. - Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CollisionSource) Reset() { @@ -438,10 +433,7 @@ func (x *CollisionSource) GetPath() string { // for every organizations repositories within a single tenant BSR instance // for a given month and year. type MonthlyUsage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The month, between 1 and 12. Month uint32 `protobuf:"varint,1,opt,name=month,proto3" json:"month,omitempty"` // The year, between 2020 and the current year. @@ -452,6 +444,8 @@ type MonthlyUsage struct { TotalEnumTypes uint32 `protobuf:"varint,4,opt,name=total_enum_types,json=totalEnumTypes,proto3" json:"total_enum_types,omitempty"` // The total amount of method types for the month and year. TotalMethodTypes uint32 `protobuf:"varint,5,opt,name=total_method_types,json=totalMethodTypes,proto3" json:"total_method_types,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MonthlyUsage) Reset() { @@ -520,11 +514,10 @@ func (x *MonthlyUsage) GetTotalMethodTypes() uint32 { } type ForceDeleteUserRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` unknownFields protoimpl.UnknownFields - - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ForceDeleteUserRequest) Reset() { @@ -565,16 +558,15 @@ func (x *ForceDeleteUserRequest) GetUserId() string { } type ForceDeleteUserResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The deleted user. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // The deleted organizations. Organizations []*Organization `protobuf:"bytes,2,rep,name=organizations,proto3" json:"organizations,omitempty"` // The deleted repositories. - Repositories []*Repository `protobuf:"bytes,3,rep,name=repositories,proto3" json:"repositories,omitempty"` + Repositories []*Repository `protobuf:"bytes,3,rep,name=repositories,proto3" json:"repositories,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ForceDeleteUserResponse) Reset() { @@ -629,12 +621,11 @@ func (x *ForceDeleteUserResponse) GetRepositories() []*Repository { } type UpdateUserVerificationStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - VerificationStatus VerificationStatus `protobuf:"varint,2,opt,name=verification_status,json=verificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"verification_status,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + VerificationStatus VerificationStatus `protobuf:"varint,2,opt,name=verification_status,json=verificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"verification_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUserVerificationStatusRequest) Reset() { @@ -682,9 +673,9 @@ func (x *UpdateUserVerificationStatusRequest) GetVerificationStatus() Verificati } type UpdateUserVerificationStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUserVerificationStatusResponse) Reset() { @@ -718,12 +709,11 @@ func (*UpdateUserVerificationStatusResponse) Descriptor() ([]byte, []int) { } type UpdateOrganizationVerificationStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - VerificationStatus VerificationStatus `protobuf:"varint,2,opt,name=verification_status,json=verificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"verification_status,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + VerificationStatus VerificationStatus `protobuf:"varint,2,opt,name=verification_status,json=verificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"verification_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateOrganizationVerificationStatusRequest) Reset() { @@ -771,9 +761,9 @@ func (x *UpdateOrganizationVerificationStatusRequest) GetVerificationStatus() Ve } type UpdateOrganizationVerificationStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateOrganizationVerificationStatusResponse) Reset() { @@ -807,11 +797,10 @@ func (*UpdateOrganizationVerificationStatusResponse) Descriptor() ([]byte, []int } type CreateMachineUserRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` unknownFields protoimpl.UnknownFields - - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateMachineUserRequest) Reset() { @@ -852,11 +841,10 @@ func (x *CreateMachineUserRequest) GetUsername() string { } type CreateMachineUserResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateMachineUserResponse) Reset() { @@ -897,9 +885,9 @@ func (x *CreateMachineUserResponse) GetUser() *User { } type GetBreakingChangePolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetBreakingChangePolicyRequest) Reset() { @@ -933,11 +921,10 @@ func (*GetBreakingChangePolicyRequest) Descriptor() ([]byte, []int) { } type GetBreakingChangePolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Policy *BreakingChangePolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` unknownFields protoimpl.UnknownFields - - Policy *BreakingChangePolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetBreakingChangePolicyResponse) Reset() { @@ -978,11 +965,10 @@ func (x *GetBreakingChangePolicyResponse) GetPolicy() *BreakingChangePolicy { } type UpdateBreakingChangePolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Policy *BreakingChangePolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` unknownFields protoimpl.UnknownFields - - Policy *BreakingChangePolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateBreakingChangePolicyRequest) Reset() { @@ -1023,9 +1009,9 @@ func (x *UpdateBreakingChangePolicyRequest) GetPolicy() *BreakingChangePolicy { } type UpdateBreakingChangePolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateBreakingChangePolicyResponse) Reset() { @@ -1059,9 +1045,9 @@ func (*UpdateBreakingChangePolicyResponse) Descriptor() ([]byte, []int) { } type GetUniquenessPolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUniquenessPolicyRequest) Reset() { @@ -1095,15 +1081,14 @@ func (*GetUniquenessPolicyRequest) Descriptor() ([]byte, []int) { } type GetUniquenessPolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The current uniqueness policy settings. Policy *UniquenessPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // Reports the status of the backfill task, which can be executed by the server admin with the // RunServerUniquenessBackfillTask RPC. BackfillTaskComplete bool `protobuf:"varint,2,opt,name=backfill_task_complete,json=backfillTaskComplete,proto3" json:"backfill_task_complete,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUniquenessPolicyResponse) Reset() { @@ -1151,11 +1136,10 @@ func (x *GetUniquenessPolicyResponse) GetBackfillTaskComplete() bool { } type UpdateUniquenessPolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Policy *UniquenessPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` unknownFields protoimpl.UnknownFields - - Policy *UniquenessPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateUniquenessPolicyRequest) Reset() { @@ -1196,9 +1180,9 @@ func (x *UpdateUniquenessPolicyRequest) GetPolicy() *UniquenessPolicy { } type UpdateUniquenessPolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUniquenessPolicyResponse) Reset() { @@ -1232,10 +1216,7 @@ func (*UpdateUniquenessPolicyResponse) Descriptor() ([]byte, []int) { } type ListServerUniquenessCollisionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Token of the page to retrieve. If not specified, the first page of // results will be returned. Use the value obtained from `next_page_token` // in the previous response in order to request the next page of results. @@ -1249,6 +1230,8 @@ type ListServerUniquenessCollisionsRequest struct { // continue to page through results until no more collisions of the specified // type are returned. CollisionType CollisionType `protobuf:"varint,3,opt,name=collision_type,json=collisionType,proto3,enum=buf.alpha.registry.v1alpha1.CollisionType" json:"collision_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListServerUniquenessCollisionsRequest) Reset() { @@ -1303,10 +1286,7 @@ func (x *ListServerUniquenessCollisionsRequest) GetCollisionType() CollisionType } type ListServerUniquenessCollisionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The collisions. Collisions []*Collision `protobuf:"bytes,1,rep,name=collisions,proto3" json:"collisions,omitempty"` // Pagination token used to retrieve the next page of results. @@ -1314,6 +1294,8 @@ type ListServerUniquenessCollisionsResponse struct { // the next request. `next_page_token` is not returned for the last // page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListServerUniquenessCollisionsResponse) Reset() { @@ -1361,9 +1343,9 @@ func (x *ListServerUniquenessCollisionsResponse) GetNextPageToken() string { } type RunServerUniquenessBackfillTaskRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RunServerUniquenessBackfillTaskRequest) Reset() { @@ -1397,9 +1379,9 @@ func (*RunServerUniquenessBackfillTaskRequest) Descriptor() ([]byte, []int) { } type RunServerUniquenessBackfillTaskResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RunServerUniquenessBackfillTaskResponse) Reset() { @@ -1433,9 +1415,9 @@ func (*RunServerUniquenessBackfillTaskResponse) Descriptor() ([]byte, []int) { } type GetReviewFlowGracePeriodPolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetReviewFlowGracePeriodPolicyRequest) Reset() { @@ -1469,12 +1451,11 @@ func (*GetReviewFlowGracePeriodPolicyRequest) Descriptor() ([]byte, []int) { } type GetReviewFlowGracePeriodPolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The current grace period policy settings. - Policy *ReviewFlowGracePeriodPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + Policy *ReviewFlowGracePeriodPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetReviewFlowGracePeriodPolicyResponse) Reset() { @@ -1515,12 +1496,11 @@ func (x *GetReviewFlowGracePeriodPolicyResponse) GetPolicy() *ReviewFlowGracePer } type UpdateReviewFlowGracePeriodPolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The new grace period policy settings. - Policy *ReviewFlowGracePeriodPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + Policy *ReviewFlowGracePeriodPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateReviewFlowGracePeriodPolicyRequest) Reset() { @@ -1561,9 +1541,9 @@ func (x *UpdateReviewFlowGracePeriodPolicyRequest) GetPolicy() *ReviewFlowGraceP } type UpdateReviewFlowGracePeriodPolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateReviewFlowGracePeriodPolicyResponse) Reset() { @@ -1597,14 +1577,13 @@ func (*UpdateReviewFlowGracePeriodPolicyResponse) Descriptor() ([]byte, []int) { } type GetClusterUsageRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The timestamp of the beginning time of a date range. StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The timestamp of the ending time of a date range. - EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetClusterUsageRequest) Reset() { @@ -1652,11 +1631,10 @@ func (x *GetClusterUsageRequest) GetEndTime() *timestamppb.Timestamp { } type GetClusterUsageResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Usage []*MonthlyUsage `protobuf:"bytes,1,rep,name=usage,proto3" json:"usage,omitempty"` unknownFields protoimpl.UnknownFields - - Usage []*MonthlyUsage `protobuf:"bytes,1,rep,name=usage,proto3" json:"usage,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetClusterUsageResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/authn.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/authn.pb.go index 60e4629f70..4f987a2728 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/authn.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/authn.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/authn.proto @@ -35,9 +35,9 @@ const ( ) type GetCurrentUserRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCurrentUserRequest) Reset() { @@ -71,11 +71,10 @@ func (*GetCurrentUserRequest) Descriptor() ([]byte, []int) { } type GetCurrentUserResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetCurrentUserResponse) Reset() { @@ -116,9 +115,9 @@ func (x *GetCurrentUserResponse) GetUser() *User { } type GetCurrentUserSubjectRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCurrentUserSubjectRequest) Reset() { @@ -152,15 +151,14 @@ func (*GetCurrentUserSubjectRequest) Descriptor() ([]byte, []int) { } type GetCurrentUserSubjectResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The user's subject for mapping to user in identity provider. // Note: we do not want to make it part of the User response as // it contains potentially sensitive information and the User // response is shared with other users. - Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` + Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCurrentUserSubjectResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/authz.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/authz.pb.go index 84ac697322..586b42a5f7 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/authz.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/authz.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/authz.proto @@ -35,13 +35,12 @@ const ( ) type UserCanCreateOrganizationRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which to check // whether the user is authorized. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanCreateOrganizationRepositoryRequest) Reset() { @@ -82,11 +81,10 @@ func (x *UserCanCreateOrganizationRepositoryRequest) GetOrganizationId() string } type UserCanCreateOrganizationRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` unknownFields protoimpl.UnknownFields - - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UserCanCreateOrganizationRepositoryResponse) Reset() { @@ -127,13 +125,12 @@ func (x *UserCanCreateOrganizationRepositoryResponse) GetAuthorized() bool { } type UserCanSeeRepositorySettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository for which to check // whether the user is authorized. - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanSeeRepositorySettingsRequest) Reset() { @@ -174,11 +171,10 @@ func (x *UserCanSeeRepositorySettingsRequest) GetRepositoryId() string { } type UserCanSeeRepositorySettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` unknownFields protoimpl.UnknownFields - - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UserCanSeeRepositorySettingsResponse) Reset() { @@ -219,13 +215,12 @@ func (x *UserCanSeeRepositorySettingsResponse) GetAuthorized() bool { } type UserCanSeeOrganizationSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which to check // whether the user is authorized. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanSeeOrganizationSettingsRequest) Reset() { @@ -266,11 +261,10 @@ func (x *UserCanSeeOrganizationSettingsRequest) GetOrganizationId() string { } type UserCanSeeOrganizationSettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` unknownFields protoimpl.UnknownFields - - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UserCanSeeOrganizationSettingsResponse) Reset() { @@ -311,13 +305,12 @@ func (x *UserCanSeeOrganizationSettingsResponse) GetAuthorized() bool { } type UserCanAddOrganizationMemberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which to check // whether the user is authorized. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanAddOrganizationMemberRequest) Reset() { @@ -358,13 +351,12 @@ func (x *UserCanAddOrganizationMemberRequest) GetOrganizationId() string { } type UserCanAddOrganizationMemberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The list of roles that the user is authorized to add, empty list means the user is // not authorized to add any members. AuthorizedRoles []OrganizationRole `protobuf:"varint,1,rep,packed,name=authorized_roles,json=authorizedRoles,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"authorized_roles,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanAddOrganizationMemberResponse) Reset() { @@ -405,13 +397,12 @@ func (x *UserCanAddOrganizationMemberResponse) GetAuthorizedRoles() []Organizati } type UserCanUpdateOrganizationMemberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which to check // whether the user is authorized. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanUpdateOrganizationMemberRequest) Reset() { @@ -452,13 +443,12 @@ func (x *UserCanUpdateOrganizationMemberRequest) GetOrganizationId() string { } type UserCanUpdateOrganizationMemberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The list of roles that the user is authorized to update (from and to), empty list means the user is // not authorized to update any members' role. AuthorizedRoles []OrganizationRole `protobuf:"varint,1,rep,packed,name=authorized_roles,json=authorizedRoles,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"authorized_roles,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanUpdateOrganizationMemberResponse) Reset() { @@ -499,13 +489,12 @@ func (x *UserCanUpdateOrganizationMemberResponse) GetAuthorizedRoles() []Organiz } type UserCanRemoveOrganizationMemberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which to check // whether the user is authorized. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanRemoveOrganizationMemberRequest) Reset() { @@ -546,13 +535,12 @@ func (x *UserCanRemoveOrganizationMemberRequest) GetOrganizationId() string { } type UserCanRemoveOrganizationMemberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The list of roles that the user is authorized to remove, empty list means the user is // not authorized to remove any members. AuthorizedRoles []OrganizationRole `protobuf:"varint,1,rep,packed,name=authorized_roles,json=authorizedRoles,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"authorized_roles,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanRemoveOrganizationMemberResponse) Reset() { @@ -593,13 +581,12 @@ func (x *UserCanRemoveOrganizationMemberResponse) GetAuthorizedRoles() []Organiz } type UserCanDeleteOrganizationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which to check // whether the user is authorized. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanDeleteOrganizationRequest) Reset() { @@ -640,11 +627,10 @@ func (x *UserCanDeleteOrganizationRequest) GetOrganizationId() string { } type UserCanDeleteOrganizationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` unknownFields protoimpl.UnknownFields - - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UserCanDeleteOrganizationResponse) Reset() { @@ -685,13 +671,12 @@ func (x *UserCanDeleteOrganizationResponse) GetAuthorized() bool { } type UserCanDeleteRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository for which to check // whether the user is authorized. - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanDeleteRepositoryRequest) Reset() { @@ -732,11 +717,10 @@ func (x *UserCanDeleteRepositoryRequest) GetRepositoryId() string { } type UserCanDeleteRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` unknownFields protoimpl.UnknownFields - - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UserCanDeleteRepositoryResponse) Reset() { @@ -777,9 +761,9 @@ func (x *UserCanDeleteRepositoryResponse) GetAuthorized() bool { } type UserCanDeleteUserRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanDeleteUserRequest) Reset() { @@ -813,11 +797,10 @@ func (*UserCanDeleteUserRequest) Descriptor() ([]byte, []int) { } type UserCanDeleteUserResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` unknownFields protoimpl.UnknownFields - - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UserCanDeleteUserResponse) Reset() { @@ -858,9 +841,9 @@ func (x *UserCanDeleteUserResponse) GetAuthorized() bool { } type UserCanSeeServerAdminPanelRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanSeeServerAdminPanelRequest) Reset() { @@ -894,11 +877,10 @@ func (*UserCanSeeServerAdminPanelRequest) Descriptor() ([]byte, []int) { } type UserCanSeeServerAdminPanelResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` unknownFields protoimpl.UnknownFields - - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UserCanSeeServerAdminPanelResponse) Reset() { @@ -939,13 +921,12 @@ func (x *UserCanSeeServerAdminPanelResponse) GetAuthorized() bool { } type UserCanManageRepositoryContributorsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository for which to check // whether the user is authorized. - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanManageRepositoryContributorsRequest) Reset() { @@ -986,13 +967,12 @@ func (x *UserCanManageRepositoryContributorsRequest) GetRepositoryId() string { } type UserCanManageRepositoryContributorsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The list of roles that the user is authorized to manage, empty list means the user is // not authorized to manage any contributors. AuthorizedRoles []RepositoryRole `protobuf:"varint,1,rep,packed,name=authorized_roles,json=authorizedRoles,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"authorized_roles,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanManageRepositoryContributorsResponse) Reset() { @@ -1033,13 +1013,12 @@ func (x *UserCanManageRepositoryContributorsResponse) GetAuthorizedRoles() []Rep } type UserCanReviewCommitsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository for which to check // whether the user is authorized. - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanReviewCommitsRequest) Reset() { @@ -1080,11 +1059,10 @@ func (x *UserCanReviewCommitsRequest) GetRepositoryId() string { } type UserCanReviewCommitsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` unknownFields protoimpl.UnknownFields - - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UserCanReviewCommitsResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/convert.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/convert.pb.go index dd768693c5..bf9ad50af3 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/convert.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/convert.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/convert.proto @@ -86,10 +86,7 @@ func (ConvertFormat) EnumDescriptor() ([]byte, []int) { } type ConvertRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // type_name is the full type name of the serialized message (like acme.weather.v1.Units). TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` // image is the image source that defines the serialized message. @@ -100,6 +97,8 @@ type ConvertRequest struct { RequestFormat ConvertFormat `protobuf:"varint,4,opt,name=request_format,json=requestFormat,proto3,enum=buf.alpha.registry.v1alpha1.ConvertFormat" json:"request_format,omitempty"` // response_format is the desired format of the output result. ResponseFormat ConvertFormat `protobuf:"varint,5,opt,name=response_format,json=responseFormat,proto3,enum=buf.alpha.registry.v1alpha1.ConvertFormat" json:"response_format,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConvertRequest) Reset() { @@ -168,12 +167,11 @@ func (x *ConvertRequest) GetResponseFormat() ConvertFormat { } type ConvertResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // payload is the converted serialized message in one of the supported formats. - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConvertResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/display.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/display.pb.go index 73338b8752..8964c7b017 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/display.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/display.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/display.proto @@ -35,13 +35,12 @@ const ( ) type DisplayOrganizationElementsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which to check // which elements should be displayed. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayOrganizationElementsRequest) Reset() { @@ -82,10 +81,7 @@ func (x *DisplayOrganizationElementsRequest) GetOrganizationId() string { } type DisplayOrganizationElementsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Display create organization repository element if true. CreateRepository bool `protobuf:"varint,1,opt,name=create_repository,json=createRepository,proto3" json:"create_repository,omitempty"` // Display organization settings element if true. @@ -93,7 +89,9 @@ type DisplayOrganizationElementsResponse struct { // Display update organization settings element if true. UpdateSettings bool `protobuf:"varint,5,opt,name=update_settings,json=updateSettings,proto3" json:"update_settings,omitempty"` // Display delete organization element if true. - Delete bool `protobuf:"varint,6,opt,name=delete,proto3" json:"delete,omitempty"` + Delete bool `protobuf:"varint,6,opt,name=delete,proto3" json:"delete,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayOrganizationElementsResponse) Reset() { @@ -155,13 +153,12 @@ func (x *DisplayOrganizationElementsResponse) GetDelete() bool { } type DisplayRepositoryElementsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository for which to check // which elements should be displayed. - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayRepositoryElementsRequest) Reset() { @@ -202,10 +199,7 @@ func (x *DisplayRepositoryElementsRequest) GetRepositoryId() string { } type DisplayRepositoryElementsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Display repository settings element if true. Settings bool `protobuf:"varint,1,opt,name=settings,proto3" json:"settings,omitempty"` // Display delete repository element if true. @@ -213,7 +207,9 @@ type DisplayRepositoryElementsResponse struct { // Display write repository elements if true. It includes all elements from limited_write. Write bool `protobuf:"varint,3,opt,name=write,proto3" json:"write,omitempty"` // Display limited_write repository elements if true. This is a subset of write elements. - LimitedWrite bool `protobuf:"varint,4,opt,name=limited_write,json=limitedWrite,proto3" json:"limited_write,omitempty"` + LimitedWrite bool `protobuf:"varint,4,opt,name=limited_write,json=limitedWrite,proto3" json:"limited_write,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayRepositoryElementsResponse) Reset() { @@ -275,13 +271,12 @@ func (x *DisplayRepositoryElementsResponse) GetLimitedWrite() bool { } type DisplayPluginElementsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the plugin for which to check // which elements should be displayed. - PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` + PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayPluginElementsRequest) Reset() { @@ -322,14 +317,13 @@ func (x *DisplayPluginElementsRequest) GetPluginId() string { } type DisplayPluginElementsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Display plugin settings element if true. Settings bool `protobuf:"varint,1,opt,name=settings,proto3" json:"settings,omitempty"` // Display delete plugin element if true. - Delete bool `protobuf:"varint,2,opt,name=delete,proto3" json:"delete,omitempty"` + Delete bool `protobuf:"varint,2,opt,name=delete,proto3" json:"delete,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayPluginElementsResponse) Reset() { @@ -377,9 +371,9 @@ func (x *DisplayPluginElementsResponse) GetDelete() bool { } type DisplayUserElementsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayUserElementsRequest) Reset() { @@ -413,12 +407,11 @@ func (*DisplayUserElementsRequest) Descriptor() ([]byte, []int) { } type DisplayUserElementsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Display delete user element if true. - Delete bool `protobuf:"varint,1,opt,name=delete,proto3" json:"delete,omitempty"` + Delete bool `protobuf:"varint,1,opt,name=delete,proto3" json:"delete,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayUserElementsResponse) Reset() { @@ -459,9 +452,9 @@ func (x *DisplayUserElementsResponse) GetDelete() bool { } type DisplayServerElementsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayServerElementsRequest) Reset() { @@ -495,12 +488,11 @@ func (*DisplayServerElementsRequest) Descriptor() ([]byte, []int) { } type DisplayServerElementsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Display server admin panel element if true. - AdminPanel bool `protobuf:"varint,1,opt,name=admin_panel,json=adminPanel,proto3" json:"admin_panel,omitempty"` + AdminPanel bool `protobuf:"varint,1,opt,name=admin_panel,json=adminPanel,proto3" json:"admin_panel,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayServerElementsResponse) Reset() { @@ -541,13 +533,12 @@ func (x *DisplayServerElementsResponse) GetAdminPanel() bool { } type DisplayOwnerEntitledElementsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of the owner for which to check // which elements are entitled to be displayed. - OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayOwnerEntitledElementsRequest) Reset() { @@ -588,12 +579,11 @@ func (x *DisplayOwnerEntitledElementsRequest) GetOwnerName() string { } type DisplayOwnerEntitledElementsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Display create private repository element if true. CreatePrivateRepository bool `protobuf:"varint,1,opt,name=create_private_repository,json=createPrivateRepository,proto3" json:"create_private_repository,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayOwnerEntitledElementsResponse) Reset() { @@ -634,13 +624,12 @@ func (x *DisplayOwnerEntitledElementsResponse) GetCreatePrivateRepository() bool } type DisplayRepositoryEntitledElementsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository for which to check // which elements are entitled to be displayed. - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayRepositoryEntitledElementsRequest) Reset() { @@ -681,12 +670,11 @@ func (x *DisplayRepositoryEntitledElementsRequest) GetRepositoryId() string { } type DisplayRepositoryEntitledElementsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Display repository change to private setting element if true. - SetPrivate bool `protobuf:"varint,1,opt,name=set_private,json=setPrivate,proto3" json:"set_private,omitempty"` + SetPrivate bool `protobuf:"varint,1,opt,name=set_private,json=setPrivate,proto3" json:"set_private,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayRepositoryEntitledElementsResponse) Reset() { @@ -727,13 +715,12 @@ func (x *DisplayRepositoryEntitledElementsResponse) GetSetPrivate() bool { } type ListManageableRepositoryRolesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository for which to check // which roles should be displayed as manageable. - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListManageableRepositoryRolesRequest) Reset() { @@ -774,13 +761,12 @@ func (x *ListManageableRepositoryRolesRequest) GetRepositoryId() string { } type ListManageableRepositoryRolesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The list of roles that should be displayed // to the user as manageable. - Roles []RepositoryRole `protobuf:"varint,1,rep,packed,name=roles,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"roles,omitempty"` + Roles []RepositoryRole `protobuf:"varint,1,rep,packed,name=roles,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"roles,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListManageableRepositoryRolesResponse) Reset() { @@ -821,16 +807,15 @@ func (x *ListManageableRepositoryRolesResponse) GetRoles() []RepositoryRole { } type ListManageableUserRepositoryRolesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository for which to check // which roles should be displayed as manageable. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // The ID of the target user for which to check // which roles are manageable. - UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListManageableUserRepositoryRolesRequest) Reset() { @@ -878,13 +863,12 @@ func (x *ListManageableUserRepositoryRolesRequest) GetUserId() string { } type ListManageableUserRepositoryRolesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The list of roles that should be displayed // to the user as manageable. - Roles []RepositoryRole `protobuf:"varint,1,rep,packed,name=roles,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"roles,omitempty"` + Roles []RepositoryRole `protobuf:"varint,1,rep,packed,name=roles,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"roles,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListManageableUserRepositoryRolesResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/doc.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/doc.pb.go index 323aad9cc8..08ad89fc3c 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/doc.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/doc.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/doc.proto @@ -89,14 +89,13 @@ func (FieldType) EnumDescriptor() ([]byte, []int) { // GetSourceDirectoryInfoRequest takes an owner, repository, and reference. type GetSourceDirectoryInfoRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Optional reference (if unspecified, will use the repository's default_branch). - Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSourceDirectoryInfoRequest) Reset() { @@ -152,11 +151,10 @@ func (x *GetSourceDirectoryInfoRequest) GetReference() string { // GetSourceDirectoryInfoResponse returns the root FileInfo for the requested module. type GetSourceDirectoryInfoResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Root *FileInfo `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` unknownFields protoimpl.UnknownFields - - Root *FileInfo `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSourceDirectoryInfoResponse) Reset() { @@ -199,14 +197,13 @@ func (x *GetSourceDirectoryInfoResponse) GetRoot() *FileInfo { // FileInfo is a nested structure that contains the file path, whether or not it's a directory, // and if so, the FileInfo children of that directory. type FileInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // the normalized path of the directory, relative to the root of the module. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - IsDir bool `protobuf:"varint,2,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"` - Children []*FileInfo `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + IsDir bool `protobuf:"varint,2,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"` + Children []*FileInfo `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FileInfo) Reset() { @@ -262,16 +259,15 @@ func (x *FileInfo) GetChildren() []*FileInfo { // GetSourceFileRequest takes an owner, repository, reference, and normalized path. type GetSourceFileRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Optional reference (if unspecified, will use the repository's default_branch). Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` // the normalized path to the requested file, relative to the root of the module. - Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` + Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSourceFileRequest) Reset() { @@ -334,12 +330,11 @@ func (x *GetSourceFileRequest) GetPath() string { // GetSourceFileResponse returns the source code contents of the requested file. type GetSourceFileResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // content is the content of the file. - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSourceFileResponse) Reset() { @@ -381,14 +376,13 @@ func (x *GetSourceFileResponse) GetContent() []byte { // GetModulePackagesRequest takes an owner, repository, and reference. type GetModulePackagesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Optional reference (if unspecified, will use the repository's default_branch). - Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetModulePackagesRequest) Reset() { @@ -444,12 +438,11 @@ func (x *GetModulePackagesRequest) GetReference() string { // GetModulePackagesResponse returns the list of ModulePackages for the requested module. type GetModulePackagesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - ModulePackages []*ModulePackage `protobuf:"bytes,2,rep,name=module_packages,json=modulePackages,proto3" json:"module_packages,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + ModulePackages []*ModulePackage `protobuf:"bytes,2,rep,name=module_packages,json=modulePackages,proto3" json:"module_packages,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetModulePackagesResponse) Reset() { @@ -498,12 +491,11 @@ func (x *GetModulePackagesResponse) GetModulePackages() []*ModulePackage { // ModulePackage provides the details about a module's associated package. type ModulePackage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ModulePackage) Reset() { @@ -552,14 +544,13 @@ func (x *ModulePackage) GetDescription() string { // GetModuleDocumentationRequest takes an owner, repository, and reference. type GetModuleDocumentationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Optional reference (if unspecified, will use the repository's default_branch). - Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetModuleDocumentationRequest) Reset() { @@ -615,11 +606,10 @@ func (x *GetModuleDocumentationRequest) GetReference() string { // GetModuleDocumentationResponse returns the ModuleDocumentation for the requested module. type GetModuleDocumentationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ModuleDocumentation *ModuleDocumentation `protobuf:"bytes,1,opt,name=module_documentation,json=moduleDocumentation,proto3" json:"module_documentation,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ModuleDocumentation *ModuleDocumentation `protobuf:"bytes,1,opt,name=module_documentation,json=moduleDocumentation,proto3" json:"module_documentation,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetModuleDocumentationResponse) Reset() { @@ -661,11 +651,8 @@ func (x *GetModuleDocumentationResponse) GetModuleDocumentation() *ModuleDocumen // ModuleDocumentation provides the name of the module and associated documentations. type ModuleDocumentation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This is the string representation of the contents of the buf.md file for module-level documentation. // // The buf.md file is a part of the module. @@ -681,6 +668,8 @@ type ModuleDocumentation struct { // either `buf.md`, `README.md` or `README.markdown`. // if empty, assumes buf.md. DocumentationPath string `protobuf:"bytes,5,opt,name=documentation_path,json=documentationPath,proto3" json:"documentation_path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ModuleDocumentation) Reset() { @@ -743,16 +732,15 @@ func (x *ModuleDocumentation) GetDocumentationPath() string { // GetPackageDocumentationRequest takes an owner, repository, reference, and package name. type GetPackageDocumentationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Optional reference (if unspecified, will use the repository's default_branch). Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` // this is the fully qualified package name. - PackageName string `protobuf:"bytes,4,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` + PackageName string `protobuf:"bytes,4,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPackageDocumentationRequest) Reset() { @@ -815,11 +803,10 @@ func (x *GetPackageDocumentationRequest) GetPackageName() string { // GetPackageDocumentationReponse returns the documentation for the requested package. type GetPackageDocumentationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PackageDocumentation *PackageDocumentation `protobuf:"bytes,1,opt,name=package_documentation,json=packageDocumentation,proto3" json:"package_documentation,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PackageDocumentation *PackageDocumentation `protobuf:"bytes,1,opt,name=package_documentation,json=packageDocumentation,proto3" json:"package_documentation,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPackageDocumentationResponse) Reset() { @@ -861,11 +848,8 @@ func (x *GetPackageDocumentationResponse) GetPackageDocumentation() *PackageDocu // PackageDocumentation provides the name, description, and top level types defined in the package. type PackageDocumentation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // comments contains the package-level comment documentation. // There is currently no convention for this. // @@ -881,6 +865,8 @@ type PackageDocumentation struct { Messages []*Message `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"` // extensions contains all the file level extensions in the package in alphabetical order. FileExtensions []*FileExtension `protobuf:"bytes,6,rep,name=file_extensions,json=fileExtensions,proto3" json:"file_extensions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PackageDocumentation) Reset() { @@ -960,14 +946,13 @@ func (x *PackageDocumentation) GetFileExtensions() []*FileExtension { // This does not provide the leading or trailing comments as these will // be parsed into descriptions or dropped respectively. type Location struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StartLine int32 `protobuf:"varint,1,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` + StartColumn int32 `protobuf:"varint,2,opt,name=start_column,json=startColumn,proto3" json:"start_column,omitempty"` + EndLine int32 `protobuf:"varint,3,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"` + EndColumn int32 `protobuf:"varint,4,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"` unknownFields protoimpl.UnknownFields - - StartLine int32 `protobuf:"varint,1,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` - StartColumn int32 `protobuf:"varint,2,opt,name=start_column,json=startColumn,proto3" json:"start_column,omitempty"` - EndLine int32 `protobuf:"varint,3,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"` - EndColumn int32 `protobuf:"varint,4,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Location) Reset() { @@ -1030,11 +1015,8 @@ func (x *Location) GetEndColumn() int32 { // Service provides information for the documentation for a given service type in a file. type Service struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // nested_name includes the nested types for a given type definition. NestedName string `protobuf:"bytes,2,opt,name=nested_name,json=nestedName,proto3" json:"nested_name,omitempty"` // full_name includes the package name and nested types for a given type definition. @@ -1060,6 +1042,8 @@ type Service struct { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. ServiceOptions *ServiceOptions `protobuf:"bytes,8,opt,name=service_options,json=serviceOptions,proto3" json:"service_options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Service) Reset() { @@ -1167,11 +1151,10 @@ func (x *Service) GetServiceOptions() *ServiceOptions { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. type ServiceOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` unknownFields protoimpl.UnknownFields - - Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ServiceOptions) Reset() { @@ -1213,11 +1196,8 @@ func (x *ServiceOptions) GetDeprecated() bool { // Method provides information for the documentation for a method of a given service. type Method struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // comments is derived from the leading comments of a given method. // // Paragraph newlines (double new lines) are respected, however single newlines are not. @@ -1236,6 +1216,8 @@ type Method struct { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. MethodOptions *MethodOptions `protobuf:"bytes,5,opt,name=method_options,json=methodOptions,proto3" json:"method_options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Method) Reset() { @@ -1322,13 +1304,12 @@ func (x *Method) GetMethodOptions() *MethodOptions { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. type MethodOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` // idempotency_level holds a value of the enumeration `google.protobuf.MethodOptions.IdempotencyLevel. IdempotencyLevel int32 `protobuf:"varint,2,opt,name=idempotency_level,json=idempotencyLevel,proto3" json:"idempotency_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MethodOptions) Reset() { @@ -1377,10 +1358,7 @@ func (x *MethodOptions) GetIdempotencyLevel() int32 { // MethodRequestResponse provides information for the documentation of a Method request or response message. type MethodRequestResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // nested_type is the nested name of the message of the request or response. This includes nested definitions. NestedType string `protobuf:"bytes,1,opt,name=nested_type,json=nestedType,proto3" json:"nested_type,omitempty"` // full_type is the fully qualified name of the message of the request or response. This includes package and nested definitions. @@ -1391,6 +1369,8 @@ type MethodRequestResponse struct { // import_module_ref is included if the request or response is an imported type. // It contains all the metadata for the import. ImportModuleRef *ImportModuleRef `protobuf:"bytes,5,opt,name=import_module_ref,json=importModuleRef,proto3" json:"import_module_ref,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MethodRequestResponse) Reset() { @@ -1460,11 +1440,8 @@ func (x *MethodRequestResponse) GetImportModuleRef() *ImportModuleRef { // Enum provides information for the documentation of an enum. type Enum struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // nested_name includes the nested types for a given type definition. NestedName string `protobuf:"bytes,2,opt,name=nested_name,json=nestedName,proto3" json:"nested_name,omitempty"` // full_name includes the package name and nested types for a given type definition. @@ -1488,7 +1465,9 @@ type Enum struct { // Use options instead. // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. - EnumOptions *EnumOptions `protobuf:"bytes,8,opt,name=enum_options,json=enumOptions,proto3" json:"enum_options,omitempty"` + EnumOptions *EnumOptions `protobuf:"bytes,8,opt,name=enum_options,json=enumOptions,proto3" json:"enum_options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Enum) Reset() { @@ -1596,12 +1575,11 @@ func (x *Enum) GetEnumOptions() *EnumOptions { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. type EnumOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + AllowAlias bool `protobuf:"varint,2,opt,name=allow_alias,json=allowAlias,proto3" json:"allow_alias,omitempty"` unknownFields protoimpl.UnknownFields - - Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - AllowAlias bool `protobuf:"varint,2,opt,name=allow_alias,json=allowAlias,proto3" json:"allow_alias,omitempty"` + sizeCache protoimpl.SizeCache } func (x *EnumOptions) Reset() { @@ -1650,12 +1628,9 @@ func (x *EnumOptions) GetAllowAlias() bool { // EnumValue provides information for the documentation of an enum value. type EnumValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` // comments is derived from the leading comments of a given enum value. // // Paragraph newlines (double new lines) are respected, however single newlines are not. @@ -1670,6 +1645,8 @@ type EnumValue struct { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. EnumValueOptions *EnumValueOptions `protobuf:"bytes,4,opt,name=enum_value_options,json=enumValueOptions,proto3" json:"enum_value_options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnumValue) Reset() { @@ -1742,11 +1719,10 @@ func (x *EnumValue) GetEnumValueOptions() *EnumValueOptions { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. type EnumValueOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` unknownFields protoimpl.UnknownFields - - Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + sizeCache protoimpl.SizeCache } func (x *EnumValueOptions) Reset() { @@ -1788,17 +1764,16 @@ func (x *EnumValueOptions) GetDeprecated() bool { // ImportRef provides the import metadata if a type is imported. type ImportModuleRef struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` - Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` + Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` // the commit is based on the module commit of the imported type provided // by the image. - Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` - PackageName string `protobuf:"bytes,5,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` + Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` + PackageName string `protobuf:"bytes,5,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ImportModuleRef) Reset() { @@ -1868,11 +1843,8 @@ func (x *ImportModuleRef) GetPackageName() string { // Message provides information for the documentation of a protobuf message. type Message struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // nested_name includes the nested types for a given type definition. NestedName string `protobuf:"bytes,2,opt,name=nested_name,json=nestedName,proto3" json:"nested_name,omitempty"` // full_name includes the package name and nested types for a given type definition. @@ -1899,6 +1871,8 @@ type Message struct { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. MessageOptions *MessageOptions `protobuf:"bytes,10,opt,name=message_options,json=messageOptions,proto3" json:"message_options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Message) Reset() { @@ -2018,15 +1992,14 @@ func (x *Message) GetMessageOptions() *MessageOptions { // MessageField can be either a single field or a oneof set of fields. type MessageField struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to MessageField: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to MessageField: // // *MessageField_Field // *MessageField_Oneof - MessageField isMessageField_MessageField `protobuf_oneof:"message_field"` + MessageField isMessageField_MessageField `protobuf_oneof:"message_field"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MessageField) Reset() { @@ -2059,23 +2032,27 @@ func (*MessageField) Descriptor() ([]byte, []int) { return file_buf_alpha_registry_v1alpha1_doc_proto_rawDescGZIP(), []int{26} } -func (m *MessageField) GetMessageField() isMessageField_MessageField { - if m != nil { - return m.MessageField +func (x *MessageField) GetMessageField() isMessageField_MessageField { + if x != nil { + return x.MessageField } return nil } func (x *MessageField) GetField() *Field { - if x, ok := x.GetMessageField().(*MessageField_Field); ok { - return x.Field + if x != nil { + if x, ok := x.MessageField.(*MessageField_Field); ok { + return x.Field + } } return nil } func (x *MessageField) GetOneof() *Oneof { - if x, ok := x.GetMessageField().(*MessageField_Oneof); ok { - return x.Oneof + if x != nil { + if x, ok := x.MessageField.(*MessageField_Oneof); ok { + return x.Oneof + } } return nil } @@ -2100,11 +2077,10 @@ func (*MessageField_Oneof) isMessageField_MessageField() {} // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. type MessageOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` unknownFields protoimpl.UnknownFields - - Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MessageOptions) Reset() { @@ -2146,16 +2122,15 @@ func (x *MessageOptions) GetDeprecated() bool { // Oneof represents a oneof set of fields. type Oneof struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Fields []*Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Fields []*Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // All options that are present on the OneOf. // This is a dynamic representation so it can also // accommodate custom options with arbitrary types. - Options []*FieldLiteral `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` + Options []*FieldLiteral `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Oneof) Reset() { @@ -2211,11 +2186,8 @@ func (x *Oneof) GetOptions() []*FieldLiteral { // Field provides information for the documentation of a message field. type Field struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // comments is derived from the leading comments of a given message field. // // Paragraph newlines (double new lines) are respected, however single newlines are not. @@ -2244,7 +2216,9 @@ type Field struct { // Use options instead. // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. - FieldOptions *FieldOptions `protobuf:"bytes,10,opt,name=field_options,json=fieldOptions,proto3" json:"field_options,omitempty"` + FieldOptions *FieldOptions `protobuf:"bytes,10,opt,name=field_options,json=fieldOptions,proto3" json:"field_options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Field) Reset() { @@ -2359,16 +2333,15 @@ func (x *Field) GetFieldOptions() *FieldOptions { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. type FieldOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - Packed *bool `protobuf:"varint,2,opt,name=packed,proto3,oneof" json:"packed,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + Packed *bool `protobuf:"varint,2,opt,name=packed,proto3,oneof" json:"packed,omitempty"` // ctype holds a value of the enumeration `google.protobuf.FieldOptions.CType. Ctype int32 `protobuf:"varint,3,opt,name=ctype,proto3" json:"ctype,omitempty"` // jstype holds a value of the enumeration `google.protobuf.FieldOptions.JSType. - Jstype int32 `protobuf:"varint,4,opt,name=jstype,proto3" json:"jstype,omitempty"` + Jstype int32 `protobuf:"varint,4,opt,name=jstype,proto3" json:"jstype,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FieldOptions) Reset() { @@ -2431,10 +2404,7 @@ func (x *FieldOptions) GetJstype() int32 { // FieldLiteral represents a field and its value. It can be used to model descriptor options. type FieldLiteral struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // When is_extension is true, name is the fully-qualified name of the // extension. Otherwise, it is the simple name of the field. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` @@ -2447,6 +2417,8 @@ type FieldLiteral struct { // This is the module where the extension is defined if the field type // is extension or the module where the messages is defined for field type any. ImportModuleRef *ImportModuleRef `protobuf:"bytes,5,opt,name=import_module_ref,json=importModuleRef,proto3" json:"import_module_ref,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FieldLiteral) Reset() { @@ -2516,13 +2488,12 @@ func (x *FieldLiteral) GetImportModuleRef() *ImportModuleRef { // MessageLiteral represents an option value for a type that is a message. type MessageLiteral struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Map of field names to value. Extension field names will be in the form: // [fully.qualified.extension.Name]. - Fields []*FieldLiteral `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + Fields []*FieldLiteral `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MessageLiteral) Reset() { @@ -2566,11 +2537,10 @@ func (x *MessageLiteral) GetFields() []*FieldLiteral { // Maps are also represented using an ArrayLiteral, where each map entry is a MessageLiteral // that contains a key and value field. type ArrayLiteral struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Elements []*LiteralValue `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` unknownFields protoimpl.UnknownFields - - Elements []*LiteralValue `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ArrayLiteral) Reset() { @@ -2612,11 +2582,8 @@ func (x *ArrayLiteral) GetElements() []*LiteralValue { // LiteralValue represents the actual value of the extension. type LiteralValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Value: // // *LiteralValue_StringValue // *LiteralValue_IntValue @@ -2626,8 +2593,10 @@ type LiteralValue struct { // *LiteralValue_EnumValueNameValue // *LiteralValue_ArrayValue // *LiteralValue_MessageValue - Value isLiteralValue_Value `protobuf_oneof:"value"` - Comments string `protobuf:"bytes,10,opt,name=comments,proto3" json:"comments,omitempty"` + Value isLiteralValue_Value `protobuf_oneof:"value"` + Comments string `protobuf:"bytes,10,opt,name=comments,proto3" json:"comments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LiteralValue) Reset() { @@ -2660,65 +2629,81 @@ func (*LiteralValue) Descriptor() ([]byte, []int) { return file_buf_alpha_registry_v1alpha1_doc_proto_rawDescGZIP(), []int{34} } -func (m *LiteralValue) GetValue() isLiteralValue_Value { - if m != nil { - return m.Value +func (x *LiteralValue) GetValue() isLiteralValue_Value { + if x != nil { + return x.Value } return nil } func (x *LiteralValue) GetStringValue() string { - if x, ok := x.GetValue().(*LiteralValue_StringValue); ok { - return x.StringValue + if x != nil { + if x, ok := x.Value.(*LiteralValue_StringValue); ok { + return x.StringValue + } } return "" } func (x *LiteralValue) GetIntValue() int64 { - if x, ok := x.GetValue().(*LiteralValue_IntValue); ok { - return x.IntValue + if x != nil { + if x, ok := x.Value.(*LiteralValue_IntValue); ok { + return x.IntValue + } } return 0 } func (x *LiteralValue) GetUintValue() uint64 { - if x, ok := x.GetValue().(*LiteralValue_UintValue); ok { - return x.UintValue + if x != nil { + if x, ok := x.Value.(*LiteralValue_UintValue); ok { + return x.UintValue + } } return 0 } func (x *LiteralValue) GetDoubleValue() float64 { - if x, ok := x.GetValue().(*LiteralValue_DoubleValue); ok { - return x.DoubleValue + if x != nil { + if x, ok := x.Value.(*LiteralValue_DoubleValue); ok { + return x.DoubleValue + } } return 0 } func (x *LiteralValue) GetBoolValue() bool { - if x, ok := x.GetValue().(*LiteralValue_BoolValue); ok { - return x.BoolValue + if x != nil { + if x, ok := x.Value.(*LiteralValue_BoolValue); ok { + return x.BoolValue + } } return false } func (x *LiteralValue) GetEnumValueNameValue() string { - if x, ok := x.GetValue().(*LiteralValue_EnumValueNameValue); ok { - return x.EnumValueNameValue + if x != nil { + if x, ok := x.Value.(*LiteralValue_EnumValueNameValue); ok { + return x.EnumValueNameValue + } } return "" } func (x *LiteralValue) GetArrayValue() *ArrayLiteral { - if x, ok := x.GetValue().(*LiteralValue_ArrayValue); ok { - return x.ArrayValue + if x != nil { + if x, ok := x.Value.(*LiteralValue_ArrayValue); ok { + return x.ArrayValue + } } return nil } func (x *LiteralValue) GetMessageValue() *MessageLiteral { - if x, ok := x.GetValue().(*LiteralValue_MessageValue); ok { - return x.MessageValue + if x != nil { + if x, ok := x.Value.(*LiteralValue_MessageValue); ok { + return x.MessageValue + } } return nil } @@ -2784,10 +2769,7 @@ func (*LiteralValue_MessageValue) isLiteralValue_Value() {} // MapEntry provides the key and value types for the MapEntry type for a map field. type MapEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // string representation of the full name of the type for the map key. keys can only be // scalar types: https://developers.google.com/protocol-buffers/docs/overview#maps KeyFullType string `protobuf:"bytes,1,opt,name=key_full_type,json=keyFullType,proto3" json:"key_full_type,omitempty"` @@ -2797,6 +2779,8 @@ type MapEntry struct { ValueFullType string `protobuf:"bytes,3,opt,name=value_full_type,json=valueFullType,proto3" json:"value_full_type,omitempty"` // if the value is an imported type, this is the import module ref ValueImportModuleRef *ImportModuleRef `protobuf:"bytes,4,opt,name=value_import_module_ref,json=valueImportModuleRef,proto3" json:"value_import_module_ref,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MapEntry) Reset() { @@ -2859,10 +2843,7 @@ func (x *MapEntry) GetValueImportModuleRef() *ImportModuleRef { // FileExtension provides the information for the documentation of a file extension. type FileExtension struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // extension_type is the string representation of the type being extended. ExtensionType string `protobuf:"bytes,1,opt,name=extension_type,json=extensionType,proto3" json:"extension_type,omitempty"` // comments is derived from the leading comments of a given message field. @@ -2877,6 +2858,8 @@ type FileExtension struct { Fields []*Field `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty"` // implicitly_deprecated is true if its enclosing file or parent element is deprecated. ImplicitlyDeprecated bool `protobuf:"varint,6,opt,name=implicitly_deprecated,json=implicitlyDeprecated,proto3" json:"implicitly_deprecated,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FileExtension) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/download.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/download.pb.go index 49c46b1dec..6792f4e2f4 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/download.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/download.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/download.proto @@ -37,14 +37,13 @@ const ( // DownloadRequest specifies the module to download. type DownloadRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Optional reference (if unspecified, will use the repository's default_branch). - Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DownloadRequest) Reset() { @@ -100,11 +99,10 @@ func (x *DownloadRequest) GetReference() string { // DownloadResponse contains the remote module. type DownloadResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Module *v1alpha1.Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` unknownFields protoimpl.UnknownFields - - Module *v1alpha1.Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DownloadResponse) Reset() { @@ -146,14 +144,13 @@ func (x *DownloadResponse) GetModule() *v1alpha1.Module { // DownloadManifestAndBlobsRequest specifies the module to download. type DownloadManifestAndBlobsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Optional reference (if unspecified, will use the repository's default_branch). - Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DownloadManifestAndBlobsRequest) Reset() { @@ -209,10 +206,7 @@ func (x *DownloadManifestAndBlobsRequest) GetReference() string { // DownloadManifestAndBlobsResponse is the returned resolved remote module. type DownloadManifestAndBlobsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // manifest is the manifest of the module's content. // The content of the manifest blob is a text encoding of an ordered list of unique paths, each path encoded as: // @@ -223,7 +217,9 @@ type DownloadManifestAndBlobsResponse struct { Manifest *v1alpha1.Blob `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` // blobs is a set of blobs that closes on the module's manifest to form the // complete module's content. - Blobs []*v1alpha1.Blob `protobuf:"bytes,2,rep,name=blobs,proto3" json:"blobs,omitempty"` + Blobs []*v1alpha1.Blob `protobuf:"bytes,2,rep,name=blobs,proto3" json:"blobs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DownloadManifestAndBlobsResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/git_metadata.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/git_metadata.pb.go index 312cd5ebfb..a0a9d4188c 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/git_metadata.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/git_metadata.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/git_metadata.proto @@ -37,16 +37,15 @@ const ( // GitIdentity is a Git user identity, typically either an author or a committer. type GitIdentity struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name is the name of the Git identity. This is not the BSR user's username. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Email is the email of the Git identity. This is not the BSR user's email. Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // Time is the time at which this identity was captured. - Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` + Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GitIdentity) Reset() { @@ -104,10 +103,7 @@ func (x *GitIdentity) GetTime() *timestamppb.Timestamp { // This always includes the hash. // The author and/or committer user identities are included when available. type GitCommitInformation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Hash is the SHA1 hash of the git commit. Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // Author is metadata associated with the author of the git commit. @@ -115,7 +111,9 @@ type GitCommitInformation struct { Author *GitIdentity `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` // Committer is the metadata associated with the committer of the git commit. // This may not always be available, so it is not always populated. - Committer *GitIdentity `protobuf:"bytes,3,opt,name=committer,proto3" json:"committer,omitempty"` + Committer *GitIdentity `protobuf:"bytes,3,opt,name=committer,proto3" json:"committer,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GitCommitInformation) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/github.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/github.pb.go index 2140a3c330..9f9b335667 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/github.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/github.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/github.proto @@ -35,11 +35,10 @@ const ( ) type GithubAppConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` unknownFields protoimpl.UnknownFields - - AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GithubAppConfig) Reset() { @@ -80,9 +79,9 @@ func (x *GithubAppConfig) GetAppId() string { } type GetGithubAppConfigRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetGithubAppConfigRequest) Reset() { @@ -116,11 +115,10 @@ func (*GetGithubAppConfigRequest) Descriptor() ([]byte, []int) { } type GetGithubAppConfigResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AppConfig *GithubAppConfig `protobuf:"bytes,1,opt,name=app_config,json=appConfig,proto3" json:"app_config,omitempty"` unknownFields protoimpl.UnknownFields - - AppConfig *GithubAppConfig `protobuf:"bytes,1,opt,name=app_config,json=appConfig,proto3" json:"app_config,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetGithubAppConfigResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/image.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/image.pb.go index 36be3b9e8c..f6c966a6c5 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/image.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/image.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/image.proto @@ -96,12 +96,9 @@ func (ImageMask) EnumDescriptor() ([]byte, []int) { } type GetImageRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Optional reference (if unspecified, will use the repository's default_branch). Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` // Exclude files from imported buf modules in this image. @@ -122,7 +119,9 @@ type GetImageRequest struct { // `IMAGE_MASK_MESSAGES` is specified without `IMAGE_MASK_ENUMS` the resulting // image will NOT contain enum definitions even if they are referenced from // message fields. - IncludeMask []ImageMask `protobuf:"varint,7,rep,packed,name=include_mask,json=includeMask,proto3,enum=buf.alpha.registry.v1alpha1.ImageMask" json:"include_mask,omitempty"` + IncludeMask []ImageMask `protobuf:"varint,7,rep,packed,name=include_mask,json=includeMask,proto3,enum=buf.alpha.registry.v1alpha1.ImageMask" json:"include_mask,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetImageRequest) Reset() { @@ -205,11 +204,10 @@ func (x *GetImageRequest) GetIncludeMask() []ImageMask { } type GetImageResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Image *v1.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` unknownFields protoimpl.UnknownFields - - Image *v1.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetImageResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/jsonschema.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/jsonschema.pb.go index c776305cdf..def1e1ab6f 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/jsonschema.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/jsonschema.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/jsonschema.proto @@ -35,18 +35,17 @@ const ( ) type GetJSONSchemaRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Optional reference (if unspecified, will use the repository's default_branch). Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` // A fully qualified name of the type to generate a JSONSchema for, e.g. // "pkg.foo.Bar". The type needs to resolve in the referenced module or any of // its dependencies. Currently only messages types are supported. - TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` + TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetJSONSchemaRequest) Reset() { @@ -108,15 +107,14 @@ func (x *GetJSONSchemaRequest) GetTypeName() string { } type GetJSONSchemaResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // A json schema representing what the json encoded payload for type_name // should conform to. This schema is an approximation to be used by editors // for validation and autocompletion, not a lossless representation of the // type's descriptor. - JsonSchema []byte `protobuf:"bytes,1,opt,name=json_schema,json=jsonSchema,proto3" json:"json_schema,omitempty"` + JsonSchema []byte `protobuf:"bytes,1,opt,name=json_schema,json=jsonSchema,proto3" json:"json_schema,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetJSONSchemaResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/module.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/module.pb.go index f10fc4716c..4f05aba2c7 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/module.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/module.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/module.proto @@ -38,14 +38,13 @@ const ( // // It does not include a remote. type LocalModuleReference struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // either branch or commit - Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LocalModuleReference) Reset() { @@ -103,15 +102,14 @@ func (x *LocalModuleReference) GetReference() string { // // It does not include a remote. type LocalModulePin struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` // Module's manifest digest. Replacement for previous b1/b3 digests. ManifestDigest string `protobuf:"bytes,6,opt,name=manifest_digest,json=manifestDigest,proto3" json:"manifest_digest,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LocalModulePin) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/organization.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/organization.pb.go index f0da941e8c..6b37bfcfb5 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/organization.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/organization.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/organization.proto @@ -36,10 +36,7 @@ const ( ) type Organization struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // primary key, unique, immutable Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // immutable @@ -55,6 +52,8 @@ type Organization struct { Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` // verification status of the organization, configurable by server admin. VerificationStatus VerificationStatus `protobuf:"varint,7,opt,name=verification_status,json=verificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"verification_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Organization) Reset() { @@ -139,12 +138,11 @@ func (x *Organization) GetVerificationStatus() VerificationStatus { // OrganizationMembership is a nested structure that contains // the organization and user membership information on that organization. type OrganizationMembership struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` - OrganizationRole OrganizationRole `protobuf:"varint,2,opt,name=organization_role,json=organizationRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"organization_role,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` + OrganizationRole OrganizationRole `protobuf:"varint,2,opt,name=organization_role,json=organizationRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"organization_role,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OrganizationMembership) Reset() { @@ -192,11 +190,10 @@ func (x *OrganizationMembership) GetOrganizationRole() OrganizationRole { } type GetOrganizationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetOrganizationRequest) Reset() { @@ -237,11 +234,10 @@ func (x *GetOrganizationRequest) GetId() string { } type GetOrganizationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` unknownFields protoimpl.UnknownFields - - Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetOrganizationResponse) Reset() { @@ -282,11 +278,10 @@ func (x *GetOrganizationResponse) GetOrganization() *Organization { } type GetOrganizationByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetOrganizationByNameRequest) Reset() { @@ -327,11 +322,10 @@ func (x *GetOrganizationByNameRequest) GetName() string { } type GetOrganizationByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` unknownFields protoimpl.UnknownFields - - Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetOrganizationByNameResponse) Reset() { @@ -372,14 +366,13 @@ func (x *GetOrganizationByNameResponse) GetOrganization() *Organization { } type ListOrganizationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListOrganizationsRequest) Reset() { @@ -434,13 +427,12 @@ func (x *ListOrganizationsRequest) GetReverse() bool { } type ListOrganizationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListOrganizationsResponse) Reset() { @@ -488,16 +480,15 @@ func (x *ListOrganizationsResponse) GetNextPageToken() string { } type ListUserOrganizationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the user whose organizations should be listed. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListUserOrganizationsRequest) Reset() { @@ -559,13 +550,12 @@ func (x *ListUserOrganizationsRequest) GetReverse() bool { } type ListUserOrganizationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Organizations []*OrganizationMembership `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListUserOrganizationsResponse) Reset() { @@ -613,14 +603,13 @@ func (x *ListUserOrganizationsResponse) GetNextPageToken() string { } type GetUserOrganizationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the user whose membership should be retrieved. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The ID of the organization. OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUserOrganizationRequest) Reset() { @@ -668,11 +657,10 @@ func (x *GetUserOrganizationRequest) GetOrganizationId() string { } type GetUserOrganizationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` OrganizationMembership *OrganizationMembership `protobuf:"bytes,1,opt,name=organization_membership,json=organizationMembership,proto3" json:"organization_membership,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUserOrganizationResponse) Reset() { @@ -713,12 +701,11 @@ func (x *GetUserOrganizationResponse) GetOrganizationMembership() *OrganizationM } type CreateOrganizationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Must be unique across organizations. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateOrganizationRequest) Reset() { @@ -759,11 +746,10 @@ func (x *CreateOrganizationRequest) GetName() string { } type CreateOrganizationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` unknownFields protoimpl.UnknownFields - - Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateOrganizationResponse) Reset() { @@ -804,11 +790,10 @@ func (x *CreateOrganizationResponse) GetOrganization() *Organization { } type DeleteOrganizationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteOrganizationRequest) Reset() { @@ -849,9 +834,9 @@ func (x *DeleteOrganizationRequest) GetId() string { } type DeleteOrganizationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteOrganizationResponse) Reset() { @@ -885,11 +870,10 @@ func (*DeleteOrganizationResponse) Descriptor() ([]byte, []int) { } type DeleteOrganizationByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteOrganizationByNameRequest) Reset() { @@ -930,9 +914,9 @@ func (x *DeleteOrganizationByNameRequest) GetName() string { } type DeleteOrganizationByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteOrganizationByNameResponse) Reset() { @@ -966,16 +950,15 @@ func (*DeleteOrganizationByNameResponse) Descriptor() ([]byte, []int) { } type AddOrganizationMemberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which the user will be added to. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // The ID of the user for which to be added to the organization. UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The new role of the user in the organization. OrganizationRole OrganizationRole `protobuf:"varint,3,opt,name=organization_role,json=organizationRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"organization_role,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddOrganizationMemberRequest) Reset() { @@ -1030,9 +1013,9 @@ func (x *AddOrganizationMemberRequest) GetOrganizationRole() OrganizationRole { } type AddOrganizationMemberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddOrganizationMemberResponse) Reset() { @@ -1066,16 +1049,15 @@ func (*AddOrganizationMemberResponse) Descriptor() ([]byte, []int) { } type UpdateOrganizationMemberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which the member belongs to. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // The ID of the user for which to be updated the role. UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The new role of the user in the organization. OrganizationRole OrganizationRole `protobuf:"varint,3,opt,name=organization_role,json=organizationRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"organization_role,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateOrganizationMemberRequest) Reset() { @@ -1130,9 +1112,9 @@ func (x *UpdateOrganizationMemberRequest) GetOrganizationRole() OrganizationRole } type UpdateOrganizationMemberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateOrganizationMemberResponse) Reset() { @@ -1166,14 +1148,13 @@ func (*UpdateOrganizationMemberResponse) Descriptor() ([]byte, []int) { } type RemoveOrganizationMemberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which the member belongs to. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // The ID of the user for which to be removed the role. - UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveOrganizationMemberRequest) Reset() { @@ -1221,9 +1202,9 @@ func (x *RemoveOrganizationMemberRequest) GetUserId() string { } type RemoveOrganizationMemberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveOrganizationMemberResponse) Reset() { @@ -1257,10 +1238,7 @@ func (*RemoveOrganizationMemberResponse) Descriptor() ([]byte, []int) { } type SetOrganizationMemberRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which the user's role will be set. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // The ID of the user whose role will be set. @@ -1268,6 +1246,8 @@ type SetOrganizationMemberRequest struct { // The role to assign to the user. // Setting UNSPECIFIED means removing the user's role. OrganizationRole OrganizationRole `protobuf:"varint,3,opt,name=organization_role,json=organizationRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"organization_role,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetOrganizationMemberRequest) Reset() { @@ -1322,9 +1302,9 @@ func (x *SetOrganizationMemberRequest) GetOrganizationRole() OrganizationRole { } type SetOrganizationMemberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetOrganizationMemberResponse) Reset() { @@ -1358,12 +1338,11 @@ func (*SetOrganizationMemberResponse) Descriptor() ([]byte, []int) { } type GetOrganizationSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which to get the settings. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrganizationSettingsRequest) Reset() { @@ -1404,15 +1383,14 @@ func (x *GetOrganizationSettingsRequest) GetOrganizationId() string { } type GetOrganizationSettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryBaseRole RepositoryRole `protobuf:"varint,1,opt,name=repository_base_role,json=repositoryBaseRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"repository_base_role,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryBaseRole RepositoryRole `protobuf:"varint,1,opt,name=repository_base_role,json=repositoryBaseRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"repository_base_role,omitempty"` // The number of members in the organization. MembersCount uint32 `protobuf:"varint,4,opt,name=members_count,json=membersCount,proto3" json:"members_count,omitempty"` // The IdP groups associated with the organization. - IdpGroups []string `protobuf:"bytes,5,rep,name=idp_groups,json=idpGroups,proto3" json:"idp_groups,omitempty"` + IdpGroups []string `protobuf:"bytes,5,rep,name=idp_groups,json=idpGroups,proto3" json:"idp_groups,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrganizationSettingsResponse) Reset() { @@ -1467,10 +1445,7 @@ func (x *GetOrganizationSettingsResponse) GetIdpGroups() []string { } type UpdateOrganizationSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which to update the base roles. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // optional, no update to this base role will be made if this is unspecified. @@ -1478,7 +1453,9 @@ type UpdateOrganizationSettingsRequest struct { // optional, update to description will only be made when this is present Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` // optional, update to url will only be made when this is present - Url *string `protobuf:"bytes,6,opt,name=url,proto3,oneof" json:"url,omitempty"` + Url *string `protobuf:"bytes,6,opt,name=url,proto3,oneof" json:"url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateOrganizationSettingsRequest) Reset() { @@ -1540,9 +1517,9 @@ func (x *UpdateOrganizationSettingsRequest) GetUrl() string { } type UpdateOrganizationSettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateOrganizationSettingsResponse) Reset() { @@ -1576,14 +1553,13 @@ func (*UpdateOrganizationSettingsResponse) Descriptor() ([]byte, []int) { } type AddOrganizationGroupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which to add the group. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // The name of the group to add. - GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` + GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddOrganizationGroupRequest) Reset() { @@ -1631,9 +1607,9 @@ func (x *AddOrganizationGroupRequest) GetGroupName() string { } type AddOrganizationGroupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddOrganizationGroupResponse) Reset() { @@ -1667,14 +1643,13 @@ func (*AddOrganizationGroupResponse) Descriptor() ([]byte, []int) { } type RemoveOrganizationGroupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization for which to remove the group. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // The name of the group to remove. - GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` + GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveOrganizationGroupRequest) Reset() { @@ -1722,9 +1697,9 @@ func (x *RemoveOrganizationGroupRequest) GetGroupName() string { } type RemoveOrganizationGroupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveOrganizationGroupResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/owner.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/owner.pb.go index fce802c796..dc325e6ac1 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/owner.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/owner.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/owner.proto @@ -35,15 +35,14 @@ const ( ) type Owner struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Owner: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Owner: // // *Owner_User // *Owner_Organization - Owner isOwner_Owner `protobuf_oneof:"owner"` + Owner isOwner_Owner `protobuf_oneof:"owner"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Owner) Reset() { @@ -76,23 +75,27 @@ func (*Owner) Descriptor() ([]byte, []int) { return file_buf_alpha_registry_v1alpha1_owner_proto_rawDescGZIP(), []int{0} } -func (m *Owner) GetOwner() isOwner_Owner { - if m != nil { - return m.Owner +func (x *Owner) GetOwner() isOwner_Owner { + if x != nil { + return x.Owner } return nil } func (x *Owner) GetUser() *User { - if x, ok := x.GetOwner().(*Owner_User); ok { - return x.User + if x != nil { + if x, ok := x.Owner.(*Owner_User); ok { + return x.User + } } return nil } func (x *Owner) GetOrganization() *Organization { - if x, ok := x.GetOwner().(*Owner_Organization); ok { - return x.Organization + if x != nil { + if x, ok := x.Owner.(*Owner_Organization); ok { + return x.Organization + } } return nil } @@ -116,12 +119,11 @@ func (*Owner_User) isOwner_Owner() {} func (*Owner_Organization) isOwner_Owner() {} type GetOwnerByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of the requested owner. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOwnerByNameRequest) Reset() { @@ -162,11 +164,10 @@ func (x *GetOwnerByNameRequest) GetName() string { } type GetOwnerByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Owner *Owner `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` unknownFields protoimpl.UnknownFields - - Owner *Owner `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetOwnerByNameResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/plugin_curation.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/plugin_curation.pb.go index b2d7cbd108..fddbdd9807 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/plugin_curation.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/plugin_curation.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/plugin_curation.proto @@ -495,10 +495,7 @@ func (DotnetTargetFramework) EnumDescriptor() ([]byte, []int) { // GoConfig is the configuration for a Go plugin. type GoConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Optionally define the runtime libraries for the plugin. RuntimeLibraries []*GoConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` // The minimum Go version required by the plugin. @@ -510,7 +507,9 @@ type GoConfig struct { // This affects how imports are resolved - the specified plugin's import path will be used as the // base path for all generated code, replacing the default protocolbuffers/go import paths. Used // when depending on non-default BSR plugins. - BasePlugin string `protobuf:"bytes,3,opt,name=base_plugin,json=basePlugin,proto3" json:"base_plugin,omitempty"` + BasePlugin string `protobuf:"bytes,3,opt,name=base_plugin,json=basePlugin,proto3" json:"base_plugin,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GoConfig) Reset() { @@ -566,10 +565,7 @@ func (x *GoConfig) GetBasePlugin() string { // NPMConfig is the configuration for a JavaScript NPM plugin. type NPMConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Optionally define the runtime libraries for the plugin. RuntimeLibraries []*NPMConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` // Optionally define a configuration for rewriting import paths, a feature mainly @@ -582,7 +578,9 @@ type NPMConfig struct { RewriteImportPathSuffix string `protobuf:"bytes,2,opt,name=rewrite_import_path_suffix,json=rewriteImportPathSuffix,proto3" json:"rewrite_import_path_suffix,omitempty"` // The import style used for the "type" field in the package.json file. // This exists to support legacy plugins that require "commonjs" support. - ImportStyle NPMImportStyle `protobuf:"varint,3,opt,name=import_style,json=importStyle,proto3,enum=buf.alpha.registry.v1alpha1.NPMImportStyle" json:"import_style,omitempty"` + ImportStyle NPMImportStyle `protobuf:"varint,3,opt,name=import_style,json=importStyle,proto3,enum=buf.alpha.registry.v1alpha1.NPMImportStyle" json:"import_style,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NPMConfig) Reset() { @@ -638,16 +636,15 @@ func (x *NPMConfig) GetImportStyle() NPMImportStyle { // MavenConfig is the configuration for a Maven plugin. type MavenConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Optionally define the runtime libraries for the plugin. RuntimeLibraries []*MavenConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` // Settings for the Java/Kotlin compiler used to compile the generated code. Compiler *MavenConfig_CompilerConfig `protobuf:"bytes,2,opt,name=compiler,proto3" json:"compiler,omitempty"` // Optional additional runtimes supported by the plugin. AdditionalRuntimes []*MavenConfig_RuntimeConfig `protobuf:"bytes,3,rep,name=additional_runtimes,json=additionalRuntimes,proto3" json:"additional_runtimes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MavenConfig) Reset() { @@ -703,14 +700,13 @@ func (x *MavenConfig) GetAdditionalRuntimes() []*MavenConfig_RuntimeConfig { // NugetConfig is the configuration for a NuGet C# plugin. type NugetConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Target frameworks to build. At least one target framework is required. TargetFrameworks []DotnetTargetFramework `protobuf:"varint,1,rep,packed,name=target_frameworks,json=targetFrameworks,proto3,enum=buf.alpha.registry.v1alpha1.DotnetTargetFramework" json:"target_frameworks,omitempty"` // Optional runtime libraries required by the plugin's generated code. RuntimeLibraries []*NugetConfig_RuntimeLibrary `protobuf:"bytes,2,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NugetConfig) Reset() { @@ -759,9 +755,9 @@ func (x *NugetConfig) GetRuntimeLibraries() []*NugetConfig_RuntimeLibrary { // CmakeConfig is the configuration for a Cmake C++ plugin. type CmakeConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CmakeConfig) Reset() { @@ -795,12 +791,11 @@ func (*CmakeConfig) Descriptor() ([]byte, []int) { } type SwiftConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Optionally define the runtime libraries for the plugin. RuntimeLibraries []*SwiftConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SwiftConfig) Reset() { @@ -841,10 +836,7 @@ func (x *SwiftConfig) GetRuntimeLibraries() []*SwiftConfig_RuntimeLibrary { } type PythonConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` RuntimeLibraries []*PythonConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` // requires_python is a PEP 440 Version Specifier that specifies the value of // the `Requires-Python` field in a metadata file. @@ -854,7 +846,9 @@ type PythonConfig struct { // - https://peps.python.org/pep-0440/ RequiresPython string `protobuf:"bytes,2,opt,name=requires_python,json=requiresPython,proto3" json:"requires_python,omitempty"` // package_type is the PythonPackageType that this plugin generates. - PackageType PythonPackageType `protobuf:"varint,3,opt,name=package_type,json=packageType,proto3,enum=buf.alpha.registry.v1alpha1.PythonPackageType" json:"package_type,omitempty"` + PackageType PythonPackageType `protobuf:"varint,3,opt,name=package_type,json=packageType,proto3,enum=buf.alpha.registry.v1alpha1.PythonPackageType" json:"package_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PythonConfig) Reset() { @@ -910,15 +904,14 @@ func (x *PythonConfig) GetPackageType() PythonPackageType { // CargoConfig specifies the Cargo Registry configuration for a Rust plugin. type CargoConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // rust_version specifies the minimum supported Rust version (MSRV) for the generated crate. // Ref: https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field RustVersion string `protobuf:"bytes,1,opt,name=rust_version,json=rustVersion,proto3" json:"rust_version,omitempty"` // runtime_libraries specifies the runtime dependencies for the generated crate. Optional. RuntimeLibraries []*CargoConfig_RuntimeLibrary `protobuf:"bytes,2,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CargoConfig) Reset() { @@ -967,11 +960,8 @@ func (x *CargoConfig) GetRuntimeLibraries() []*CargoConfig_RuntimeLibrary { // RegistryConfig is the configuration for the remote registry of a plugin. type RegistryConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to RegistryConfig: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to RegistryConfig: // // *RegistryConfig_GoConfig // *RegistryConfig_NpmConfig @@ -984,7 +974,9 @@ type RegistryConfig struct { RegistryConfig isRegistryConfig_RegistryConfig `protobuf_oneof:"registry_config"` // The options to pass to the plugin. These will // be merged into a single, comma-separated string. - Options []string `protobuf:"bytes,10,rep,name=options,proto3" json:"options,omitempty"` + Options []string `protobuf:"bytes,10,rep,name=options,proto3" json:"options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RegistryConfig) Reset() { @@ -1017,65 +1009,81 @@ func (*RegistryConfig) Descriptor() ([]byte, []int) { return file_buf_alpha_registry_v1alpha1_plugin_curation_proto_rawDescGZIP(), []int{8} } -func (m *RegistryConfig) GetRegistryConfig() isRegistryConfig_RegistryConfig { - if m != nil { - return m.RegistryConfig +func (x *RegistryConfig) GetRegistryConfig() isRegistryConfig_RegistryConfig { + if x != nil { + return x.RegistryConfig } return nil } func (x *RegistryConfig) GetGoConfig() *GoConfig { - if x, ok := x.GetRegistryConfig().(*RegistryConfig_GoConfig); ok { - return x.GoConfig + if x != nil { + if x, ok := x.RegistryConfig.(*RegistryConfig_GoConfig); ok { + return x.GoConfig + } } return nil } func (x *RegistryConfig) GetNpmConfig() *NPMConfig { - if x, ok := x.GetRegistryConfig().(*RegistryConfig_NpmConfig); ok { - return x.NpmConfig + if x != nil { + if x, ok := x.RegistryConfig.(*RegistryConfig_NpmConfig); ok { + return x.NpmConfig + } } return nil } func (x *RegistryConfig) GetMavenConfig() *MavenConfig { - if x, ok := x.GetRegistryConfig().(*RegistryConfig_MavenConfig); ok { - return x.MavenConfig + if x != nil { + if x, ok := x.RegistryConfig.(*RegistryConfig_MavenConfig); ok { + return x.MavenConfig + } } return nil } func (x *RegistryConfig) GetSwiftConfig() *SwiftConfig { - if x, ok := x.GetRegistryConfig().(*RegistryConfig_SwiftConfig); ok { - return x.SwiftConfig + if x != nil { + if x, ok := x.RegistryConfig.(*RegistryConfig_SwiftConfig); ok { + return x.SwiftConfig + } } return nil } func (x *RegistryConfig) GetPythonConfig() *PythonConfig { - if x, ok := x.GetRegistryConfig().(*RegistryConfig_PythonConfig); ok { - return x.PythonConfig + if x != nil { + if x, ok := x.RegistryConfig.(*RegistryConfig_PythonConfig); ok { + return x.PythonConfig + } } return nil } func (x *RegistryConfig) GetCargoConfig() *CargoConfig { - if x, ok := x.GetRegistryConfig().(*RegistryConfig_CargoConfig); ok { - return x.CargoConfig + if x != nil { + if x, ok := x.RegistryConfig.(*RegistryConfig_CargoConfig); ok { + return x.CargoConfig + } } return nil } func (x *RegistryConfig) GetNugetConfig() *NugetConfig { - if x, ok := x.GetRegistryConfig().(*RegistryConfig_NugetConfig); ok { - return x.NugetConfig + if x != nil { + if x, ok := x.RegistryConfig.(*RegistryConfig_NugetConfig); ok { + return x.NugetConfig + } } return nil } func (x *RegistryConfig) GetCmakeConfig() *CmakeConfig { - if x, ok := x.GetRegistryConfig().(*RegistryConfig_CmakeConfig); ok { - return x.CmakeConfig + if x != nil { + if x, ok := x.RegistryConfig.(*RegistryConfig_CmakeConfig); ok { + return x.CmakeConfig + } } return nil } @@ -1140,10 +1148,7 @@ func (*RegistryConfig_NugetConfig) isRegistryConfig_RegistryConfig() {} func (*RegistryConfig_CmakeConfig) isRegistryConfig_RegistryConfig() {} type CuratedPluginReference struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the plugin, i.e. "library". Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The name of the plugin, i.e. "connect-go". @@ -1151,7 +1156,9 @@ type CuratedPluginReference struct { // Semver-formatted plugin version. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // The revision for this plugin version. - Revision uint32 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"` + Revision uint32 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CuratedPluginReference) Reset() { @@ -1214,10 +1221,7 @@ func (x *CuratedPluginReference) GetRevision() uint32 { // CuratedPlugin represents a protoc plugin curated by Buf, such as protoc-gen-go. type CuratedPlugin struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the plugin, which uniquely identifies the plugin. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The owner of the plugin, i.e. "library". @@ -1265,7 +1269,9 @@ type CuratedPlugin struct { // The configurable documentation of the Plugin. Doc string `protobuf:"bytes,22,opt,name=doc,proto3" json:"doc,omitempty"` // The collections the Plugin belongs to. - Collections []*PluginCollection `protobuf:"bytes,23,rep,name=collections,proto3" json:"collections,omitempty"` + Collections []*PluginCollection `protobuf:"bytes,23,rep,name=collections,proto3" json:"collections,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CuratedPlugin) Reset() { @@ -1454,12 +1460,11 @@ func (x *CuratedPlugin) GetCollections() []*PluginCollection { // Plugin collections group related plugins, organizing them by functionality or ecosystem. type PluginCollection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of the collection. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PluginCollection) Reset() { @@ -1500,10 +1505,7 @@ func (x *PluginCollection) GetName() string { } type GenerateCodeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The image to run plugins against to generate the desired file outputs. // // All image files that are not imports and not well-known types will be generated. @@ -1519,6 +1521,8 @@ type GenerateCodeRequest struct { // include_imports must be set if include_well_known_types is set. If include_well_known_types // is also set in one of requests, use the request's value for that plugin. IncludeWellKnownTypes bool `protobuf:"varint,4,opt,name=include_well_known_types,json=includeWellKnownTypes,proto3" json:"include_well_known_types,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GenerateCodeRequest) Reset() { @@ -1580,13 +1584,12 @@ func (x *GenerateCodeRequest) GetIncludeWellKnownTypes() bool { } type GenerateCodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Responses from each plugin execution. // The order of each response matches the order in the GenerateCodeRequest. - Responses []*PluginGenerationResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` + Responses []*PluginGenerationResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GenerateCodeResponse) Reset() { @@ -1628,10 +1631,7 @@ func (x *GenerateCodeResponse) GetResponses() []*PluginGenerationResponse { // Request for performing code generation using the specified plugin. type PluginGenerationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The plugin to execute. PluginReference *CuratedPluginReference `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` // The options to pass to the plugin. These will @@ -1643,6 +1643,8 @@ type PluginGenerationRequest struct { // // include_imports must be set if include_well_known_types is set. IncludeWellKnownTypes *bool `protobuf:"varint,4,opt,name=include_well_known_types,json=includeWellKnownTypes,proto3,oneof" json:"include_well_known_types,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PluginGenerationRequest) Reset() { @@ -1705,12 +1707,11 @@ func (x *PluginGenerationRequest) GetIncludeWellKnownTypes() bool { // Response from code generation for a given plugin. type PluginGenerationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Generated code from the plugin. - Response *pluginpb.CodeGeneratorResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` + Response *pluginpb.CodeGeneratorResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PluginGenerationResponse) Reset() { @@ -1751,17 +1752,16 @@ func (x *PluginGenerationResponse) GetResponse() *pluginpb.CodeGeneratorResponse } type DeleteCuratedPluginRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the plugin to delete. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The name of the plugin to delete. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Version is the plugin version and is optional. If this field is not set then delete all versions, // otherwise delete only the specified version which includes all revisions. - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteCuratedPluginRequest) Reset() { @@ -1816,9 +1816,9 @@ func (x *DeleteCuratedPluginRequest) GetVersion() string { } type DeleteCuratedPluginResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteCuratedPluginResponse) Reset() { @@ -1852,10 +1852,7 @@ func (*DeleteCuratedPluginResponse) Descriptor() ([]byte, []int) { } type CreateCuratedPluginRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the plugin, i.e. "library". Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The name of the plugin, i.e. "connect-go". @@ -1890,7 +1887,9 @@ type CreateCuratedPluginRequest struct { // The URL leading to the integration guide of the plugin, if available. IntegrationGuideUrl string `protobuf:"bytes,18,opt,name=integration_guide_url,json=integrationGuideUrl,proto3" json:"integration_guide_url,omitempty"` // The deprecation status of the plugin. - Deprecated bool `protobuf:"varint,19,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + Deprecated bool `protobuf:"varint,19,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateCuratedPluginRequest) Reset() { @@ -2036,12 +2035,11 @@ func (x *CreateCuratedPluginRequest) GetDeprecated() bool { } type CreateCuratedPluginResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The created plugin. Configuration *CuratedPlugin `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateCuratedPluginResponse) Reset() { @@ -2082,11 +2080,8 @@ func (x *CreateCuratedPluginResponse) GetConfiguration() *CuratedPlugin { } type ListCuratedPluginsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` @@ -2094,6 +2089,8 @@ type ListCuratedPluginsRequest struct { SupportsRemotePackages bool `protobuf:"varint,4,opt,name=supports_remote_packages,json=supportsRemotePackages,proto3" json:"supports_remote_packages,omitempty"` // If true, will include deprecated plugins. IncludeDeprecated bool `protobuf:"varint,5,opt,name=include_deprecated,json=includeDeprecated,proto3" json:"include_deprecated,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListCuratedPluginsRequest) Reset() { @@ -2162,13 +2159,12 @@ func (x *ListCuratedPluginsRequest) GetIncludeDeprecated() bool { } type ListCuratedPluginsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Plugins []*CuratedPlugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Plugins []*CuratedPlugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListCuratedPluginsResponse) Reset() { @@ -2216,10 +2212,7 @@ func (x *ListCuratedPluginsResponse) GetNextPageToken() string { } type GetLatestCuratedPluginRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the plugin, i.e. "library". Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The name of the plugin, i.e. "connect-go". @@ -2234,6 +2227,8 @@ type GetLatestCuratedPluginRequest struct { Revision uint32 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"` // If true, will only return versions (and revisions) which support remote packages (registry_type is set). SupportsRemotePackages bool `protobuf:"varint,5,opt,name=supports_remote_packages,json=supportsRemotePackages,proto3" json:"supports_remote_packages,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetLatestCuratedPluginRequest) Reset() { @@ -2302,13 +2297,12 @@ func (x *GetLatestCuratedPluginRequest) GetSupportsRemotePackages() bool { } type GetLatestCuratedPluginResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Plugin *CuratedPlugin `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Plugin *CuratedPlugin `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` // versions is a semver-sorted list in descending order. - Versions []*CuratedPluginVersionRevisions `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"` + Versions []*CuratedPluginVersionRevisions `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetLatestCuratedPluginResponse) Reset() { @@ -2356,13 +2350,12 @@ func (x *GetLatestCuratedPluginResponse) GetVersions() []*CuratedPluginVersionRe } type CuratedPluginVersionRevisions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // revisions is a sorted list in descending order. - Revisions []uint32 `protobuf:"varint,2,rep,packed,name=revisions,proto3" json:"revisions,omitempty"` + Revisions []uint32 `protobuf:"varint,2,rep,packed,name=revisions,proto3" json:"revisions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CuratedPluginVersionRevisions) Reset() { @@ -2411,14 +2404,13 @@ func (x *CuratedPluginVersionRevisions) GetRevisions() []uint32 { // RuntimeLibrary describes the runtime library dependency of the generated code. type GoConfig_RuntimeLibrary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of the runtime library module, i.e. "google.golang.org/protobuf". Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // The version of the runtime library, i.e. "v1.27.1". - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GoConfig_RuntimeLibrary) Reset() { @@ -2467,14 +2459,13 @@ func (x *GoConfig_RuntimeLibrary) GetVersion() string { // RuntimeLibrary describes the runtime library dependency of the generated code. type NPMConfig_RuntimeLibrary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of the runtime library package, i.e. "@grpc/grpc-js". Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"` // The version of the runtime library, i.e. "^1.27.1". - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NPMConfig_RuntimeLibrary) Reset() { @@ -2523,15 +2514,14 @@ func (x *NPMConfig_RuntimeLibrary) GetVersion() string { // RuntimeLibrary describes a runtime dependency of the generated code. type MavenConfig_RuntimeLibrary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Classifier string `protobuf:"bytes,4,opt,name=classifier,proto3" json:"classifier,omitempty"` + Extension string `protobuf:"bytes,5,opt,name=extension,proto3" json:"extension,omitempty"` unknownFields protoimpl.UnknownFields - - GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` - ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - Classifier string `protobuf:"bytes,4,opt,name=classifier,proto3" json:"classifier,omitempty"` - Extension string `protobuf:"bytes,5,opt,name=extension,proto3" json:"extension,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MavenConfig_RuntimeLibrary) Reset() { @@ -2601,12 +2591,11 @@ func (x *MavenConfig_RuntimeLibrary) GetExtension() string { // CompilerConfig contains configuration for the Java and/or Kotlin compiler used when compiling the generated code. type MavenConfig_CompilerConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Java *MavenConfig_CompilerJavaConfig `protobuf:"bytes,1,opt,name=java,proto3" json:"java,omitempty"` + Kotlin *MavenConfig_CompilerKotlinConfig `protobuf:"bytes,2,opt,name=kotlin,proto3" json:"kotlin,omitempty"` unknownFields protoimpl.UnknownFields - - Java *MavenConfig_CompilerJavaConfig `protobuf:"bytes,1,opt,name=java,proto3" json:"java,omitempty"` - Kotlin *MavenConfig_CompilerKotlinConfig `protobuf:"bytes,2,opt,name=kotlin,proto3" json:"kotlin,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MavenConfig_CompilerConfig) Reset() { @@ -2655,10 +2644,7 @@ func (x *MavenConfig_CompilerConfig) GetKotlin() *MavenConfig_CompilerKotlinConf // CompilerJavaConfig contains settings for the Java compiler. type MavenConfig_CompilerJavaConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // File encoding (default: UTF-8). Encoding string `protobuf:"bytes,1,opt,name=encoding,proto3" json:"encoding,omitempty"` // Release version (default: 8). @@ -2666,7 +2652,9 @@ type MavenConfig_CompilerJavaConfig struct { // Source version (default: 8). Source int32 `protobuf:"varint,3,opt,name=source,proto3" json:"source,omitempty"` // Target version (default: 8). - Target int32 `protobuf:"varint,4,opt,name=target,proto3" json:"target,omitempty"` + Target int32 `protobuf:"varint,4,opt,name=target,proto3" json:"target,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MavenConfig_CompilerJavaConfig) Reset() { @@ -2729,10 +2717,7 @@ func (x *MavenConfig_CompilerJavaConfig) GetTarget() int32 { // CompilerKotlinConfig contains settings for the Kotlin compiler. type MavenConfig_CompilerKotlinConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Version of the Kotlin compiler used to compile the generated code. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Version of the Kotlin API to target. @@ -2741,6 +2726,8 @@ type MavenConfig_CompilerKotlinConfig struct { JvmTarget string `protobuf:"bytes,3,opt,name=jvm_target,json=jvmTarget,proto3" json:"jvm_target,omitempty"` // Kotlin language version used for source compatibility. LanguageVersion string `protobuf:"bytes,4,opt,name=language_version,json=languageVersion,proto3" json:"language_version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MavenConfig_CompilerKotlinConfig) Reset() { @@ -2804,15 +2791,14 @@ func (x *MavenConfig_CompilerKotlinConfig) GetLanguageVersion() string { // RuntimeConfig allows configuring additional runtimes (like the 'lite' runtime). // They can use different runtime dependencies and plugin options. type MavenConfig_RuntimeConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` RuntimeLibraries []*MavenConfig_RuntimeLibrary `protobuf:"bytes,2,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` // The options to pass to the plugin. These will // be merged into a single, comma-separated string. - Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` + Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MavenConfig_RuntimeConfig) Reset() { @@ -2869,10 +2855,7 @@ func (x *MavenConfig_RuntimeConfig) GetOptions() []string { // RuntimeLibrary describes a NuGet package dependency of the generated code. // Ref: https://learn.microsoft.com/en-us/dotnet/core/tools/dependencies#the-packagereference-element type NugetConfig_RuntimeLibrary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of the NuGet package (also known as the package ID). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The version of the NuGet package (supports ranges). @@ -2881,6 +2864,8 @@ type NugetConfig_RuntimeLibrary struct { // Optional target frameworks. If specified, these dependencies will be // conditionally added when building for the specified target framework. TargetFrameworks []DotnetTargetFramework `protobuf:"varint,3,rep,packed,name=target_frameworks,json=targetFrameworks,proto3,enum=buf.alpha.registry.v1alpha1.DotnetTargetFramework" json:"target_frameworks,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NugetConfig_RuntimeLibrary) Reset() { @@ -2936,10 +2921,7 @@ func (x *NugetConfig_RuntimeLibrary) GetTargetFrameworks() []DotnetTargetFramewo // RuntimeLibrary describes a runtime library dependency of the generated code. type SwiftConfig_RuntimeLibrary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The source of the runtime library package, e.g. https://github.com/apple/swift-protobuf.git. Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // The name of the runtime library package, e.g. "swift-protobuf". @@ -2952,6 +2934,8 @@ type SwiftConfig_RuntimeLibrary struct { Platforms []*SwiftConfig_RuntimeLibrary_Platform `protobuf:"bytes,5,rep,name=platforms,proto3" json:"platforms,omitempty"` // The supported Swift language versions of the runtime library, e.g. ".v5". SwiftVersions []string `protobuf:"bytes,6,rep,name=swift_versions,json=swiftVersions,proto3" json:"swift_versions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SwiftConfig_RuntimeLibrary) Reset() { @@ -3028,14 +3012,13 @@ func (x *SwiftConfig_RuntimeLibrary) GetSwiftVersions() []string { // The minimum compatible platform versions of the runtime library. type SwiftConfig_RuntimeLibrary_Platform struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of the platform. Name SwiftPlatformType `protobuf:"varint,1,opt,name=name,proto3,enum=buf.alpha.registry.v1alpha1.SwiftPlatformType" json:"name,omitempty"` // The minimum compatible version of the platform. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SwiftConfig_RuntimeLibrary_Platform) Reset() { @@ -3083,13 +3066,12 @@ func (x *SwiftConfig_RuntimeLibrary_Platform) GetVersion() string { } type PythonConfig_RuntimeLibrary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // dependency_specification is a PEP 508 Dependency Specification. // Ref: https://peps.python.org/pep-0508/ DependencySpecification string `protobuf:"bytes,1,opt,name=dependency_specification,json=dependencySpecification,proto3" json:"dependency_specification,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PythonConfig_RuntimeLibrary) Reset() { @@ -3134,10 +3116,7 @@ func (x *PythonConfig_RuntimeLibrary) GetDependencySpecification() string { // fields that are irrelevant for Generated SDKs. // Ref: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html type CargoConfig_RuntimeLibrary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name specifies the name of the dependency. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // version_requirement specifies the version requirement of the dependency. @@ -3145,7 +3124,9 @@ type CargoConfig_RuntimeLibrary struct { // default_features specifies whether or not default features will be enabled for the dependency. DefaultFeatures bool `protobuf:"varint,3,opt,name=default_features,json=defaultFeatures,proto3" json:"default_features,omitempty"` // features specifies the features enabled for the dependency. - Features []string `protobuf:"bytes,4,rep,name=features,proto3" json:"features,omitempty"` + Features []string `protobuf:"bytes,4,rep,name=features,proto3" json:"features,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CargoConfig_RuntimeLibrary) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/push.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/push.pb.go index 80d469f19c..8064a97cd1 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/push.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/push.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/push.proto @@ -37,12 +37,9 @@ const ( // PushRequest specifies the module to push to the BSR. type PushRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/push.proto. Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` Module *v1alpha1.Module `protobuf:"bytes,4,opt,name=module,proto3" json:"module,omitempty"` @@ -56,7 +53,9 @@ type PushRequest struct { // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/push.proto. Tracks []string `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"` // If non-empty, the push creates a draft commit with this name. - DraftName string `protobuf:"bytes,7,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` + DraftName string `protobuf:"bytes,7,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PushRequest) Reset() { @@ -142,11 +141,10 @@ func (x *PushRequest) GetDraftName() string { // PushResponse is the pushed module pin, local to the used remote. type PushResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LocalModulePin *LocalModulePin `protobuf:"bytes,5,opt,name=local_module_pin,json=localModulePin,proto3" json:"local_module_pin,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + LocalModulePin *LocalModulePin `protobuf:"bytes,5,opt,name=local_module_pin,json=localModulePin,proto3" json:"local_module_pin,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PushResponse) Reset() { @@ -189,12 +187,9 @@ func (x *PushResponse) GetLocalModulePin() *LocalModulePin { // PushManifestAndBlobsRequest holds the module to push in the manifest+blobs // encoding format. type PushManifestAndBlobsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Manifest with all the module files being pushed. // The content of the manifest blob is a text encoding of an ordered list of unique paths, each path encoded as: // @@ -211,7 +206,9 @@ type PushManifestAndBlobsRequest struct { // are created for the pushed commit. Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` // If non-empty, the push creates a draft commit with this name. - DraftName string `protobuf:"bytes,6,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` + DraftName string `protobuf:"bytes,6,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PushManifestAndBlobsRequest) Reset() { @@ -289,11 +286,10 @@ func (x *PushManifestAndBlobsRequest) GetDraftName() string { // PushManifestAndBlobsResponse is the pushed module pin, local to the used // remote. type PushManifestAndBlobsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LocalModulePin *LocalModulePin `protobuf:"bytes,1,opt,name=local_module_pin,json=localModulePin,proto3" json:"local_module_pin,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + LocalModulePin *LocalModulePin `protobuf:"bytes,1,opt,name=local_module_pin,json=localModulePin,proto3" json:"local_module_pin,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PushManifestAndBlobsResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/recommendation.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/recommendation.pb.go index 2c666e49dc..e4682da902 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/recommendation.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/recommendation.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/recommendation.proto @@ -38,15 +38,14 @@ const ( // RecommendedRepository is the information about a repository needed to link to // its owner page. type RecommendedRepository struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + RepositoryId string `protobuf:"bytes,5,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - RepositoryId string `protobuf:"bytes,5,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RecommendedRepository) Reset() { @@ -116,12 +115,11 @@ func (x *RecommendedRepository) GetRepositoryId() string { // SetRecommendedResource is the information needed to configure a resource recommendation type SetRecommendedResource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SetRecommendedResource) Reset() { @@ -169,9 +167,9 @@ func (x *SetRecommendedResource) GetName() string { } type RecommendedRepositoriesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RecommendedRepositoriesRequest) Reset() { @@ -205,11 +203,10 @@ func (*RecommendedRepositoriesRequest) Descriptor() ([]byte, []int) { } type RecommendedRepositoriesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Repositories []*RecommendedRepository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` unknownFields protoimpl.UnknownFields - - Repositories []*RecommendedRepository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RecommendedRepositoriesResponse) Reset() { @@ -250,9 +247,9 @@ func (x *RecommendedRepositoriesResponse) GetRepositories() []*RecommendedReposi } type ListRecommendedResourcesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRecommendedResourcesRequest) Reset() { @@ -286,11 +283,10 @@ func (*ListRecommendedResourcesRequest) Descriptor() ([]byte, []int) { } type ListRecommendedResourcesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` unknownFields protoimpl.UnknownFields - - Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRecommendedResourcesResponse) Reset() { @@ -331,11 +327,10 @@ func (x *ListRecommendedResourcesResponse) GetResources() []*Resource { } type SetRecommendedResourcesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Resources []*SetRecommendedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` unknownFields protoimpl.UnknownFields - - Resources []*SetRecommendedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SetRecommendedResourcesRequest) Reset() { @@ -376,9 +371,9 @@ func (x *SetRecommendedResourcesRequest) GetResources() []*SetRecommendedResourc } type SetRecommendedResourcesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetRecommendedResourcesResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/reference.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/reference.pb.go index abf6e2a903..55ed8ea4eb 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/reference.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/reference.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/reference.proto @@ -36,11 +36,8 @@ const ( ) type Reference struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Reference: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Reference: // // *Reference_Branch // *Reference_Tag @@ -48,7 +45,9 @@ type Reference struct { // *Reference_Main // *Reference_Draft // *Reference_VcsCommit - Reference isReference_Reference `protobuf_oneof:"reference"` + Reference isReference_Reference `protobuf_oneof:"reference"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Reference) Reset() { @@ -81,51 +80,63 @@ func (*Reference) Descriptor() ([]byte, []int) { return file_buf_alpha_registry_v1alpha1_reference_proto_rawDescGZIP(), []int{0} } -func (m *Reference) GetReference() isReference_Reference { - if m != nil { - return m.Reference +func (x *Reference) GetReference() isReference_Reference { + if x != nil { + return x.Reference } return nil } func (x *Reference) GetBranch() *RepositoryBranch { - if x, ok := x.GetReference().(*Reference_Branch); ok { - return x.Branch + if x != nil { + if x, ok := x.Reference.(*Reference_Branch); ok { + return x.Branch + } } return nil } func (x *Reference) GetTag() *RepositoryTag { - if x, ok := x.GetReference().(*Reference_Tag); ok { - return x.Tag + if x != nil { + if x, ok := x.Reference.(*Reference_Tag); ok { + return x.Tag + } } return nil } func (x *Reference) GetCommit() *RepositoryCommit { - if x, ok := x.GetReference().(*Reference_Commit); ok { - return x.Commit + if x != nil { + if x, ok := x.Reference.(*Reference_Commit); ok { + return x.Commit + } } return nil } func (x *Reference) GetMain() *RepositoryMainReference { - if x, ok := x.GetReference().(*Reference_Main); ok { - return x.Main + if x != nil { + if x, ok := x.Reference.(*Reference_Main); ok { + return x.Main + } } return nil } func (x *Reference) GetDraft() *RepositoryDraft { - if x, ok := x.GetReference().(*Reference_Draft); ok { - return x.Draft + if x != nil { + if x, ok := x.Reference.(*Reference_Draft); ok { + return x.Draft + } } return nil } func (x *Reference) GetVcsCommit() *RepositoryVCSCommit { - if x, ok := x.GetReference().(*Reference_VcsCommit); ok { - return x.VcsCommit + if x != nil { + if x, ok := x.Reference.(*Reference_VcsCommit); ok { + return x.VcsCommit + } } return nil } @@ -177,15 +188,14 @@ func (*Reference_Draft) isReference_Reference() {} func (*Reference_VcsCommit) isReference_Reference() {} type RepositoryMainReference struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name is the configured default_branch for the repository (default: 'main'). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The latest commit in this repository. If the repository has no commits, // this will be empty. - Commit *RepositoryCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` + Commit *RepositoryCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryMainReference) Reset() { @@ -233,14 +243,13 @@ func (x *RepositoryMainReference) GetCommit() *RepositoryCommit { } type RepositoryDraft struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of the draft Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The commit this draft points to. - Commit *RepositoryCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` + Commit *RepositoryCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryDraft) Reset() { @@ -288,10 +297,7 @@ func (x *RepositoryDraft) GetCommit() *RepositoryCommit { } type RepositoryVCSCommit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // primary key, unique. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // immutable @@ -299,7 +305,9 @@ type RepositoryVCSCommit struct { // The name of the VCS commit, e.g. for Git, it would be the Git hash. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // The name of the BSR commit this VCS commit belongs to. - CommitName string `protobuf:"bytes,4,opt,name=commit_name,json=commitName,proto3" json:"commit_name,omitempty"` + CommitName string `protobuf:"bytes,4,opt,name=commit_name,json=commitName,proto3" json:"commit_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryVCSCommit) Reset() { @@ -361,16 +369,15 @@ func (x *RepositoryVCSCommit) GetCommitName() string { } type GetReferenceByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Optional name (if unspecified, will use the repository's default_branch). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Owner of the repository the reference belongs to. Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // Name of the repository the reference belongs to. RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetReferenceByNameRequest) Reset() { @@ -425,11 +432,10 @@ func (x *GetReferenceByNameRequest) GetRepositoryName() string { } type GetReferenceByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Reference *Reference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` unknownFields protoimpl.UnknownFields - - Reference *Reference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetReferenceByNameResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository.pb.go index fd8375e9e7..50a96a4d9e 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/repository.proto @@ -85,10 +85,7 @@ func (Visibility) EnumDescriptor() ([]byte, []int) { } type Repository struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // primary key, unique, immutable Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // immutable @@ -97,7 +94,7 @@ type Repository struct { UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // unique, mutable Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // Types that are assignable to Owner: + // Types that are valid to be assigned to Owner: // // *Repository_UserId // *Repository_OrganizationId @@ -119,6 +116,8 @@ type Repository struct { // default branches (BSR and Git) are in sync. By default, every BSR repository is created with a // "main" default branch. DefaultBranch string `protobuf:"bytes,13,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Repository) Reset() { @@ -179,23 +178,27 @@ func (x *Repository) GetName() string { return "" } -func (m *Repository) GetOwner() isRepository_Owner { - if m != nil { - return m.Owner +func (x *Repository) GetOwner() isRepository_Owner { + if x != nil { + return x.Owner } return nil } func (x *Repository) GetUserId() string { - if x, ok := x.GetOwner().(*Repository_UserId); ok { - return x.UserId + if x != nil { + if x, ok := x.Owner.(*Repository_UserId); ok { + return x.UserId + } } return "" } func (x *Repository) GetOrganizationId() string { - if x, ok := x.GetOwner().(*Repository_OrganizationId); ok { - return x.OrganizationId + if x != nil { + if x, ok := x.Owner.(*Repository_OrganizationId); ok { + return x.OrganizationId + } } return "" } @@ -268,12 +271,11 @@ func (*Repository_UserId) isRepository_Owner() {} func (*Repository_OrganizationId) isRepository_Owner() {} type RepositoryCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TagsCount uint32 `protobuf:"varint,1,opt,name=tags_count,json=tagsCount,proto3" json:"tags_count,omitempty"` + DraftsCount uint32 `protobuf:"varint,3,opt,name=drafts_count,json=draftsCount,proto3" json:"drafts_count,omitempty"` unknownFields protoimpl.UnknownFields - - TagsCount uint32 `protobuf:"varint,1,opt,name=tags_count,json=tagsCount,proto3" json:"tags_count,omitempty"` - DraftsCount uint32 `protobuf:"varint,3,opt,name=drafts_count,json=draftsCount,proto3" json:"drafts_count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RepositoryCounts) Reset() { @@ -321,18 +323,17 @@ func (x *RepositoryCounts) GetDraftsCount() uint32 { } type RepositoryContributor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // The ID of the for which the role belongs to. RepositoryId string `protobuf:"bytes,2,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // The role that the user has been explicitly assigned against the repository. ExplicitRole RepositoryRole `protobuf:"varint,3,opt,name=explicit_role,json=explicitRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"explicit_role,omitempty"` // Optionally defines the role that the user has implicitly against the repository through the owning organization. // If the repository does not belong to an organization or the user is not part of the owning organization, this is unset. - ImplicitRole RepositoryRole `protobuf:"varint,4,opt,name=implicit_role,json=implicitRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"implicit_role,omitempty"` + ImplicitRole RepositoryRole `protobuf:"varint,4,opt,name=implicit_role,json=implicitRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"implicit_role,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryContributor) Reset() { @@ -394,10 +395,7 @@ func (x *RepositoryContributor) GetImplicitRole() RepositoryRole { } type RepositoryMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The name of the repository. @@ -410,6 +408,8 @@ type RepositoryMetadata struct { LatestCommitTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=latest_commit_time,json=latestCommitTime,proto3" json:"latest_commit_time,omitempty"` // The SPDX license ID of the latest main commit in the repository. LatestSpdxLicenseId string `protobuf:"bytes,6,opt,name=latest_spdx_license_id,json=latestSpdxLicenseId,proto3" json:"latest_spdx_license_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryMetadata) Reset() { @@ -485,13 +485,12 @@ func (x *RepositoryMetadata) GetLatestSpdxLicenseId() string { } type GetRepositoriesByFullNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // minimum length is 1 // maximum length is 250 - FullNames []string `protobuf:"bytes,1,rep,name=full_names,json=fullNames,proto3" json:"full_names,omitempty"` + FullNames []string `protobuf:"bytes,1,rep,name=full_names,json=fullNames,proto3" json:"full_names,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoriesByFullNameRequest) Reset() { @@ -532,11 +531,10 @@ func (x *GetRepositoriesByFullNameRequest) GetFullNames() []string { } type GetRepositoriesByFullNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` unknownFields protoimpl.UnknownFields - - Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRepositoriesByFullNameResponse) Reset() { @@ -577,11 +575,10 @@ func (x *GetRepositoriesByFullNameResponse) GetRepositories() []*Repository { } type GetRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRepositoryRequest) Reset() { @@ -622,12 +619,11 @@ func (x *GetRepositoryRequest) GetId() string { } type GetRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Counts *RepositoryCounts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty"` unknownFields protoimpl.UnknownFields - - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Counts *RepositoryCounts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRepositoryResponse) Reset() { @@ -675,11 +671,10 @@ func (x *GetRepositoryResponse) GetCounts() *RepositoryCounts { } type GetRepositoryByFullNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` unknownFields protoimpl.UnknownFields - - FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRepositoryByFullNameRequest) Reset() { @@ -720,12 +715,11 @@ func (x *GetRepositoryByFullNameRequest) GetFullName() string { } type GetRepositoryByFullNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Counts *RepositoryCounts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty"` unknownFields protoimpl.UnknownFields - - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Counts *RepositoryCounts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRepositoryByFullNameResponse) Reset() { @@ -773,14 +767,13 @@ func (x *GetRepositoryByFullNameResponse) GetCounts() *RepositoryCounts { } type ListRepositoriesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoriesRequest) Reset() { @@ -835,13 +828,12 @@ func (x *ListRepositoriesRequest) GetReverse() bool { } type ListRepositoriesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoriesResponse) Reset() { @@ -889,16 +881,15 @@ func (x *ListRepositoriesResponse) GetNextPageToken() string { } type ListUserRepositoriesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the user whose repositories should be listed. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListUserRepositoriesRequest) Reset() { @@ -960,13 +951,12 @@ func (x *ListUserRepositoriesRequest) GetReverse() bool { } type ListUserRepositoriesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListUserRepositoriesResponse) Reset() { @@ -1014,14 +1004,13 @@ func (x *ListUserRepositoriesResponse) GetNextPageToken() string { } type ListRepositoriesUserCanAccessRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoriesUserCanAccessRequest) Reset() { @@ -1076,13 +1065,12 @@ func (x *ListRepositoriesUserCanAccessRequest) GetReverse() bool { } type ListRepositoriesUserCanAccessResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoriesUserCanAccessResponse) Reset() { @@ -1130,16 +1118,15 @@ func (x *ListRepositoriesUserCanAccessResponse) GetNextPageToken() string { } type ListOrganizationRepositoriesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the organization whose repositories should be listed. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListOrganizationRepositoriesRequest) Reset() { @@ -1201,13 +1188,12 @@ func (x *ListOrganizationRepositoriesRequest) GetReverse() bool { } type ListOrganizationRepositoriesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListOrganizationRepositoriesResponse) Reset() { @@ -1255,13 +1241,12 @@ func (x *ListOrganizationRepositoriesResponse) GetNextPageToken() string { } type CreateRepositoryByFullNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Must be unique across repositories. - FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` - Visibility Visibility `protobuf:"varint,2,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` + FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` + Visibility Visibility `protobuf:"varint,2,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRepositoryByFullNameRequest) Reset() { @@ -1309,11 +1294,10 @@ func (x *CreateRepositoryByFullNameRequest) GetVisibility() Visibility { } type CreateRepositoryByFullNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` unknownFields protoimpl.UnknownFields - - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateRepositoryByFullNameResponse) Reset() { @@ -1354,11 +1338,10 @@ func (x *CreateRepositoryByFullNameResponse) GetRepository() *Repository { } type DeleteRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteRepositoryRequest) Reset() { @@ -1399,9 +1382,9 @@ func (x *DeleteRepositoryRequest) GetId() string { } type DeleteRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRepositoryResponse) Reset() { @@ -1435,11 +1418,10 @@ func (*DeleteRepositoryResponse) Descriptor() ([]byte, []int) { } type DeleteRepositoryByFullNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` unknownFields protoimpl.UnknownFields - - FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteRepositoryByFullNameRequest) Reset() { @@ -1480,9 +1462,9 @@ func (x *DeleteRepositoryByFullNameRequest) GetFullName() string { } type DeleteRepositoryByFullNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRepositoryByFullNameResponse) Reset() { @@ -1516,15 +1498,14 @@ func (*DeleteRepositoryByFullNameResponse) Descriptor() ([]byte, []int) { } type DeprecateRepositoryByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // A message shown along with the deprecation warning for this repository. // It must be a utf8 encoded string containing 256 or fewer characters. DeprecationMessage string `protobuf:"bytes,3,opt,name=deprecation_message,json=deprecationMessage,proto3" json:"deprecation_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeprecateRepositoryByNameRequest) Reset() { @@ -1579,11 +1560,10 @@ func (x *DeprecateRepositoryByNameRequest) GetDeprecationMessage() string { } type DeprecateRepositoryByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` unknownFields protoimpl.UnknownFields - - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeprecateRepositoryByNameResponse) Reset() { @@ -1624,12 +1604,11 @@ func (x *DeprecateRepositoryByNameResponse) GetRepository() *Repository { } type UndeprecateRepositoryByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UndeprecateRepositoryByNameRequest) Reset() { @@ -1677,11 +1656,10 @@ func (x *UndeprecateRepositoryByNameRequest) GetRepositoryName() string { } type UndeprecateRepositoryByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` unknownFields protoimpl.UnknownFields - - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UndeprecateRepositoryByNameResponse) Reset() { @@ -1722,10 +1700,7 @@ func (x *UndeprecateRepositoryByNameResponse) GetRepository() *Repository { } type SetRepositoryContributorRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository for which the user's role will be set. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // The ID of the user whose role will be set. @@ -1733,6 +1708,8 @@ type SetRepositoryContributorRequest struct { // The role to assign to the user. // Setting UNSPECIFIED means removing the user's role. RepositoryRole RepositoryRole `protobuf:"varint,3,opt,name=repository_role,json=repositoryRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"repository_role,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetRepositoryContributorRequest) Reset() { @@ -1787,9 +1764,9 @@ func (x *SetRepositoryContributorRequest) GetRepositoryRole() RepositoryRole { } type SetRepositoryContributorResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetRepositoryContributorResponse) Reset() { @@ -1823,15 +1800,14 @@ func (*SetRepositoryContributorResponse) Descriptor() ([]byte, []int) { } type ListRepositoryContributorsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryContributorsRequest) Reset() { @@ -1893,13 +1869,12 @@ func (x *ListRepositoryContributorsRequest) GetReverse() bool { } type ListRepositoryContributorsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Users []*RepositoryContributor `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryContributorsResponse) Reset() { @@ -1947,14 +1922,13 @@ func (x *ListRepositoryContributorsResponse) GetNextPageToken() string { } type GetRepositoryContributorRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository for which to get the contributor information. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // The ID of the user for which to get the contributor information. - UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryContributorRequest) Reset() { @@ -2002,12 +1976,11 @@ func (x *GetRepositoryContributorRequest) GetUserId() string { } type GetRepositoryContributorResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The contributor information of the user in the repository. - User *RepositoryContributor `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + User *RepositoryContributor `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryContributorResponse) Reset() { @@ -2048,12 +2021,11 @@ func (x *GetRepositoryContributorResponse) GetUser() *RepositoryContributor { } type GetRepositorySettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository for which to get the settings. - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositorySettingsRequest) Reset() { @@ -2094,13 +2066,12 @@ func (x *GetRepositorySettingsRequest) GetRepositoryId() string { } type GetRepositorySettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The number of outside contributors in the repository, // excluding owning-organization's members that have an explicit role. ContributorsCount uint32 `protobuf:"varint,1,opt,name=contributors_count,json=contributorsCount,proto3" json:"contributors_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositorySettingsResponse) Reset() { @@ -2141,12 +2112,9 @@ func (x *GetRepositorySettingsResponse) GetContributorsCount() uint32 { } type UpdateRepositorySettingsByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // optional, update to visibility will only be made if this is specified. Visibility Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` // optional, update to description will only be made when this is present @@ -2155,6 +2123,8 @@ type UpdateRepositorySettingsByNameRequest struct { Url *string `protobuf:"bytes,5,opt,name=url,proto3,oneof" json:"url,omitempty"` // optional, update to default_branch will only be made when this is present DefaultBranch *string `protobuf:"bytes,6,opt,name=default_branch,json=defaultBranch,proto3,oneof" json:"default_branch,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRepositorySettingsByNameRequest) Reset() { @@ -2230,9 +2200,9 @@ func (x *UpdateRepositorySettingsByNameRequest) GetDefaultBranch() string { } type UpdateRepositorySettingsByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRepositorySettingsByNameResponse) Reset() { @@ -2266,12 +2236,11 @@ func (*UpdateRepositorySettingsByNameResponse) Descriptor() ([]byte, []int) { } type GetRepositoriesMetadataRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The list of repository IDs to request the metadata. - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoriesMetadataRequest) Reset() { @@ -2312,11 +2281,10 @@ func (x *GetRepositoriesMetadataRequest) GetIds() []string { } type GetRepositoriesMetadataResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Metadata []*RepositoryMetadata `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty"` unknownFields protoimpl.UnknownFields - - Metadata []*RepositoryMetadata `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRepositoriesMetadataResponse) Reset() { @@ -2357,16 +2325,15 @@ func (x *GetRepositoriesMetadataResponse) GetMetadata() []*RepositoryMetadata { } type GetRepositoryDependencyDOTStringRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the BSR repository. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The name of the BSR repository. Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Optional reference (if unspecified, will use the repository's default_branch). - Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryDependencyDOTStringRequest) Reset() { @@ -2421,14 +2388,13 @@ func (x *GetRepositoryDependencyDOTStringRequest) GetReference() string { } type GetRepositoryDependencyDOTStringResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The string DOT representation of the dependency graph for the repository. // // DOT language reference: https://graphviz.org/doc/info/lang.html - DotString string `protobuf:"bytes,1,opt,name=dot_string,json=dotString,proto3" json:"dot_string,omitempty"` + DotString string `protobuf:"bytes,1,opt,name=dot_string,json=dotString,proto3" json:"dot_string,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryDependencyDOTStringResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_branch.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_branch.pb.go index 89810d18f3..56fc9cabcd 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_branch.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_branch.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/repository_branch.proto @@ -36,10 +36,7 @@ const ( ) type RepositoryBranch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // primary key, unique. // branches are based on labels, so when a branch is pushed to, the ID will point to the // updated entry in the labels table. @@ -60,6 +57,8 @@ type RepositoryBranch struct { // The git commit hash of the most recent associated git commit of the branch. May be an empty // string if no commit in the branch history contains any associated git commit. LastUpdateGitCommitHash string `protobuf:"bytes,8,opt,name=last_update_git_commit_hash,json=lastUpdateGitCommitHash,proto3" json:"last_update_git_commit_hash,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryBranch) Reset() { @@ -149,14 +148,13 @@ func (x *RepositoryBranch) GetLastUpdateGitCommitHash() string { } type GetRepositoryBranchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository for which the branch is requested. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // The name of the branch to get. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryBranchRequest) Reset() { @@ -204,11 +202,10 @@ func (x *GetRepositoryBranchRequest) GetName() string { } type GetRepositoryBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Branch *RepositoryBranch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` unknownFields protoimpl.UnknownFields - - Branch *RepositoryBranch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRepositoryBranchResponse) Reset() { @@ -249,15 +246,14 @@ func (x *GetRepositoryBranchResponse) GetBranch() *RepositoryBranch { } type ListRepositoryBranchesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository whose branches should be listed. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryBranchesRequest) Reset() { @@ -312,13 +308,12 @@ func (x *ListRepositoryBranchesRequest) GetPageToken() string { } type ListRepositoryBranchesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryBranches []*RepositoryBranch `protobuf:"bytes,1,rep,name=repository_branches,json=repositoryBranches,proto3" json:"repository_branches,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryBranches []*RepositoryBranch `protobuf:"bytes,1,rep,name=repository_branches,json=repositoryBranches,proto3" json:"repository_branches,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryBranchesResponse) Reset() { @@ -366,10 +361,7 @@ func (x *ListRepositoryBranchesResponse) GetNextPageToken() string { } type ListRepositoryBranchesByReferenceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository whose branches should be listed. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -377,11 +369,13 @@ type ListRepositoryBranchesByReferenceRequest struct { PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The reference by which to filter the returned branches. // - // Types that are assignable to Reference: + // Types that are valid to be assigned to Reference: // // *ListRepositoryBranchesByReferenceRequest_CommitName // *ListRepositoryBranchesByReferenceRequest_VcsCommitHash - Reference isListRepositoryBranchesByReferenceRequest_Reference `protobuf_oneof:"reference"` + Reference isListRepositoryBranchesByReferenceRequest_Reference `protobuf_oneof:"reference"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryBranchesByReferenceRequest) Reset() { @@ -435,23 +429,27 @@ func (x *ListRepositoryBranchesByReferenceRequest) GetPageToken() string { return "" } -func (m *ListRepositoryBranchesByReferenceRequest) GetReference() isListRepositoryBranchesByReferenceRequest_Reference { - if m != nil { - return m.Reference +func (x *ListRepositoryBranchesByReferenceRequest) GetReference() isListRepositoryBranchesByReferenceRequest_Reference { + if x != nil { + return x.Reference } return nil } func (x *ListRepositoryBranchesByReferenceRequest) GetCommitName() string { - if x, ok := x.GetReference().(*ListRepositoryBranchesByReferenceRequest_CommitName); ok { - return x.CommitName + if x != nil { + if x, ok := x.Reference.(*ListRepositoryBranchesByReferenceRequest_CommitName); ok { + return x.CommitName + } } return "" } func (x *ListRepositoryBranchesByReferenceRequest) GetVcsCommitHash() string { - if x, ok := x.GetReference().(*ListRepositoryBranchesByReferenceRequest_VcsCommitHash); ok { - return x.VcsCommitHash + if x != nil { + if x, ok := x.Reference.(*ListRepositoryBranchesByReferenceRequest_VcsCommitHash); ok { + return x.VcsCommitHash + } } return "" } @@ -478,13 +476,12 @@ func (*ListRepositoryBranchesByReferenceRequest_VcsCommitHash) isListRepositoryB } type ListRepositoryBranchesByReferenceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryBranches []*RepositoryBranch `protobuf:"bytes,1,rep,name=repository_branches,json=repositoryBranches,proto3" json:"repository_branches,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryBranches []*RepositoryBranch `protobuf:"bytes,1,rep,name=repository_branches,json=repositoryBranches,proto3" json:"repository_branches,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryBranchesByReferenceResponse) Reset() { @@ -532,12 +529,11 @@ func (x *ListRepositoryBranchesByReferenceResponse) GetNextPageToken() string { } type GetCurrentDefaultBranchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository whose current default branch is returned. - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCurrentDefaultBranchRequest) Reset() { @@ -578,11 +574,10 @@ func (x *GetCurrentDefaultBranchRequest) GetRepositoryId() string { } type GetCurrentDefaultBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CurrentDefaultBranch *RepositoryBranch `protobuf:"bytes,1,opt,name=current_default_branch,json=currentDefaultBranch,proto3" json:"current_default_branch,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + CurrentDefaultBranch *RepositoryBranch `protobuf:"bytes,1,opt,name=current_default_branch,json=currentDefaultBranch,proto3" json:"current_default_branch,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCurrentDefaultBranchResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_commit.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_commit.pb.go index f3ad6d588b..bebb4419fa 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_commit.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_commit.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/repository_commit.proto @@ -36,10 +36,7 @@ const ( ) type RepositoryCommit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // primary key, unique, immutable Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // immutable @@ -70,7 +67,9 @@ type RepositoryCommit struct { // Number of git commits with associated with the BSR commit. GitCommitsCount int64 `protobuf:"varint,13,opt,name=git_commits_count,json=gitCommitsCount,proto3" json:"git_commits_count,omitempty"` // The b5 digest of the commit. - B5Digest string `protobuf:"bytes,14,opt,name=b5_digest,json=b5Digest,proto3" json:"b5_digest,omitempty"` + B5Digest string `protobuf:"bytes,14,opt,name=b5_digest,json=b5Digest,proto3" json:"b5_digest,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryCommit) Reset() { @@ -195,10 +194,7 @@ func (x *RepositoryCommit) GetB5Digest() string { } type ListRepositoryCommitsByBranchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the repository which the repository branch belongs to. RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` // The name of the repository which the repository branch belongs to. @@ -210,8 +206,10 @@ type ListRepositoryCommitsByBranchRequest struct { // This is directly set by the frontend when listing track history starting with a // specific commit. If we page_token to be anything other than a commit id // we need to change the frontend as well. - PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` + PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryCommitsByBranchRequest) Reset() { @@ -287,12 +285,11 @@ func (x *ListRepositoryCommitsByBranchRequest) GetReverse() bool { } type ListRepositoryCommitsByBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryCommits []*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryCommits []*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryCommitsByBranchResponse) Reset() { @@ -340,20 +337,19 @@ func (x *ListRepositoryCommitsByBranchResponse) GetNextPageToken() string { } type ListRepositoryCommitsByReferenceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the repository which the repository reference belongs to. RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` // The name of the repository which the repository reference belongs to. RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // The optional reference used to resolve repository commits. Can be a tag or commit. // If unspecified, will use the repository's default_branch. - Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` + Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryCommitsByReferenceRequest) Reset() { @@ -429,12 +425,11 @@ func (x *ListRepositoryCommitsByReferenceRequest) GetReverse() bool { } type ListRepositoryCommitsByReferenceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryCommits []*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryCommits []*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryCommitsByReferenceResponse) Reset() { @@ -482,17 +477,16 @@ func (x *ListRepositoryCommitsByReferenceResponse) GetNextPageToken() string { } type GetRepositoryCommitByReferenceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the repository which the reference belongs to. RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` // The name of the repository which the reference belongs to. RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // The optional reference that should be resolved to a commit. Can be a tag or commit. // If unspecified, will use the repository's default_branch. - Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryCommitByReferenceRequest) Reset() { @@ -547,11 +541,10 @@ func (x *GetRepositoryCommitByReferenceRequest) GetReference() string { } type GetRepositoryCommitByReferenceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryCommit *RepositoryCommit `protobuf:"bytes,1,opt,name=repository_commit,json=repositoryCommit,proto3" json:"repository_commit,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryCommit *RepositoryCommit `protobuf:"bytes,1,opt,name=repository_commit,json=repositoryCommit,proto3" json:"repository_commit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryCommitByReferenceResponse) Reset() { @@ -592,10 +585,7 @@ func (x *GetRepositoryCommitByReferenceResponse) GetRepositoryCommit() *Reposito } type ListRepositoryDraftCommitsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the repository which the repository branch belongs to. RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` // The name of the repository which the repository branch belongs to. @@ -604,7 +594,9 @@ type ListRepositoryDraftCommitsRequest struct { PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // By default, draft commits are ordered by last update time descending. // Reverse orders them ascending. - Reverse bool `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"` + Reverse bool `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryDraftCommitsRequest) Reset() { @@ -673,13 +665,12 @@ func (x *ListRepositoryDraftCommitsRequest) GetReverse() bool { } type ListRepositoryDraftCommitsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Each commit will have draft_name set. RepositoryCommits []*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryDraftCommitsResponse) Reset() { @@ -727,16 +718,15 @@ func (x *ListRepositoryDraftCommitsResponse) GetNextPageToken() string { } type DeleteRepositoryDraftCommitRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the repository which the repository branch belongs to. RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` // The name of the repository which the repository branch belongs to. RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // The name of the draft to delete. - DraftName string `protobuf:"bytes,3,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` + DraftName string `protobuf:"bytes,3,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRepositoryDraftCommitRequest) Reset() { @@ -791,9 +781,9 @@ func (x *DeleteRepositoryDraftCommitRequest) GetDraftName() string { } type DeleteRepositoryDraftCommitResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRepositoryDraftCommitResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_tag.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_tag.pb.go index 1075494f5a..055515f129 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_tag.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_tag.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/repository_tag.proto @@ -36,10 +36,7 @@ const ( ) type RepositoryTag struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // primary key, unique. // tags are based on labels, so if a label has been moved, the ID will point to the // updated entry in the labels table. @@ -53,7 +50,9 @@ type RepositoryTag struct { // The name of the commit this tag belongs to. CommitName string `protobuf:"bytes,5,opt,name=commit_name,json=commitName,proto3" json:"commit_name,omitempty"` // The username of the author of the tag. - Author string `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"` + Author string `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryTag) Reset() { @@ -122,14 +121,13 @@ func (x *RepositoryTag) GetAuthor() string { } type GetRepositoryTagRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository this tag belongs to. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // The name of the repository tag to get, e.g. "6e2e7f24718a76caa32a80d0e2b1841ef2c61403". - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryTagRequest) Reset() { @@ -177,11 +175,10 @@ func (x *GetRepositoryTagRequest) GetName() string { } type GetRepositoryTagResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` unknownFields protoimpl.UnknownFields - - RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRepositoryTagResponse) Reset() { @@ -222,16 +219,15 @@ func (x *GetRepositoryTagResponse) GetRepositoryTag() *RepositoryTag { } type CreateRepositoryTagRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository this tag should be created on. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // The name of the repository tag, e.g. "6e2e7f24718a76caa32a80d0e2b1841ef2c61403". Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The name of the commit this tag should be created for. - CommitName string `protobuf:"bytes,3,opt,name=commit_name,json=commitName,proto3" json:"commit_name,omitempty"` + CommitName string `protobuf:"bytes,3,opt,name=commit_name,json=commitName,proto3" json:"commit_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRepositoryTagRequest) Reset() { @@ -286,11 +282,10 @@ func (x *CreateRepositoryTagRequest) GetCommitName() string { } type CreateRepositoryTagResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` unknownFields protoimpl.UnknownFields - - RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateRepositoryTagResponse) Reset() { @@ -331,16 +326,15 @@ func (x *CreateRepositoryTagResponse) GetRepositoryTag() *RepositoryTag { } type UpdateRepositoryTagRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository this tag belongs to. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // The name of the repository tag, to update e.g. "6e2e7f24718a76caa32a80d0e2b1841ef2c61403". Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The name of the commit this tag should reference. - CommitName *string `protobuf:"bytes,3,opt,name=commit_name,json=commitName,proto3,oneof" json:"commit_name,omitempty"` + CommitName *string `protobuf:"bytes,3,opt,name=commit_name,json=commitName,proto3,oneof" json:"commit_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRepositoryTagRequest) Reset() { @@ -395,11 +389,10 @@ func (x *UpdateRepositoryTagRequest) GetCommitName() string { } type UpdateRepositoryTagResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` unknownFields protoimpl.UnknownFields - - RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateRepositoryTagResponse) Reset() { @@ -440,16 +433,15 @@ func (x *UpdateRepositoryTagResponse) GetRepositoryTag() *RepositoryTag { } type ListRepositoryTagsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository whose tags should be listed. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryTagsRequest) Reset() { @@ -511,13 +503,12 @@ func (x *ListRepositoryTagsRequest) GetReverse() bool { } type ListRepositoryTagsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryTags []*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryTags []*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryTagsResponse) Reset() { @@ -565,18 +556,17 @@ func (x *ListRepositoryTagsResponse) GetNextPageToken() string { } type ListRepositoryTagsForReferenceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the repository whose tags should be listed. RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // Optional reference (if unspecified, will use the repository's default_branch). Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"` + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryTagsForReferenceRequest) Reset() { @@ -645,13 +635,12 @@ func (x *ListRepositoryTagsForReferenceRequest) GetReverse() bool { } type ListRepositoryTagsForReferenceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryTags []*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryTags []*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryTagsForReferenceResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/resolve.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/resolve.pb.go index 98903f4701..5b7717ec09 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/resolve.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/resolve.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/resolve.proto @@ -91,10 +91,7 @@ func (ResolvedReferenceType) EnumDescriptor() ([]byte, []int) { } type GetModulePinsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ModuleReferences []*v1alpha1.ModuleReference `protobuf:"bytes,1,rep,name=module_references,json=moduleReferences,proto3" json:"module_references,omitempty"` // current_module_pins allows for partial dependency updates by letting clients // send a request with the pins for their current module and only the @@ -107,6 +104,8 @@ type GetModulePinsRequest struct { // - NOT in the in the transitive closure of pins resolved from the // module_references, it will be returned as is. CurrentModulePins []*v1alpha1.ModulePin `protobuf:"bytes,2,rep,name=current_module_pins,json=currentModulePins,proto3" json:"current_module_pins,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetModulePinsRequest) Reset() { @@ -154,11 +153,10 @@ func (x *GetModulePinsRequest) GetCurrentModulePins() []*v1alpha1.ModulePin { } type GetModulePinsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ModulePins []*v1alpha1.ModulePin `protobuf:"bytes,1,rep,name=module_pins,json=modulePins,proto3" json:"module_pins,omitempty"` unknownFields protoimpl.UnknownFields - - ModulePins []*v1alpha1.ModulePin `protobuf:"bytes,1,rep,name=module_pins,json=modulePins,proto3" json:"module_pins,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetModulePinsResponse) Reset() { @@ -199,11 +197,10 @@ func (x *GetModulePinsResponse) GetModulePins() []*v1alpha1.ModulePin { } type GetLocalModulePinsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` LocalModuleReferences []*LocalModuleReference `protobuf:"bytes,1,rep,name=local_module_references,json=localModuleReferences,proto3" json:"local_module_references,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetLocalModulePinsRequest) Reset() { @@ -244,16 +241,15 @@ func (x *GetLocalModulePinsRequest) GetLocalModuleReferences() []*LocalModuleRef } type LocalModuleResolveResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // A copy of the reference that was resolved. Reference *LocalModuleReference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` // The pin the reference resolved to. Pin *LocalModulePin `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` // The type the reference resolved as. ResolvedReferenceType ResolvedReferenceType `protobuf:"varint,3,opt,name=resolved_reference_type,json=resolvedReferenceType,proto3,enum=buf.alpha.registry.v1alpha1.ResolvedReferenceType" json:"resolved_reference_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LocalModuleResolveResult) Reset() { @@ -308,15 +304,14 @@ func (x *LocalModuleResolveResult) GetResolvedReferenceType() ResolvedReferenceT } type GetLocalModulePinsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` LocalModuleResolveResults []*LocalModuleResolveResult `protobuf:"bytes,1,rep,name=local_module_resolve_results,json=localModuleResolveResults,proto3" json:"local_module_resolve_results,omitempty"` // dependencies are the dependencies of the LocalModulePins. // // This includes the transitive deps. - Dependencies []*v1alpha1.ModulePin `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` + Dependencies []*v1alpha1.ModulePin `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetLocalModulePinsResponse) Reset() { @@ -364,14 +359,13 @@ func (x *GetLocalModulePinsResponse) GetDependencies() []*v1alpha1.ModulePin { } type GetGoVersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The plugin reference to resolve. PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` // The module reference to resolve. ModuleReference *LocalModuleReference `protobuf:"bytes,2,opt,name=module_reference,json=moduleReference,proto3" json:"module_reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetGoVersionRequest) Reset() { @@ -419,12 +413,11 @@ func (x *GetGoVersionRequest) GetModuleReference() *LocalModuleReference { } type GetGoVersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // version is the resolved version to be used with the go module proxy. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetGoVersionResponse) Reset() { @@ -465,14 +458,13 @@ func (x *GetGoVersionResponse) GetVersion() string { } type GetMavenVersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The plugin reference to resolve. PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` // The module reference to resolve. ModuleReference *LocalModuleReference `protobuf:"bytes,2,opt,name=module_reference,json=moduleReference,proto3" json:"module_reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetMavenVersionRequest) Reset() { @@ -520,12 +512,11 @@ func (x *GetMavenVersionRequest) GetModuleReference() *LocalModuleReference { } type GetMavenVersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // version is the resolved version to be used with the maven repository. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetMavenVersionResponse) Reset() { @@ -566,14 +557,13 @@ func (x *GetMavenVersionResponse) GetVersion() string { } type GetNPMVersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The plugin reference to resolve. PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` // The module reference to resolve. ModuleReference *LocalModuleReference `protobuf:"bytes,2,opt,name=module_reference,json=moduleReference,proto3" json:"module_reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNPMVersionRequest) Reset() { @@ -621,12 +611,11 @@ func (x *GetNPMVersionRequest) GetModuleReference() *LocalModuleReference { } type GetNPMVersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // version is the resolved version to be used with the npm registry. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNPMVersionResponse) Reset() { @@ -667,14 +656,13 @@ func (x *GetNPMVersionResponse) GetVersion() string { } type GetSwiftVersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The plugin reference to resolve. PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` // The module reference to resolve. ModuleReference *LocalModuleReference `protobuf:"bytes,2,opt,name=module_reference,json=moduleReference,proto3" json:"module_reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSwiftVersionRequest) Reset() { @@ -722,12 +710,11 @@ func (x *GetSwiftVersionRequest) GetModuleReference() *LocalModuleReference { } type GetSwiftVersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // version is the resolved version to be used with the swift registry. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSwiftVersionResponse) Reset() { @@ -768,14 +755,13 @@ func (x *GetSwiftVersionResponse) GetVersion() string { } type GetPythonVersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The plugin reference to resolve. PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` // The module reference to resolve. ModuleReference *LocalModuleReference `protobuf:"bytes,2,opt,name=module_reference,json=moduleReference,proto3" json:"module_reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPythonVersionRequest) Reset() { @@ -823,12 +809,11 @@ func (x *GetPythonVersionRequest) GetModuleReference() *LocalModuleReference { } type GetPythonVersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // version is the resolved version to be used with the python repository. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPythonVersionResponse) Reset() { @@ -869,14 +854,13 @@ func (x *GetPythonVersionResponse) GetVersion() string { } type GetCargoVersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The plugin reference to resolve. PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` // The module reference to resolve. ModuleReference *LocalModuleReference `protobuf:"bytes,2,opt,name=module_reference,json=moduleReference,proto3" json:"module_reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCargoVersionRequest) Reset() { @@ -924,12 +908,11 @@ func (x *GetCargoVersionRequest) GetModuleReference() *LocalModuleReference { } type GetCargoVersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // version is the resolved version to be used with the cargo registry. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCargoVersionResponse) Reset() { @@ -970,14 +953,13 @@ func (x *GetCargoVersionResponse) GetVersion() string { } type GetNugetVersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The plugin reference to resolve. PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` // The module reference to resolve. ModuleReference *LocalModuleReference `protobuf:"bytes,2,opt,name=module_reference,json=moduleReference,proto3" json:"module_reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNugetVersionRequest) Reset() { @@ -1025,12 +1007,11 @@ func (x *GetNugetVersionRequest) GetModuleReference() *LocalModuleReference { } type GetNugetVersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // version is the resolved version to be used with the nuget registry. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNugetVersionResponse) Reset() { @@ -1071,14 +1052,13 @@ func (x *GetNugetVersionResponse) GetVersion() string { } type GetCmakeVersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The plugin reference to resolve. PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` // The module reference to resolve. ModuleReference *LocalModuleReference `protobuf:"bytes,2,opt,name=module_reference,json=moduleReference,proto3" json:"module_reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCmakeVersionRequest) Reset() { @@ -1126,12 +1106,11 @@ func (x *GetCmakeVersionRequest) GetModuleReference() *LocalModuleReference { } type GetCmakeVersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // version is the resolved version to be used with the cmake registry. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCmakeVersionResponse) Reset() { @@ -1174,10 +1153,7 @@ func (x *GetCmakeVersionResponse) GetVersion() string { // GetRemotePackageVersionPlugin is a plugin reference. // If the version is empty, this is a reference to the latest version. type GetRemotePackageVersionPlugin struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the plugin. // example: bufbuild Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` @@ -1190,7 +1166,9 @@ type GetRemotePackageVersionPlugin struct { Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // The revision of the plugin version. // example: 1 - Revision uint32 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"` + Revision uint32 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRemotePackageVersionPlugin) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/resource.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/resource.pb.go index 274ea94a8c..0b543a7766 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/resource.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/resource.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/resource.proto @@ -35,15 +35,14 @@ const ( ) type Resource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Resource: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Resource: // // *Resource_Repository // *Resource_Plugin - Resource isResource_Resource `protobuf_oneof:"resource"` + Resource isResource_Resource `protobuf_oneof:"resource"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Resource) Reset() { @@ -76,23 +75,27 @@ func (*Resource) Descriptor() ([]byte, []int) { return file_buf_alpha_registry_v1alpha1_resource_proto_rawDescGZIP(), []int{0} } -func (m *Resource) GetResource() isResource_Resource { - if m != nil { - return m.Resource +func (x *Resource) GetResource() isResource_Resource { + if x != nil { + return x.Resource } return nil } func (x *Resource) GetRepository() *Repository { - if x, ok := x.GetResource().(*Resource_Repository); ok { - return x.Repository + if x != nil { + if x, ok := x.Resource.(*Resource_Repository); ok { + return x.Repository + } } return nil } func (x *Resource) GetPlugin() *CuratedPlugin { - if x, ok := x.GetResource().(*Resource_Plugin); ok { - return x.Plugin + if x != nil { + if x, ok := x.Resource.(*Resource_Plugin); ok { + return x.Plugin + } } return nil } @@ -114,14 +117,13 @@ func (*Resource_Repository) isResource_Resource() {} func (*Resource_Plugin) isResource_Resource() {} type GetResourceByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Owner of the requested resource. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // Name of the requested resource. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetResourceByNameRequest) Reset() { @@ -169,11 +171,10 @@ func (x *GetResourceByNameRequest) GetName() string { } type GetResourceByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` unknownFields protoimpl.UnknownFields - - Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetResourceByNameResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/role.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/role.pb.go index 2d09cb2d00..0ad5e63e56 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/role.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/role.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/role.proto diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/schema.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/schema.pb.go index f7d58bca53..3555b2f9ba 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/schema.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/schema.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/schema.proto @@ -88,10 +88,7 @@ func (Format) EnumDescriptor() ([]byte, []int) { } type GetSchemaRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the repo that contains the schema to retrieve (a user name or // organization name). Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` @@ -136,6 +133,8 @@ type GetSchemaRequest struct { // This flag is ignored if element_names is empty as the entire schema is always // returned in that case. ExcludeKnownExtensions bool `protobuf:"varint,7,opt,name=exclude_known_extensions,json=excludeKnownExtensions,proto3" json:"exclude_known_extensions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSchemaRequest) Reset() { @@ -218,10 +217,7 @@ func (x *GetSchemaRequest) GetExcludeKnownExtensions() bool { } type GetSchemaResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The resolved version of the schema. If the requested version was a commit, // this value is the same as that. If the requested version referred to a tag // or branch, this is the commit for that tag or latest commit for that @@ -230,7 +226,9 @@ type GetSchemaResponse struct { Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // The schema, which is a set of file descriptors that include the requested elements // and their dependencies. - SchemaFiles *descriptorpb.FileDescriptorSet `protobuf:"bytes,2,opt,name=schema_files,json=schemaFiles,proto3" json:"schema_files,omitempty"` + SchemaFiles *descriptorpb.FileDescriptorSet `protobuf:"bytes,2,opt,name=schema_files,json=schemaFiles,proto3" json:"schema_files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSchemaResponse) Reset() { @@ -278,10 +276,7 @@ func (x *GetSchemaResponse) GetSchemaFiles() *descriptorpb.FileDescriptorSet { } type ConvertMessageRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the repo that contains the schema to retrieve (a user name or // organization name). Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` @@ -305,12 +300,14 @@ type ConvertMessageRequest struct { // included in the reformatted output (depending on the requested // output format). DiscardUnknown bool `protobuf:"varint,7,opt,name=discard_unknown,json=discardUnknown,proto3" json:"discard_unknown,omitempty"` - // Types that are assignable to OutputFormat: + // Types that are valid to be assigned to OutputFormat: // // *ConvertMessageRequest_OutputBinary // *ConvertMessageRequest_OutputJson // *ConvertMessageRequest_OutputText - OutputFormat isConvertMessageRequest_OutputFormat `protobuf_oneof:"output_format"` + OutputFormat isConvertMessageRequest_OutputFormat `protobuf_oneof:"output_format"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConvertMessageRequest) Reset() { @@ -392,30 +389,36 @@ func (x *ConvertMessageRequest) GetDiscardUnknown() bool { return false } -func (m *ConvertMessageRequest) GetOutputFormat() isConvertMessageRequest_OutputFormat { - if m != nil { - return m.OutputFormat +func (x *ConvertMessageRequest) GetOutputFormat() isConvertMessageRequest_OutputFormat { + if x != nil { + return x.OutputFormat } return nil } func (x *ConvertMessageRequest) GetOutputBinary() *BinaryOutputOptions { - if x, ok := x.GetOutputFormat().(*ConvertMessageRequest_OutputBinary); ok { - return x.OutputBinary + if x != nil { + if x, ok := x.OutputFormat.(*ConvertMessageRequest_OutputBinary); ok { + return x.OutputBinary + } } return nil } func (x *ConvertMessageRequest) GetOutputJson() *JSONOutputOptions { - if x, ok := x.GetOutputFormat().(*ConvertMessageRequest_OutputJson); ok { - return x.OutputJson + if x != nil { + if x, ok := x.OutputFormat.(*ConvertMessageRequest_OutputJson); ok { + return x.OutputJson + } } return nil } func (x *ConvertMessageRequest) GetOutputText() *TextOutputOptions { - if x, ok := x.GetOutputFormat().(*ConvertMessageRequest_OutputText); ok { - return x.OutputText + if x != nil { + if x, ok := x.OutputFormat.(*ConvertMessageRequest_OutputText); ok { + return x.OutputText + } } return nil } @@ -443,9 +446,9 @@ func (*ConvertMessageRequest_OutputJson) isConvertMessageRequest_OutputFormat() func (*ConvertMessageRequest_OutputText) isConvertMessageRequest_OutputFormat() {} type BinaryOutputOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BinaryOutputOptions) Reset() { @@ -479,10 +482,7 @@ func (*BinaryOutputOptions) Descriptor() ([]byte, []int) { } type JSONOutputOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Enum fields will be emitted as numeric values. If false (the dafault), enum // fields are emitted as strings that are the enum values' names. UseEnumNumbers bool `protobuf:"varint,3,opt,name=use_enum_numbers,json=useEnumNumbers,proto3" json:"use_enum_numbers,omitempty"` @@ -490,6 +490,8 @@ type JSONOutputOptions struct { // defined in proto3 syntax that have no explicit "optional" keyword. Other // optional fields will be included if present in the input data. IncludeDefaults bool `protobuf:"varint,4,opt,name=include_defaults,json=includeDefaults,proto3" json:"include_defaults,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JSONOutputOptions) Reset() { @@ -537,14 +539,13 @@ func (x *JSONOutputOptions) GetIncludeDefaults() bool { } type TextOutputOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // If true and the input data includes unrecognized fields, the unrecognized // fields will be preserved in the text output (using field numbers and raw // values). IncludeUnrecognized bool `protobuf:"varint,2,opt,name=include_unrecognized,json=includeUnrecognized,proto3" json:"include_unrecognized,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TextOutputOptions) Reset() { @@ -585,10 +586,7 @@ func (x *TextOutputOptions) GetIncludeUnrecognized() bool { } type ConvertMessageResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The resolved version of the schema. If the requested version was a commit, // this value is the same as that. If the requested version referred to a tag // or branch, this is the commit for that tag or latest commit for that @@ -596,7 +594,9 @@ type ConvertMessageResponse struct { // version for the module's main branch. Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // The reformatted data. - OutputData []byte `protobuf:"bytes,2,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` + OutputData []byte `protobuf:"bytes,2,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConvertMessageResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/scim_token.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/scim_token.pb.go index 92dd069b11..d75c880db1 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/scim_token.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/scim_token.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/scim_token.proto @@ -36,13 +36,12 @@ const ( ) type SCIMToken struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SCIMToken) Reset() { @@ -97,13 +96,12 @@ func (x *SCIMToken) GetExpireTime() *timestamppb.Timestamp { } type CreateSCIMTokenRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The time until which the token should be valid. // Must be in the future. May be null for no expiry. - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + ExpireTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSCIMTokenRequest) Reset() { @@ -144,12 +142,11 @@ func (x *CreateSCIMTokenRequest) GetExpireTime() *timestamppb.Timestamp { } type CreateSCIMTokenResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The plaintext token to use for authentication. - Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSCIMTokenResponse) Reset() { @@ -190,14 +187,13 @@ func (x *CreateSCIMTokenResponse) GetToken() string { } type ListSCIMTokensRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListSCIMTokensRequest) Reset() { @@ -252,13 +248,12 @@ func (x *ListSCIMTokensRequest) GetReverse() bool { } type ListSCIMTokensResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Tokens []*SCIMToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Tokens []*SCIMToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListSCIMTokensResponse) Reset() { @@ -306,11 +301,10 @@ func (x *ListSCIMTokensResponse) GetNextPageToken() string { } type DeleteSCIMTokenRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` unknownFields protoimpl.UnknownFields - - TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteSCIMTokenRequest) Reset() { @@ -351,9 +345,9 @@ func (x *DeleteSCIMTokenRequest) GetTokenId() string { } type DeleteSCIMTokenResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteSCIMTokenResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/search.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/search.pb.go index b254c92dfb..97151d5b8b 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/search.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/search.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/search.proto @@ -260,12 +260,9 @@ func (SearchModuleContentFilter) EnumDescriptor() ([]byte, []int) { } type RepositorySearchResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The name of the user or organization // who is the owner of this repository. Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` @@ -280,6 +277,8 @@ type RepositorySearchResult struct { Url string `protobuf:"bytes,8,opt,name=url,proto3" json:"url,omitempty"` // The commit time of the latest main commit in the repository. LatestCommitTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=latest_commit_time,json=latestCommitTime,proto3" json:"latest_commit_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositorySearchResult) Reset() { @@ -376,13 +375,12 @@ func (x *RepositorySearchResult) GetLatestCommitTime() *timestamppb.Timestamp { } type OrganizationSearchResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *OrganizationSearchResult) Reset() { @@ -437,14 +435,13 @@ func (x *OrganizationSearchResult) GetCreateTime() *timestamppb.Timestamp { } type UserSearchResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + Deactivated bool `protobuf:"varint,3,opt,name=deactivated,proto3" json:"deactivated,omitempty"` + CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - Deactivated bool `protobuf:"varint,3,opt,name=deactivated,proto3" json:"deactivated,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UserSearchResult) Reset() { @@ -506,13 +503,12 @@ func (x *UserSearchResult) GetCreateTime() *timestamppb.Timestamp { } type TeamSearchResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - OrganizationName string `protobuf:"bytes,3,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + OrganizationName string `protobuf:"bytes,3,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TeamSearchResult) Reset() { @@ -567,12 +563,9 @@ func (x *TeamSearchResult) GetOrganizationName() string { } type CuratedPluginSearchResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The name of the user or organization // who is the owner of this plugin. Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` @@ -584,7 +577,9 @@ type CuratedPluginSearchResult struct { // The output languages supported by the plugin. OutputLanguages []PluginLanguage `protobuf:"varint,7,rep,packed,name=output_languages,json=outputLanguages,proto3,enum=buf.alpha.registry.v1alpha1.PluginLanguage" json:"output_languages,omitempty"` // The plugins creation timestamp. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CuratedPluginSearchResult) Reset() { @@ -674,10 +669,7 @@ func (x *CuratedPluginSearchResult) GetCreateTime() *timestamppb.Timestamp { } type ModuleElementSearchResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` @@ -685,6 +677,8 @@ type ModuleElementSearchResult struct { FullyQualifiedName string `protobuf:"bytes,5,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"` PackageName string `protobuf:"bytes,6,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` SearchModuleElementType SearchModuleElementType `protobuf:"varint,7,opt,name=search_module_element_type,json=searchModuleElementType,proto3,enum=buf.alpha.registry.v1alpha1.SearchModuleElementType" json:"search_module_element_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ModuleElementSearchResult) Reset() { @@ -767,14 +761,13 @@ func (x *ModuleElementSearchResult) GetSearchModuleElementType() SearchModuleEle } type ModuleFileSearchResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - ProtoFilePath string `protobuf:"bytes,4,opt,name=proto_file_path,json=protoFilePath,proto3" json:"proto_file_path,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + ProtoFilePath string `protobuf:"bytes,4,opt,name=proto_file_path,json=protoFilePath,proto3" json:"proto_file_path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ModuleFileSearchResult) Reset() { @@ -836,11 +829,8 @@ func (x *ModuleFileSearchResult) GetProtoFilePath() string { } type SearchResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Item: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Item: // // *SearchResult_Repository // *SearchResult_Organization @@ -849,7 +839,9 @@ type SearchResult struct { // *SearchResult_CuratedPlugin // *SearchResult_ModuleElement // *SearchResult_ModuleFile - Item isSearchResult_Item `protobuf_oneof:"item"` + Item isSearchResult_Item `protobuf_oneof:"item"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchResult) Reset() { @@ -882,58 +874,72 @@ func (*SearchResult) Descriptor() ([]byte, []int) { return file_buf_alpha_registry_v1alpha1_search_proto_rawDescGZIP(), []int{7} } -func (m *SearchResult) GetItem() isSearchResult_Item { - if m != nil { - return m.Item +func (x *SearchResult) GetItem() isSearchResult_Item { + if x != nil { + return x.Item } return nil } func (x *SearchResult) GetRepository() *RepositorySearchResult { - if x, ok := x.GetItem().(*SearchResult_Repository); ok { - return x.Repository + if x != nil { + if x, ok := x.Item.(*SearchResult_Repository); ok { + return x.Repository + } } return nil } func (x *SearchResult) GetOrganization() *OrganizationSearchResult { - if x, ok := x.GetItem().(*SearchResult_Organization); ok { - return x.Organization + if x != nil { + if x, ok := x.Item.(*SearchResult_Organization); ok { + return x.Organization + } } return nil } func (x *SearchResult) GetUser() *UserSearchResult { - if x, ok := x.GetItem().(*SearchResult_User); ok { - return x.User + if x != nil { + if x, ok := x.Item.(*SearchResult_User); ok { + return x.User + } } return nil } func (x *SearchResult) GetTeam() *TeamSearchResult { - if x, ok := x.GetItem().(*SearchResult_Team); ok { - return x.Team + if x != nil { + if x, ok := x.Item.(*SearchResult_Team); ok { + return x.Team + } } return nil } func (x *SearchResult) GetCuratedPlugin() *CuratedPluginSearchResult { - if x, ok := x.GetItem().(*SearchResult_CuratedPlugin); ok { - return x.CuratedPlugin + if x != nil { + if x, ok := x.Item.(*SearchResult_CuratedPlugin); ok { + return x.CuratedPlugin + } } return nil } func (x *SearchResult) GetModuleElement() *ModuleElementSearchResult { - if x, ok := x.GetItem().(*SearchResult_ModuleElement); ok { - return x.ModuleElement + if x != nil { + if x, ok := x.Item.(*SearchResult_ModuleElement); ok { + return x.ModuleElement + } } return nil } func (x *SearchResult) GetModuleFile() *ModuleFileSearchResult { - if x, ok := x.GetItem().(*SearchResult_ModuleFile); ok { - return x.ModuleFile + if x != nil { + if x, ok := x.Item.(*SearchResult_ModuleFile); ok { + return x.ModuleFile + } } return nil } @@ -985,23 +991,22 @@ func (*SearchResult_ModuleElement) isSearchResult_Item() {} func (*SearchResult_ModuleFile) isSearchResult_Item() {} type ElementSearchResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - ProtoFilePath string `protobuf:"bytes,4,opt,name=proto_file_path,json=protoFilePath,proto3" json:"proto_file_path,omitempty"` - FullyQualifiedName string `protobuf:"bytes,5,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"` - // Types that are assignable to Document: + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + ProtoFilePath string `protobuf:"bytes,4,opt,name=proto_file_path,json=protoFilePath,proto3" json:"proto_file_path,omitempty"` + FullyQualifiedName string `protobuf:"bytes,5,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"` + // Types that are valid to be assigned to Document: // // *ElementSearchResult_Service // *ElementSearchResult_Method // *ElementSearchResult_Enum // *ElementSearchResult_Message // *ElementSearchResult_FileExtension - Document isElementSearchResult_Document `protobuf_oneof:"document"` + Document isElementSearchResult_Document `protobuf_oneof:"document"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ElementSearchResult) Reset() { @@ -1069,44 +1074,54 @@ func (x *ElementSearchResult) GetFullyQualifiedName() string { return "" } -func (m *ElementSearchResult) GetDocument() isElementSearchResult_Document { - if m != nil { - return m.Document +func (x *ElementSearchResult) GetDocument() isElementSearchResult_Document { + if x != nil { + return x.Document } return nil } func (x *ElementSearchResult) GetService() *Service { - if x, ok := x.GetDocument().(*ElementSearchResult_Service); ok { - return x.Service + if x != nil { + if x, ok := x.Document.(*ElementSearchResult_Service); ok { + return x.Service + } } return nil } func (x *ElementSearchResult) GetMethod() *Method { - if x, ok := x.GetDocument().(*ElementSearchResult_Method); ok { - return x.Method + if x != nil { + if x, ok := x.Document.(*ElementSearchResult_Method); ok { + return x.Method + } } return nil } func (x *ElementSearchResult) GetEnum() *Enum { - if x, ok := x.GetDocument().(*ElementSearchResult_Enum); ok { - return x.Enum + if x != nil { + if x, ok := x.Document.(*ElementSearchResult_Enum); ok { + return x.Enum + } } return nil } func (x *ElementSearchResult) GetMessage() *Message { - if x, ok := x.GetDocument().(*ElementSearchResult_Message); ok { - return x.Message + if x != nil { + if x, ok := x.Document.(*ElementSearchResult_Message); ok { + return x.Message + } } return nil } func (x *ElementSearchResult) GetFileExtension() *FileExtension { - if x, ok := x.GetDocument().(*ElementSearchResult_FileExtension); ok { - return x.FileExtension + if x != nil { + if x, ok := x.Document.(*ElementSearchResult_FileExtension); ok { + return x.FileExtension + } } return nil } @@ -1146,15 +1161,14 @@ func (*ElementSearchResult_Message) isElementSearchResult_Document() {} func (*ElementSearchResult_FileExtension) isElementSearchResult_Document() {} type FileSearchResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - ProtoFilePath string `protobuf:"bytes,4,opt,name=proto_file_path,json=protoFilePath,proto3" json:"proto_file_path,omitempty"` - Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + ProtoFilePath string `protobuf:"bytes,4,opt,name=proto_file_path,json=protoFilePath,proto3" json:"proto_file_path,omitempty"` + Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FileSearchResult) Reset() { @@ -1223,15 +1237,14 @@ func (x *FileSearchResult) GetContent() []byte { } type SearchModuleContentResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Item: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Item: // // *SearchModuleContentResult_Element // *SearchModuleContentResult_File - Item isSearchModuleContentResult_Item `protobuf_oneof:"item"` + Item isSearchModuleContentResult_Item `protobuf_oneof:"item"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchModuleContentResult) Reset() { @@ -1264,23 +1277,27 @@ func (*SearchModuleContentResult) Descriptor() ([]byte, []int) { return file_buf_alpha_registry_v1alpha1_search_proto_rawDescGZIP(), []int{10} } -func (m *SearchModuleContentResult) GetItem() isSearchModuleContentResult_Item { - if m != nil { - return m.Item +func (x *SearchModuleContentResult) GetItem() isSearchModuleContentResult_Item { + if x != nil { + return x.Item } return nil } func (x *SearchModuleContentResult) GetElement() *ElementSearchResult { - if x, ok := x.GetItem().(*SearchModuleContentResult_Element); ok { - return x.Element + if x != nil { + if x, ok := x.Item.(*SearchModuleContentResult_Element); ok { + return x.Element + } } return nil } func (x *SearchModuleContentResult) GetFile() *FileSearchResult { - if x, ok := x.GetItem().(*SearchModuleContentResult_File); ok { - return x.File + if x != nil { + if x, ok := x.Item.(*SearchModuleContentResult_File); ok { + return x.File + } } return nil } @@ -1302,10 +1319,7 @@ func (*SearchModuleContentResult_Element) isSearchModuleContentResult_Item() {} func (*SearchModuleContentResult_File) isSearchModuleContentResult_Item() {} type SearchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The search string. Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -1314,7 +1328,9 @@ type SearchRequest struct { // Empty list means show all. Supplying one or more enums will // limit the search to only the requested resources. // Supplying all possible enums is equivalent to empty list of filters. - Filters []SearchFilter `protobuf:"varint,4,rep,packed,name=filters,proto3,enum=buf.alpha.registry.v1alpha1.SearchFilter" json:"filters,omitempty"` + Filters []SearchFilter `protobuf:"varint,4,rep,packed,name=filters,proto3,enum=buf.alpha.registry.v1alpha1.SearchFilter" json:"filters,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchRequest) Reset() { @@ -1376,13 +1392,12 @@ func (x *SearchRequest) GetFilters() []SearchFilter { } type SearchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SearchResults []*SearchResult `protobuf:"bytes,1,rep,name=search_results,json=searchResults,proto3" json:"search_results,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SearchResults []*SearchResult `protobuf:"bytes,1,rep,name=search_results,json=searchResults,proto3" json:"search_results,omitempty"` // There are no more pages if this is 0. NextPageToken uint32 `protobuf:"varint,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchResponse) Reset() { @@ -1430,10 +1445,7 @@ func (x *SearchResponse) GetNextPageToken() uint32 { } type SearchTagRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the repository. RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` // The name of the repository. @@ -1446,7 +1458,9 @@ type SearchTagRequest struct { // The field to order results by. OrderBy OrderBy `protobuf:"varint,6,opt,name=order_by,json=orderBy,proto3,enum=buf.alpha.registry.v1alpha1.OrderBy" json:"order_by,omitempty"` // Reverse orders results in descending order. - Reverse bool `protobuf:"varint,7,opt,name=reverse,proto3" json:"reverse,omitempty"` + Reverse bool `protobuf:"varint,7,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchTagRequest) Reset() { @@ -1529,13 +1543,12 @@ func (x *SearchTagRequest) GetReverse() bool { } type SearchTagResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryTags []*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryTags []*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchTagResponse) Reset() { @@ -1583,10 +1596,7 @@ func (x *SearchTagResponse) GetNextPageToken() string { } type SearchDraftRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The owner of the repository. RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` // The name of the repository. @@ -1599,7 +1609,9 @@ type SearchDraftRequest struct { // The field to order results by. OrderBy OrderBy `protobuf:"varint,6,opt,name=order_by,json=orderBy,proto3,enum=buf.alpha.registry.v1alpha1.OrderBy" json:"order_by,omitempty"` // Reverse orders results in descending order. - Reverse bool `protobuf:"varint,7,opt,name=reverse,proto3" json:"reverse,omitempty"` + Reverse bool `protobuf:"varint,7,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchDraftRequest) Reset() { @@ -1682,13 +1694,12 @@ func (x *SearchDraftRequest) GetReverse() bool { } type SearchDraftResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepositoryCommits []*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryCommits []*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchDraftResponse) Reset() { @@ -1736,10 +1747,7 @@ func (x *SearchDraftResponse) GetNextPageToken() string { } type SearchModuleContentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The search string. Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -1754,6 +1762,8 @@ type SearchModuleContentRequest struct { // Optional, if provided the search results will be limited to the provided owner, // ignored if repository_full_name is provided. RepositoryOwner string `protobuf:"bytes,6,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchModuleContentRequest) Reset() { @@ -1829,13 +1839,12 @@ func (x *SearchModuleContentRequest) GetRepositoryOwner() string { } type SearchModuleContentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` SearchResults []*SearchModuleContentResult `protobuf:"bytes,1,rep,name=search_results,json=searchResults,proto3" json:"search_results,omitempty"` // There are no more pages if this is 0. NextPageToken uint32 `protobuf:"varint,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchModuleContentResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio.pb.go index 4afd6d5254..253a326c62 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/studio.proto @@ -86,10 +86,7 @@ func (StudioAgentProtocol) EnumDescriptor() ([]byte, []int) { // StudioAgentPreset is the information about an agent preset in the Studio. type StudioAgentPreset struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The agent URL in the Studio. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // The optional alias of the agent URL. @@ -97,7 +94,9 @@ type StudioAgentPreset struct { // The protocol the agent should use to forward requests. Protocol StudioAgentProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=buf.alpha.registry.v1alpha1.StudioAgentProtocol" json:"protocol,omitempty"` // The URL of the target host. - TargetUrl string `protobuf:"bytes,4,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"` + TargetUrl string `protobuf:"bytes,4,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StudioAgentPreset) Reset() { @@ -159,9 +158,9 @@ func (x *StudioAgentPreset) GetTargetUrl() string { } type ListStudioAgentPresetsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListStudioAgentPresetsRequest) Reset() { @@ -195,11 +194,10 @@ func (*ListStudioAgentPresetsRequest) Descriptor() ([]byte, []int) { } type ListStudioAgentPresetsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Agents []*StudioAgentPreset `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` unknownFields protoimpl.UnknownFields - - Agents []*StudioAgentPreset `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListStudioAgentPresetsResponse) Reset() { @@ -240,11 +238,10 @@ func (x *ListStudioAgentPresetsResponse) GetAgents() []*StudioAgentPreset { } type SetStudioAgentPresetsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Agents []*StudioAgentPreset `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` unknownFields protoimpl.UnknownFields - - Agents []*StudioAgentPreset `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SetStudioAgentPresetsRequest) Reset() { @@ -285,9 +282,9 @@ func (x *SetStudioAgentPresetsRequest) GetAgents() []*StudioAgentPreset { } type SetStudioAgentPresetsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetStudioAgentPresetsResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio_request.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio_request.pb.go index 68660ec9f7..103d754fa0 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio_request.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio_request.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/studio_request.proto @@ -96,10 +96,7 @@ func (StudioProtocol) EnumDescriptor() ([]byte, []int) { // CreateStudioRequestRequest is the proto request representation of the // CreateStudioRequest method. type CreateStudioRequestRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The linked BSR repository owner name (user or organization). RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` // The linked BSR repository name. @@ -115,14 +112,16 @@ type CreateStudioRequestRequest struct { // The request body as defined in Studio. Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` // The request headers as defined in Studio. - Headers map[string]string `protobuf:"bytes,8,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,8,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Should this request include cookies from the Studio current session? IncludeCookies bool `protobuf:"varint,9,opt,name=include_cookies,json=includeCookies,proto3" json:"include_cookies,omitempty"` // The protocol that Studio uses to send this request. Protocol StudioProtocol `protobuf:"varint,10,opt,name=protocol,proto3,enum=buf.alpha.registry.v1alpha1.StudioProtocol" json:"protocol,omitempty"` // The agent url (if any) used by Studio to send the request. See // https://docs.buf.build/bsr/studio#via-buf-studio-agent for details. - AgentUrl string `protobuf:"bytes,11,opt,name=agent_url,json=agentUrl,proto3" json:"agent_url,omitempty"` + AgentUrl string `protobuf:"bytes,11,opt,name=agent_url,json=agentUrl,proto3" json:"agent_url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateStudioRequestRequest) Reset() { @@ -234,12 +233,11 @@ func (x *CreateStudioRequestRequest) GetAgentUrl() string { // CreateStudioRequestResponse returns the created StudioRequest. type CreateStudioRequestResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Created Studio Request. CreatedRequest *StudioRequest `protobuf:"bytes,1,opt,name=created_request,json=createdRequest,proto3" json:"created_request,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateStudioRequestResponse) Reset() { @@ -282,14 +280,13 @@ func (x *CreateStudioRequestResponse) GetCreatedRequest() *StudioRequest { // RenameStudioRequestRequest is the proto request representation of the // RenameStudioRequest method. type RenameStudioRequestRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The Studio Request ID that will be renamed. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The new name for the request. - NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` + NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RenameStudioRequestRequest) Reset() { @@ -338,9 +335,9 @@ func (x *RenameStudioRequestRequest) GetNewName() string { // RenameStudioRequestResponse returns empty on successful renaming. type RenameStudioRequestResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RenameStudioRequestResponse) Reset() { @@ -376,12 +373,11 @@ func (*RenameStudioRequestResponse) Descriptor() ([]byte, []int) { // DeleteStudioRequestRequest is the proto request representation of the // DeleteStudioRequest method. type DeleteStudioRequestRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The Studio Request ID that will be deleted. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteStudioRequestRequest) Reset() { @@ -423,9 +419,9 @@ func (x *DeleteStudioRequestRequest) GetId() string { // DeleteStudioRequestResponse returns empty on successful deletions. type DeleteStudioRequestResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteStudioRequestResponse) Reset() { @@ -461,17 +457,16 @@ func (*DeleteStudioRequestResponse) Descriptor() ([]byte, []int) { // ListStudioRequestsRequest is the proto request representation of the // ListStudioRequests method. type ListStudioRequestsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The page size for listing studio requests, values between 1-250. PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page token for paginating. The first page is returned if this is empty. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The listed studio requests are order by created time in ascending order. // You can reverse that order setting this value to true. - Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListStudioRequestsRequest) Reset() { @@ -528,14 +523,13 @@ func (x *ListStudioRequestsRequest) GetReverse() bool { // ListStudioRequestsResponse is the proto response representation of the // ListStudioRequests method. type ListStudioRequestsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The list of requests in the current page. Requests []*StudioRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // The requests' next page token. There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListStudioRequestsResponse) Reset() { @@ -585,10 +579,7 @@ func (x *ListStudioRequestsResponse) GetNextPageToken() string { // StudioRequest represents a saved request in Studio, that is synced to a BSR // user's profile. type StudioRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of this Studio Request. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The request creation timestamp. @@ -614,14 +605,16 @@ type StudioRequest struct { // The request body as defined in Studio. Body string `protobuf:"bytes,12,opt,name=body,proto3" json:"body,omitempty"` // The request headers as defined in Studio. - Headers map[string]string `protobuf:"bytes,13,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,13,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Should this request include cookies from the Studio current session? IncludeCookies bool `protobuf:"varint,14,opt,name=include_cookies,json=includeCookies,proto3" json:"include_cookies,omitempty"` // The protocol that Studio uses to send this request. Protocol StudioProtocol `protobuf:"varint,15,opt,name=protocol,proto3,enum=buf.alpha.registry.v1alpha1.StudioProtocol" json:"protocol,omitempty"` // The agent url (if any) used by Studio to send the request. See // https://docs.buf.build/bsr/studio#via-buf-studio-agent for details. - AgentUrl string `protobuf:"bytes,16,opt,name=agent_url,json=agentUrl,proto3" json:"agent_url,omitempty"` + AgentUrl string `protobuf:"bytes,16,opt,name=agent_url,json=agentUrl,proto3" json:"agent_url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StudioRequest) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/token.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/token.pb.go index ff3bc7467e..b71cdf1418 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/token.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/token.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/token.proto @@ -36,14 +36,13 @@ const ( ) type Token struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` - Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Token) Reset() { @@ -105,18 +104,17 @@ func (x *Token) GetNote() string { } type CreateTokenRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Note string `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Note string `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` // The time until which the token should be valid. // Must be in the future. May be null for no expiry. ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // The ID of the user to create a new token, can only be // the user who perform this action, or a machine user. // Default to the user who perform this action if this is empty. - UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateTokenRequest) Reset() { @@ -171,12 +169,11 @@ func (x *CreateTokenRequest) GetUserId() string { } type CreateTokenResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The plaintext token to use for authentication. - Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateTokenResponse) Reset() { @@ -217,11 +214,10 @@ func (x *CreateTokenResponse) GetToken() string { } type GetTokenRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` unknownFields protoimpl.UnknownFields - - TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTokenRequest) Reset() { @@ -262,11 +258,10 @@ func (x *GetTokenRequest) GetTokenId() string { } type GetTokenResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` unknownFields protoimpl.UnknownFields - - Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetTokenResponse) Reset() { @@ -307,18 +302,17 @@ func (x *GetTokenResponse) GetToken() *Token { } type ListTokensRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` // The ID of the user to list tokens, can only be // the user who perform this action, or a machine user. // Default to the user who perform this action if this is empty. - UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListTokensRequest) Reset() { @@ -380,13 +374,12 @@ func (x *ListTokensRequest) GetUserId() string { } type ListTokensResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Tokens []*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Tokens []*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListTokensResponse) Reset() { @@ -434,11 +427,10 @@ func (x *ListTokensResponse) GetNextPageToken() string { } type DeleteTokenRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` unknownFields protoimpl.UnknownFields - - TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteTokenRequest) Reset() { @@ -479,9 +471,9 @@ func (x *DeleteTokenRequest) GetTokenId() string { } type DeleteTokenResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteTokenResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/user.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/user.pb.go index e9888b1b78..c946028dbf 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/user.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/user.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/user.proto @@ -137,10 +137,7 @@ func (UserType) EnumDescriptor() ([]byte, []int) { } type User struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // primary key, unique, immutable Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // immutable @@ -159,7 +156,9 @@ type User struct { // verification status of the user, configurable by server admin. VerificationStatus VerificationStatus `protobuf:"varint,8,opt,name=verification_status,json=verificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"verification_status,omitempty"` // user type of the user, depends on how the user was created. - UserType UserType `protobuf:"varint,9,opt,name=user_type,json=userType,proto3,enum=buf.alpha.registry.v1alpha1.UserType" json:"user_type,omitempty"` + UserType UserType `protobuf:"varint,9,opt,name=user_type,json=userType,proto3,enum=buf.alpha.registry.v1alpha1.UserType" json:"user_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *User) Reset() { @@ -257,17 +256,16 @@ func (x *User) GetUserType() UserType { // TODO: #663 move this to organization service type OrganizationUser struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // The ID of the organization for which the role belongs to. OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // The role that the user has in the organization above. OrganizationRole OrganizationRole `protobuf:"varint,3,opt,name=organization_role,json=organizationRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"organization_role,omitempty"` // The source of the user's role in the organization above. OrganizationRoleSource OrganizationRoleSource `protobuf:"varint,4,opt,name=organization_role_source,json=organizationRoleSource,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRoleSource" json:"organization_role_source,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OrganizationUser) Reset() { @@ -333,14 +331,13 @@ func (x *OrganizationUser) GetOrganizationRoleSource() OrganizationRoleSource { // These preferences are stored in the database so the language and plugins // are pre-selected when the user navigates back to the Generated SDKs page from any device or browser. type UserPluginPreference struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The language that the user has indicidated as their preferred language for plugins. SelectedLanguage PluginLanguage `protobuf:"varint,2,opt,name=selected_language,json=selectedLanguage,proto3,enum=buf.alpha.registry.v1alpha1.PluginLanguage" json:"selected_language,omitempty"` // A list of plugin names selected by the user. SelectedPlugins []string `protobuf:"bytes,3,rep,name=selected_plugins,json=selectedPlugins,proto3" json:"selected_plugins,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserPluginPreference) Reset() { @@ -388,11 +385,10 @@ func (x *UserPluginPreference) GetSelectedPlugins() []string { } type CreateUserRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` unknownFields protoimpl.UnknownFields - - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateUserRequest) Reset() { @@ -433,11 +429,10 @@ func (x *CreateUserRequest) GetUsername() string { } type CreateUserResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateUserResponse) Reset() { @@ -478,11 +473,10 @@ func (x *CreateUserResponse) GetUser() *User { } type GetUserRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetUserRequest) Reset() { @@ -523,11 +517,10 @@ func (x *GetUserRequest) GetId() string { } type GetUserResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetUserResponse) Reset() { @@ -568,11 +561,10 @@ func (x *GetUserResponse) GetUser() *User { } type GetUserByUsernameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` unknownFields protoimpl.UnknownFields - - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetUserByUsernameRequest) Reset() { @@ -613,11 +605,10 @@ func (x *GetUserByUsernameRequest) GetUsername() string { } type GetUserByUsernameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields - - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetUserByUsernameResponse) Reset() { @@ -658,11 +649,8 @@ func (x *GetUserByUsernameResponse) GetUser() *User { } type ListUsersRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` @@ -670,6 +658,8 @@ type ListUsersRequest struct { UserStateFilter UserState `protobuf:"varint,4,opt,name=user_state_filter,json=userStateFilter,proto3,enum=buf.alpha.registry.v1alpha1.UserState" json:"user_state_filter,omitempty"` // If the user_type_filters is empty, users of all types are included. UserTypeFilters []UserType `protobuf:"varint,5,rep,packed,name=user_type_filters,json=userTypeFilters,proto3,enum=buf.alpha.registry.v1alpha1.UserType" json:"user_type_filters,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListUsersRequest) Reset() { @@ -738,13 +728,12 @@ func (x *ListUsersRequest) GetUserTypeFilters() []UserType { } type ListUsersResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListUsersResponse) Reset() { @@ -792,15 +781,14 @@ func (x *ListUsersResponse) GetNextPageToken() string { } type ListOrganizationUsersRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListOrganizationUsersRequest) Reset() { @@ -862,13 +850,12 @@ func (x *ListOrganizationUsersRequest) GetReverse() bool { } type ListOrganizationUsersResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Users []*OrganizationUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Users []*OrganizationUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // There are no more pages if this is empty. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListOrganizationUsersResponse) Reset() { @@ -916,9 +903,9 @@ func (x *ListOrganizationUsersResponse) GetNextPageToken() string { } type DeleteUserRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteUserRequest) Reset() { @@ -952,9 +939,9 @@ func (*DeleteUserRequest) Descriptor() ([]byte, []int) { } type DeleteUserResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteUserResponse) Reset() { @@ -988,11 +975,10 @@ func (*DeleteUserResponse) Descriptor() ([]byte, []int) { } type DeactivateUserRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeactivateUserRequest) Reset() { @@ -1033,9 +1019,9 @@ func (x *DeactivateUserRequest) GetId() string { } type DeactivateUserResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeactivateUserResponse) Reset() { @@ -1069,14 +1055,13 @@ func (*DeactivateUserResponse) Descriptor() ([]byte, []int) { } type UpdateUserServerRoleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The ID of the user for which to be updated a role. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The new role of the user in the server. - ServerRole ServerRole `protobuf:"varint,2,opt,name=server_role,json=serverRole,proto3,enum=buf.alpha.registry.v1alpha1.ServerRole" json:"server_role,omitempty"` + ServerRole ServerRole `protobuf:"varint,2,opt,name=server_role,json=serverRole,proto3,enum=buf.alpha.registry.v1alpha1.ServerRole" json:"server_role,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUserServerRoleRequest) Reset() { @@ -1124,9 +1109,9 @@ func (x *UpdateUserServerRoleRequest) GetServerRole() ServerRole { } type UpdateUserServerRoleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUserServerRoleResponse) Reset() { @@ -1160,12 +1145,11 @@ func (*UpdateUserServerRoleResponse) Descriptor() ([]byte, []int) { } type CountUsersRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // If the user_state_filter is unspecified, all users are included. UserStateFilter UserState `protobuf:"varint,1,opt,name=user_state_filter,json=userStateFilter,proto3,enum=buf.alpha.registry.v1alpha1.UserState" json:"user_state_filter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CountUsersRequest) Reset() { @@ -1206,11 +1190,10 @@ func (x *CountUsersRequest) GetUserStateFilter() UserState { } type CountUsersResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` unknownFields protoimpl.UnknownFields - - TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CountUsersResponse) Reset() { @@ -1251,15 +1234,14 @@ func (x *CountUsersResponse) GetTotalCount() uint32 { } type UpdateUserSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // optional, update to description will only be made when this is present Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` // optional, update to url will only be made when this is present - Url *string `protobuf:"bytes,3,opt,name=url,proto3,oneof" json:"url,omitempty"` + Url *string `protobuf:"bytes,3,opt,name=url,proto3,oneof" json:"url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUserSettingsRequest) Reset() { @@ -1314,9 +1296,9 @@ func (x *UpdateUserSettingsRequest) GetUrl() string { } type UpdateUserSettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUserSettingsResponse) Reset() { @@ -1350,9 +1332,9 @@ func (*UpdateUserSettingsResponse) Descriptor() ([]byte, []int) { } type GetUserPluginPreferencesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUserPluginPreferencesRequest) Reset() { @@ -1386,11 +1368,10 @@ func (*GetUserPluginPreferencesRequest) Descriptor() ([]byte, []int) { } type GetUserPluginPreferencesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` unknownFields protoimpl.UnknownFields - - Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetUserPluginPreferencesResponse) Reset() { @@ -1431,11 +1412,10 @@ func (x *GetUserPluginPreferencesResponse) GetPreference() *UserPluginPreference } type UpdateUserPluginPreferencesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` unknownFields protoimpl.UnknownFields - - Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateUserPluginPreferencesRequest) Reset() { @@ -1476,11 +1456,10 @@ func (x *UpdateUserPluginPreferencesRequest) GetPreference() *UserPluginPreferen } type UpdateUserPluginPreferencesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` unknownFields protoimpl.UnknownFields - - Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateUserPluginPreferencesResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/verification_status.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/verification_status.pb.go index 9568d28b69..c1c8bd928e 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/verification_status.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/verification_status.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/verification_status.proto diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/webhook.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/webhook.pb.go index 26a9d86716..0310f8a86a 100644 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/webhook.pb.go +++ b/private/gen/proto/go/buf/alpha/registry/v1alpha1/webhook.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/registry/v1alpha1/webhook.proto @@ -90,10 +90,7 @@ func (WebhookEvent) EnumDescriptor() ([]byte, []int) { // CreateWebhookRequest is the proto request representation of a // webhook request body. type CreateWebhookRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The event to subscribe to for the given repository. WebhookEvent WebhookEvent `protobuf:"varint,1,opt,name=webhook_event,json=webhookEvent,proto3,enum=buf.alpha.registry.v1alpha1.WebhookEvent" json:"webhook_event,omitempty"` // The owner name of the repository in the corresponding subscription request. @@ -101,7 +98,9 @@ type CreateWebhookRequest struct { // The repository name that the subscriber wishes create a subscription for. RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // The subscriber's callback URL where notifications should be delivered. - CallbackUrl string `protobuf:"bytes,4,opt,name=callback_url,json=callbackUrl,proto3" json:"callback_url,omitempty"` + CallbackUrl string `protobuf:"bytes,4,opt,name=callback_url,json=callbackUrl,proto3" json:"callback_url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateWebhookRequest) Reset() { @@ -165,12 +164,11 @@ func (x *CreateWebhookRequest) GetCallbackUrl() string { // CreateWebhookResponse is the proto response representation // of a webhook request. type CreateWebhookResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Created webhook subscription. - Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` + Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateWebhookResponse) Reset() { @@ -212,12 +210,11 @@ func (x *CreateWebhookResponse) GetWebhook() *Webhook { // DeleteWebhookRequest is the request for unsubscribing to a webhook. type DeleteWebhookRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The id of the webhook subscription to delete. - WebhookId string `protobuf:"bytes,1,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"` + WebhookId string `protobuf:"bytes,1,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteWebhookRequest) Reset() { @@ -260,9 +257,9 @@ func (x *DeleteWebhookRequest) GetWebhookId() string { // DeleteWebhookResponse is the response for unsubscribing // from a webhook. type DeleteWebhookResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteWebhookResponse) Reset() { @@ -298,16 +295,15 @@ func (*DeleteWebhookResponse) Descriptor() ([]byte, []int) { // ListWebhooksRequest is the request to get the // list of subscribed webhooks for a given repository. type ListWebhooksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The repository name given in the corresponding subscription request. RepositoryName string `protobuf:"bytes,1,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` // The owner associated with the repository. OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // The page token for paginating. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListWebhooksRequest) Reset() { @@ -364,14 +360,13 @@ func (x *ListWebhooksRequest) GetPageToken() string { // ListWebhooksResponse is the response for the list of // subscribed webhooks for a given repository. type ListWebhooksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The list of subscribed webhooks for a given repository. Webhooks []*Webhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"` // The next page token for paginating. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListWebhooksResponse) Reset() { @@ -420,10 +415,7 @@ func (x *ListWebhooksResponse) GetNextPageToken() string { // Webhook is the representation of a webhook repository event subscription. type Webhook struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The event associated with the subscription id. Event WebhookEvent `protobuf:"varint,1,opt,name=event,proto3,enum=buf.alpha.registry.v1alpha1.WebhookEvent" json:"event,omitempty"` // The id of the associated subscription. @@ -441,7 +433,9 @@ type Webhook struct { // content type. Make sure that your URL ends with // "/buf.alpha.webhook.v1alpha1.EventService/Event". For more information // about Connect, see https://connectrpc.com. - CallbackUrl string `protobuf:"bytes,7,opt,name=callback_url,json=callbackUrl,proto3" json:"callback_url,omitempty"` + CallbackUrl string `protobuf:"bytes,7,opt,name=callback_url,json=callbackUrl,proto3" json:"callback_url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Webhook) Reset() { diff --git a/private/gen/proto/go/buf/alpha/studio/v1alpha1/invoke.pb.go b/private/gen/proto/go/buf/alpha/studio/v1alpha1/invoke.pb.go index 8446d38f78..f369d7354d 100644 --- a/private/gen/proto/go/buf/alpha/studio/v1alpha1/invoke.pb.go +++ b/private/gen/proto/go/buf/alpha/studio/v1alpha1/invoke.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/studio/v1alpha1/invoke.proto @@ -60,12 +60,11 @@ const ( // Headers encode HTTP headers. type Headers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Headers) Reset() { @@ -115,10 +114,7 @@ func (x *Headers) GetValue() []string { // InvokeRequest encodes an enveloped RPC request. See the package documentation // for more information. type InvokeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Target server the agent should forward this request to, e.g. // "https://api.acme.corp/pkg.Service/Method". Using the "http" scheme will // cause the request to be forwarded as h2c, whereas "https" forwards the @@ -128,7 +124,9 @@ type InvokeRequest struct { // must be specified. Headers []*Headers `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` // The message to be sent in the request (without any protocol specific framing). - Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` + Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InvokeRequest) Reset() { @@ -185,16 +183,15 @@ func (x *InvokeRequest) GetBody() []byte { // InvokeResponse encodes an enveloped RPC response. See the package documentation // for more information. type InvokeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Headers received in the response. Headers []*Headers `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` // The encoded message received in the response (without protocol specific framing). Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` // Trailers received in the response. - Trailers []*Headers `protobuf:"bytes,3,rep,name=trailers,proto3" json:"trailers,omitempty"` + Trailers []*Headers `protobuf:"bytes,3,rep,name=trailers,proto3" json:"trailers,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InvokeResponse) Reset() { diff --git a/private/gen/proto/go/buf/alpha/webhook/v1alpha1/event.pb.go b/private/gen/proto/go/buf/alpha/webhook/v1alpha1/event.pb.go index 179b066d1e..1f3413c55b 100644 --- a/private/gen/proto/go/buf/alpha/webhook/v1alpha1/event.pb.go +++ b/private/gen/proto/go/buf/alpha/webhook/v1alpha1/event.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: buf/alpha/webhook/v1alpha1/event.proto @@ -39,15 +39,14 @@ const ( // EventRequest is the request payload that will be sent to the customer // that is subscribed to webhook events in the BSR. type EventRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The webhook event that was triggered. This event is the same one that is // registered when creating a webhook in the BSR. Event v1alpha1.WebhookEvent `protobuf:"varint,1,opt,name=event,proto3,enum=buf.alpha.registry.v1alpha1.WebhookEvent" json:"event,omitempty"` // The event payload of the event was triggered. - Payload *EventPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + Payload *EventPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventRequest) Reset() { @@ -97,14 +96,13 @@ func (x *EventRequest) GetPayload() *EventPayload { // EventPayload contains the actual event payload for all possible // webhook event types. type EventPayload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Payload: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Payload: // // *EventPayload_RepositoryPush - Payload isEventPayload_Payload `protobuf_oneof:"payload"` + Payload isEventPayload_Payload `protobuf_oneof:"payload"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventPayload) Reset() { @@ -137,16 +135,18 @@ func (*EventPayload) Descriptor() ([]byte, []int) { return file_buf_alpha_webhook_v1alpha1_event_proto_rawDescGZIP(), []int{1} } -func (m *EventPayload) GetPayload() isEventPayload_Payload { - if m != nil { - return m.Payload +func (x *EventPayload) GetPayload() isEventPayload_Payload { + if x != nil { + return x.Payload } return nil } func (x *EventPayload) GetRepositoryPush() *RepositoryPushEvent { - if x, ok := x.GetPayload().(*EventPayload_RepositoryPush); ok { - return x.RepositoryPush + if x != nil { + if x, ok := x.Payload.(*EventPayload_RepositoryPush); ok { + return x.RepositoryPush + } } return nil } @@ -163,9 +163,9 @@ func (*EventPayload_RepositoryPush) isEventPayload_Payload() {} // EventResponse is the empty response payload from the customer to Buf. type EventResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventResponse) Reset() { @@ -200,16 +200,15 @@ func (*EventResponse) Descriptor() ([]byte, []int) { // Payload for the event WEBHOOK_EVENT_REPOSITORY_PUSH. type RepositoryPushEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The timestamp of the commit push. EventTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` // The repository commit that was pushed. RepositoryCommit *v1alpha1.RepositoryCommit `protobuf:"bytes,2,opt,name=repository_commit,json=repositoryCommit,proto3" json:"repository_commit,omitempty"` // The repository that was pushed. - Repository *v1alpha1.Repository `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` + Repository *v1alpha1.Repository `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryPushEvent) Reset() { diff --git a/private/gen/proto/go/google/protobuf/cpp_features.pb.go b/private/gen/proto/go/google/protobuf/cpp_features.pb.go index a8fc1e4440..9a51614e2f 100644 --- a/private/gen/proto/go/google/protobuf/cpp_features.pb.go +++ b/private/gen/proto/go/google/protobuf/cpp_features.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: google/protobuf/cpp_features.proto @@ -98,16 +98,15 @@ func (CppFeatures_StringType) EnumDescriptor() ([]byte, []int) { } type CppFeatures struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Whether or not to treat an enum field as closed. This option is only // applicable to enum fields, and will be removed in the future. It is // consistent with the legacy behavior of using proto3 enum types for proto2 // fields. LegacyClosedEnum *bool `protobuf:"varint,1,opt,name=legacy_closed_enum,json=legacyClosedEnum" json:"legacy_closed_enum,omitempty"` StringType *CppFeatures_StringType `protobuf:"varint,2,opt,name=string_type,json=stringType,enum=pb.CppFeatures_StringType" json:"string_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CppFeatures) Reset() { diff --git a/private/gen/proto/go/google/protobuf/java_features.pb.go b/private/gen/proto/go/google/protobuf/java_features.pb.go index 631b654d7a..0cdf803de7 100644 --- a/private/gen/proto/go/google/protobuf/java_features.pb.go +++ b/private/gen/proto/go/google/protobuf/java_features.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: google/protobuf/java_features.proto @@ -102,16 +102,15 @@ func (JavaFeatures_Utf8Validation) EnumDescriptor() ([]byte, []int) { } type JavaFeatures struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Whether or not to treat an enum field as closed. This option is only // applicable to enum fields, and will be removed in the future. It is // consistent with the legacy behavior of using proto3 enum types for proto2 // fields. LegacyClosedEnum *bool `protobuf:"varint,1,opt,name=legacy_closed_enum,json=legacyClosedEnum" json:"legacy_closed_enum,omitempty"` Utf8Validation *JavaFeatures_Utf8Validation `protobuf:"varint,2,opt,name=utf8_validation,json=utf8Validation,enum=pb.JavaFeatures_Utf8Validation" json:"utf8_validation,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JavaFeatures) Reset() { diff --git a/private/gen/proto/go/grpc/reflection/v1/reflection.pb.go b/private/gen/proto/go/grpc/reflection/v1/reflection.pb.go index 7450ec49d0..5f2cf56bd1 100644 --- a/private/gen/proto/go/grpc/reflection/v1/reflection.pb.go +++ b/private/gen/proto/go/grpc/reflection/v1/reflection.pb.go @@ -21,7 +21,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 +// protoc-gen-go v1.36.0 // protoc (unknown) // source: grpc/reflection/v1/reflection.proto @@ -43,16 +43,13 @@ const ( // The message sent by the client when calling ServerReflectionInfo method. type ServerReflectionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // To use reflection service, the client should set one of the following // fields in message_request. The server distinguishes requests by their // defined field and then handles them using corresponding methods. // - // Types that are assignable to MessageRequest: + // Types that are valid to be assigned to MessageRequest: // // *ServerReflectionRequest_FileByFilename // *ServerReflectionRequest_FileContainingSymbol @@ -60,6 +57,8 @@ type ServerReflectionRequest struct { // *ServerReflectionRequest_AllExtensionNumbersOfType // *ServerReflectionRequest_ListServices MessageRequest isServerReflectionRequest_MessageRequest `protobuf_oneof:"message_request"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerReflectionRequest) Reset() { @@ -99,44 +98,54 @@ func (x *ServerReflectionRequest) GetHost() string { return "" } -func (m *ServerReflectionRequest) GetMessageRequest() isServerReflectionRequest_MessageRequest { - if m != nil { - return m.MessageRequest +func (x *ServerReflectionRequest) GetMessageRequest() isServerReflectionRequest_MessageRequest { + if x != nil { + return x.MessageRequest } return nil } func (x *ServerReflectionRequest) GetFileByFilename() string { - if x, ok := x.GetMessageRequest().(*ServerReflectionRequest_FileByFilename); ok { - return x.FileByFilename + if x != nil { + if x, ok := x.MessageRequest.(*ServerReflectionRequest_FileByFilename); ok { + return x.FileByFilename + } } return "" } func (x *ServerReflectionRequest) GetFileContainingSymbol() string { - if x, ok := x.GetMessageRequest().(*ServerReflectionRequest_FileContainingSymbol); ok { - return x.FileContainingSymbol + if x != nil { + if x, ok := x.MessageRequest.(*ServerReflectionRequest_FileContainingSymbol); ok { + return x.FileContainingSymbol + } } return "" } func (x *ServerReflectionRequest) GetFileContainingExtension() *ExtensionRequest { - if x, ok := x.GetMessageRequest().(*ServerReflectionRequest_FileContainingExtension); ok { - return x.FileContainingExtension + if x != nil { + if x, ok := x.MessageRequest.(*ServerReflectionRequest_FileContainingExtension); ok { + return x.FileContainingExtension + } } return nil } func (x *ServerReflectionRequest) GetAllExtensionNumbersOfType() string { - if x, ok := x.GetMessageRequest().(*ServerReflectionRequest_AllExtensionNumbersOfType); ok { - return x.AllExtensionNumbersOfType + if x != nil { + if x, ok := x.MessageRequest.(*ServerReflectionRequest_AllExtensionNumbersOfType); ok { + return x.AllExtensionNumbersOfType + } } return "" } func (x *ServerReflectionRequest) GetListServices() string { - if x, ok := x.GetMessageRequest().(*ServerReflectionRequest_ListServices); ok { - return x.ListServices + if x != nil { + if x, ok := x.MessageRequest.(*ServerReflectionRequest_ListServices); ok { + return x.ListServices + } } return "" } @@ -195,13 +204,12 @@ func (*ServerReflectionRequest_ListServices) isServerReflectionRequest_MessageRe // The type name and extension number sent by the client when requesting // file_containing_extension. type ExtensionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Fully-qualified type name. The format should be . ContainingType string `protobuf:"bytes,1,opt,name=containing_type,json=containingType,proto3" json:"containing_type,omitempty"` ExtensionNumber int32 `protobuf:"varint,2,opt,name=extension_number,json=extensionNumber,proto3" json:"extension_number,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExtensionRequest) Reset() { @@ -250,22 +258,21 @@ func (x *ExtensionRequest) GetExtensionNumber() int32 { // The message sent by the server to answer ServerReflectionInfo method. type ServerReflectionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ValidHost string `protobuf:"bytes,1,opt,name=valid_host,json=validHost,proto3" json:"valid_host,omitempty"` OriginalRequest *ServerReflectionRequest `protobuf:"bytes,2,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` // The server sets one of the following fields according to the message_request // in the request. // - // Types that are assignable to MessageResponse: + // Types that are valid to be assigned to MessageResponse: // // *ServerReflectionResponse_FileDescriptorResponse // *ServerReflectionResponse_AllExtensionNumbersResponse // *ServerReflectionResponse_ListServicesResponse // *ServerReflectionResponse_ErrorResponse MessageResponse isServerReflectionResponse_MessageResponse `protobuf_oneof:"message_response"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerReflectionResponse) Reset() { @@ -312,37 +319,45 @@ func (x *ServerReflectionResponse) GetOriginalRequest() *ServerReflectionRequest return nil } -func (m *ServerReflectionResponse) GetMessageResponse() isServerReflectionResponse_MessageResponse { - if m != nil { - return m.MessageResponse +func (x *ServerReflectionResponse) GetMessageResponse() isServerReflectionResponse_MessageResponse { + if x != nil { + return x.MessageResponse } return nil } func (x *ServerReflectionResponse) GetFileDescriptorResponse() *FileDescriptorResponse { - if x, ok := x.GetMessageResponse().(*ServerReflectionResponse_FileDescriptorResponse); ok { - return x.FileDescriptorResponse + if x != nil { + if x, ok := x.MessageResponse.(*ServerReflectionResponse_FileDescriptorResponse); ok { + return x.FileDescriptorResponse + } } return nil } func (x *ServerReflectionResponse) GetAllExtensionNumbersResponse() *ExtensionNumberResponse { - if x, ok := x.GetMessageResponse().(*ServerReflectionResponse_AllExtensionNumbersResponse); ok { - return x.AllExtensionNumbersResponse + if x != nil { + if x, ok := x.MessageResponse.(*ServerReflectionResponse_AllExtensionNumbersResponse); ok { + return x.AllExtensionNumbersResponse + } } return nil } func (x *ServerReflectionResponse) GetListServicesResponse() *ListServiceResponse { - if x, ok := x.GetMessageResponse().(*ServerReflectionResponse_ListServicesResponse); ok { - return x.ListServicesResponse + if x != nil { + if x, ok := x.MessageResponse.(*ServerReflectionResponse_ListServicesResponse); ok { + return x.ListServicesResponse + } } return nil } func (x *ServerReflectionResponse) GetErrorResponse() *ErrorResponse { - if x, ok := x.GetMessageResponse().(*ServerReflectionResponse_ErrorResponse); ok { - return x.ErrorResponse + if x != nil { + if x, ok := x.MessageResponse.(*ServerReflectionResponse_ErrorResponse); ok { + return x.ErrorResponse + } } return nil } @@ -390,14 +405,13 @@ func (*ServerReflectionResponse_ErrorResponse) isServerReflectionResponse_Messag // a file_by_filename, file_containing_symbol, or file_containing_extension // request. type FileDescriptorResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Serialized FileDescriptorProto messages. We avoid taking a dependency on // descriptor.proto, which uses proto2 only features, by making them opaque // bytes instead. FileDescriptorProto [][]byte `protobuf:"bytes,1,rep,name=file_descriptor_proto,json=fileDescriptorProto,proto3" json:"file_descriptor_proto,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FileDescriptorResponse) Reset() { @@ -440,14 +454,13 @@ func (x *FileDescriptorResponse) GetFileDescriptorProto() [][]byte { // A list of extension numbers sent by the server answering // all_extension_numbers_of_type request. type ExtensionNumberResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Full name of the base type, including the package name. The format // is . BaseTypeName string `protobuf:"bytes,1,opt,name=base_type_name,json=baseTypeName,proto3" json:"base_type_name,omitempty"` ExtensionNumber []int32 `protobuf:"varint,2,rep,packed,name=extension_number,json=extensionNumber,proto3" json:"extension_number,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExtensionNumberResponse) Reset() { @@ -496,13 +509,12 @@ func (x *ExtensionNumberResponse) GetExtensionNumber() []int32 { // A list of ServiceResponse sent by the server answering list_services request. type ListServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The information of each service may be expanded in the future, so we use // ServiceResponse message to encapsulate it. - Service []*ServiceResponse `protobuf:"bytes,1,rep,name=service,proto3" json:"service,omitempty"` + Service []*ServiceResponse `protobuf:"bytes,1,rep,name=service,proto3" json:"service,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListServiceResponse) Reset() { @@ -545,13 +557,12 @@ func (x *ListServiceResponse) GetService() []*ServiceResponse { // The information of a single service used by ListServiceResponse to answer // list_services request. type ServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Full name of a registered service, including its package name. The format // is . - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceResponse) Reset() { @@ -593,13 +604,12 @@ func (x *ServiceResponse) GetName() string { // The error code and error message sent by the server when an error occurs. type ErrorResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // This field uses the error codes defined in grpc::StatusCode. - ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` - ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` + ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` + ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ErrorResponse) Reset() {