From ec3d3119897a83735df2f4b09b0f66871409280d Mon Sep 17 00:00:00 2001 From: bufdev Date: Wed, 18 Dec 2024 10:47:45 -0500 Subject: [PATCH] back to opaque --- data/template/buf.go.gen.yaml | 2 +- .../go/buf/alpha/audit/v1alpha1/event.pb.go | 2819 +++--- .../audit/v1alpha1/event_protoopaque.pb.go | 8501 ----------------- .../go/buf/alpha/audit/v1alpha1/service.pb.go | 79 +- .../audit/v1alpha1/service_protoopaque.pb.go | 344 - .../go/buf/alpha/breaking/v1/config.pb.go | 93 +- .../breaking/v1/config_protoopaque.pb.go | 340 - .../proto/go/buf/alpha/image/v1/image.pb.go | 439 +- .../alpha/image/v1/image_protoopaque.pb.go | 1067 --- .../proto/go/buf/alpha/lint/v1/config.pb.go | 136 +- .../alpha/lint/v1/config_protoopaque.pb.go | 431 - .../go/buf/alpha/module/v1alpha1/module.pb.go | 262 +- .../module/v1alpha1/module_protoopaque.pb.go | 879 -- .../buf/alpha/registry/v1alpha1/admin.pb.go | 605 +- .../registry/v1alpha1/admin_protoopaque.pb.go | 2827 ------ .../buf/alpha/registry/v1alpha1/authn.pb.go | 42 +- .../registry/v1alpha1/authn_protoopaque.pb.go | 359 - .../buf/alpha/registry/v1alpha1/authz.pb.go | 342 +- .../registry/v1alpha1/authz_protoopaque.pb.go | 1775 ---- .../buf/alpha/registry/v1alpha1/convert.pb.go | 72 +- .../v1alpha1/convert_protoopaque.pb.go | 387 - .../buf/alpha/registry/v1alpha1/display.pb.go | 328 +- .../v1alpha1/display_protoopaque.pb.go | 1480 --- .../go/buf/alpha/registry/v1alpha1/doc.pb.go | 1893 ++-- .../registry/v1alpha1/doc_protoopaque.pb.go | 5355 ----------- .../alpha/registry/v1alpha1/download.pb.go | 119 +- .../v1alpha1/download_protoopaque.pb.go | 500 - .../registry/v1alpha1/git_metadata.pb.go | 82 +- .../v1alpha1/git_metadata_protoopaque.pb.go | 343 - .../buf/alpha/registry/v1alpha1/github.pb.go | 36 +- .../v1alpha1/github_protoopaque.pb.go | 295 - .../buf/alpha/registry/v1alpha1/image.pb.go | 98 +- .../registry/v1alpha1/image_protoopaque.pb.go | 430 - .../alpha/registry/v1alpha1/jsonschema.pb.go | 62 +- .../v1alpha1/jsonschema_protoopaque.pb.go | 293 - .../buf/alpha/registry/v1alpha1/module.pb.go | 72 +- .../v1alpha1/module_protoopaque.pb.go | 314 - .../registry/v1alpha1/organization.pb.go | 695 +- .../v1alpha1/organization_protoopaque.pb.go | 2963 ------ .../buf/alpha/registry/v1alpha1/owner.pb.go | 108 +- .../registry/v1alpha1/owner_protoopaque.pb.go | 449 - .../registry/v1alpha1/plugin_curation.pb.go | 1716 ++-- .../plugin_curation_protoopaque.pb.go | 5476 ----------- .../go/buf/alpha/registry/v1alpha1/push.pb.go | 186 +- .../registry/v1alpha1/push_protoopaque.pb.go | 644 -- .../registry/v1alpha1/recommendation.pb.go | 128 +- .../v1alpha1/recommendation_protoopaque.pb.go | 708 -- .../alpha/registry/v1alpha1/reference.pb.go | 321 +- .../v1alpha1/reference_protoopaque.pb.go | 1021 -- .../alpha/registry/v1alpha1/repository.pb.go | 1191 ++- .../registry/v1alpha1/repository_branch.pb.go | 342 +- .../repository_branch_protoopaque.pb.go | 1164 --- .../registry/v1alpha1/repository_commit.pb.go | 465 +- .../repository_commit_protoopaque.pb.go | 1479 --- .../v1alpha1/repository_protoopaque.pb.go | 4291 --------- .../registry/v1alpha1/repository_tag.pb.go | 360 +- .../v1alpha1/repository_tag_protoopaque.pb.go | 1249 --- .../buf/alpha/registry/v1alpha1/resolve.pb.go | 563 +- .../v1alpha1/resolve_protoopaque.pb.go | 2262 ----- .../alpha/registry/v1alpha1/resource.pb.go | 117 +- .../v1alpha1/resource_protoopaque.pb.go | 465 - .../go/buf/alpha/registry/v1alpha1/role.pb.go | 2 - .../registry/v1alpha1/role_protoopaque.pb.go | 342 - .../buf/alpha/registry/v1alpha1/schema.pb.go | 376 +- .../v1alpha1/schema_protoopaque.pb.go | 1131 --- .../alpha/registry/v1alpha1/scim_token.pb.go | 147 +- .../v1alpha1/scim_token_protoopaque.pb.go | 680 -- .../buf/alpha/registry/v1alpha1/search.pb.go | 1207 ++- .../v1alpha1/search_protoopaque.pb.go | 3595 ------- .../buf/alpha/registry/v1alpha1/studio.pb.go | 80 +- .../v1alpha1/studio_protoopaque.pb.go | 524 - .../registry/v1alpha1/studio_request.pb.go | 385 +- .../v1alpha1/studio_request_protoopaque.pb.go | 1328 --- .../buf/alpha/registry/v1alpha1/token.pb.go | 217 +- .../registry/v1alpha1/token_protoopaque.pb.go | 887 -- .../go/buf/alpha/registry/v1alpha1/user.pb.go | 588 +- .../registry/v1alpha1/user_protoopaque.pb.go | 2553 ----- .../v1alpha1/verification_status.pb.go | 2 - .../verification_status_protoopaque.pb.go | 160 - .../buf/alpha/registry/v1alpha1/webhook.pb.go | 220 +- .../v1alpha1/webhook_protoopaque.pb.go | 886 -- .../go/buf/alpha/studio/v1alpha1/invoke.pb.go | 100 +- .../studio/v1alpha1/invoke_protoopaque.pb.go | 418 - .../go/buf/alpha/webhook/v1alpha1/event.pb.go | 128 +- .../webhook/v1alpha1/event_protoopaque.pb.go | 554 -- .../go/google/protobuf/cpp_features.pb.go | 54 +- .../protobuf/cpp_features_protoopaque.pb.go | 300 - .../go/google/protobuf/java_features.pb.go | 54 +- .../protobuf/java_features_protoopaque.pb.go | 320 - .../go/grpc/reflection/v1/reflection.pb.go | 411 +- .../v1/reflection_protoopaque.pb.go | 1300 --- 91 files changed, 8266 insertions(+), 72547 deletions(-) delete mode 100644 private/gen/proto/go/buf/alpha/audit/v1alpha1/event_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/audit/v1alpha1/service_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/breaking/v1/config_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/image/v1/image_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/lint/v1/config_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/module/v1alpha1/module_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/admin_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/authn_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/authz_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/convert_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/display_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/doc_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/download_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/git_metadata_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/github_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/image_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/jsonschema_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/module_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/organization_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/owner_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/plugin_curation_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/push_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/recommendation_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/reference_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_branch_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_commit_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_tag_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/resolve_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/resource_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/role_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/schema_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/scim_token_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/search_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/studio_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/studio_request_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/token_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/user_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/verification_status_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/registry/v1alpha1/webhook_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/studio/v1alpha1/invoke_protoopaque.pb.go delete mode 100644 private/gen/proto/go/buf/alpha/webhook/v1alpha1/event_protoopaque.pb.go delete mode 100644 private/gen/proto/go/google/protobuf/cpp_features_protoopaque.pb.go delete mode 100644 private/gen/proto/go/google/protobuf/java_features_protoopaque.pb.go delete mode 100644 private/gen/proto/go/grpc/reflection/v1/reflection_protoopaque.pb.go diff --git a/data/template/buf.go.gen.yaml b/data/template/buf.go.gen.yaml index ce2ba55f0b..bfef382ab0 100644 --- a/data/template/buf.go.gen.yaml +++ b/data/template/buf.go.gen.yaml @@ -9,7 +9,7 @@ plugins: out: private/gen/proto/go opt: - paths=source_relative - - default_api_level=API_HYBRID + - default_api_level=API_OPAQUE - Mgoogle/protobuf/cpp_features.proto=github.com/bufbuild/buf/private/gen/proto/go/google/protobuf - Mgoogle/protobuf/java_features.proto=github.com/bufbuild/buf/private/gen/proto/go/google/protobuf inputs: 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 fa1a040267..6ac512533e 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/audit/v1alpha1/event.proto -//go:build !protoopaque - package auditv1alpha1 import ( @@ -359,15 +357,12 @@ func (x EventType) Number() protoreflect.EnumNumber { // Actor is the actor who caused the audited event. type Actor struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Type ActorType `protobuf:"varint,1,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.ActorType" json:"type,omitempty"` + xxx_hidden_Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Actor) Reset() { @@ -397,35 +392,35 @@ func (x *Actor) ProtoReflect() protoreflect.Message { func (x *Actor) GetType() ActorType { if x != nil { - return x.Type + return x.xxx_hidden_Type } return ActorType_ACTOR_TYPE_UNSPECIFIED } func (x *Actor) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *Actor) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *Actor) SetType(v ActorType) { - x.Type = v + x.xxx_hidden_Type = v } func (x *Actor) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *Actor) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } type Actor_builder struct { @@ -443,23 +438,20 @@ func (b0 Actor_builder) Build() *Actor { m0 := &Actor{} b, x := &b0, m0 _, _ = b, x - x.Type = b.Type - x.Id = b.Id - x.Name = b.Name + x.xxx_hidden_Type = b.Type + x.xxx_hidden_Id = b.Id + x.xxx_hidden_Name = b.Name return m0 } // Resource is the affected resource by the audited event. type Resource struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Type ResourceType `protobuf:"varint,1,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.ResourceType" json:"type,omitempty"` + xxx_hidden_Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Resource) Reset() { @@ -489,35 +481,35 @@ func (x *Resource) ProtoReflect() protoreflect.Message { func (x *Resource) GetType() ResourceType { if x != nil { - return x.Type + return x.xxx_hidden_Type } return ResourceType_RESOURCE_TYPE_UNSPECIFIED } func (x *Resource) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *Resource) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *Resource) SetType(v ResourceType) { - x.Type = v + x.xxx_hidden_Type = v } func (x *Resource) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *Resource) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } type Resource_builder struct { @@ -535,23 +527,20 @@ func (b0 Resource_builder) Build() *Resource { m0 := &Resource{} b, x := &b0, m0 _, _ = b, x - x.Type = b.Type - x.Id = b.Id - x.Name = b.Name + x.xxx_hidden_Type = b.Type + x.xxx_hidden_Id = b.Id + x.xxx_hidden_Name = b.Name return m0 } // EventMetadata provides additional details about the audited event. type EventMetadata struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_UserAgent string `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` + xxx_hidden_Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` + xxx_hidden_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() { @@ -581,35 +570,35 @@ func (x *EventMetadata) ProtoReflect() protoreflect.Message { func (x *EventMetadata) GetUserAgent() string { if x != nil { - return x.UserAgent + return x.xxx_hidden_UserAgent } return "" } func (x *EventMetadata) GetIp() string { if x != nil { - return x.Ip + return x.xxx_hidden_Ip } return "" } func (x *EventMetadata) GetTraceId() string { if x != nil { - return x.TraceId + return x.xxx_hidden_TraceId } return "" } func (x *EventMetadata) SetUserAgent(v string) { - x.UserAgent = v + x.xxx_hidden_UserAgent = v } func (x *EventMetadata) SetIp(v string) { - x.Ip = v + x.xxx_hidden_Ip = v } func (x *EventMetadata) SetTraceId(v string) { - x.TraceId = v + x.xxx_hidden_TraceId = v } type EventMetadata_builder struct { @@ -627,9 +616,9 @@ func (b0 EventMetadata_builder) Build() *EventMetadata { m0 := &EventMetadata{} b, x := &b0, m0 _, _ = b, x - x.UserAgent = b.UserAgent - x.Ip = b.Ip - x.TraceId = b.TraceId + x.xxx_hidden_UserAgent = b.UserAgent + x.xxx_hidden_Ip = b.Ip + x.xxx_hidden_TraceId = b.TraceId return m0 } @@ -637,75 +626,16 @@ func (b0 EventMetadata_builder) Build() *EventMetadata { // 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 `protogen:"hybrid.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. - Type EventType `protobuf:"varint,2,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.EventType" json:"type,omitempty"` - // Actor of the audited event. It specifies "who" did it. - Actor *Actor `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"` - // Resource of the audited event. It specifies "which resource" was affected. - Resource *Resource `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` - // Time of the audited event. It specifies "when" it happened. - EventTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` - // Metadata about the audited event. It specifies any additional details about the audited event. - 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 valid to be assigned to Payload: - // - // *Event_OrganizationCreated - // *Event_OrganizationDeleted - // *Event_OrganizationMemberAdded - // *Event_OrganizationMemberRoleChanged - // *Event_OrganizationMemberRemoved - // *Event_RepositoryCreated - // *Event_RepositoryDeprecated - // *Event_RepositoryUndeprecated - // *Event_RepositoryDeleted - // *Event_RepositoryCommitPushed - // *Event_RepositoryContributorAdded - // *Event_RepositoryContributorRoleChanged - // *Event_RepositoryContributorRemoved - // *Event_RepositoryVisibilityChanged - // *Event_RepositoryDefaultLabelNameChanged - // *Event_PluginCreated - // *Event_PluginDeleted - // *Event_PluginCommitPushed - // *Event_UserCreated - // *Event_UserDeactivated - // *Event_UserDeleted - // *Event_UserLoggedIn - // *Event_UserLoggedOut - // *Event_CuratedPluginCreated - // *Event_IdpGroupAdded - // *Event_IdpGroupRemoved - // *Event_TokenCreated - // *Event_TokenDeleted - // *Event_UserReactivated - // *Event_ScimTokenCreated - // *Event_ScimTokenDeleted - // *Event_RepositoryCommitDeleted - // *Event_RepositoryLabelCreated - // *Event_RepositoryLabelMoved - // *Event_RepositoryLabelArchived - // *Event_RepositoryLabelUnarchived - // *Event_CuratedPluginDeleted - // *Event_PayloadServerBreakingChangePolicyEnabled - // *Event_PayloadServerBreakingChangePolicyDisabled - // *Event_RepositoryDefaultBranchChanged - // *Event_PayloadServerUniquenessPolicyEnabled - // *Event_PayloadServerUniquenessPolicyDisabled - // *Event_UserAutoMergedFromNewIdp - // *Event_DeviceAuthorizationGrantApproved - // *Event_DeviceAuthorizationGrantDenied - // *Event_PluginLabelCreated - // *Event_PluginLabelMoved - // *Event_PluginLabelArchived - // *Event_PluginLabelUnarchived - Payload isEvent_Payload `protobuf_oneof:"payload"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` + xxx_hidden_Type EventType `protobuf:"varint,2,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.EventType" json:"type,omitempty"` + xxx_hidden_Actor *Actor `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"` + xxx_hidden_Resource *Resource `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` + xxx_hidden_EventTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` + xxx_hidden_Metadata *EventMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` + xxx_hidden_Payload isEvent_Payload `protobuf_oneof:"payload"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Event) Reset() { @@ -735,56 +665,49 @@ func (x *Event) ProtoReflect() protoreflect.Message { func (x *Event) GetEventId() string { if x != nil { - return x.EventId + return x.xxx_hidden_EventId } return "" } func (x *Event) GetType() EventType { if x != nil { - return x.Type + return x.xxx_hidden_Type } return EventType_EVENT_TYPE_UNSPECIFIED } func (x *Event) GetActor() *Actor { if x != nil { - return x.Actor + return x.xxx_hidden_Actor } return nil } func (x *Event) GetResource() *Resource { if x != nil { - return x.Resource + return x.xxx_hidden_Resource } return nil } func (x *Event) GetEventTime() *timestamppb.Timestamp { if x != nil { - return x.EventTime + return x.xxx_hidden_EventTime } return nil } func (x *Event) GetMetadata() *EventMetadata { if x != nil { - return x.Metadata - } - return nil -} - -func (x *Event) GetPayload() isEvent_Payload { - if x != nil { - return x.Payload + return x.xxx_hidden_Metadata } return nil } func (x *Event) GetOrganizationCreated() *PayloadOrganizationCreated { if x != nil { - if x, ok := x.Payload.(*Event_OrganizationCreated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_OrganizationCreated); ok { return x.OrganizationCreated } } @@ -793,7 +716,7 @@ func (x *Event) GetOrganizationCreated() *PayloadOrganizationCreated { func (x *Event) GetOrganizationDeleted() *PayloadOrganizationDeleted { if x != nil { - if x, ok := x.Payload.(*Event_OrganizationDeleted); ok { + if x, ok := x.xxx_hidden_Payload.(*event_OrganizationDeleted); ok { return x.OrganizationDeleted } } @@ -802,7 +725,7 @@ func (x *Event) GetOrganizationDeleted() *PayloadOrganizationDeleted { func (x *Event) GetOrganizationMemberAdded() *PayloadOrganizationMemberAdded { if x != nil { - if x, ok := x.Payload.(*Event_OrganizationMemberAdded); ok { + if x, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberAdded); ok { return x.OrganizationMemberAdded } } @@ -811,7 +734,7 @@ func (x *Event) GetOrganizationMemberAdded() *PayloadOrganizationMemberAdded { func (x *Event) GetOrganizationMemberRoleChanged() *PayloadOrganizationMemberRoleChanged { if x != nil { - if x, ok := x.Payload.(*Event_OrganizationMemberRoleChanged); ok { + if x, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberRoleChanged); ok { return x.OrganizationMemberRoleChanged } } @@ -820,7 +743,7 @@ func (x *Event) GetOrganizationMemberRoleChanged() *PayloadOrganizationMemberRol func (x *Event) GetOrganizationMemberRemoved() *PayloadOrganizationMemberRemoved { if x != nil { - if x, ok := x.Payload.(*Event_OrganizationMemberRemoved); ok { + if x, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberRemoved); ok { return x.OrganizationMemberRemoved } } @@ -829,7 +752,7 @@ func (x *Event) GetOrganizationMemberRemoved() *PayloadOrganizationMemberRemoved func (x *Event) GetRepositoryCreated() *PayloadRepositoryCreated { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryCreated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryCreated); ok { return x.RepositoryCreated } } @@ -838,7 +761,7 @@ func (x *Event) GetRepositoryCreated() *PayloadRepositoryCreated { func (x *Event) GetRepositoryDeprecated() *PayloadRepositoryDeprecated { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryDeprecated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryDeprecated); ok { return x.RepositoryDeprecated } } @@ -847,7 +770,7 @@ func (x *Event) GetRepositoryDeprecated() *PayloadRepositoryDeprecated { func (x *Event) GetRepositoryUndeprecated() *PayloadRepositoryUndeprecated { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryUndeprecated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryUndeprecated); ok { return x.RepositoryUndeprecated } } @@ -856,7 +779,7 @@ func (x *Event) GetRepositoryUndeprecated() *PayloadRepositoryUndeprecated { func (x *Event) GetRepositoryDeleted() *PayloadRepositoryDeleted { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryDeleted); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryDeleted); ok { return x.RepositoryDeleted } } @@ -865,7 +788,7 @@ func (x *Event) GetRepositoryDeleted() *PayloadRepositoryDeleted { func (x *Event) GetRepositoryCommitPushed() *PayloadRepositoryCommitPushed { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryCommitPushed); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryCommitPushed); ok { return x.RepositoryCommitPushed } } @@ -874,7 +797,7 @@ func (x *Event) GetRepositoryCommitPushed() *PayloadRepositoryCommitPushed { func (x *Event) GetRepositoryContributorAdded() *PayloadRepositoryContributorAdded { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryContributorAdded); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorAdded); ok { return x.RepositoryContributorAdded } } @@ -883,7 +806,7 @@ func (x *Event) GetRepositoryContributorAdded() *PayloadRepositoryContributorAdd func (x *Event) GetRepositoryContributorRoleChanged() *PayloadRepositoryContributorRoleChanged { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryContributorRoleChanged); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorRoleChanged); ok { return x.RepositoryContributorRoleChanged } } @@ -892,7 +815,7 @@ func (x *Event) GetRepositoryContributorRoleChanged() *PayloadRepositoryContribu func (x *Event) GetRepositoryContributorRemoved() *PayloadRepositoryContributorRemoved { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryContributorRemoved); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorRemoved); ok { return x.RepositoryContributorRemoved } } @@ -901,7 +824,7 @@ func (x *Event) GetRepositoryContributorRemoved() *PayloadRepositoryContributorR func (x *Event) GetRepositoryVisibilityChanged() *PayloadRepositoryVisibilityChanged { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryVisibilityChanged); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryVisibilityChanged); ok { return x.RepositoryVisibilityChanged } } @@ -910,7 +833,7 @@ func (x *Event) GetRepositoryVisibilityChanged() *PayloadRepositoryVisibilityCha func (x *Event) GetRepositoryDefaultLabelNameChanged() *PayloadRepositoryDefaultLabelNameChanged { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryDefaultLabelNameChanged); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryDefaultLabelNameChanged); ok { return x.RepositoryDefaultLabelNameChanged } } @@ -919,7 +842,7 @@ func (x *Event) GetRepositoryDefaultLabelNameChanged() *PayloadRepositoryDefault func (x *Event) GetPluginCreated() *PayloadPluginCreated { if x != nil { - if x, ok := x.Payload.(*Event_PluginCreated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_PluginCreated); ok { return x.PluginCreated } } @@ -928,7 +851,7 @@ func (x *Event) GetPluginCreated() *PayloadPluginCreated { func (x *Event) GetPluginDeleted() *PayloadPluginDeleted { if x != nil { - if x, ok := x.Payload.(*Event_PluginDeleted); ok { + if x, ok := x.xxx_hidden_Payload.(*event_PluginDeleted); ok { return x.PluginDeleted } } @@ -937,7 +860,7 @@ func (x *Event) GetPluginDeleted() *PayloadPluginDeleted { func (x *Event) GetPluginCommitPushed() *PayloadPluginCommitPushed { if x != nil { - if x, ok := x.Payload.(*Event_PluginCommitPushed); ok { + if x, ok := x.xxx_hidden_Payload.(*event_PluginCommitPushed); ok { return x.PluginCommitPushed } } @@ -946,7 +869,7 @@ func (x *Event) GetPluginCommitPushed() *PayloadPluginCommitPushed { func (x *Event) GetUserCreated() *PayloadUserCreated { if x != nil { - if x, ok := x.Payload.(*Event_UserCreated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_UserCreated); ok { return x.UserCreated } } @@ -955,7 +878,7 @@ func (x *Event) GetUserCreated() *PayloadUserCreated { func (x *Event) GetUserDeactivated() *PayloadUserDeactivated { if x != nil { - if x, ok := x.Payload.(*Event_UserDeactivated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_UserDeactivated); ok { return x.UserDeactivated } } @@ -964,7 +887,7 @@ func (x *Event) GetUserDeactivated() *PayloadUserDeactivated { func (x *Event) GetUserDeleted() *PayloadUserDeleted { if x != nil { - if x, ok := x.Payload.(*Event_UserDeleted); ok { + if x, ok := x.xxx_hidden_Payload.(*event_UserDeleted); ok { return x.UserDeleted } } @@ -973,7 +896,7 @@ func (x *Event) GetUserDeleted() *PayloadUserDeleted { func (x *Event) GetUserLoggedIn() *PayloadUserLoggedIn { if x != nil { - if x, ok := x.Payload.(*Event_UserLoggedIn); ok { + if x, ok := x.xxx_hidden_Payload.(*event_UserLoggedIn); ok { return x.UserLoggedIn } } @@ -982,7 +905,7 @@ func (x *Event) GetUserLoggedIn() *PayloadUserLoggedIn { func (x *Event) GetUserLoggedOut() *PayloadUserLoggedOut { if x != nil { - if x, ok := x.Payload.(*Event_UserLoggedOut); ok { + if x, ok := x.xxx_hidden_Payload.(*event_UserLoggedOut); ok { return x.UserLoggedOut } } @@ -991,7 +914,7 @@ func (x *Event) GetUserLoggedOut() *PayloadUserLoggedOut { func (x *Event) GetCuratedPluginCreated() *PayloadCuratedPluginCreated { if x != nil { - if x, ok := x.Payload.(*Event_CuratedPluginCreated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_CuratedPluginCreated); ok { return x.CuratedPluginCreated } } @@ -1000,7 +923,7 @@ func (x *Event) GetCuratedPluginCreated() *PayloadCuratedPluginCreated { func (x *Event) GetIdpGroupAdded() *PayloadOrganizationIDPGroupAdded { if x != nil { - if x, ok := x.Payload.(*Event_IdpGroupAdded); ok { + if x, ok := x.xxx_hidden_Payload.(*event_IdpGroupAdded); ok { return x.IdpGroupAdded } } @@ -1009,7 +932,7 @@ func (x *Event) GetIdpGroupAdded() *PayloadOrganizationIDPGroupAdded { func (x *Event) GetIdpGroupRemoved() *PayloadOrganizationIDPGroupRemoved { if x != nil { - if x, ok := x.Payload.(*Event_IdpGroupRemoved); ok { + if x, ok := x.xxx_hidden_Payload.(*event_IdpGroupRemoved); ok { return x.IdpGroupRemoved } } @@ -1018,7 +941,7 @@ func (x *Event) GetIdpGroupRemoved() *PayloadOrganizationIDPGroupRemoved { func (x *Event) GetTokenCreated() *PayloadTokenCreated { if x != nil { - if x, ok := x.Payload.(*Event_TokenCreated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_TokenCreated); ok { return x.TokenCreated } } @@ -1027,7 +950,7 @@ func (x *Event) GetTokenCreated() *PayloadTokenCreated { func (x *Event) GetTokenDeleted() *PayloadTokenDeleted { if x != nil { - if x, ok := x.Payload.(*Event_TokenDeleted); ok { + if x, ok := x.xxx_hidden_Payload.(*event_TokenDeleted); ok { return x.TokenDeleted } } @@ -1036,7 +959,7 @@ func (x *Event) GetTokenDeleted() *PayloadTokenDeleted { func (x *Event) GetUserReactivated() *PayloadUserReactivated { if x != nil { - if x, ok := x.Payload.(*Event_UserReactivated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_UserReactivated); ok { return x.UserReactivated } } @@ -1045,7 +968,7 @@ func (x *Event) GetUserReactivated() *PayloadUserReactivated { func (x *Event) GetScimTokenCreated() *PayloadSCIMTokenCreated { if x != nil { - if x, ok := x.Payload.(*Event_ScimTokenCreated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_ScimTokenCreated); ok { return x.ScimTokenCreated } } @@ -1054,7 +977,7 @@ func (x *Event) GetScimTokenCreated() *PayloadSCIMTokenCreated { func (x *Event) GetScimTokenDeleted() *PayloadSCIMTokenDeleted { if x != nil { - if x, ok := x.Payload.(*Event_ScimTokenDeleted); ok { + if x, ok := x.xxx_hidden_Payload.(*event_ScimTokenDeleted); ok { return x.ScimTokenDeleted } } @@ -1063,7 +986,7 @@ func (x *Event) GetScimTokenDeleted() *PayloadSCIMTokenDeleted { func (x *Event) GetRepositoryCommitDeleted() *PayloadRepositoryCommitDeleted { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryCommitDeleted); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryCommitDeleted); ok { return x.RepositoryCommitDeleted } } @@ -1072,7 +995,7 @@ func (x *Event) GetRepositoryCommitDeleted() *PayloadRepositoryCommitDeleted { func (x *Event) GetRepositoryLabelCreated() *PayloadRepositoryLabelCreated { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryLabelCreated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelCreated); ok { return x.RepositoryLabelCreated } } @@ -1081,7 +1004,7 @@ func (x *Event) GetRepositoryLabelCreated() *PayloadRepositoryLabelCreated { func (x *Event) GetRepositoryLabelMoved() *PayloadRepositoryLabelMoved { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryLabelMoved); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelMoved); ok { return x.RepositoryLabelMoved } } @@ -1090,7 +1013,7 @@ func (x *Event) GetRepositoryLabelMoved() *PayloadRepositoryLabelMoved { func (x *Event) GetRepositoryLabelArchived() *PayloadRepositoryLabelArchived { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryLabelArchived); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelArchived); ok { return x.RepositoryLabelArchived } } @@ -1099,7 +1022,7 @@ func (x *Event) GetRepositoryLabelArchived() *PayloadRepositoryLabelArchived { func (x *Event) GetRepositoryLabelUnarchived() *PayloadRepositoryLabelUnarchived { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryLabelUnarchived); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelUnarchived); ok { return x.RepositoryLabelUnarchived } } @@ -1108,7 +1031,7 @@ func (x *Event) GetRepositoryLabelUnarchived() *PayloadRepositoryLabelUnarchived func (x *Event) GetCuratedPluginDeleted() *PayloadCuratedPluginDeleted { if x != nil { - if x, ok := x.Payload.(*Event_CuratedPluginDeleted); ok { + if x, ok := x.xxx_hidden_Payload.(*event_CuratedPluginDeleted); ok { return x.CuratedPluginDeleted } } @@ -1117,7 +1040,7 @@ func (x *Event) GetCuratedPluginDeleted() *PayloadCuratedPluginDeleted { func (x *Event) GetPayloadServerBreakingChangePolicyEnabled() *PayloadServerBreakingChangePolicyEnabled { if x != nil { - if x, ok := x.Payload.(*Event_PayloadServerBreakingChangePolicyEnabled); ok { + if x, ok := x.xxx_hidden_Payload.(*event_PayloadServerBreakingChangePolicyEnabled); ok { return x.PayloadServerBreakingChangePolicyEnabled } } @@ -1126,7 +1049,7 @@ func (x *Event) GetPayloadServerBreakingChangePolicyEnabled() *PayloadServerBrea func (x *Event) GetPayloadServerBreakingChangePolicyDisabled() *PayloadServerBreakingChangePolicyDisabled { if x != nil { - if x, ok := x.Payload.(*Event_PayloadServerBreakingChangePolicyDisabled); ok { + if x, ok := x.xxx_hidden_Payload.(*event_PayloadServerBreakingChangePolicyDisabled); ok { return x.PayloadServerBreakingChangePolicyDisabled } } @@ -1136,7 +1059,7 @@ func (x *Event) GetPayloadServerBreakingChangePolicyDisabled() *PayloadServerBre // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. func (x *Event) GetRepositoryDefaultBranchChanged() *PayloadRepositoryDefaultBranchChanged { if x != nil { - if x, ok := x.Payload.(*Event_RepositoryDefaultBranchChanged); ok { + if x, ok := x.xxx_hidden_Payload.(*event_RepositoryDefaultBranchChanged); ok { return x.RepositoryDefaultBranchChanged } } @@ -1145,7 +1068,7 @@ func (x *Event) GetRepositoryDefaultBranchChanged() *PayloadRepositoryDefaultBra func (x *Event) GetPayloadServerUniquenessPolicyEnabled() *PayloadServerUniquenessPolicyEnabled { if x != nil { - if x, ok := x.Payload.(*Event_PayloadServerUniquenessPolicyEnabled); ok { + if x, ok := x.xxx_hidden_Payload.(*event_PayloadServerUniquenessPolicyEnabled); ok { return x.PayloadServerUniquenessPolicyEnabled } } @@ -1154,7 +1077,7 @@ func (x *Event) GetPayloadServerUniquenessPolicyEnabled() *PayloadServerUniquene func (x *Event) GetPayloadServerUniquenessPolicyDisabled() *PayloadServerUniquenessPolicyDisabled { if x != nil { - if x, ok := x.Payload.(*Event_PayloadServerUniquenessPolicyDisabled); ok { + if x, ok := x.xxx_hidden_Payload.(*event_PayloadServerUniquenessPolicyDisabled); ok { return x.PayloadServerUniquenessPolicyDisabled } } @@ -1163,7 +1086,7 @@ func (x *Event) GetPayloadServerUniquenessPolicyDisabled() *PayloadServerUniquen func (x *Event) GetUserAutoMergedFromNewIdp() *PayloadUserAutoMergedFromNewIdP { if x != nil { - if x, ok := x.Payload.(*Event_UserAutoMergedFromNewIdp); ok { + if x, ok := x.xxx_hidden_Payload.(*event_UserAutoMergedFromNewIdp); ok { return x.UserAutoMergedFromNewIdp } } @@ -1172,7 +1095,7 @@ func (x *Event) GetUserAutoMergedFromNewIdp() *PayloadUserAutoMergedFromNewIdP { func (x *Event) GetDeviceAuthorizationGrantApproved() *PayloadDeviceAuthorizationGrantApproved { if x != nil { - if x, ok := x.Payload.(*Event_DeviceAuthorizationGrantApproved); ok { + if x, ok := x.xxx_hidden_Payload.(*event_DeviceAuthorizationGrantApproved); ok { return x.DeviceAuthorizationGrantApproved } } @@ -1181,7 +1104,7 @@ func (x *Event) GetDeviceAuthorizationGrantApproved() *PayloadDeviceAuthorizatio func (x *Event) GetDeviceAuthorizationGrantDenied() *PayloadDeviceAuthorizationGrantDenied { if x != nil { - if x, ok := x.Payload.(*Event_DeviceAuthorizationGrantDenied); ok { + if x, ok := x.xxx_hidden_Payload.(*event_DeviceAuthorizationGrantDenied); ok { return x.DeviceAuthorizationGrantDenied } } @@ -1190,7 +1113,7 @@ func (x *Event) GetDeviceAuthorizationGrantDenied() *PayloadDeviceAuthorizationG func (x *Event) GetPluginLabelCreated() *PayloadPluginLabelCreated { if x != nil { - if x, ok := x.Payload.(*Event_PluginLabelCreated); ok { + if x, ok := x.xxx_hidden_Payload.(*event_PluginLabelCreated); ok { return x.PluginLabelCreated } } @@ -1199,7 +1122,7 @@ func (x *Event) GetPluginLabelCreated() *PayloadPluginLabelCreated { func (x *Event) GetPluginLabelMoved() *PayloadPluginLabelMoved { if x != nil { - if x, ok := x.Payload.(*Event_PluginLabelMoved); ok { + if x, ok := x.xxx_hidden_Payload.(*event_PluginLabelMoved); ok { return x.PluginLabelMoved } } @@ -1208,7 +1131,7 @@ func (x *Event) GetPluginLabelMoved() *PayloadPluginLabelMoved { func (x *Event) GetPluginLabelArchived() *PayloadPluginLabelArchived { if x != nil { - if x, ok := x.Payload.(*Event_PluginLabelArchived); ok { + if x, ok := x.xxx_hidden_Payload.(*event_PluginLabelArchived); ok { return x.PluginLabelArchived } } @@ -1217,7 +1140,7 @@ func (x *Event) GetPluginLabelArchived() *PayloadPluginLabelArchived { func (x *Event) GetPluginLabelUnarchived() *PayloadPluginLabelUnarchived { if x != nil { - if x, ok := x.Payload.(*Event_PluginLabelUnarchived); ok { + if x, ok := x.xxx_hidden_Payload.(*event_PluginLabelUnarchived); ok { return x.PluginLabelUnarchived } } @@ -1225,462 +1148,462 @@ func (x *Event) GetPluginLabelUnarchived() *PayloadPluginLabelUnarchived { } func (x *Event) SetEventId(v string) { - x.EventId = v + x.xxx_hidden_EventId = v } func (x *Event) SetType(v EventType) { - x.Type = v + x.xxx_hidden_Type = v } func (x *Event) SetActor(v *Actor) { - x.Actor = v + x.xxx_hidden_Actor = v } func (x *Event) SetResource(v *Resource) { - x.Resource = v + x.xxx_hidden_Resource = v } func (x *Event) SetEventTime(v *timestamppb.Timestamp) { - x.EventTime = v + x.xxx_hidden_EventTime = v } func (x *Event) SetMetadata(v *EventMetadata) { - x.Metadata = v + x.xxx_hidden_Metadata = v } func (x *Event) SetOrganizationCreated(v *PayloadOrganizationCreated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_OrganizationCreated{v} + x.xxx_hidden_Payload = &event_OrganizationCreated{v} } func (x *Event) SetOrganizationDeleted(v *PayloadOrganizationDeleted) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_OrganizationDeleted{v} + x.xxx_hidden_Payload = &event_OrganizationDeleted{v} } func (x *Event) SetOrganizationMemberAdded(v *PayloadOrganizationMemberAdded) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_OrganizationMemberAdded{v} + x.xxx_hidden_Payload = &event_OrganizationMemberAdded{v} } func (x *Event) SetOrganizationMemberRoleChanged(v *PayloadOrganizationMemberRoleChanged) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_OrganizationMemberRoleChanged{v} + x.xxx_hidden_Payload = &event_OrganizationMemberRoleChanged{v} } func (x *Event) SetOrganizationMemberRemoved(v *PayloadOrganizationMemberRemoved) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_OrganizationMemberRemoved{v} + x.xxx_hidden_Payload = &event_OrganizationMemberRemoved{v} } func (x *Event) SetRepositoryCreated(v *PayloadRepositoryCreated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryCreated{v} + x.xxx_hidden_Payload = &event_RepositoryCreated{v} } func (x *Event) SetRepositoryDeprecated(v *PayloadRepositoryDeprecated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryDeprecated{v} + x.xxx_hidden_Payload = &event_RepositoryDeprecated{v} } func (x *Event) SetRepositoryUndeprecated(v *PayloadRepositoryUndeprecated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryUndeprecated{v} + x.xxx_hidden_Payload = &event_RepositoryUndeprecated{v} } func (x *Event) SetRepositoryDeleted(v *PayloadRepositoryDeleted) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryDeleted{v} + x.xxx_hidden_Payload = &event_RepositoryDeleted{v} } func (x *Event) SetRepositoryCommitPushed(v *PayloadRepositoryCommitPushed) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryCommitPushed{v} + x.xxx_hidden_Payload = &event_RepositoryCommitPushed{v} } func (x *Event) SetRepositoryContributorAdded(v *PayloadRepositoryContributorAdded) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryContributorAdded{v} + x.xxx_hidden_Payload = &event_RepositoryContributorAdded{v} } func (x *Event) SetRepositoryContributorRoleChanged(v *PayloadRepositoryContributorRoleChanged) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryContributorRoleChanged{v} + x.xxx_hidden_Payload = &event_RepositoryContributorRoleChanged{v} } func (x *Event) SetRepositoryContributorRemoved(v *PayloadRepositoryContributorRemoved) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryContributorRemoved{v} + x.xxx_hidden_Payload = &event_RepositoryContributorRemoved{v} } func (x *Event) SetRepositoryVisibilityChanged(v *PayloadRepositoryVisibilityChanged) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryVisibilityChanged{v} + x.xxx_hidden_Payload = &event_RepositoryVisibilityChanged{v} } func (x *Event) SetRepositoryDefaultLabelNameChanged(v *PayloadRepositoryDefaultLabelNameChanged) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryDefaultLabelNameChanged{v} + x.xxx_hidden_Payload = &event_RepositoryDefaultLabelNameChanged{v} } func (x *Event) SetPluginCreated(v *PayloadPluginCreated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_PluginCreated{v} + x.xxx_hidden_Payload = &event_PluginCreated{v} } func (x *Event) SetPluginDeleted(v *PayloadPluginDeleted) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_PluginDeleted{v} + x.xxx_hidden_Payload = &event_PluginDeleted{v} } func (x *Event) SetPluginCommitPushed(v *PayloadPluginCommitPushed) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_PluginCommitPushed{v} + x.xxx_hidden_Payload = &event_PluginCommitPushed{v} } func (x *Event) SetUserCreated(v *PayloadUserCreated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_UserCreated{v} + x.xxx_hidden_Payload = &event_UserCreated{v} } func (x *Event) SetUserDeactivated(v *PayloadUserDeactivated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_UserDeactivated{v} + x.xxx_hidden_Payload = &event_UserDeactivated{v} } func (x *Event) SetUserDeleted(v *PayloadUserDeleted) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_UserDeleted{v} + x.xxx_hidden_Payload = &event_UserDeleted{v} } func (x *Event) SetUserLoggedIn(v *PayloadUserLoggedIn) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_UserLoggedIn{v} + x.xxx_hidden_Payload = &event_UserLoggedIn{v} } func (x *Event) SetUserLoggedOut(v *PayloadUserLoggedOut) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_UserLoggedOut{v} + x.xxx_hidden_Payload = &event_UserLoggedOut{v} } func (x *Event) SetCuratedPluginCreated(v *PayloadCuratedPluginCreated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_CuratedPluginCreated{v} + x.xxx_hidden_Payload = &event_CuratedPluginCreated{v} } func (x *Event) SetIdpGroupAdded(v *PayloadOrganizationIDPGroupAdded) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_IdpGroupAdded{v} + x.xxx_hidden_Payload = &event_IdpGroupAdded{v} } func (x *Event) SetIdpGroupRemoved(v *PayloadOrganizationIDPGroupRemoved) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_IdpGroupRemoved{v} + x.xxx_hidden_Payload = &event_IdpGroupRemoved{v} } func (x *Event) SetTokenCreated(v *PayloadTokenCreated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_TokenCreated{v} + x.xxx_hidden_Payload = &event_TokenCreated{v} } func (x *Event) SetTokenDeleted(v *PayloadTokenDeleted) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_TokenDeleted{v} + x.xxx_hidden_Payload = &event_TokenDeleted{v} } func (x *Event) SetUserReactivated(v *PayloadUserReactivated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_UserReactivated{v} + x.xxx_hidden_Payload = &event_UserReactivated{v} } func (x *Event) SetScimTokenCreated(v *PayloadSCIMTokenCreated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_ScimTokenCreated{v} + x.xxx_hidden_Payload = &event_ScimTokenCreated{v} } func (x *Event) SetScimTokenDeleted(v *PayloadSCIMTokenDeleted) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_ScimTokenDeleted{v} + x.xxx_hidden_Payload = &event_ScimTokenDeleted{v} } func (x *Event) SetRepositoryCommitDeleted(v *PayloadRepositoryCommitDeleted) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryCommitDeleted{v} + x.xxx_hidden_Payload = &event_RepositoryCommitDeleted{v} } func (x *Event) SetRepositoryLabelCreated(v *PayloadRepositoryLabelCreated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryLabelCreated{v} + x.xxx_hidden_Payload = &event_RepositoryLabelCreated{v} } func (x *Event) SetRepositoryLabelMoved(v *PayloadRepositoryLabelMoved) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryLabelMoved{v} + x.xxx_hidden_Payload = &event_RepositoryLabelMoved{v} } func (x *Event) SetRepositoryLabelArchived(v *PayloadRepositoryLabelArchived) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryLabelArchived{v} + x.xxx_hidden_Payload = &event_RepositoryLabelArchived{v} } func (x *Event) SetRepositoryLabelUnarchived(v *PayloadRepositoryLabelUnarchived) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryLabelUnarchived{v} + x.xxx_hidden_Payload = &event_RepositoryLabelUnarchived{v} } func (x *Event) SetCuratedPluginDeleted(v *PayloadCuratedPluginDeleted) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_CuratedPluginDeleted{v} + x.xxx_hidden_Payload = &event_CuratedPluginDeleted{v} } func (x *Event) SetPayloadServerBreakingChangePolicyEnabled(v *PayloadServerBreakingChangePolicyEnabled) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_PayloadServerBreakingChangePolicyEnabled{v} + x.xxx_hidden_Payload = &event_PayloadServerBreakingChangePolicyEnabled{v} } func (x *Event) SetPayloadServerBreakingChangePolicyDisabled(v *PayloadServerBreakingChangePolicyDisabled) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_PayloadServerBreakingChangePolicyDisabled{v} + x.xxx_hidden_Payload = &event_PayloadServerBreakingChangePolicyDisabled{v} } // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. func (x *Event) SetRepositoryDefaultBranchChanged(v *PayloadRepositoryDefaultBranchChanged) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_RepositoryDefaultBranchChanged{v} + x.xxx_hidden_Payload = &event_RepositoryDefaultBranchChanged{v} } func (x *Event) SetPayloadServerUniquenessPolicyEnabled(v *PayloadServerUniquenessPolicyEnabled) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_PayloadServerUniquenessPolicyEnabled{v} + x.xxx_hidden_Payload = &event_PayloadServerUniquenessPolicyEnabled{v} } func (x *Event) SetPayloadServerUniquenessPolicyDisabled(v *PayloadServerUniquenessPolicyDisabled) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_PayloadServerUniquenessPolicyDisabled{v} + x.xxx_hidden_Payload = &event_PayloadServerUniquenessPolicyDisabled{v} } func (x *Event) SetUserAutoMergedFromNewIdp(v *PayloadUserAutoMergedFromNewIdP) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_UserAutoMergedFromNewIdp{v} + x.xxx_hidden_Payload = &event_UserAutoMergedFromNewIdp{v} } func (x *Event) SetDeviceAuthorizationGrantApproved(v *PayloadDeviceAuthorizationGrantApproved) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_DeviceAuthorizationGrantApproved{v} + x.xxx_hidden_Payload = &event_DeviceAuthorizationGrantApproved{v} } func (x *Event) SetDeviceAuthorizationGrantDenied(v *PayloadDeviceAuthorizationGrantDenied) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_DeviceAuthorizationGrantDenied{v} + x.xxx_hidden_Payload = &event_DeviceAuthorizationGrantDenied{v} } func (x *Event) SetPluginLabelCreated(v *PayloadPluginLabelCreated) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_PluginLabelCreated{v} + x.xxx_hidden_Payload = &event_PluginLabelCreated{v} } func (x *Event) SetPluginLabelMoved(v *PayloadPluginLabelMoved) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_PluginLabelMoved{v} + x.xxx_hidden_Payload = &event_PluginLabelMoved{v} } func (x *Event) SetPluginLabelArchived(v *PayloadPluginLabelArchived) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_PluginLabelArchived{v} + x.xxx_hidden_Payload = &event_PluginLabelArchived{v} } func (x *Event) SetPluginLabelUnarchived(v *PayloadPluginLabelUnarchived) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &Event_PluginLabelUnarchived{v} + x.xxx_hidden_Payload = &event_PluginLabelUnarchived{v} } func (x *Event) HasActor() bool { if x == nil { return false } - return x.Actor != nil + return x.xxx_hidden_Actor != nil } func (x *Event) HasResource() bool { if x == nil { return false } - return x.Resource != nil + return x.xxx_hidden_Resource != nil } func (x *Event) HasEventTime() bool { if x == nil { return false } - return x.EventTime != nil + return x.xxx_hidden_EventTime != nil } func (x *Event) HasMetadata() bool { if x == nil { return false } - return x.Metadata != nil + return x.xxx_hidden_Metadata != nil } func (x *Event) HasPayload() bool { if x == nil { return false } - return x.Payload != nil + return x.xxx_hidden_Payload != nil } func (x *Event) HasOrganizationCreated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_OrganizationCreated) + _, ok := x.xxx_hidden_Payload.(*event_OrganizationCreated) return ok } @@ -1688,7 +1611,7 @@ func (x *Event) HasOrganizationDeleted() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_OrganizationDeleted) + _, ok := x.xxx_hidden_Payload.(*event_OrganizationDeleted) return ok } @@ -1696,7 +1619,7 @@ func (x *Event) HasOrganizationMemberAdded() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_OrganizationMemberAdded) + _, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberAdded) return ok } @@ -1704,7 +1627,7 @@ func (x *Event) HasOrganizationMemberRoleChanged() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_OrganizationMemberRoleChanged) + _, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberRoleChanged) return ok } @@ -1712,7 +1635,7 @@ func (x *Event) HasOrganizationMemberRemoved() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_OrganizationMemberRemoved) + _, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberRemoved) return ok } @@ -1720,7 +1643,7 @@ func (x *Event) HasRepositoryCreated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryCreated) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryCreated) return ok } @@ -1728,7 +1651,7 @@ func (x *Event) HasRepositoryDeprecated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryDeprecated) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryDeprecated) return ok } @@ -1736,7 +1659,7 @@ func (x *Event) HasRepositoryUndeprecated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryUndeprecated) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryUndeprecated) return ok } @@ -1744,7 +1667,7 @@ func (x *Event) HasRepositoryDeleted() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryDeleted) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryDeleted) return ok } @@ -1752,7 +1675,7 @@ func (x *Event) HasRepositoryCommitPushed() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryCommitPushed) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryCommitPushed) return ok } @@ -1760,7 +1683,7 @@ func (x *Event) HasRepositoryContributorAdded() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryContributorAdded) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorAdded) return ok } @@ -1768,7 +1691,7 @@ func (x *Event) HasRepositoryContributorRoleChanged() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryContributorRoleChanged) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorRoleChanged) return ok } @@ -1776,7 +1699,7 @@ func (x *Event) HasRepositoryContributorRemoved() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryContributorRemoved) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorRemoved) return ok } @@ -1784,7 +1707,7 @@ func (x *Event) HasRepositoryVisibilityChanged() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryVisibilityChanged) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryVisibilityChanged) return ok } @@ -1792,7 +1715,7 @@ func (x *Event) HasRepositoryDefaultLabelNameChanged() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryDefaultLabelNameChanged) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryDefaultLabelNameChanged) return ok } @@ -1800,7 +1723,7 @@ func (x *Event) HasPluginCreated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_PluginCreated) + _, ok := x.xxx_hidden_Payload.(*event_PluginCreated) return ok } @@ -1808,7 +1731,7 @@ func (x *Event) HasPluginDeleted() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_PluginDeleted) + _, ok := x.xxx_hidden_Payload.(*event_PluginDeleted) return ok } @@ -1816,7 +1739,7 @@ func (x *Event) HasPluginCommitPushed() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_PluginCommitPushed) + _, ok := x.xxx_hidden_Payload.(*event_PluginCommitPushed) return ok } @@ -1824,7 +1747,7 @@ func (x *Event) HasUserCreated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_UserCreated) + _, ok := x.xxx_hidden_Payload.(*event_UserCreated) return ok } @@ -1832,7 +1755,7 @@ func (x *Event) HasUserDeactivated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_UserDeactivated) + _, ok := x.xxx_hidden_Payload.(*event_UserDeactivated) return ok } @@ -1840,7 +1763,7 @@ func (x *Event) HasUserDeleted() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_UserDeleted) + _, ok := x.xxx_hidden_Payload.(*event_UserDeleted) return ok } @@ -1848,7 +1771,7 @@ func (x *Event) HasUserLoggedIn() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_UserLoggedIn) + _, ok := x.xxx_hidden_Payload.(*event_UserLoggedIn) return ok } @@ -1856,7 +1779,7 @@ func (x *Event) HasUserLoggedOut() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_UserLoggedOut) + _, ok := x.xxx_hidden_Payload.(*event_UserLoggedOut) return ok } @@ -1864,7 +1787,7 @@ func (x *Event) HasCuratedPluginCreated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_CuratedPluginCreated) + _, ok := x.xxx_hidden_Payload.(*event_CuratedPluginCreated) return ok } @@ -1872,7 +1795,7 @@ func (x *Event) HasIdpGroupAdded() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_IdpGroupAdded) + _, ok := x.xxx_hidden_Payload.(*event_IdpGroupAdded) return ok } @@ -1880,7 +1803,7 @@ func (x *Event) HasIdpGroupRemoved() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_IdpGroupRemoved) + _, ok := x.xxx_hidden_Payload.(*event_IdpGroupRemoved) return ok } @@ -1888,7 +1811,7 @@ func (x *Event) HasTokenCreated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_TokenCreated) + _, ok := x.xxx_hidden_Payload.(*event_TokenCreated) return ok } @@ -1896,7 +1819,7 @@ func (x *Event) HasTokenDeleted() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_TokenDeleted) + _, ok := x.xxx_hidden_Payload.(*event_TokenDeleted) return ok } @@ -1904,7 +1827,7 @@ func (x *Event) HasUserReactivated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_UserReactivated) + _, ok := x.xxx_hidden_Payload.(*event_UserReactivated) return ok } @@ -1912,7 +1835,7 @@ func (x *Event) HasScimTokenCreated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_ScimTokenCreated) + _, ok := x.xxx_hidden_Payload.(*event_ScimTokenCreated) return ok } @@ -1920,7 +1843,7 @@ func (x *Event) HasScimTokenDeleted() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_ScimTokenDeleted) + _, ok := x.xxx_hidden_Payload.(*event_ScimTokenDeleted) return ok } @@ -1928,7 +1851,7 @@ func (x *Event) HasRepositoryCommitDeleted() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryCommitDeleted) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryCommitDeleted) return ok } @@ -1936,7 +1859,7 @@ func (x *Event) HasRepositoryLabelCreated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryLabelCreated) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelCreated) return ok } @@ -1944,7 +1867,7 @@ func (x *Event) HasRepositoryLabelMoved() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryLabelMoved) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelMoved) return ok } @@ -1952,7 +1875,7 @@ func (x *Event) HasRepositoryLabelArchived() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryLabelArchived) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelArchived) return ok } @@ -1960,7 +1883,7 @@ func (x *Event) HasRepositoryLabelUnarchived() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryLabelUnarchived) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelUnarchived) return ok } @@ -1968,7 +1891,7 @@ func (x *Event) HasCuratedPluginDeleted() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_CuratedPluginDeleted) + _, ok := x.xxx_hidden_Payload.(*event_CuratedPluginDeleted) return ok } @@ -1976,7 +1899,7 @@ func (x *Event) HasPayloadServerBreakingChangePolicyEnabled() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_PayloadServerBreakingChangePolicyEnabled) + _, ok := x.xxx_hidden_Payload.(*event_PayloadServerBreakingChangePolicyEnabled) return ok } @@ -1984,7 +1907,7 @@ func (x *Event) HasPayloadServerBreakingChangePolicyDisabled() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_PayloadServerBreakingChangePolicyDisabled) + _, ok := x.xxx_hidden_Payload.(*event_PayloadServerBreakingChangePolicyDisabled) return ok } @@ -1993,7 +1916,7 @@ func (x *Event) HasRepositoryDefaultBranchChanged() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_RepositoryDefaultBranchChanged) + _, ok := x.xxx_hidden_Payload.(*event_RepositoryDefaultBranchChanged) return ok } @@ -2001,7 +1924,7 @@ func (x *Event) HasPayloadServerUniquenessPolicyEnabled() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_PayloadServerUniquenessPolicyEnabled) + _, ok := x.xxx_hidden_Payload.(*event_PayloadServerUniquenessPolicyEnabled) return ok } @@ -2009,7 +1932,7 @@ func (x *Event) HasPayloadServerUniquenessPolicyDisabled() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_PayloadServerUniquenessPolicyDisabled) + _, ok := x.xxx_hidden_Payload.(*event_PayloadServerUniquenessPolicyDisabled) return ok } @@ -2017,7 +1940,7 @@ func (x *Event) HasUserAutoMergedFromNewIdp() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_UserAutoMergedFromNewIdp) + _, ok := x.xxx_hidden_Payload.(*event_UserAutoMergedFromNewIdp) return ok } @@ -2025,7 +1948,7 @@ func (x *Event) HasDeviceAuthorizationGrantApproved() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_DeviceAuthorizationGrantApproved) + _, ok := x.xxx_hidden_Payload.(*event_DeviceAuthorizationGrantApproved) return ok } @@ -2033,7 +1956,7 @@ func (x *Event) HasDeviceAuthorizationGrantDenied() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_DeviceAuthorizationGrantDenied) + _, ok := x.xxx_hidden_Payload.(*event_DeviceAuthorizationGrantDenied) return ok } @@ -2041,7 +1964,7 @@ func (x *Event) HasPluginLabelCreated() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_PluginLabelCreated) + _, ok := x.xxx_hidden_Payload.(*event_PluginLabelCreated) return ok } @@ -2049,7 +1972,7 @@ func (x *Event) HasPluginLabelMoved() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_PluginLabelMoved) + _, ok := x.xxx_hidden_Payload.(*event_PluginLabelMoved) return ok } @@ -2057,7 +1980,7 @@ func (x *Event) HasPluginLabelArchived() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_PluginLabelArchived) + _, ok := x.xxx_hidden_Payload.(*event_PluginLabelArchived) return ok } @@ -2065,322 +1988,322 @@ func (x *Event) HasPluginLabelUnarchived() bool { if x == nil { return false } - _, ok := x.Payload.(*Event_PluginLabelUnarchived) + _, ok := x.xxx_hidden_Payload.(*event_PluginLabelUnarchived) return ok } func (x *Event) ClearActor() { - x.Actor = nil + x.xxx_hidden_Actor = nil } func (x *Event) ClearResource() { - x.Resource = nil + x.xxx_hidden_Resource = nil } func (x *Event) ClearEventTime() { - x.EventTime = nil + x.xxx_hidden_EventTime = nil } func (x *Event) ClearMetadata() { - x.Metadata = nil + x.xxx_hidden_Metadata = nil } func (x *Event) ClearPayload() { - x.Payload = nil + x.xxx_hidden_Payload = nil } func (x *Event) ClearOrganizationCreated() { - if _, ok := x.Payload.(*Event_OrganizationCreated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_OrganizationCreated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearOrganizationDeleted() { - if _, ok := x.Payload.(*Event_OrganizationDeleted); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_OrganizationDeleted); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearOrganizationMemberAdded() { - if _, ok := x.Payload.(*Event_OrganizationMemberAdded); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberAdded); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearOrganizationMemberRoleChanged() { - if _, ok := x.Payload.(*Event_OrganizationMemberRoleChanged); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberRoleChanged); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearOrganizationMemberRemoved() { - if _, ok := x.Payload.(*Event_OrganizationMemberRemoved); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberRemoved); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryCreated() { - if _, ok := x.Payload.(*Event_RepositoryCreated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryCreated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryDeprecated() { - if _, ok := x.Payload.(*Event_RepositoryDeprecated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryDeprecated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryUndeprecated() { - if _, ok := x.Payload.(*Event_RepositoryUndeprecated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryUndeprecated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryDeleted() { - if _, ok := x.Payload.(*Event_RepositoryDeleted); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryDeleted); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryCommitPushed() { - if _, ok := x.Payload.(*Event_RepositoryCommitPushed); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryCommitPushed); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryContributorAdded() { - if _, ok := x.Payload.(*Event_RepositoryContributorAdded); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorAdded); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryContributorRoleChanged() { - if _, ok := x.Payload.(*Event_RepositoryContributorRoleChanged); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorRoleChanged); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryContributorRemoved() { - if _, ok := x.Payload.(*Event_RepositoryContributorRemoved); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorRemoved); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryVisibilityChanged() { - if _, ok := x.Payload.(*Event_RepositoryVisibilityChanged); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryVisibilityChanged); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryDefaultLabelNameChanged() { - if _, ok := x.Payload.(*Event_RepositoryDefaultLabelNameChanged); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryDefaultLabelNameChanged); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearPluginCreated() { - if _, ok := x.Payload.(*Event_PluginCreated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_PluginCreated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearPluginDeleted() { - if _, ok := x.Payload.(*Event_PluginDeleted); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_PluginDeleted); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearPluginCommitPushed() { - if _, ok := x.Payload.(*Event_PluginCommitPushed); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_PluginCommitPushed); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearUserCreated() { - if _, ok := x.Payload.(*Event_UserCreated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_UserCreated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearUserDeactivated() { - if _, ok := x.Payload.(*Event_UserDeactivated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_UserDeactivated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearUserDeleted() { - if _, ok := x.Payload.(*Event_UserDeleted); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_UserDeleted); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearUserLoggedIn() { - if _, ok := x.Payload.(*Event_UserLoggedIn); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_UserLoggedIn); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearUserLoggedOut() { - if _, ok := x.Payload.(*Event_UserLoggedOut); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_UserLoggedOut); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearCuratedPluginCreated() { - if _, ok := x.Payload.(*Event_CuratedPluginCreated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_CuratedPluginCreated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearIdpGroupAdded() { - if _, ok := x.Payload.(*Event_IdpGroupAdded); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_IdpGroupAdded); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearIdpGroupRemoved() { - if _, ok := x.Payload.(*Event_IdpGroupRemoved); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_IdpGroupRemoved); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearTokenCreated() { - if _, ok := x.Payload.(*Event_TokenCreated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_TokenCreated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearTokenDeleted() { - if _, ok := x.Payload.(*Event_TokenDeleted); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_TokenDeleted); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearUserReactivated() { - if _, ok := x.Payload.(*Event_UserReactivated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_UserReactivated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearScimTokenCreated() { - if _, ok := x.Payload.(*Event_ScimTokenCreated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_ScimTokenCreated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearScimTokenDeleted() { - if _, ok := x.Payload.(*Event_ScimTokenDeleted); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_ScimTokenDeleted); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryCommitDeleted() { - if _, ok := x.Payload.(*Event_RepositoryCommitDeleted); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryCommitDeleted); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryLabelCreated() { - if _, ok := x.Payload.(*Event_RepositoryLabelCreated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelCreated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryLabelMoved() { - if _, ok := x.Payload.(*Event_RepositoryLabelMoved); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelMoved); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryLabelArchived() { - if _, ok := x.Payload.(*Event_RepositoryLabelArchived); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelArchived); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearRepositoryLabelUnarchived() { - if _, ok := x.Payload.(*Event_RepositoryLabelUnarchived); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelUnarchived); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearCuratedPluginDeleted() { - if _, ok := x.Payload.(*Event_CuratedPluginDeleted); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_CuratedPluginDeleted); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearPayloadServerBreakingChangePolicyEnabled() { - if _, ok := x.Payload.(*Event_PayloadServerBreakingChangePolicyEnabled); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_PayloadServerBreakingChangePolicyEnabled); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearPayloadServerBreakingChangePolicyDisabled() { - if _, ok := x.Payload.(*Event_PayloadServerBreakingChangePolicyDisabled); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_PayloadServerBreakingChangePolicyDisabled); ok { + x.xxx_hidden_Payload = nil } } // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. func (x *Event) ClearRepositoryDefaultBranchChanged() { - if _, ok := x.Payload.(*Event_RepositoryDefaultBranchChanged); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_RepositoryDefaultBranchChanged); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearPayloadServerUniquenessPolicyEnabled() { - if _, ok := x.Payload.(*Event_PayloadServerUniquenessPolicyEnabled); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_PayloadServerUniquenessPolicyEnabled); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearPayloadServerUniquenessPolicyDisabled() { - if _, ok := x.Payload.(*Event_PayloadServerUniquenessPolicyDisabled); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_PayloadServerUniquenessPolicyDisabled); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearUserAutoMergedFromNewIdp() { - if _, ok := x.Payload.(*Event_UserAutoMergedFromNewIdp); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_UserAutoMergedFromNewIdp); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearDeviceAuthorizationGrantApproved() { - if _, ok := x.Payload.(*Event_DeviceAuthorizationGrantApproved); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_DeviceAuthorizationGrantApproved); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearDeviceAuthorizationGrantDenied() { - if _, ok := x.Payload.(*Event_DeviceAuthorizationGrantDenied); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_DeviceAuthorizationGrantDenied); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearPluginLabelCreated() { - if _, ok := x.Payload.(*Event_PluginLabelCreated); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_PluginLabelCreated); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearPluginLabelMoved() { - if _, ok := x.Payload.(*Event_PluginLabelMoved); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_PluginLabelMoved); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearPluginLabelArchived() { - if _, ok := x.Payload.(*Event_PluginLabelArchived); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_PluginLabelArchived); ok { + x.xxx_hidden_Payload = nil } } func (x *Event) ClearPluginLabelUnarchived() { - if _, ok := x.Payload.(*Event_PluginLabelUnarchived); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*event_PluginLabelUnarchived); ok { + x.xxx_hidden_Payload = nil } } @@ -2439,104 +2362,104 @@ func (x *Event) WhichPayload() case_Event_Payload { if x == nil { return Event_Payload_not_set_case } - switch x.Payload.(type) { - case *Event_OrganizationCreated: + switch x.xxx_hidden_Payload.(type) { + case *event_OrganizationCreated: return Event_OrganizationCreated_case - case *Event_OrganizationDeleted: + case *event_OrganizationDeleted: return Event_OrganizationDeleted_case - case *Event_OrganizationMemberAdded: + case *event_OrganizationMemberAdded: return Event_OrganizationMemberAdded_case - case *Event_OrganizationMemberRoleChanged: + case *event_OrganizationMemberRoleChanged: return Event_OrganizationMemberRoleChanged_case - case *Event_OrganizationMemberRemoved: + case *event_OrganizationMemberRemoved: return Event_OrganizationMemberRemoved_case - case *Event_RepositoryCreated: + case *event_RepositoryCreated: return Event_RepositoryCreated_case - case *Event_RepositoryDeprecated: + case *event_RepositoryDeprecated: return Event_RepositoryDeprecated_case - case *Event_RepositoryUndeprecated: + case *event_RepositoryUndeprecated: return Event_RepositoryUndeprecated_case - case *Event_RepositoryDeleted: + case *event_RepositoryDeleted: return Event_RepositoryDeleted_case - case *Event_RepositoryCommitPushed: + case *event_RepositoryCommitPushed: return Event_RepositoryCommitPushed_case - case *Event_RepositoryContributorAdded: + case *event_RepositoryContributorAdded: return Event_RepositoryContributorAdded_case - case *Event_RepositoryContributorRoleChanged: + case *event_RepositoryContributorRoleChanged: return Event_RepositoryContributorRoleChanged_case - case *Event_RepositoryContributorRemoved: + case *event_RepositoryContributorRemoved: return Event_RepositoryContributorRemoved_case - case *Event_RepositoryVisibilityChanged: + case *event_RepositoryVisibilityChanged: return Event_RepositoryVisibilityChanged_case - case *Event_RepositoryDefaultLabelNameChanged: + case *event_RepositoryDefaultLabelNameChanged: return Event_RepositoryDefaultLabelNameChanged_case - case *Event_PluginCreated: + case *event_PluginCreated: return Event_PluginCreated_case - case *Event_PluginDeleted: + case *event_PluginDeleted: return Event_PluginDeleted_case - case *Event_PluginCommitPushed: + case *event_PluginCommitPushed: return Event_PluginCommitPushed_case - case *Event_UserCreated: + case *event_UserCreated: return Event_UserCreated_case - case *Event_UserDeactivated: + case *event_UserDeactivated: return Event_UserDeactivated_case - case *Event_UserDeleted: + case *event_UserDeleted: return Event_UserDeleted_case - case *Event_UserLoggedIn: + case *event_UserLoggedIn: return Event_UserLoggedIn_case - case *Event_UserLoggedOut: + case *event_UserLoggedOut: return Event_UserLoggedOut_case - case *Event_CuratedPluginCreated: + case *event_CuratedPluginCreated: return Event_CuratedPluginCreated_case - case *Event_IdpGroupAdded: + case *event_IdpGroupAdded: return Event_IdpGroupAdded_case - case *Event_IdpGroupRemoved: + case *event_IdpGroupRemoved: return Event_IdpGroupRemoved_case - case *Event_TokenCreated: + case *event_TokenCreated: return Event_TokenCreated_case - case *Event_TokenDeleted: + case *event_TokenDeleted: return Event_TokenDeleted_case - case *Event_UserReactivated: + case *event_UserReactivated: return Event_UserReactivated_case - case *Event_ScimTokenCreated: + case *event_ScimTokenCreated: return Event_ScimTokenCreated_case - case *Event_ScimTokenDeleted: + case *event_ScimTokenDeleted: return Event_ScimTokenDeleted_case - case *Event_RepositoryCommitDeleted: + case *event_RepositoryCommitDeleted: return Event_RepositoryCommitDeleted_case - case *Event_RepositoryLabelCreated: + case *event_RepositoryLabelCreated: return Event_RepositoryLabelCreated_case - case *Event_RepositoryLabelMoved: + case *event_RepositoryLabelMoved: return Event_RepositoryLabelMoved_case - case *Event_RepositoryLabelArchived: + case *event_RepositoryLabelArchived: return Event_RepositoryLabelArchived_case - case *Event_RepositoryLabelUnarchived: + case *event_RepositoryLabelUnarchived: return Event_RepositoryLabelUnarchived_case - case *Event_CuratedPluginDeleted: + case *event_CuratedPluginDeleted: return Event_CuratedPluginDeleted_case - case *Event_PayloadServerBreakingChangePolicyEnabled: + case *event_PayloadServerBreakingChangePolicyEnabled: return Event_PayloadServerBreakingChangePolicyEnabled_case - case *Event_PayloadServerBreakingChangePolicyDisabled: + case *event_PayloadServerBreakingChangePolicyDisabled: return Event_PayloadServerBreakingChangePolicyDisabled_case - case *Event_RepositoryDefaultBranchChanged: + case *event_RepositoryDefaultBranchChanged: return Event_RepositoryDefaultBranchChanged_case - case *Event_PayloadServerUniquenessPolicyEnabled: + case *event_PayloadServerUniquenessPolicyEnabled: return Event_PayloadServerUniquenessPolicyEnabled_case - case *Event_PayloadServerUniquenessPolicyDisabled: + case *event_PayloadServerUniquenessPolicyDisabled: return Event_PayloadServerUniquenessPolicyDisabled_case - case *Event_UserAutoMergedFromNewIdp: + case *event_UserAutoMergedFromNewIdp: return Event_UserAutoMergedFromNewIdp_case - case *Event_DeviceAuthorizationGrantApproved: + case *event_DeviceAuthorizationGrantApproved: return Event_DeviceAuthorizationGrantApproved_case - case *Event_DeviceAuthorizationGrantDenied: + case *event_DeviceAuthorizationGrantDenied: return Event_DeviceAuthorizationGrantDenied_case - case *Event_PluginLabelCreated: + case *event_PluginLabelCreated: return Event_PluginLabelCreated_case - case *Event_PluginLabelMoved: + case *event_PluginLabelMoved: return Event_PluginLabelMoved_case - case *Event_PluginLabelArchived: + case *event_PluginLabelArchived: return Event_PluginLabelArchived_case - case *Event_PluginLabelUnarchived: + case *event_PluginLabelUnarchived: return Event_PluginLabelUnarchived_case default: return Event_Payload_not_set_case @@ -2560,7 +2483,7 @@ type Event_builder struct { Metadata *EventMetadata // Payload of the audited event. It specifies additional context on the event. - // Fields of oneof Payload: + // Fields of oneof xxx_hidden_Payload: OrganizationCreated *PayloadOrganizationCreated OrganizationDeleted *PayloadOrganizationDeleted OrganizationMemberAdded *PayloadOrganizationMemberAdded @@ -2611,165 +2534,165 @@ type Event_builder struct { PluginLabelMoved *PayloadPluginLabelMoved PluginLabelArchived *PayloadPluginLabelArchived PluginLabelUnarchived *PayloadPluginLabelUnarchived - // -- end of Payload + // -- end of xxx_hidden_Payload } func (b0 Event_builder) Build() *Event { m0 := &Event{} b, x := &b0, m0 _, _ = b, x - x.EventId = b.EventId - x.Type = b.Type - x.Actor = b.Actor - x.Resource = b.Resource - x.EventTime = b.EventTime - x.Metadata = b.Metadata + x.xxx_hidden_EventId = b.EventId + x.xxx_hidden_Type = b.Type + x.xxx_hidden_Actor = b.Actor + x.xxx_hidden_Resource = b.Resource + x.xxx_hidden_EventTime = b.EventTime + x.xxx_hidden_Metadata = b.Metadata if b.OrganizationCreated != nil { - x.Payload = &Event_OrganizationCreated{b.OrganizationCreated} + x.xxx_hidden_Payload = &event_OrganizationCreated{b.OrganizationCreated} } if b.OrganizationDeleted != nil { - x.Payload = &Event_OrganizationDeleted{b.OrganizationDeleted} + x.xxx_hidden_Payload = &event_OrganizationDeleted{b.OrganizationDeleted} } if b.OrganizationMemberAdded != nil { - x.Payload = &Event_OrganizationMemberAdded{b.OrganizationMemberAdded} + x.xxx_hidden_Payload = &event_OrganizationMemberAdded{b.OrganizationMemberAdded} } if b.OrganizationMemberRoleChanged != nil { - x.Payload = &Event_OrganizationMemberRoleChanged{b.OrganizationMemberRoleChanged} + x.xxx_hidden_Payload = &event_OrganizationMemberRoleChanged{b.OrganizationMemberRoleChanged} } if b.OrganizationMemberRemoved != nil { - x.Payload = &Event_OrganizationMemberRemoved{b.OrganizationMemberRemoved} + x.xxx_hidden_Payload = &event_OrganizationMemberRemoved{b.OrganizationMemberRemoved} } if b.RepositoryCreated != nil { - x.Payload = &Event_RepositoryCreated{b.RepositoryCreated} + x.xxx_hidden_Payload = &event_RepositoryCreated{b.RepositoryCreated} } if b.RepositoryDeprecated != nil { - x.Payload = &Event_RepositoryDeprecated{b.RepositoryDeprecated} + x.xxx_hidden_Payload = &event_RepositoryDeprecated{b.RepositoryDeprecated} } if b.RepositoryUndeprecated != nil { - x.Payload = &Event_RepositoryUndeprecated{b.RepositoryUndeprecated} + x.xxx_hidden_Payload = &event_RepositoryUndeprecated{b.RepositoryUndeprecated} } if b.RepositoryDeleted != nil { - x.Payload = &Event_RepositoryDeleted{b.RepositoryDeleted} + x.xxx_hidden_Payload = &event_RepositoryDeleted{b.RepositoryDeleted} } if b.RepositoryCommitPushed != nil { - x.Payload = &Event_RepositoryCommitPushed{b.RepositoryCommitPushed} + x.xxx_hidden_Payload = &event_RepositoryCommitPushed{b.RepositoryCommitPushed} } if b.RepositoryContributorAdded != nil { - x.Payload = &Event_RepositoryContributorAdded{b.RepositoryContributorAdded} + x.xxx_hidden_Payload = &event_RepositoryContributorAdded{b.RepositoryContributorAdded} } if b.RepositoryContributorRoleChanged != nil { - x.Payload = &Event_RepositoryContributorRoleChanged{b.RepositoryContributorRoleChanged} + x.xxx_hidden_Payload = &event_RepositoryContributorRoleChanged{b.RepositoryContributorRoleChanged} } if b.RepositoryContributorRemoved != nil { - x.Payload = &Event_RepositoryContributorRemoved{b.RepositoryContributorRemoved} + x.xxx_hidden_Payload = &event_RepositoryContributorRemoved{b.RepositoryContributorRemoved} } if b.RepositoryVisibilityChanged != nil { - x.Payload = &Event_RepositoryVisibilityChanged{b.RepositoryVisibilityChanged} + x.xxx_hidden_Payload = &event_RepositoryVisibilityChanged{b.RepositoryVisibilityChanged} } if b.RepositoryDefaultLabelNameChanged != nil { - x.Payload = &Event_RepositoryDefaultLabelNameChanged{b.RepositoryDefaultLabelNameChanged} + x.xxx_hidden_Payload = &event_RepositoryDefaultLabelNameChanged{b.RepositoryDefaultLabelNameChanged} } if b.PluginCreated != nil { - x.Payload = &Event_PluginCreated{b.PluginCreated} + x.xxx_hidden_Payload = &event_PluginCreated{b.PluginCreated} } if b.PluginDeleted != nil { - x.Payload = &Event_PluginDeleted{b.PluginDeleted} + x.xxx_hidden_Payload = &event_PluginDeleted{b.PluginDeleted} } if b.PluginCommitPushed != nil { - x.Payload = &Event_PluginCommitPushed{b.PluginCommitPushed} + x.xxx_hidden_Payload = &event_PluginCommitPushed{b.PluginCommitPushed} } if b.UserCreated != nil { - x.Payload = &Event_UserCreated{b.UserCreated} + x.xxx_hidden_Payload = &event_UserCreated{b.UserCreated} } if b.UserDeactivated != nil { - x.Payload = &Event_UserDeactivated{b.UserDeactivated} + x.xxx_hidden_Payload = &event_UserDeactivated{b.UserDeactivated} } if b.UserDeleted != nil { - x.Payload = &Event_UserDeleted{b.UserDeleted} + x.xxx_hidden_Payload = &event_UserDeleted{b.UserDeleted} } if b.UserLoggedIn != nil { - x.Payload = &Event_UserLoggedIn{b.UserLoggedIn} + x.xxx_hidden_Payload = &event_UserLoggedIn{b.UserLoggedIn} } if b.UserLoggedOut != nil { - x.Payload = &Event_UserLoggedOut{b.UserLoggedOut} + x.xxx_hidden_Payload = &event_UserLoggedOut{b.UserLoggedOut} } if b.CuratedPluginCreated != nil { - x.Payload = &Event_CuratedPluginCreated{b.CuratedPluginCreated} + x.xxx_hidden_Payload = &event_CuratedPluginCreated{b.CuratedPluginCreated} } if b.IdpGroupAdded != nil { - x.Payload = &Event_IdpGroupAdded{b.IdpGroupAdded} + x.xxx_hidden_Payload = &event_IdpGroupAdded{b.IdpGroupAdded} } if b.IdpGroupRemoved != nil { - x.Payload = &Event_IdpGroupRemoved{b.IdpGroupRemoved} + x.xxx_hidden_Payload = &event_IdpGroupRemoved{b.IdpGroupRemoved} } if b.TokenCreated != nil { - x.Payload = &Event_TokenCreated{b.TokenCreated} + x.xxx_hidden_Payload = &event_TokenCreated{b.TokenCreated} } if b.TokenDeleted != nil { - x.Payload = &Event_TokenDeleted{b.TokenDeleted} + x.xxx_hidden_Payload = &event_TokenDeleted{b.TokenDeleted} } if b.UserReactivated != nil { - x.Payload = &Event_UserReactivated{b.UserReactivated} + x.xxx_hidden_Payload = &event_UserReactivated{b.UserReactivated} } if b.ScimTokenCreated != nil { - x.Payload = &Event_ScimTokenCreated{b.ScimTokenCreated} + x.xxx_hidden_Payload = &event_ScimTokenCreated{b.ScimTokenCreated} } if b.ScimTokenDeleted != nil { - x.Payload = &Event_ScimTokenDeleted{b.ScimTokenDeleted} + x.xxx_hidden_Payload = &event_ScimTokenDeleted{b.ScimTokenDeleted} } if b.RepositoryCommitDeleted != nil { - x.Payload = &Event_RepositoryCommitDeleted{b.RepositoryCommitDeleted} + x.xxx_hidden_Payload = &event_RepositoryCommitDeleted{b.RepositoryCommitDeleted} } if b.RepositoryLabelCreated != nil { - x.Payload = &Event_RepositoryLabelCreated{b.RepositoryLabelCreated} + x.xxx_hidden_Payload = &event_RepositoryLabelCreated{b.RepositoryLabelCreated} } if b.RepositoryLabelMoved != nil { - x.Payload = &Event_RepositoryLabelMoved{b.RepositoryLabelMoved} + x.xxx_hidden_Payload = &event_RepositoryLabelMoved{b.RepositoryLabelMoved} } if b.RepositoryLabelArchived != nil { - x.Payload = &Event_RepositoryLabelArchived{b.RepositoryLabelArchived} + x.xxx_hidden_Payload = &event_RepositoryLabelArchived{b.RepositoryLabelArchived} } if b.RepositoryLabelUnarchived != nil { - x.Payload = &Event_RepositoryLabelUnarchived{b.RepositoryLabelUnarchived} + x.xxx_hidden_Payload = &event_RepositoryLabelUnarchived{b.RepositoryLabelUnarchived} } if b.CuratedPluginDeleted != nil { - x.Payload = &Event_CuratedPluginDeleted{b.CuratedPluginDeleted} + x.xxx_hidden_Payload = &event_CuratedPluginDeleted{b.CuratedPluginDeleted} } if b.PayloadServerBreakingChangePolicyEnabled != nil { - x.Payload = &Event_PayloadServerBreakingChangePolicyEnabled{b.PayloadServerBreakingChangePolicyEnabled} + x.xxx_hidden_Payload = &event_PayloadServerBreakingChangePolicyEnabled{b.PayloadServerBreakingChangePolicyEnabled} } if b.PayloadServerBreakingChangePolicyDisabled != nil { - x.Payload = &Event_PayloadServerBreakingChangePolicyDisabled{b.PayloadServerBreakingChangePolicyDisabled} + x.xxx_hidden_Payload = &event_PayloadServerBreakingChangePolicyDisabled{b.PayloadServerBreakingChangePolicyDisabled} } if b.RepositoryDefaultBranchChanged != nil { - x.Payload = &Event_RepositoryDefaultBranchChanged{b.RepositoryDefaultBranchChanged} + x.xxx_hidden_Payload = &event_RepositoryDefaultBranchChanged{b.RepositoryDefaultBranchChanged} } if b.PayloadServerUniquenessPolicyEnabled != nil { - x.Payload = &Event_PayloadServerUniquenessPolicyEnabled{b.PayloadServerUniquenessPolicyEnabled} + x.xxx_hidden_Payload = &event_PayloadServerUniquenessPolicyEnabled{b.PayloadServerUniquenessPolicyEnabled} } if b.PayloadServerUniquenessPolicyDisabled != nil { - x.Payload = &Event_PayloadServerUniquenessPolicyDisabled{b.PayloadServerUniquenessPolicyDisabled} + x.xxx_hidden_Payload = &event_PayloadServerUniquenessPolicyDisabled{b.PayloadServerUniquenessPolicyDisabled} } if b.UserAutoMergedFromNewIdp != nil { - x.Payload = &Event_UserAutoMergedFromNewIdp{b.UserAutoMergedFromNewIdp} + x.xxx_hidden_Payload = &event_UserAutoMergedFromNewIdp{b.UserAutoMergedFromNewIdp} } if b.DeviceAuthorizationGrantApproved != nil { - x.Payload = &Event_DeviceAuthorizationGrantApproved{b.DeviceAuthorizationGrantApproved} + x.xxx_hidden_Payload = &event_DeviceAuthorizationGrantApproved{b.DeviceAuthorizationGrantApproved} } if b.DeviceAuthorizationGrantDenied != nil { - x.Payload = &Event_DeviceAuthorizationGrantDenied{b.DeviceAuthorizationGrantDenied} + x.xxx_hidden_Payload = &event_DeviceAuthorizationGrantDenied{b.DeviceAuthorizationGrantDenied} } if b.PluginLabelCreated != nil { - x.Payload = &Event_PluginLabelCreated{b.PluginLabelCreated} + x.xxx_hidden_Payload = &event_PluginLabelCreated{b.PluginLabelCreated} } if b.PluginLabelMoved != nil { - x.Payload = &Event_PluginLabelMoved{b.PluginLabelMoved} + x.xxx_hidden_Payload = &event_PluginLabelMoved{b.PluginLabelMoved} } if b.PluginLabelArchived != nil { - x.Payload = &Event_PluginLabelArchived{b.PluginLabelArchived} + x.xxx_hidden_Payload = &event_PluginLabelArchived{b.PluginLabelArchived} } if b.PluginLabelUnarchived != nil { - x.Payload = &Event_PluginLabelUnarchived{b.PluginLabelUnarchived} + x.xxx_hidden_Payload = &event_PluginLabelUnarchived{b.PluginLabelUnarchived} } return m0 } @@ -2788,303 +2711,303 @@ type isEvent_Payload interface { isEvent_Payload() } -type Event_OrganizationCreated struct { +type event_OrganizationCreated struct { OrganizationCreated *PayloadOrganizationCreated `protobuf:"bytes,7,opt,name=organization_created,json=organizationCreated,proto3,oneof"` } -type Event_OrganizationDeleted struct { +type event_OrganizationDeleted struct { OrganizationDeleted *PayloadOrganizationDeleted `protobuf:"bytes,8,opt,name=organization_deleted,json=organizationDeleted,proto3,oneof"` } -type Event_OrganizationMemberAdded struct { +type event_OrganizationMemberAdded struct { OrganizationMemberAdded *PayloadOrganizationMemberAdded `protobuf:"bytes,9,opt,name=organization_member_added,json=organizationMemberAdded,proto3,oneof"` } -type Event_OrganizationMemberRoleChanged struct { +type event_OrganizationMemberRoleChanged struct { OrganizationMemberRoleChanged *PayloadOrganizationMemberRoleChanged `protobuf:"bytes,10,opt,name=organization_member_role_changed,json=organizationMemberRoleChanged,proto3,oneof"` } -type Event_OrganizationMemberRemoved struct { +type event_OrganizationMemberRemoved struct { OrganizationMemberRemoved *PayloadOrganizationMemberRemoved `protobuf:"bytes,11,opt,name=organization_member_removed,json=organizationMemberRemoved,proto3,oneof"` } -type Event_RepositoryCreated struct { +type event_RepositoryCreated struct { RepositoryCreated *PayloadRepositoryCreated `protobuf:"bytes,12,opt,name=repository_created,json=repositoryCreated,proto3,oneof"` } -type Event_RepositoryDeprecated struct { +type event_RepositoryDeprecated struct { RepositoryDeprecated *PayloadRepositoryDeprecated `protobuf:"bytes,54,opt,name=repository_deprecated,json=repositoryDeprecated,proto3,oneof"` } -type Event_RepositoryUndeprecated struct { +type event_RepositoryUndeprecated struct { RepositoryUndeprecated *PayloadRepositoryUndeprecated `protobuf:"bytes,55,opt,name=repository_undeprecated,json=repositoryUndeprecated,proto3,oneof"` } -type Event_RepositoryDeleted struct { +type event_RepositoryDeleted struct { RepositoryDeleted *PayloadRepositoryDeleted `protobuf:"bytes,13,opt,name=repository_deleted,json=repositoryDeleted,proto3,oneof"` } -type Event_RepositoryCommitPushed struct { +type event_RepositoryCommitPushed struct { RepositoryCommitPushed *PayloadRepositoryCommitPushed `protobuf:"bytes,14,opt,name=repository_commit_pushed,json=repositoryCommitPushed,proto3,oneof"` } -type Event_RepositoryContributorAdded struct { +type event_RepositoryContributorAdded struct { RepositoryContributorAdded *PayloadRepositoryContributorAdded `protobuf:"bytes,15,opt,name=repository_contributor_added,json=repositoryContributorAdded,proto3,oneof"` } -type Event_RepositoryContributorRoleChanged struct { +type event_RepositoryContributorRoleChanged struct { RepositoryContributorRoleChanged *PayloadRepositoryContributorRoleChanged `protobuf:"bytes,16,opt,name=repository_contributor_role_changed,json=repositoryContributorRoleChanged,proto3,oneof"` } -type Event_RepositoryContributorRemoved struct { +type event_RepositoryContributorRemoved struct { RepositoryContributorRemoved *PayloadRepositoryContributorRemoved `protobuf:"bytes,17,opt,name=repository_contributor_removed,json=repositoryContributorRemoved,proto3,oneof"` } -type Event_RepositoryVisibilityChanged struct { +type event_RepositoryVisibilityChanged struct { RepositoryVisibilityChanged *PayloadRepositoryVisibilityChanged `protobuf:"bytes,18,opt,name=repository_visibility_changed,json=repositoryVisibilityChanged,proto3,oneof"` } -type Event_RepositoryDefaultLabelNameChanged struct { +type event_RepositoryDefaultLabelNameChanged struct { RepositoryDefaultLabelNameChanged *PayloadRepositoryDefaultLabelNameChanged `protobuf:"bytes,46,opt,name=repository_default_label_name_changed,json=repositoryDefaultLabelNameChanged,proto3,oneof"` } -type Event_PluginCreated struct { +type event_PluginCreated struct { PluginCreated *PayloadPluginCreated `protobuf:"bytes,19,opt,name=plugin_created,json=pluginCreated,proto3,oneof"` } -type Event_PluginDeleted struct { +type event_PluginDeleted struct { PluginDeleted *PayloadPluginDeleted `protobuf:"bytes,20,opt,name=plugin_deleted,json=pluginDeleted,proto3,oneof"` } -type Event_PluginCommitPushed struct { +type event_PluginCommitPushed struct { PluginCommitPushed *PayloadPluginCommitPushed `protobuf:"bytes,49,opt,name=plugin_commit_pushed,json=pluginCommitPushed,proto3,oneof"` } -type Event_UserCreated struct { +type event_UserCreated struct { UserCreated *PayloadUserCreated `protobuf:"bytes,21,opt,name=user_created,json=userCreated,proto3,oneof"` } -type Event_UserDeactivated struct { +type event_UserDeactivated struct { UserDeactivated *PayloadUserDeactivated `protobuf:"bytes,22,opt,name=user_deactivated,json=userDeactivated,proto3,oneof"` } -type Event_UserDeleted struct { +type event_UserDeleted struct { UserDeleted *PayloadUserDeleted `protobuf:"bytes,23,opt,name=user_deleted,json=userDeleted,proto3,oneof"` } -type Event_UserLoggedIn struct { +type event_UserLoggedIn struct { UserLoggedIn *PayloadUserLoggedIn `protobuf:"bytes,24,opt,name=user_logged_in,json=userLoggedIn,proto3,oneof"` } -type Event_UserLoggedOut struct { +type event_UserLoggedOut struct { UserLoggedOut *PayloadUserLoggedOut `protobuf:"bytes,25,opt,name=user_logged_out,json=userLoggedOut,proto3,oneof"` } -type Event_CuratedPluginCreated struct { +type event_CuratedPluginCreated struct { CuratedPluginCreated *PayloadCuratedPluginCreated `protobuf:"bytes,26,opt,name=curated_plugin_created,json=curatedPluginCreated,proto3,oneof"` } -type Event_IdpGroupAdded struct { +type event_IdpGroupAdded struct { IdpGroupAdded *PayloadOrganizationIDPGroupAdded `protobuf:"bytes,27,opt,name=idp_group_added,json=idpGroupAdded,proto3,oneof"` } -type Event_IdpGroupRemoved struct { +type event_IdpGroupRemoved struct { IdpGroupRemoved *PayloadOrganizationIDPGroupRemoved `protobuf:"bytes,28,opt,name=idp_group_removed,json=idpGroupRemoved,proto3,oneof"` } -type Event_TokenCreated struct { +type event_TokenCreated struct { TokenCreated *PayloadTokenCreated `protobuf:"bytes,29,opt,name=token_created,json=tokenCreated,proto3,oneof"` } -type Event_TokenDeleted struct { +type event_TokenDeleted struct { TokenDeleted *PayloadTokenDeleted `protobuf:"bytes,30,opt,name=token_deleted,json=tokenDeleted,proto3,oneof"` } -type Event_UserReactivated struct { +type event_UserReactivated struct { UserReactivated *PayloadUserReactivated `protobuf:"bytes,31,opt,name=user_reactivated,json=userReactivated,proto3,oneof"` } -type Event_ScimTokenCreated struct { +type event_ScimTokenCreated struct { ScimTokenCreated *PayloadSCIMTokenCreated `protobuf:"bytes,32,opt,name=scim_token_created,json=scimTokenCreated,proto3,oneof"` } -type Event_ScimTokenDeleted struct { +type event_ScimTokenDeleted struct { ScimTokenDeleted *PayloadSCIMTokenDeleted `protobuf:"bytes,33,opt,name=scim_token_deleted,json=scimTokenDeleted,proto3,oneof"` } -type Event_RepositoryCommitDeleted struct { +type event_RepositoryCommitDeleted struct { RepositoryCommitDeleted *PayloadRepositoryCommitDeleted `protobuf:"bytes,34,opt,name=repository_commit_deleted,json=repositoryCommitDeleted,proto3,oneof"` } -type Event_RepositoryLabelCreated struct { +type event_RepositoryLabelCreated struct { RepositoryLabelCreated *PayloadRepositoryLabelCreated `protobuf:"bytes,35,opt,name=repository_label_created,json=repositoryLabelCreated,proto3,oneof"` } -type Event_RepositoryLabelMoved struct { +type event_RepositoryLabelMoved struct { RepositoryLabelMoved *PayloadRepositoryLabelMoved `protobuf:"bytes,36,opt,name=repository_label_moved,json=repositoryLabelMoved,proto3,oneof"` } -type Event_RepositoryLabelArchived struct { +type event_RepositoryLabelArchived struct { RepositoryLabelArchived *PayloadRepositoryLabelArchived `protobuf:"bytes,44,opt,name=repository_label_archived,json=repositoryLabelArchived,proto3,oneof"` } -type Event_RepositoryLabelUnarchived struct { +type event_RepositoryLabelUnarchived struct { RepositoryLabelUnarchived *PayloadRepositoryLabelUnarchived `protobuf:"bytes,45,opt,name=repository_label_unarchived,json=repositoryLabelUnarchived,proto3,oneof"` } -type Event_CuratedPluginDeleted struct { +type event_CuratedPluginDeleted struct { CuratedPluginDeleted *PayloadCuratedPluginDeleted `protobuf:"bytes,37,opt,name=curated_plugin_deleted,json=curatedPluginDeleted,proto3,oneof"` } -type Event_PayloadServerBreakingChangePolicyEnabled struct { +type event_PayloadServerBreakingChangePolicyEnabled struct { PayloadServerBreakingChangePolicyEnabled *PayloadServerBreakingChangePolicyEnabled `protobuf:"bytes,38,opt,name=payload_server_breaking_change_policy_enabled,json=payloadServerBreakingChangePolicyEnabled,proto3,oneof"` } -type Event_PayloadServerBreakingChangePolicyDisabled struct { +type event_PayloadServerBreakingChangePolicyDisabled struct { PayloadServerBreakingChangePolicyDisabled *PayloadServerBreakingChangePolicyDisabled `protobuf:"bytes,39,opt,name=payload_server_breaking_change_policy_disabled,json=payloadServerBreakingChangePolicyDisabled,proto3,oneof"` } -type Event_RepositoryDefaultBranchChanged struct { +type event_RepositoryDefaultBranchChanged struct { // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. RepositoryDefaultBranchChanged *PayloadRepositoryDefaultBranchChanged `protobuf:"bytes,40,opt,name=repository_default_branch_changed,json=repositoryDefaultBranchChanged,proto3,oneof"` } -type Event_PayloadServerUniquenessPolicyEnabled struct { +type event_PayloadServerUniquenessPolicyEnabled struct { PayloadServerUniquenessPolicyEnabled *PayloadServerUniquenessPolicyEnabled `protobuf:"bytes,41,opt,name=payload_server_uniqueness_policy_enabled,json=payloadServerUniquenessPolicyEnabled,proto3,oneof"` } -type Event_PayloadServerUniquenessPolicyDisabled struct { +type event_PayloadServerUniquenessPolicyDisabled struct { PayloadServerUniquenessPolicyDisabled *PayloadServerUniquenessPolicyDisabled `protobuf:"bytes,42,opt,name=payload_server_uniqueness_policy_disabled,json=payloadServerUniquenessPolicyDisabled,proto3,oneof"` } -type Event_UserAutoMergedFromNewIdp struct { +type event_UserAutoMergedFromNewIdp struct { UserAutoMergedFromNewIdp *PayloadUserAutoMergedFromNewIdP `protobuf:"bytes,43,opt,name=user_auto_merged_from_new_idp,json=userAutoMergedFromNewIdp,proto3,oneof"` } -type Event_DeviceAuthorizationGrantApproved struct { +type event_DeviceAuthorizationGrantApproved struct { DeviceAuthorizationGrantApproved *PayloadDeviceAuthorizationGrantApproved `protobuf:"bytes,47,opt,name=device_authorization_grant_approved,json=deviceAuthorizationGrantApproved,proto3,oneof"` } -type Event_DeviceAuthorizationGrantDenied struct { +type event_DeviceAuthorizationGrantDenied struct { DeviceAuthorizationGrantDenied *PayloadDeviceAuthorizationGrantDenied `protobuf:"bytes,48,opt,name=device_authorization_grant_denied,json=deviceAuthorizationGrantDenied,proto3,oneof"` } -type Event_PluginLabelCreated struct { +type event_PluginLabelCreated struct { PluginLabelCreated *PayloadPluginLabelCreated `protobuf:"bytes,50,opt,name=plugin_label_created,json=pluginLabelCreated,proto3,oneof"` } -type Event_PluginLabelMoved struct { +type event_PluginLabelMoved struct { PluginLabelMoved *PayloadPluginLabelMoved `protobuf:"bytes,51,opt,name=plugin_label_moved,json=pluginLabelMoved,proto3,oneof"` } -type Event_PluginLabelArchived struct { +type event_PluginLabelArchived struct { PluginLabelArchived *PayloadPluginLabelArchived `protobuf:"bytes,52,opt,name=plugin_label_archived,json=pluginLabelArchived,proto3,oneof"` } -type Event_PluginLabelUnarchived struct { +type event_PluginLabelUnarchived struct { PluginLabelUnarchived *PayloadPluginLabelUnarchived `protobuf:"bytes,53,opt,name=plugin_label_unarchived,json=pluginLabelUnarchived,proto3,oneof"` } -func (*Event_OrganizationCreated) isEvent_Payload() {} +func (*event_OrganizationCreated) isEvent_Payload() {} -func (*Event_OrganizationDeleted) isEvent_Payload() {} +func (*event_OrganizationDeleted) isEvent_Payload() {} -func (*Event_OrganizationMemberAdded) isEvent_Payload() {} +func (*event_OrganizationMemberAdded) isEvent_Payload() {} -func (*Event_OrganizationMemberRoleChanged) isEvent_Payload() {} +func (*event_OrganizationMemberRoleChanged) isEvent_Payload() {} -func (*Event_OrganizationMemberRemoved) isEvent_Payload() {} +func (*event_OrganizationMemberRemoved) isEvent_Payload() {} -func (*Event_RepositoryCreated) isEvent_Payload() {} +func (*event_RepositoryCreated) isEvent_Payload() {} -func (*Event_RepositoryDeprecated) isEvent_Payload() {} +func (*event_RepositoryDeprecated) isEvent_Payload() {} -func (*Event_RepositoryUndeprecated) isEvent_Payload() {} +func (*event_RepositoryUndeprecated) isEvent_Payload() {} -func (*Event_RepositoryDeleted) isEvent_Payload() {} +func (*event_RepositoryDeleted) isEvent_Payload() {} -func (*Event_RepositoryCommitPushed) isEvent_Payload() {} +func (*event_RepositoryCommitPushed) isEvent_Payload() {} -func (*Event_RepositoryContributorAdded) isEvent_Payload() {} +func (*event_RepositoryContributorAdded) isEvent_Payload() {} -func (*Event_RepositoryContributorRoleChanged) isEvent_Payload() {} +func (*event_RepositoryContributorRoleChanged) isEvent_Payload() {} -func (*Event_RepositoryContributorRemoved) isEvent_Payload() {} +func (*event_RepositoryContributorRemoved) isEvent_Payload() {} -func (*Event_RepositoryVisibilityChanged) isEvent_Payload() {} +func (*event_RepositoryVisibilityChanged) isEvent_Payload() {} -func (*Event_RepositoryDefaultLabelNameChanged) isEvent_Payload() {} +func (*event_RepositoryDefaultLabelNameChanged) isEvent_Payload() {} -func (*Event_PluginCreated) isEvent_Payload() {} +func (*event_PluginCreated) isEvent_Payload() {} -func (*Event_PluginDeleted) isEvent_Payload() {} +func (*event_PluginDeleted) isEvent_Payload() {} -func (*Event_PluginCommitPushed) isEvent_Payload() {} +func (*event_PluginCommitPushed) isEvent_Payload() {} -func (*Event_UserCreated) isEvent_Payload() {} +func (*event_UserCreated) isEvent_Payload() {} -func (*Event_UserDeactivated) isEvent_Payload() {} +func (*event_UserDeactivated) isEvent_Payload() {} -func (*Event_UserDeleted) isEvent_Payload() {} +func (*event_UserDeleted) isEvent_Payload() {} -func (*Event_UserLoggedIn) isEvent_Payload() {} +func (*event_UserLoggedIn) isEvent_Payload() {} -func (*Event_UserLoggedOut) isEvent_Payload() {} +func (*event_UserLoggedOut) isEvent_Payload() {} -func (*Event_CuratedPluginCreated) isEvent_Payload() {} +func (*event_CuratedPluginCreated) isEvent_Payload() {} -func (*Event_IdpGroupAdded) isEvent_Payload() {} +func (*event_IdpGroupAdded) isEvent_Payload() {} -func (*Event_IdpGroupRemoved) isEvent_Payload() {} +func (*event_IdpGroupRemoved) isEvent_Payload() {} -func (*Event_TokenCreated) isEvent_Payload() {} +func (*event_TokenCreated) isEvent_Payload() {} -func (*Event_TokenDeleted) isEvent_Payload() {} +func (*event_TokenDeleted) isEvent_Payload() {} -func (*Event_UserReactivated) isEvent_Payload() {} +func (*event_UserReactivated) isEvent_Payload() {} -func (*Event_ScimTokenCreated) isEvent_Payload() {} +func (*event_ScimTokenCreated) isEvent_Payload() {} -func (*Event_ScimTokenDeleted) isEvent_Payload() {} +func (*event_ScimTokenDeleted) isEvent_Payload() {} -func (*Event_RepositoryCommitDeleted) isEvent_Payload() {} +func (*event_RepositoryCommitDeleted) isEvent_Payload() {} -func (*Event_RepositoryLabelCreated) isEvent_Payload() {} +func (*event_RepositoryLabelCreated) isEvent_Payload() {} -func (*Event_RepositoryLabelMoved) isEvent_Payload() {} +func (*event_RepositoryLabelMoved) isEvent_Payload() {} -func (*Event_RepositoryLabelArchived) isEvent_Payload() {} +func (*event_RepositoryLabelArchived) isEvent_Payload() {} -func (*Event_RepositoryLabelUnarchived) isEvent_Payload() {} +func (*event_RepositoryLabelUnarchived) isEvent_Payload() {} -func (*Event_CuratedPluginDeleted) isEvent_Payload() {} +func (*event_CuratedPluginDeleted) isEvent_Payload() {} -func (*Event_PayloadServerBreakingChangePolicyEnabled) isEvent_Payload() {} +func (*event_PayloadServerBreakingChangePolicyEnabled) isEvent_Payload() {} -func (*Event_PayloadServerBreakingChangePolicyDisabled) isEvent_Payload() {} +func (*event_PayloadServerBreakingChangePolicyDisabled) isEvent_Payload() {} -func (*Event_RepositoryDefaultBranchChanged) isEvent_Payload() {} +func (*event_RepositoryDefaultBranchChanged) isEvent_Payload() {} -func (*Event_PayloadServerUniquenessPolicyEnabled) isEvent_Payload() {} +func (*event_PayloadServerUniquenessPolicyEnabled) isEvent_Payload() {} -func (*Event_PayloadServerUniquenessPolicyDisabled) isEvent_Payload() {} +func (*event_PayloadServerUniquenessPolicyDisabled) isEvent_Payload() {} -func (*Event_UserAutoMergedFromNewIdp) isEvent_Payload() {} +func (*event_UserAutoMergedFromNewIdp) isEvent_Payload() {} -func (*Event_DeviceAuthorizationGrantApproved) isEvent_Payload() {} +func (*event_DeviceAuthorizationGrantApproved) isEvent_Payload() {} -func (*Event_DeviceAuthorizationGrantDenied) isEvent_Payload() {} +func (*event_DeviceAuthorizationGrantDenied) isEvent_Payload() {} -func (*Event_PluginLabelCreated) isEvent_Payload() {} +func (*event_PluginLabelCreated) isEvent_Payload() {} -func (*Event_PluginLabelMoved) isEvent_Payload() {} +func (*event_PluginLabelMoved) isEvent_Payload() {} -func (*Event_PluginLabelArchived) isEvent_Payload() {} +func (*event_PluginLabelArchived) isEvent_Payload() {} -func (*Event_PluginLabelUnarchived) isEvent_Payload() {} +func (*event_PluginLabelUnarchived) isEvent_Payload() {} type PayloadOrganizationCreated struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3127,7 +3050,7 @@ func (b0 PayloadOrganizationCreated_builder) Build() *PayloadOrganizationCreated } type PayloadOrganizationDeleted struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3170,17 +3093,13 @@ func (b0 PayloadOrganizationDeleted_builder) Build() *PayloadOrganizationDeleted } type PayloadOrganizationMemberAdded struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` - // member_role is the role granted to the member added to the organization. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` + xxx_hidden_MemberRole v1alpha1.OrganizationRole `protobuf:"varint,3,opt,name=member_role,json=memberRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"member_role,omitempty"` + xxx_hidden_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() { @@ -3210,46 +3129,46 @@ func (x *PayloadOrganizationMemberAdded) ProtoReflect() protoreflect.Message { func (x *PayloadOrganizationMemberAdded) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *PayloadOrganizationMemberAdded) GetOrganizationName() string { if x != nil { - return x.OrganizationName + return x.xxx_hidden_OrganizationName } return "" } func (x *PayloadOrganizationMemberAdded) GetMemberRole() v1alpha1.OrganizationRole { if x != nil { - return x.MemberRole + return x.xxx_hidden_MemberRole } return v1alpha1.OrganizationRole(0) } func (x *PayloadOrganizationMemberAdded) GetMemberRoleSource() v1alpha1.OrganizationRoleSource { if x != nil { - return x.MemberRoleSource + return x.xxx_hidden_MemberRoleSource } return v1alpha1.OrganizationRoleSource(0) } func (x *PayloadOrganizationMemberAdded) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *PayloadOrganizationMemberAdded) SetOrganizationName(v string) { - x.OrganizationName = v + x.xxx_hidden_OrganizationName = v } func (x *PayloadOrganizationMemberAdded) SetMemberRole(v v1alpha1.OrganizationRole) { - x.MemberRole = v + x.xxx_hidden_MemberRole = v } func (x *PayloadOrganizationMemberAdded) SetMemberRoleSource(v v1alpha1.OrganizationRoleSource) { - x.MemberRoleSource = v + x.xxx_hidden_MemberRoleSource = v } type PayloadOrganizationMemberAdded_builder struct { @@ -3269,29 +3188,23 @@ func (b0 PayloadOrganizationMemberAdded_builder) Build() *PayloadOrganizationMem m0 := &PayloadOrganizationMemberAdded{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.OrganizationName = b.OrganizationName - x.MemberRole = b.MemberRole - x.MemberRoleSource = b.MemberRoleSource + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationName = b.OrganizationName + x.xxx_hidden_MemberRole = b.MemberRole + x.xxx_hidden_MemberRoleSource = b.MemberRoleSource return m0 } type PayloadOrganizationMemberRoleChanged struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` - // old_role is the old role of the member whose role was changed. - OldRole v1alpha1.OrganizationRole `protobuf:"varint,3,opt,name=old_role,json=oldRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"old_role,omitempty"` - // new_role is the new role of the member whose role was changed. - NewRole v1alpha1.OrganizationRole `protobuf:"varint,4,opt,name=new_role,json=newRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"new_role,omitempty"` - // old_member_role_source is the old source of the role granted to the member. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` + xxx_hidden_OldRole v1alpha1.OrganizationRole `protobuf:"varint,3,opt,name=old_role,json=oldRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"old_role,omitempty"` + xxx_hidden_NewRole v1alpha1.OrganizationRole `protobuf:"varint,4,opt,name=new_role,json=newRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"new_role,omitempty"` + xxx_hidden_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"` + xxx_hidden_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() { @@ -3321,68 +3234,68 @@ func (x *PayloadOrganizationMemberRoleChanged) ProtoReflect() protoreflect.Messa func (x *PayloadOrganizationMemberRoleChanged) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *PayloadOrganizationMemberRoleChanged) GetOrganizationName() string { if x != nil { - return x.OrganizationName + return x.xxx_hidden_OrganizationName } return "" } func (x *PayloadOrganizationMemberRoleChanged) GetOldRole() v1alpha1.OrganizationRole { if x != nil { - return x.OldRole + return x.xxx_hidden_OldRole } return v1alpha1.OrganizationRole(0) } func (x *PayloadOrganizationMemberRoleChanged) GetNewRole() v1alpha1.OrganizationRole { if x != nil { - return x.NewRole + return x.xxx_hidden_NewRole } return v1alpha1.OrganizationRole(0) } func (x *PayloadOrganizationMemberRoleChanged) GetOldMemberRoleSource() v1alpha1.OrganizationRoleSource { if x != nil { - return x.OldMemberRoleSource + return x.xxx_hidden_OldMemberRoleSource } return v1alpha1.OrganizationRoleSource(0) } func (x *PayloadOrganizationMemberRoleChanged) GetNewMemberRoleSource() v1alpha1.OrganizationRoleSource { if x != nil { - return x.NewMemberRoleSource + return x.xxx_hidden_NewMemberRoleSource } return v1alpha1.OrganizationRoleSource(0) } func (x *PayloadOrganizationMemberRoleChanged) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *PayloadOrganizationMemberRoleChanged) SetOrganizationName(v string) { - x.OrganizationName = v + x.xxx_hidden_OrganizationName = v } func (x *PayloadOrganizationMemberRoleChanged) SetOldRole(v v1alpha1.OrganizationRole) { - x.OldRole = v + x.xxx_hidden_OldRole = v } func (x *PayloadOrganizationMemberRoleChanged) SetNewRole(v v1alpha1.OrganizationRole) { - x.NewRole = v + x.xxx_hidden_NewRole = v } func (x *PayloadOrganizationMemberRoleChanged) SetOldMemberRoleSource(v v1alpha1.OrganizationRoleSource) { - x.OldMemberRoleSource = v + x.xxx_hidden_OldMemberRoleSource = v } func (x *PayloadOrganizationMemberRoleChanged) SetNewMemberRoleSource(v v1alpha1.OrganizationRoleSource) { - x.NewMemberRoleSource = v + x.xxx_hidden_NewMemberRoleSource = v } type PayloadOrganizationMemberRoleChanged_builder struct { @@ -3406,27 +3319,23 @@ func (b0 PayloadOrganizationMemberRoleChanged_builder) Build() *PayloadOrganizat m0 := &PayloadOrganizationMemberRoleChanged{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.OrganizationName = b.OrganizationName - x.OldRole = b.OldRole - x.NewRole = b.NewRole - x.OldMemberRoleSource = b.OldMemberRoleSource - x.NewMemberRoleSource = b.NewMemberRoleSource + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationName = b.OrganizationName + x.xxx_hidden_OldRole = b.OldRole + x.xxx_hidden_NewRole = b.NewRole + x.xxx_hidden_OldMemberRoleSource = b.OldMemberRoleSource + x.xxx_hidden_NewMemberRoleSource = b.NewMemberRoleSource return m0 } type PayloadOrganizationMemberRemoved struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` - // member_role is the role that the member had when removed from the organization. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` + xxx_hidden_MemberRole v1alpha1.OrganizationRole `protobuf:"varint,3,opt,name=member_role,json=memberRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"member_role,omitempty"` + xxx_hidden_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() { @@ -3456,46 +3365,46 @@ func (x *PayloadOrganizationMemberRemoved) ProtoReflect() protoreflect.Message { func (x *PayloadOrganizationMemberRemoved) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *PayloadOrganizationMemberRemoved) GetOrganizationName() string { if x != nil { - return x.OrganizationName + return x.xxx_hidden_OrganizationName } return "" } func (x *PayloadOrganizationMemberRemoved) GetMemberRole() v1alpha1.OrganizationRole { if x != nil { - return x.MemberRole + return x.xxx_hidden_MemberRole } return v1alpha1.OrganizationRole(0) } func (x *PayloadOrganizationMemberRemoved) GetMemberRoleSource() v1alpha1.OrganizationRoleSource { if x != nil { - return x.MemberRoleSource + return x.xxx_hidden_MemberRoleSource } return v1alpha1.OrganizationRoleSource(0) } func (x *PayloadOrganizationMemberRemoved) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *PayloadOrganizationMemberRemoved) SetOrganizationName(v string) { - x.OrganizationName = v + x.xxx_hidden_OrganizationName = v } func (x *PayloadOrganizationMemberRemoved) SetMemberRole(v v1alpha1.OrganizationRole) { - x.MemberRole = v + x.xxx_hidden_MemberRole = v } func (x *PayloadOrganizationMemberRemoved) SetMemberRoleSource(v v1alpha1.OrganizationRoleSource) { - x.MemberRoleSource = v + x.xxx_hidden_MemberRoleSource = v } type PayloadOrganizationMemberRemoved_builder struct { @@ -3515,21 +3424,19 @@ func (b0 PayloadOrganizationMemberRemoved_builder) Build() *PayloadOrganizationM m0 := &PayloadOrganizationMemberRemoved{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.OrganizationName = b.OrganizationName - x.MemberRole = b.MemberRole - x.MemberRoleSource = b.MemberRoleSource + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationName = b.OrganizationName + x.xxx_hidden_MemberRole = b.MemberRole + x.xxx_hidden_MemberRoleSource = b.MemberRoleSource return m0 } type PayloadOrganizationIDPGroupAdded struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_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() { @@ -3559,24 +3466,24 @@ func (x *PayloadOrganizationIDPGroupAdded) ProtoReflect() protoreflect.Message { func (x *PayloadOrganizationIDPGroupAdded) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *PayloadOrganizationIDPGroupAdded) GetOrganizationName() string { if x != nil { - return x.OrganizationName + return x.xxx_hidden_OrganizationName } return "" } func (x *PayloadOrganizationIDPGroupAdded) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *PayloadOrganizationIDPGroupAdded) SetOrganizationName(v string) { - x.OrganizationName = v + x.xxx_hidden_OrganizationName = v } type PayloadOrganizationIDPGroupAdded_builder struct { @@ -3592,19 +3499,17 @@ func (b0 PayloadOrganizationIDPGroupAdded_builder) Build() *PayloadOrganizationI m0 := &PayloadOrganizationIDPGroupAdded{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.OrganizationName = b.OrganizationName + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationName = b.OrganizationName return m0 } type PayloadOrganizationIDPGroupRemoved struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_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() { @@ -3634,24 +3539,24 @@ func (x *PayloadOrganizationIDPGroupRemoved) ProtoReflect() protoreflect.Message func (x *PayloadOrganizationIDPGroupRemoved) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *PayloadOrganizationIDPGroupRemoved) GetOrganizationName() string { if x != nil { - return x.OrganizationName + return x.xxx_hidden_OrganizationName } return "" } func (x *PayloadOrganizationIDPGroupRemoved) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *PayloadOrganizationIDPGroupRemoved) SetOrganizationName(v string) { - x.OrganizationName = v + x.xxx_hidden_OrganizationName = v } type PayloadOrganizationIDPGroupRemoved_builder struct { @@ -3667,24 +3572,19 @@ func (b0 PayloadOrganizationIDPGroupRemoved_builder) Build() *PayloadOrganizatio m0 := &PayloadOrganizationIDPGroupRemoved{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.OrganizationName = b.OrganizationName + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationName = b.OrganizationName return m0 } type PayloadRepositoryCreated struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` + xxx_hidden_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() { @@ -3714,46 +3614,46 @@ func (x *PayloadRepositoryCreated) ProtoReflect() protoreflect.Message { func (x *PayloadRepositoryCreated) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryCreated) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryCreated) GetVisibility() v1alpha1.Visibility { if x != nil { - return x.Visibility + return x.xxx_hidden_Visibility } return v1alpha1.Visibility(0) } func (x *PayloadRepositoryCreated) GetDefaultLabelName() string { if x != nil { - return x.DefaultLabelName + return x.xxx_hidden_DefaultLabelName } return "" } func (x *PayloadRepositoryCreated) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryCreated) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryCreated) SetVisibility(v v1alpha1.Visibility) { - x.Visibility = v + x.xxx_hidden_Visibility = v } func (x *PayloadRepositoryCreated) SetDefaultLabelName(v string) { - x.DefaultLabelName = v + x.xxx_hidden_DefaultLabelName = v } type PayloadRepositoryCreated_builder struct { @@ -3774,23 +3674,20 @@ func (b0 PayloadRepositoryCreated_builder) Build() *PayloadRepositoryCreated { m0 := &PayloadRepositoryCreated{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.Visibility = b.Visibility - x.DefaultLabelName = b.DefaultLabelName + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_Visibility = b.Visibility + x.xxx_hidden_DefaultLabelName = b.DefaultLabelName return m0 } type PayloadRepositoryDeleted struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_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() { @@ -3820,35 +3717,35 @@ func (x *PayloadRepositoryDeleted) ProtoReflect() protoreflect.Message { func (x *PayloadRepositoryDeleted) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryDeleted) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryDeleted) GetVisibility() v1alpha1.Visibility { if x != nil { - return x.Visibility + return x.xxx_hidden_Visibility } return v1alpha1.Visibility(0) } func (x *PayloadRepositoryDeleted) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryDeleted) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryDeleted) SetVisibility(v v1alpha1.Visibility) { - x.Visibility = v + x.xxx_hidden_Visibility = v } type PayloadRepositoryDeleted_builder struct { @@ -3866,24 +3763,20 @@ func (b0 PayloadRepositoryDeleted_builder) Build() *PayloadRepositoryDeleted { m0 := &PayloadRepositoryDeleted{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.Visibility = b.Visibility + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_Visibility = b.Visibility return m0 } type PayloadRepositoryDeprecated struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` + xxx_hidden_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() { @@ -3913,46 +3806,46 @@ func (x *PayloadRepositoryDeprecated) ProtoReflect() protoreflect.Message { func (x *PayloadRepositoryDeprecated) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryDeprecated) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryDeprecated) GetVisibility() v1alpha1.Visibility { if x != nil { - return x.Visibility + return x.xxx_hidden_Visibility } return v1alpha1.Visibility(0) } func (x *PayloadRepositoryDeprecated) GetDeprecationMessage() string { if x != nil { - return x.DeprecationMessage + return x.xxx_hidden_DeprecationMessage } return "" } func (x *PayloadRepositoryDeprecated) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryDeprecated) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryDeprecated) SetVisibility(v v1alpha1.Visibility) { - x.Visibility = v + x.xxx_hidden_Visibility = v } func (x *PayloadRepositoryDeprecated) SetDeprecationMessage(v string) { - x.DeprecationMessage = v + x.xxx_hidden_DeprecationMessage = v } type PayloadRepositoryDeprecated_builder struct { @@ -3972,23 +3865,20 @@ func (b0 PayloadRepositoryDeprecated_builder) Build() *PayloadRepositoryDeprecat m0 := &PayloadRepositoryDeprecated{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.Visibility = b.Visibility - x.DeprecationMessage = b.DeprecationMessage + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_Visibility = b.Visibility + x.xxx_hidden_DeprecationMessage = b.DeprecationMessage return m0 } type PayloadRepositoryUndeprecated struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_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() { @@ -4018,35 +3908,35 @@ func (x *PayloadRepositoryUndeprecated) ProtoReflect() protoreflect.Message { func (x *PayloadRepositoryUndeprecated) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryUndeprecated) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryUndeprecated) GetVisibility() v1alpha1.Visibility { if x != nil { - return x.Visibility + return x.xxx_hidden_Visibility } return v1alpha1.Visibility(0) } func (x *PayloadRepositoryUndeprecated) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryUndeprecated) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryUndeprecated) SetVisibility(v v1alpha1.Visibility) { - x.Visibility = v + x.xxx_hidden_Visibility = v } type PayloadRepositoryUndeprecated_builder struct { @@ -4064,32 +3954,24 @@ func (b0 PayloadRepositoryUndeprecated_builder) Build() *PayloadRepositoryUndepr m0 := &PayloadRepositoryUndeprecated{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.Visibility = b.Visibility + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_Visibility = b.Visibility return m0 } type PayloadRepositoryCommitPushed struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // repository_id is the id of the repository within which the commit was created. - RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - // repository_name is the name of the repository within which the commit was created. - RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - // tags are the tags included in the push. Optional. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - // draft_name is the name of the draft. Optional. - DraftName string `protobuf:"bytes,6,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + xxx_hidden_DraftName string `protobuf:"bytes,6,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` + xxx_hidden_ManifestDigest string `protobuf:"bytes,7,opt,name=manifest_digest,json=manifestDigest,proto3" json:"manifest_digest,omitempty"` + xxx_hidden_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() { @@ -4119,90 +4001,90 @@ func (x *PayloadRepositoryCommitPushed) ProtoReflect() protoreflect.Message { func (x *PayloadRepositoryCommitPushed) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryCommitPushed) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryCommitPushed) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *PayloadRepositoryCommitPushed) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *PayloadRepositoryCommitPushed) GetTags() []string { if x != nil { - return x.Tags + return x.xxx_hidden_Tags } return nil } func (x *PayloadRepositoryCommitPushed) GetDraftName() string { if x != nil { - return x.DraftName + return x.xxx_hidden_DraftName } return "" } func (x *PayloadRepositoryCommitPushed) GetManifestDigest() string { if x != nil { - return x.ManifestDigest + return x.xxx_hidden_ManifestDigest } return "" } func (x *PayloadRepositoryCommitPushed) GetB5Digest() string { if x != nil { - return x.B5Digest + return x.xxx_hidden_B5Digest } return "" } func (x *PayloadRepositoryCommitPushed) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryCommitPushed) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryCommitPushed) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *PayloadRepositoryCommitPushed) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *PayloadRepositoryCommitPushed) SetTags(v []string) { - x.Tags = v + x.xxx_hidden_Tags = v } func (x *PayloadRepositoryCommitPushed) SetDraftName(v string) { - x.DraftName = v + x.xxx_hidden_DraftName = v } func (x *PayloadRepositoryCommitPushed) SetManifestDigest(v string) { - x.ManifestDigest = v + x.xxx_hidden_ManifestDigest = v } func (x *PayloadRepositoryCommitPushed) SetB5Digest(v string) { - x.B5Digest = v + x.xxx_hidden_B5Digest = v } type PayloadRepositoryCommitPushed_builder struct { @@ -4230,31 +4112,26 @@ func (b0 PayloadRepositoryCommitPushed_builder) Build() *PayloadRepositoryCommit m0 := &PayloadRepositoryCommitPushed{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.RepositoryId = b.RepositoryId - x.RepositoryName = b.RepositoryName - x.Tags = b.Tags - x.DraftName = b.DraftName - x.ManifestDigest = b.ManifestDigest - x.B5Digest = b.B5Digest + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_Tags = b.Tags + x.xxx_hidden_DraftName = b.DraftName + x.xxx_hidden_ManifestDigest = b.ManifestDigest + x.xxx_hidden_B5Digest = b.B5Digest return m0 } type PayloadRepositoryContributorAdded struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // repository_id is the id of the repository with the new contributor. - RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - // repository_name is the name of the repository with the new contributor. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_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() { @@ -4284,57 +4161,57 @@ func (x *PayloadRepositoryContributorAdded) ProtoReflect() protoreflect.Message func (x *PayloadRepositoryContributorAdded) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryContributorAdded) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryContributorAdded) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *PayloadRepositoryContributorAdded) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *PayloadRepositoryContributorAdded) GetContributorRole() v1alpha1.RepositoryRole { if x != nil { - return x.ContributorRole + return x.xxx_hidden_ContributorRole } return v1alpha1.RepositoryRole(0) } func (x *PayloadRepositoryContributorAdded) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryContributorAdded) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryContributorAdded) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *PayloadRepositoryContributorAdded) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *PayloadRepositoryContributorAdded) SetContributorRole(v v1alpha1.RepositoryRole) { - x.ContributorRole = v + x.xxx_hidden_ContributorRole = v } type PayloadRepositoryContributorAdded_builder struct { @@ -4356,30 +4233,24 @@ func (b0 PayloadRepositoryContributorAdded_builder) Build() *PayloadRepositoryCo m0 := &PayloadRepositoryContributorAdded{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.RepositoryId = b.RepositoryId - x.RepositoryName = b.RepositoryName - x.ContributorRole = b.ContributorRole + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_ContributorRole = b.ContributorRole return m0 } type PayloadRepositoryContributorRoleChanged struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // repository_id is the id of the repository within which the role was changed. - RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - // repository_name is the name of the repository within which the role was changed. - RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_OldRole v1alpha1.RepositoryRole `protobuf:"varint,5,opt,name=old_role,json=oldRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"old_role,omitempty"` + xxx_hidden_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() { @@ -4409,68 +4280,68 @@ func (x *PayloadRepositoryContributorRoleChanged) ProtoReflect() protoreflect.Me func (x *PayloadRepositoryContributorRoleChanged) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryContributorRoleChanged) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryContributorRoleChanged) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *PayloadRepositoryContributorRoleChanged) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *PayloadRepositoryContributorRoleChanged) GetOldRole() v1alpha1.RepositoryRole { if x != nil { - return x.OldRole + return x.xxx_hidden_OldRole } return v1alpha1.RepositoryRole(0) } func (x *PayloadRepositoryContributorRoleChanged) GetNewRole() v1alpha1.RepositoryRole { if x != nil { - return x.NewRole + return x.xxx_hidden_NewRole } return v1alpha1.RepositoryRole(0) } func (x *PayloadRepositoryContributorRoleChanged) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryContributorRoleChanged) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryContributorRoleChanged) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *PayloadRepositoryContributorRoleChanged) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *PayloadRepositoryContributorRoleChanged) SetOldRole(v v1alpha1.RepositoryRole) { - x.OldRole = v + x.xxx_hidden_OldRole = v } func (x *PayloadRepositoryContributorRoleChanged) SetNewRole(v v1alpha1.RepositoryRole) { - x.NewRole = v + x.xxx_hidden_NewRole = v } type PayloadRepositoryContributorRoleChanged_builder struct { @@ -4494,29 +4365,24 @@ func (b0 PayloadRepositoryContributorRoleChanged_builder) Build() *PayloadReposi m0 := &PayloadRepositoryContributorRoleChanged{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.RepositoryId = b.RepositoryId - x.RepositoryName = b.RepositoryName - x.OldRole = b.OldRole - x.NewRole = b.NewRole + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_OldRole = b.OldRole + x.xxx_hidden_NewRole = b.NewRole return m0 } type PayloadRepositoryContributorRemoved struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // repository_id is the id of the repository that the contributor was removed from. - RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - // repository_name is the name of the repository that the contributor was removed from. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_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() { @@ -4546,57 +4412,57 @@ func (x *PayloadRepositoryContributorRemoved) ProtoReflect() protoreflect.Messag func (x *PayloadRepositoryContributorRemoved) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryContributorRemoved) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryContributorRemoved) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *PayloadRepositoryContributorRemoved) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *PayloadRepositoryContributorRemoved) GetContributorRole() v1alpha1.RepositoryRole { if x != nil { - return x.ContributorRole + return x.xxx_hidden_ContributorRole } return v1alpha1.RepositoryRole(0) } func (x *PayloadRepositoryContributorRemoved) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryContributorRemoved) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryContributorRemoved) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *PayloadRepositoryContributorRemoved) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *PayloadRepositoryContributorRemoved) SetContributorRole(v v1alpha1.RepositoryRole) { - x.ContributorRole = v + x.xxx_hidden_ContributorRole = v } type PayloadRepositoryContributorRemoved_builder struct { @@ -4618,26 +4484,22 @@ func (b0 PayloadRepositoryContributorRemoved_builder) Build() *PayloadRepository m0 := &PayloadRepositoryContributorRemoved{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.RepositoryId = b.RepositoryId - x.RepositoryName = b.RepositoryName - x.ContributorRole = b.ContributorRole + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_ContributorRole = b.ContributorRole return m0 } type PayloadRepositoryVisibilityChanged struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // old_visibility is the old visibility of the repository. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_OldVisibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=old_visibility,json=oldVisibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"old_visibility,omitempty"` + xxx_hidden_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() { @@ -4667,46 +4529,46 @@ func (x *PayloadRepositoryVisibilityChanged) ProtoReflect() protoreflect.Message func (x *PayloadRepositoryVisibilityChanged) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryVisibilityChanged) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryVisibilityChanged) GetOldVisibility() v1alpha1.Visibility { if x != nil { - return x.OldVisibility + return x.xxx_hidden_OldVisibility } return v1alpha1.Visibility(0) } func (x *PayloadRepositoryVisibilityChanged) GetNewVisibility() v1alpha1.Visibility { if x != nil { - return x.NewVisibility + return x.xxx_hidden_NewVisibility } return v1alpha1.Visibility(0) } func (x *PayloadRepositoryVisibilityChanged) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryVisibilityChanged) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryVisibilityChanged) SetOldVisibility(v v1alpha1.Visibility) { - x.OldVisibility = v + x.xxx_hidden_OldVisibility = v } func (x *PayloadRepositoryVisibilityChanged) SetNewVisibility(v v1alpha1.Visibility) { - x.NewVisibility = v + x.xxx_hidden_NewVisibility = v } type PayloadRepositoryVisibilityChanged_builder struct { @@ -4726,25 +4588,21 @@ func (b0 PayloadRepositoryVisibilityChanged_builder) Build() *PayloadRepositoryV m0 := &PayloadRepositoryVisibilityChanged{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.OldVisibility = b.OldVisibility - x.NewVisibility = b.NewVisibility + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_OldVisibility = b.OldVisibility + x.xxx_hidden_NewVisibility = b.NewVisibility return m0 } type PayloadRepositoryDefaultLabelNameChanged struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // old_default_label_name is the old default label name of the repository. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_OldDefaultLabelName string `protobuf:"bytes,3,opt,name=old_default_label_name,json=oldDefaultLabelName,proto3" json:"old_default_label_name,omitempty"` + xxx_hidden_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() { @@ -4774,46 +4632,46 @@ func (x *PayloadRepositoryDefaultLabelNameChanged) ProtoReflect() protoreflect.M func (x *PayloadRepositoryDefaultLabelNameChanged) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryDefaultLabelNameChanged) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryDefaultLabelNameChanged) GetOldDefaultLabelName() string { if x != nil { - return x.OldDefaultLabelName + return x.xxx_hidden_OldDefaultLabelName } return "" } func (x *PayloadRepositoryDefaultLabelNameChanged) GetNewDefaultLabelName() string { if x != nil { - return x.NewDefaultLabelName + return x.xxx_hidden_NewDefaultLabelName } return "" } func (x *PayloadRepositoryDefaultLabelNameChanged) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryDefaultLabelNameChanged) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryDefaultLabelNameChanged) SetOldDefaultLabelName(v string) { - x.OldDefaultLabelName = v + x.xxx_hidden_OldDefaultLabelName = v } func (x *PayloadRepositoryDefaultLabelNameChanged) SetNewDefaultLabelName(v string) { - x.NewDefaultLabelName = v + x.xxx_hidden_NewDefaultLabelName = v } type PayloadRepositoryDefaultLabelNameChanged_builder struct { @@ -4833,10 +4691,10 @@ func (b0 PayloadRepositoryDefaultLabelNameChanged_builder) Build() *PayloadRepos m0 := &PayloadRepositoryDefaultLabelNameChanged{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.OldDefaultLabelName = b.OldDefaultLabelName - x.NewDefaultLabelName = b.NewDefaultLabelName + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_OldDefaultLabelName = b.OldDefaultLabelName + x.xxx_hidden_NewDefaultLabelName = b.NewDefaultLabelName return m0 } @@ -4846,17 +4704,13 @@ func (b0 PayloadRepositoryDefaultLabelNameChanged_builder) Build() *PayloadRepos // // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. type PayloadRepositoryDefaultBranchChanged struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // old_default_branch is the old default branch of the repository. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_OldDefaultBranch string `protobuf:"bytes,3,opt,name=old_default_branch,json=oldDefaultBranch,proto3" json:"old_default_branch,omitempty"` + xxx_hidden_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() { @@ -4886,46 +4740,46 @@ func (x *PayloadRepositoryDefaultBranchChanged) ProtoReflect() protoreflect.Mess func (x *PayloadRepositoryDefaultBranchChanged) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryDefaultBranchChanged) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryDefaultBranchChanged) GetOldDefaultBranch() string { if x != nil { - return x.OldDefaultBranch + return x.xxx_hidden_OldDefaultBranch } return "" } func (x *PayloadRepositoryDefaultBranchChanged) GetNewDefaultBranch() string { if x != nil { - return x.NewDefaultBranch + return x.xxx_hidden_NewDefaultBranch } return "" } func (x *PayloadRepositoryDefaultBranchChanged) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryDefaultBranchChanged) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryDefaultBranchChanged) SetOldDefaultBranch(v string) { - x.OldDefaultBranch = v + x.xxx_hidden_OldDefaultBranch = v } func (x *PayloadRepositoryDefaultBranchChanged) SetNewDefaultBranch(v string) { - x.NewDefaultBranch = v + x.xxx_hidden_NewDefaultBranch = v } // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. @@ -4946,23 +4800,20 @@ func (b0 PayloadRepositoryDefaultBranchChanged_builder) Build() *PayloadReposito m0 := &PayloadRepositoryDefaultBranchChanged{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.OldDefaultBranch = b.OldDefaultBranch - x.NewDefaultBranch = b.NewDefaultBranch + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_OldDefaultBranch = b.OldDefaultBranch + x.xxx_hidden_NewDefaultBranch = b.NewDefaultBranch return m0 } type PayloadPluginCreated struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_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() { @@ -4992,35 +4843,35 @@ func (x *PayloadPluginCreated) ProtoReflect() protoreflect.Message { func (x *PayloadPluginCreated) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadPluginCreated) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadPluginCreated) GetPluginType() string { if x != nil { - return x.PluginType + return x.xxx_hidden_PluginType } return "" } func (x *PayloadPluginCreated) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadPluginCreated) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadPluginCreated) SetPluginType(v string) { - x.PluginType = v + x.xxx_hidden_PluginType = v } type PayloadPluginCreated_builder struct { @@ -5038,22 +4889,19 @@ func (b0 PayloadPluginCreated_builder) Build() *PayloadPluginCreated { m0 := &PayloadPluginCreated{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.PluginType = b.PluginType + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_PluginType = b.PluginType return m0 } type PayloadPluginDeleted struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_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() { @@ -5083,35 +4931,35 @@ func (x *PayloadPluginDeleted) ProtoReflect() protoreflect.Message { func (x *PayloadPluginDeleted) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadPluginDeleted) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadPluginDeleted) GetPluginType() string { if x != nil { - return x.PluginType + return x.xxx_hidden_PluginType } return "" } func (x *PayloadPluginDeleted) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadPluginDeleted) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadPluginDeleted) SetPluginType(v string) { - x.PluginType = v + x.xxx_hidden_PluginType = v } type PayloadPluginDeleted_builder struct { @@ -5129,26 +4977,21 @@ func (b0 PayloadPluginDeleted_builder) Build() *PayloadPluginDeleted { m0 := &PayloadPluginDeleted{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.PluginType = b.PluginType + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_PluginType = b.PluginType return m0 } type PayloadPluginCommitPushed struct { - state protoimpl.MessageState `protogen:"hybrid.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_id is the id of the plugin. - PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` + xxx_hidden_PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` + xxx_hidden_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() { @@ -5178,57 +5021,57 @@ func (x *PayloadPluginCommitPushed) ProtoReflect() protoreflect.Message { func (x *PayloadPluginCommitPushed) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadPluginCommitPushed) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadPluginCommitPushed) GetPluginId() string { if x != nil { - return x.PluginId + return x.xxx_hidden_PluginId } return "" } func (x *PayloadPluginCommitPushed) GetPluginName() string { if x != nil { - return x.PluginName + return x.xxx_hidden_PluginName } return "" } func (x *PayloadPluginCommitPushed) GetP1Digest() string { if x != nil { - return x.P1Digest + return x.xxx_hidden_P1Digest } return "" } func (x *PayloadPluginCommitPushed) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadPluginCommitPushed) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadPluginCommitPushed) SetPluginId(v string) { - x.PluginId = v + x.xxx_hidden_PluginId = v } func (x *PayloadPluginCommitPushed) SetPluginName(v string) { - x.PluginName = v + x.xxx_hidden_PluginName = v } func (x *PayloadPluginCommitPushed) SetP1Digest(v string) { - x.P1Digest = v + x.xxx_hidden_P1Digest = v } type PayloadPluginCommitPushed_builder struct { @@ -5250,16 +5093,16 @@ func (b0 PayloadPluginCommitPushed_builder) Build() *PayloadPluginCommitPushed { m0 := &PayloadPluginCommitPushed{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.PluginId = b.PluginId - x.PluginName = b.PluginName - x.P1Digest = b.P1Digest + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_PluginId = b.PluginId + x.xxx_hidden_PluginName = b.PluginName + x.xxx_hidden_P1Digest = b.P1Digest return m0 } type PayloadUserCreated struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5302,7 +5145,7 @@ func (b0 PayloadUserCreated_builder) Build() *PayloadUserCreated { } type PayloadUserReactivated struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5345,7 +5188,7 @@ func (b0 PayloadUserReactivated_builder) Build() *PayloadUserReactivated { } type PayloadUserDeactivated struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5388,7 +5231,7 @@ func (b0 PayloadUserDeactivated_builder) Build() *PayloadUserDeactivated { } type PayloadUserDeleted struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5431,7 +5274,7 @@ func (b0 PayloadUserDeleted_builder) Build() *PayloadUserDeleted { } type PayloadUserLoggedIn struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5474,7 +5317,7 @@ func (b0 PayloadUserLoggedIn_builder) Build() *PayloadUserLoggedIn { } type PayloadUserLoggedOut struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5521,7 +5364,7 @@ func (b0 PayloadUserLoggedOut_builder) Build() *PayloadUserLoggedOut { // 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 `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5564,13 +5407,11 @@ func (b0 PayloadUserAutoMergedFromNewIdP_builder) Build() *PayloadUserAutoMerged } type PayloadCuratedPluginCreated struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_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() { @@ -5600,24 +5441,24 @@ func (x *PayloadCuratedPluginCreated) ProtoReflect() protoreflect.Message { func (x *PayloadCuratedPluginCreated) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadCuratedPluginCreated) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadCuratedPluginCreated) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadCuratedPluginCreated) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } type PayloadCuratedPluginCreated_builder struct { @@ -5633,19 +5474,17 @@ func (b0 PayloadCuratedPluginCreated_builder) Build() *PayloadCuratedPluginCreat m0 := &PayloadCuratedPluginCreated{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName return m0 } type PayloadCuratedPluginDeleted struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_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() { @@ -5675,24 +5514,24 @@ func (x *PayloadCuratedPluginDeleted) ProtoReflect() protoreflect.Message { func (x *PayloadCuratedPluginDeleted) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadCuratedPluginDeleted) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadCuratedPluginDeleted) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadCuratedPluginDeleted) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } type PayloadCuratedPluginDeleted_builder struct { @@ -5708,19 +5547,17 @@ func (b0 PayloadCuratedPluginDeleted_builder) Build() *PayloadCuratedPluginDelet m0 := &PayloadCuratedPluginDeleted{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName return m0 } type PayloadTokenCreated struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_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() { @@ -5750,35 +5587,35 @@ func (x *PayloadTokenCreated) ProtoReflect() protoreflect.Message { func (x *PayloadTokenCreated) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadTokenCreated) GetTokenExpiryTime() *timestamppb.Timestamp { if x != nil { - return x.TokenExpiryTime + return x.xxx_hidden_TokenExpiryTime } return nil } func (x *PayloadTokenCreated) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadTokenCreated) SetTokenExpiryTime(v *timestamppb.Timestamp) { - x.TokenExpiryTime = v + x.xxx_hidden_TokenExpiryTime = v } func (x *PayloadTokenCreated) HasTokenExpiryTime() bool { if x == nil { return false } - return x.TokenExpiryTime != nil + return x.xxx_hidden_TokenExpiryTime != nil } func (x *PayloadTokenCreated) ClearTokenExpiryTime() { - x.TokenExpiryTime = nil + x.xxx_hidden_TokenExpiryTime = nil } type PayloadTokenCreated_builder struct { @@ -5794,17 +5631,16 @@ func (b0 PayloadTokenCreated_builder) Build() *PayloadTokenCreated { m0 := &PayloadTokenCreated{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.TokenExpiryTime = b.TokenExpiryTime + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_TokenExpiryTime = b.TokenExpiryTime return m0 } type PayloadTokenDeleted struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -5834,13 +5670,13 @@ func (x *PayloadTokenDeleted) ProtoReflect() protoreflect.Message { func (x *PayloadTokenDeleted) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadTokenDeleted) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } type PayloadTokenDeleted_builder struct { @@ -5854,16 +5690,15 @@ func (b0 PayloadTokenDeleted_builder) Build() *PayloadTokenDeleted { m0 := &PayloadTokenDeleted{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId + x.xxx_hidden_OwnerId = b.OwnerId return m0 } type PayloadSCIMTokenCreated struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -5893,24 +5728,24 @@ func (x *PayloadSCIMTokenCreated) ProtoReflect() protoreflect.Message { func (x *PayloadSCIMTokenCreated) GetTokenExpiryTime() *timestamppb.Timestamp { if x != nil { - return x.TokenExpiryTime + return x.xxx_hidden_TokenExpiryTime } return nil } func (x *PayloadSCIMTokenCreated) SetTokenExpiryTime(v *timestamppb.Timestamp) { - x.TokenExpiryTime = v + x.xxx_hidden_TokenExpiryTime = v } func (x *PayloadSCIMTokenCreated) HasTokenExpiryTime() bool { if x == nil { return false } - return x.TokenExpiryTime != nil + return x.xxx_hidden_TokenExpiryTime != nil } func (x *PayloadSCIMTokenCreated) ClearTokenExpiryTime() { - x.TokenExpiryTime = nil + x.xxx_hidden_TokenExpiryTime = nil } type PayloadSCIMTokenCreated_builder struct { @@ -5924,12 +5759,12 @@ func (b0 PayloadSCIMTokenCreated_builder) Build() *PayloadSCIMTokenCreated { m0 := &PayloadSCIMTokenCreated{} b, x := &b0, m0 _, _ = b, x - x.TokenExpiryTime = b.TokenExpiryTime + x.xxx_hidden_TokenExpiryTime = b.TokenExpiryTime return m0 } type PayloadSCIMTokenDeleted struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -5972,19 +5807,14 @@ func (b0 PayloadSCIMTokenDeleted_builder) Build() *PayloadSCIMTokenDeleted { } type PayloadRepositoryCommitDeleted struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // repository_id is the id of the repository from which the commit will be deleted. - 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 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_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() { @@ -6014,57 +5844,57 @@ func (x *PayloadRepositoryCommitDeleted) ProtoReflect() protoreflect.Message { func (x *PayloadRepositoryCommitDeleted) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryCommitDeleted) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryCommitDeleted) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *PayloadRepositoryCommitDeleted) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *PayloadRepositoryCommitDeleted) GetDraftName() string { if x != nil { - return x.DraftName + return x.xxx_hidden_DraftName } return "" } func (x *PayloadRepositoryCommitDeleted) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryCommitDeleted) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryCommitDeleted) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *PayloadRepositoryCommitDeleted) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *PayloadRepositoryCommitDeleted) SetDraftName(v string) { - x.DraftName = v + x.xxx_hidden_DraftName = v } type PayloadRepositoryCommitDeleted_builder struct { @@ -6086,32 +5916,24 @@ func (b0 PayloadRepositoryCommitDeleted_builder) Build() *PayloadRepositoryCommi m0 := &PayloadRepositoryCommitDeleted{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.RepositoryId = b.RepositoryId - x.RepositoryName = b.RepositoryName - x.DraftName = b.DraftName + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_DraftName = b.DraftName return m0 } type PayloadRepositoryLabelCreated struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // repository_id is the id of the repository on which the label was created. - 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 created. - RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - // label_namespace is the namespace of the label that was created. - // - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_LabelNamespace string `protobuf:"bytes,5,opt,name=label_namespace,json=labelNamespace,proto3" json:"label_namespace,omitempty"` + xxx_hidden_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() { @@ -6141,28 +5963,28 @@ func (x *PayloadRepositoryLabelCreated) ProtoReflect() protoreflect.Message { func (x *PayloadRepositoryLabelCreated) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryLabelCreated) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryLabelCreated) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *PayloadRepositoryLabelCreated) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } @@ -6170,41 +5992,41 @@ func (x *PayloadRepositoryLabelCreated) GetRepositoryName() string { // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. func (x *PayloadRepositoryLabelCreated) GetLabelNamespace() string { if x != nil { - return x.LabelNamespace + return x.xxx_hidden_LabelNamespace } return "" } func (x *PayloadRepositoryLabelCreated) GetCommitId() string { if x != nil { - return x.CommitId + return x.xxx_hidden_CommitId } return "" } func (x *PayloadRepositoryLabelCreated) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryLabelCreated) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryLabelCreated) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *PayloadRepositoryLabelCreated) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. func (x *PayloadRepositoryLabelCreated) SetLabelNamespace(v string) { - x.LabelNamespace = v + x.xxx_hidden_LabelNamespace = v } func (x *PayloadRepositoryLabelCreated) SetCommitId(v string) { - x.CommitId = v + x.xxx_hidden_CommitId = v } type PayloadRepositoryLabelCreated_builder struct { @@ -6230,35 +6052,26 @@ func (b0 PayloadRepositoryLabelCreated_builder) Build() *PayloadRepositoryLabelC m0 := &PayloadRepositoryLabelCreated{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.RepositoryId = b.RepositoryId - x.RepositoryName = b.RepositoryName - x.LabelNamespace = b.LabelNamespace - x.CommitId = b.CommitId + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_LabelNamespace = b.LabelNamespace + x.xxx_hidden_CommitId = b.CommitId return m0 } type PayloadRepositoryLabelMoved struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // repository_id is the id of the repository on which the label was moved. - 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 moved. - RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - // label_namespace is the namespace of the label that was moved. - // - // 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"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_LabelNamespace string `protobuf:"bytes,5,opt,name=label_namespace,json=labelNamespace,proto3" json:"label_namespace,omitempty"` + xxx_hidden_ToCommitId string `protobuf:"bytes,6,opt,name=to_commit_id,json=toCommitId,proto3" json:"to_commit_id,omitempty"` + xxx_hidden_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() { @@ -6288,28 +6101,28 @@ func (x *PayloadRepositoryLabelMoved) ProtoReflect() protoreflect.Message { func (x *PayloadRepositoryLabelMoved) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryLabelMoved) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryLabelMoved) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *PayloadRepositoryLabelMoved) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } @@ -6317,52 +6130,52 @@ func (x *PayloadRepositoryLabelMoved) GetRepositoryName() string { // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. func (x *PayloadRepositoryLabelMoved) GetLabelNamespace() string { if x != nil { - return x.LabelNamespace + return x.xxx_hidden_LabelNamespace } return "" } func (x *PayloadRepositoryLabelMoved) GetToCommitId() string { if x != nil { - return x.ToCommitId + return x.xxx_hidden_ToCommitId } return "" } func (x *PayloadRepositoryLabelMoved) GetFromCommitId() string { if x != nil { - return x.FromCommitId + return x.xxx_hidden_FromCommitId } return "" } func (x *PayloadRepositoryLabelMoved) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryLabelMoved) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryLabelMoved) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *PayloadRepositoryLabelMoved) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. func (x *PayloadRepositoryLabelMoved) SetLabelNamespace(v string) { - x.LabelNamespace = v + x.xxx_hidden_LabelNamespace = v } func (x *PayloadRepositoryLabelMoved) SetToCommitId(v string) { - x.ToCommitId = v + x.xxx_hidden_ToCommitId = v } func (x *PayloadRepositoryLabelMoved) SetFromCommitId(v string) { - x.FromCommitId = v + x.xxx_hidden_FromCommitId = v } type PayloadRepositoryLabelMoved_builder struct { @@ -6390,28 +6203,24 @@ func (b0 PayloadRepositoryLabelMoved_builder) Build() *PayloadRepositoryLabelMov m0 := &PayloadRepositoryLabelMoved{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.RepositoryId = b.RepositoryId - x.RepositoryName = b.RepositoryName - x.LabelNamespace = b.LabelNamespace - x.ToCommitId = b.ToCommitId - x.FromCommitId = b.FromCommitId + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_LabelNamespace = b.LabelNamespace + x.xxx_hidden_ToCommitId = b.ToCommitId + x.xxx_hidden_FromCommitId = b.FromCommitId return m0 } type PayloadRepositoryLabelArchived struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // repository_id is the id of the repository on which the label was archived. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_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() { @@ -6441,46 +6250,46 @@ func (x *PayloadRepositoryLabelArchived) ProtoReflect() protoreflect.Message { func (x *PayloadRepositoryLabelArchived) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryLabelArchived) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryLabelArchived) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *PayloadRepositoryLabelArchived) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *PayloadRepositoryLabelArchived) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryLabelArchived) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryLabelArchived) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *PayloadRepositoryLabelArchived) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } type PayloadRepositoryLabelArchived_builder struct { @@ -6500,25 +6309,21 @@ func (b0 PayloadRepositoryLabelArchived_builder) Build() *PayloadRepositoryLabel m0 := &PayloadRepositoryLabelArchived{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.RepositoryId = b.RepositoryId - x.RepositoryName = b.RepositoryName + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryName = b.RepositoryName return m0 } type PayloadRepositoryLabelUnarchived struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // repository_id is the id of the repository on which the label was unarchived. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_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() { @@ -6548,46 +6353,46 @@ func (x *PayloadRepositoryLabelUnarchived) ProtoReflect() protoreflect.Message { func (x *PayloadRepositoryLabelUnarchived) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadRepositoryLabelUnarchived) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadRepositoryLabelUnarchived) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *PayloadRepositoryLabelUnarchived) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *PayloadRepositoryLabelUnarchived) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadRepositoryLabelUnarchived) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadRepositoryLabelUnarchived) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *PayloadRepositoryLabelUnarchived) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } type PayloadRepositoryLabelUnarchived_builder struct { @@ -6607,21 +6412,21 @@ func (b0 PayloadRepositoryLabelUnarchived_builder) Build() *PayloadRepositoryLab m0 := &PayloadRepositoryLabelUnarchived{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.RepositoryId = b.RepositoryId - x.RepositoryName = b.RepositoryName + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryName = b.RepositoryName return m0 } type PayloadServerBreakingChangePolicyEnabled struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Category v1alpha1.BreakingChangeCategory `protobuf:"varint,1,opt,name=category,proto3,enum=buf.alpha.registry.v1alpha1.BreakingChangeCategory" json:"category,omitempty"` + xxx_hidden_IgnoreUnstablePackages bool `protobuf:"varint,2,opt,name=ignore_unstable_packages,json=ignoreUnstablePackages,proto3,oneof" json:"ignore_unstable_packages,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PayloadServerBreakingChangePolicyEnabled) Reset() { @@ -6651,35 +6456,37 @@ func (x *PayloadServerBreakingChangePolicyEnabled) ProtoReflect() protoreflect.M func (x *PayloadServerBreakingChangePolicyEnabled) GetCategory() v1alpha1.BreakingChangeCategory { if x != nil { - return x.Category + return x.xxx_hidden_Category } return v1alpha1.BreakingChangeCategory(0) } func (x *PayloadServerBreakingChangePolicyEnabled) GetIgnoreUnstablePackages() bool { - if x != nil && x.IgnoreUnstablePackages != nil { - return *x.IgnoreUnstablePackages + if x != nil { + return x.xxx_hidden_IgnoreUnstablePackages } return false } func (x *PayloadServerBreakingChangePolicyEnabled) SetCategory(v v1alpha1.BreakingChangeCategory) { - x.Category = v + x.xxx_hidden_Category = v } func (x *PayloadServerBreakingChangePolicyEnabled) SetIgnoreUnstablePackages(v bool) { - x.IgnoreUnstablePackages = &v + x.xxx_hidden_IgnoreUnstablePackages = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 2) } func (x *PayloadServerBreakingChangePolicyEnabled) HasIgnoreUnstablePackages() bool { if x == nil { return false } - return x.IgnoreUnstablePackages != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 1) } func (x *PayloadServerBreakingChangePolicyEnabled) ClearIgnoreUnstablePackages() { - x.IgnoreUnstablePackages = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) + x.xxx_hidden_IgnoreUnstablePackages = false } type PayloadServerBreakingChangePolicyEnabled_builder struct { @@ -6695,13 +6502,16 @@ func (b0 PayloadServerBreakingChangePolicyEnabled_builder) Build() *PayloadServe m0 := &PayloadServerBreakingChangePolicyEnabled{} b, x := &b0, m0 _, _ = b, x - x.Category = b.Category - x.IgnoreUnstablePackages = b.IgnoreUnstablePackages + x.xxx_hidden_Category = b.Category + if b.IgnoreUnstablePackages != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 2) + x.xxx_hidden_IgnoreUnstablePackages = *b.IgnoreUnstablePackages + } return m0 } type PayloadServerBreakingChangePolicyDisabled struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6744,7 +6554,7 @@ func (b0 PayloadServerBreakingChangePolicyDisabled_builder) Build() *PayloadServ } type PayloadServerUniquenessPolicyEnabled struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6787,7 +6597,7 @@ func (b0 PayloadServerUniquenessPolicyEnabled_builder) Build() *PayloadServerUni } type PayloadServerUniquenessPolicyDisabled struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -6830,11 +6640,10 @@ func (b0 PayloadServerUniquenessPolicyDisabled_builder) Build() *PayloadServerUn } type PayloadDeviceAuthorizationGrantApproved struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -6864,13 +6673,13 @@ func (x *PayloadDeviceAuthorizationGrantApproved) ProtoReflect() protoreflect.Me func (x *PayloadDeviceAuthorizationGrantApproved) GetClientId() string { if x != nil { - return x.ClientId + return x.xxx_hidden_ClientId } return "" } func (x *PayloadDeviceAuthorizationGrantApproved) SetClientId(v string) { - x.ClientId = v + x.xxx_hidden_ClientId = v } type PayloadDeviceAuthorizationGrantApproved_builder struct { @@ -6884,16 +6693,15 @@ func (b0 PayloadDeviceAuthorizationGrantApproved_builder) Build() *PayloadDevice m0 := &PayloadDeviceAuthorizationGrantApproved{} b, x := &b0, m0 _, _ = b, x - x.ClientId = b.ClientId + x.xxx_hidden_ClientId = b.ClientId return m0 } type PayloadDeviceAuthorizationGrantDenied struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -6923,13 +6731,13 @@ func (x *PayloadDeviceAuthorizationGrantDenied) ProtoReflect() protoreflect.Mess func (x *PayloadDeviceAuthorizationGrantDenied) GetClientId() string { if x != nil { - return x.ClientId + return x.xxx_hidden_ClientId } return "" } func (x *PayloadDeviceAuthorizationGrantDenied) SetClientId(v string) { - x.ClientId = v + x.xxx_hidden_ClientId = v } type PayloadDeviceAuthorizationGrantDenied_builder struct { @@ -6943,24 +6751,19 @@ func (b0 PayloadDeviceAuthorizationGrantDenied_builder) Build() *PayloadDeviceAu m0 := &PayloadDeviceAuthorizationGrantDenied{} b, x := &b0, m0 _, _ = b, x - x.ClientId = b.ClientId + x.xxx_hidden_ClientId = b.ClientId return m0 } type PayloadPluginLabelCreated struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // plugin_id is the id of the plugin on which the label was created. - 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 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` + xxx_hidden_PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` + xxx_hidden_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() { @@ -6990,57 +6793,57 @@ func (x *PayloadPluginLabelCreated) ProtoReflect() protoreflect.Message { func (x *PayloadPluginLabelCreated) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadPluginLabelCreated) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadPluginLabelCreated) GetPluginId() string { if x != nil { - return x.PluginId + return x.xxx_hidden_PluginId } return "" } func (x *PayloadPluginLabelCreated) GetPluginName() string { if x != nil { - return x.PluginName + return x.xxx_hidden_PluginName } return "" } func (x *PayloadPluginLabelCreated) GetCommitId() string { if x != nil { - return x.CommitId + return x.xxx_hidden_CommitId } return "" } func (x *PayloadPluginLabelCreated) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadPluginLabelCreated) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadPluginLabelCreated) SetPluginId(v string) { - x.PluginId = v + x.xxx_hidden_PluginId = v } func (x *PayloadPluginLabelCreated) SetPluginName(v string) { - x.PluginName = v + x.xxx_hidden_PluginName = v } func (x *PayloadPluginLabelCreated) SetCommitId(v string) { - x.CommitId = v + x.xxx_hidden_CommitId = v } type PayloadPluginLabelCreated_builder struct { @@ -7062,30 +6865,24 @@ func (b0 PayloadPluginLabelCreated_builder) Build() *PayloadPluginLabelCreated { m0 := &PayloadPluginLabelCreated{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.PluginId = b.PluginId - x.PluginName = b.PluginName - x.CommitId = b.CommitId + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_PluginId = b.PluginId + x.xxx_hidden_PluginName = b.PluginName + x.xxx_hidden_CommitId = b.CommitId return m0 } type PayloadPluginLabelMoved struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // plugin_id is the id of the plugin on which the label was moved. - 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 moved. - PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` + xxx_hidden_PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` + xxx_hidden_ToCommitId string `protobuf:"bytes,6,opt,name=to_commit_id,json=toCommitId,proto3" json:"to_commit_id,omitempty"` + xxx_hidden_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() { @@ -7115,68 +6912,68 @@ func (x *PayloadPluginLabelMoved) ProtoReflect() protoreflect.Message { func (x *PayloadPluginLabelMoved) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadPluginLabelMoved) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadPluginLabelMoved) GetPluginId() string { if x != nil { - return x.PluginId + return x.xxx_hidden_PluginId } return "" } func (x *PayloadPluginLabelMoved) GetPluginName() string { if x != nil { - return x.PluginName + return x.xxx_hidden_PluginName } return "" } func (x *PayloadPluginLabelMoved) GetToCommitId() string { if x != nil { - return x.ToCommitId + return x.xxx_hidden_ToCommitId } return "" } func (x *PayloadPluginLabelMoved) GetFromCommitId() string { if x != nil { - return x.FromCommitId + return x.xxx_hidden_FromCommitId } return "" } func (x *PayloadPluginLabelMoved) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadPluginLabelMoved) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadPluginLabelMoved) SetPluginId(v string) { - x.PluginId = v + x.xxx_hidden_PluginId = v } func (x *PayloadPluginLabelMoved) SetPluginName(v string) { - x.PluginName = v + x.xxx_hidden_PluginName = v } func (x *PayloadPluginLabelMoved) SetToCommitId(v string) { - x.ToCommitId = v + x.xxx_hidden_ToCommitId = v } func (x *PayloadPluginLabelMoved) SetFromCommitId(v string) { - x.FromCommitId = v + x.xxx_hidden_FromCommitId = v } type PayloadPluginLabelMoved_builder struct { @@ -7200,27 +6997,23 @@ func (b0 PayloadPluginLabelMoved_builder) Build() *PayloadPluginLabelMoved { m0 := &PayloadPluginLabelMoved{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.PluginId = b.PluginId - x.PluginName = b.PluginName - x.ToCommitId = b.ToCommitId - x.FromCommitId = b.FromCommitId + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_PluginId = b.PluginId + x.xxx_hidden_PluginName = b.PluginName + x.xxx_hidden_ToCommitId = b.ToCommitId + x.xxx_hidden_FromCommitId = b.FromCommitId return m0 } type PayloadPluginLabelArchived struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` + xxx_hidden_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() { @@ -7250,46 +7043,46 @@ func (x *PayloadPluginLabelArchived) ProtoReflect() protoreflect.Message { func (x *PayloadPluginLabelArchived) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadPluginLabelArchived) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadPluginLabelArchived) GetPluginId() string { if x != nil { - return x.PluginId + return x.xxx_hidden_PluginId } return "" } func (x *PayloadPluginLabelArchived) GetPluginName() string { if x != nil { - return x.PluginName + return x.xxx_hidden_PluginName } return "" } func (x *PayloadPluginLabelArchived) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadPluginLabelArchived) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadPluginLabelArchived) SetPluginId(v string) { - x.PluginId = v + x.xxx_hidden_PluginId = v } func (x *PayloadPluginLabelArchived) SetPluginName(v string) { - x.PluginName = v + x.xxx_hidden_PluginName = v } type PayloadPluginLabelArchived_builder struct { @@ -7309,25 +7102,21 @@ func (b0 PayloadPluginLabelArchived_builder) Build() *PayloadPluginLabelArchived m0 := &PayloadPluginLabelArchived{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.PluginId = b.PluginId - x.PluginName = b.PluginName + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_PluginId = b.PluginId + x.xxx_hidden_PluginName = b.PluginName return m0 } type PayloadPluginLabelUnarchived struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` + xxx_hidden_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() { @@ -7357,46 +7146,46 @@ func (x *PayloadPluginLabelUnarchived) ProtoReflect() protoreflect.Message { func (x *PayloadPluginLabelUnarchived) GetOwnerId() string { if x != nil { - return x.OwnerId + return x.xxx_hidden_OwnerId } return "" } func (x *PayloadPluginLabelUnarchived) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *PayloadPluginLabelUnarchived) GetPluginId() string { if x != nil { - return x.PluginId + return x.xxx_hidden_PluginId } return "" } func (x *PayloadPluginLabelUnarchived) GetPluginName() string { if x != nil { - return x.PluginName + return x.xxx_hidden_PluginName } return "" } func (x *PayloadPluginLabelUnarchived) SetOwnerId(v string) { - x.OwnerId = v + x.xxx_hidden_OwnerId = v } func (x *PayloadPluginLabelUnarchived) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *PayloadPluginLabelUnarchived) SetPluginId(v string) { - x.PluginId = v + x.xxx_hidden_PluginId = v } func (x *PayloadPluginLabelUnarchived) SetPluginName(v string) { - x.PluginName = v + x.xxx_hidden_PluginName = v } type PayloadPluginLabelUnarchived_builder struct { @@ -7416,10 +7205,10 @@ func (b0 PayloadPluginLabelUnarchived_builder) Build() *PayloadPluginLabelUnarch m0 := &PayloadPluginLabelUnarchived{} b, x := &b0, m0 _, _ = b, x - x.OwnerId = b.OwnerId - x.OwnerName = b.OwnerName - x.PluginId = b.PluginId - x.PluginName = b.PluginName + x.xxx_hidden_OwnerId = b.OwnerId + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_PluginId = b.PluginId + x.xxx_hidden_PluginName = b.PluginName return m0 } @@ -8637,55 +8426,55 @@ func file_buf_alpha_audit_v1alpha1_event_proto_init() { return } file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[3].OneofWrappers = []any{ - (*Event_OrganizationCreated)(nil), - (*Event_OrganizationDeleted)(nil), - (*Event_OrganizationMemberAdded)(nil), - (*Event_OrganizationMemberRoleChanged)(nil), - (*Event_OrganizationMemberRemoved)(nil), - (*Event_RepositoryCreated)(nil), - (*Event_RepositoryDeprecated)(nil), - (*Event_RepositoryUndeprecated)(nil), - (*Event_RepositoryDeleted)(nil), - (*Event_RepositoryCommitPushed)(nil), - (*Event_RepositoryContributorAdded)(nil), - (*Event_RepositoryContributorRoleChanged)(nil), - (*Event_RepositoryContributorRemoved)(nil), - (*Event_RepositoryVisibilityChanged)(nil), - (*Event_RepositoryDefaultLabelNameChanged)(nil), - (*Event_PluginCreated)(nil), - (*Event_PluginDeleted)(nil), - (*Event_PluginCommitPushed)(nil), - (*Event_UserCreated)(nil), - (*Event_UserDeactivated)(nil), - (*Event_UserDeleted)(nil), - (*Event_UserLoggedIn)(nil), - (*Event_UserLoggedOut)(nil), - (*Event_CuratedPluginCreated)(nil), - (*Event_IdpGroupAdded)(nil), - (*Event_IdpGroupRemoved)(nil), - (*Event_TokenCreated)(nil), - (*Event_TokenDeleted)(nil), - (*Event_UserReactivated)(nil), - (*Event_ScimTokenCreated)(nil), - (*Event_ScimTokenDeleted)(nil), - (*Event_RepositoryCommitDeleted)(nil), - (*Event_RepositoryLabelCreated)(nil), - (*Event_RepositoryLabelMoved)(nil), - (*Event_RepositoryLabelArchived)(nil), - (*Event_RepositoryLabelUnarchived)(nil), - (*Event_CuratedPluginDeleted)(nil), - (*Event_PayloadServerBreakingChangePolicyEnabled)(nil), - (*Event_PayloadServerBreakingChangePolicyDisabled)(nil), - (*Event_RepositoryDefaultBranchChanged)(nil), - (*Event_PayloadServerUniquenessPolicyEnabled)(nil), - (*Event_PayloadServerUniquenessPolicyDisabled)(nil), - (*Event_UserAutoMergedFromNewIdp)(nil), - (*Event_DeviceAuthorizationGrantApproved)(nil), - (*Event_DeviceAuthorizationGrantDenied)(nil), - (*Event_PluginLabelCreated)(nil), - (*Event_PluginLabelMoved)(nil), - (*Event_PluginLabelArchived)(nil), - (*Event_PluginLabelUnarchived)(nil), + (*event_OrganizationCreated)(nil), + (*event_OrganizationDeleted)(nil), + (*event_OrganizationMemberAdded)(nil), + (*event_OrganizationMemberRoleChanged)(nil), + (*event_OrganizationMemberRemoved)(nil), + (*event_RepositoryCreated)(nil), + (*event_RepositoryDeprecated)(nil), + (*event_RepositoryUndeprecated)(nil), + (*event_RepositoryDeleted)(nil), + (*event_RepositoryCommitPushed)(nil), + (*event_RepositoryContributorAdded)(nil), + (*event_RepositoryContributorRoleChanged)(nil), + (*event_RepositoryContributorRemoved)(nil), + (*event_RepositoryVisibilityChanged)(nil), + (*event_RepositoryDefaultLabelNameChanged)(nil), + (*event_PluginCreated)(nil), + (*event_PluginDeleted)(nil), + (*event_PluginCommitPushed)(nil), + (*event_UserCreated)(nil), + (*event_UserDeactivated)(nil), + (*event_UserDeleted)(nil), + (*event_UserLoggedIn)(nil), + (*event_UserLoggedOut)(nil), + (*event_CuratedPluginCreated)(nil), + (*event_IdpGroupAdded)(nil), + (*event_IdpGroupRemoved)(nil), + (*event_TokenCreated)(nil), + (*event_TokenDeleted)(nil), + (*event_UserReactivated)(nil), + (*event_ScimTokenCreated)(nil), + (*event_ScimTokenDeleted)(nil), + (*event_RepositoryCommitDeleted)(nil), + (*event_RepositoryLabelCreated)(nil), + (*event_RepositoryLabelMoved)(nil), + (*event_RepositoryLabelArchived)(nil), + (*event_RepositoryLabelUnarchived)(nil), + (*event_CuratedPluginDeleted)(nil), + (*event_PayloadServerBreakingChangePolicyEnabled)(nil), + (*event_PayloadServerBreakingChangePolicyDisabled)(nil), + (*event_RepositoryDefaultBranchChanged)(nil), + (*event_PayloadServerUniquenessPolicyEnabled)(nil), + (*event_PayloadServerUniquenessPolicyDisabled)(nil), + (*event_UserAutoMergedFromNewIdp)(nil), + (*event_DeviceAuthorizationGrantApproved)(nil), + (*event_DeviceAuthorizationGrantDenied)(nil), + (*event_PluginLabelCreated)(nil), + (*event_PluginLabelMoved)(nil), + (*event_PluginLabelArchived)(nil), + (*event_PluginLabelUnarchived)(nil), } file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[43].OneofWrappers = []any{} type x struct{} diff --git a/private/gen/proto/go/buf/alpha/audit/v1alpha1/event_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/audit/v1alpha1/event_protoopaque.pb.go deleted file mode 100644 index 3dfc1c8315..0000000000 --- a/private/gen/proto/go/buf/alpha/audit/v1alpha1/event_protoopaque.pb.go +++ /dev/null @@ -1,8501 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/audit/v1alpha1/event.proto - -//go:build protoopaque - -package auditv1alpha1 - -import ( - v1alpha1 "github.com/bufbuild/buf/private/gen/proto/go/buf/alpha/registry/v1alpha1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// ActorType is the type of actor that caused the audited event. -type ActorType int32 - -const ( - ActorType_ACTOR_TYPE_UNSPECIFIED ActorType = 0 - ActorType_ACTOR_TYPE_USER ActorType = 1 - ActorType_ACTOR_TYPE_SYSTEM ActorType = 2 -) - -// Enum value maps for ActorType. -var ( - ActorType_name = map[int32]string{ - 0: "ACTOR_TYPE_UNSPECIFIED", - 1: "ACTOR_TYPE_USER", - 2: "ACTOR_TYPE_SYSTEM", - } - ActorType_value = map[string]int32{ - "ACTOR_TYPE_UNSPECIFIED": 0, - "ACTOR_TYPE_USER": 1, - "ACTOR_TYPE_SYSTEM": 2, - } -) - -func (x ActorType) Enum() *ActorType { - p := new(ActorType) - *p = x - return p -} - -func (x ActorType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ActorType) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_audit_v1alpha1_event_proto_enumTypes[0].Descriptor() -} - -func (ActorType) Type() protoreflect.EnumType { - return &file_buf_alpha_audit_v1alpha1_event_proto_enumTypes[0] -} - -func (x ActorType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// ResourceType is the type of the resource that was affected by the audited -// event. -type ResourceType int32 - -const ( - ResourceType_RESOURCE_TYPE_UNSPECIFIED ResourceType = 0 - ResourceType_RESOURCE_TYPE_USER ResourceType = 1 - ResourceType_RESOURCE_TYPE_ORGANIZATION ResourceType = 2 - ResourceType_RESOURCE_TYPE_ORGANIZATION_MEMBER ResourceType = 3 - ResourceType_RESOURCE_TYPE_ORGANIZATION_IDP_GROUP ResourceType = 9 - ResourceType_RESOURCE_TYPE_REPOSITORY ResourceType = 4 - ResourceType_RESOURCE_TYPE_REPOSITORY_CONTRIBUTOR ResourceType = 5 - ResourceType_RESOURCE_TYPE_REPOSITORY_COMMIT ResourceType = 6 - ResourceType_RESOURCE_TYPE_PLUGIN ResourceType = 7 - ResourceType_RESOURCE_TYPE_PLUGIN_COMMIT ResourceType = 15 - ResourceType_RESOURCE_TYPE_CURATED_PLUGIN ResourceType = 8 - ResourceType_RESOURCE_TYPE_TOKEN ResourceType = 10 - ResourceType_RESOURCE_TYPE_SCIM_TOKEN ResourceType = 11 - ResourceType_RESOURCE_TYPE_REPOSITORY_LABEL ResourceType = 12 - ResourceType_RESOURCE_TYPE_SERVER ResourceType = 13 - ResourceType_RESOURCE_TYPE_DEVICE_AUTHORIZATION_GRANT ResourceType = 14 - ResourceType_RESOURCE_TYPE_PLUGIN_LABEL ResourceType = 16 -) - -// Enum value maps for ResourceType. -var ( - ResourceType_name = map[int32]string{ - 0: "RESOURCE_TYPE_UNSPECIFIED", - 1: "RESOURCE_TYPE_USER", - 2: "RESOURCE_TYPE_ORGANIZATION", - 3: "RESOURCE_TYPE_ORGANIZATION_MEMBER", - 9: "RESOURCE_TYPE_ORGANIZATION_IDP_GROUP", - 4: "RESOURCE_TYPE_REPOSITORY", - 5: "RESOURCE_TYPE_REPOSITORY_CONTRIBUTOR", - 6: "RESOURCE_TYPE_REPOSITORY_COMMIT", - 7: "RESOURCE_TYPE_PLUGIN", - 15: "RESOURCE_TYPE_PLUGIN_COMMIT", - 8: "RESOURCE_TYPE_CURATED_PLUGIN", - 10: "RESOURCE_TYPE_TOKEN", - 11: "RESOURCE_TYPE_SCIM_TOKEN", - 12: "RESOURCE_TYPE_REPOSITORY_LABEL", - 13: "RESOURCE_TYPE_SERVER", - 14: "RESOURCE_TYPE_DEVICE_AUTHORIZATION_GRANT", - 16: "RESOURCE_TYPE_PLUGIN_LABEL", - } - ResourceType_value = map[string]int32{ - "RESOURCE_TYPE_UNSPECIFIED": 0, - "RESOURCE_TYPE_USER": 1, - "RESOURCE_TYPE_ORGANIZATION": 2, - "RESOURCE_TYPE_ORGANIZATION_MEMBER": 3, - "RESOURCE_TYPE_ORGANIZATION_IDP_GROUP": 9, - "RESOURCE_TYPE_REPOSITORY": 4, - "RESOURCE_TYPE_REPOSITORY_CONTRIBUTOR": 5, - "RESOURCE_TYPE_REPOSITORY_COMMIT": 6, - "RESOURCE_TYPE_PLUGIN": 7, - "RESOURCE_TYPE_PLUGIN_COMMIT": 15, - "RESOURCE_TYPE_CURATED_PLUGIN": 8, - "RESOURCE_TYPE_TOKEN": 10, - "RESOURCE_TYPE_SCIM_TOKEN": 11, - "RESOURCE_TYPE_REPOSITORY_LABEL": 12, - "RESOURCE_TYPE_SERVER": 13, - "RESOURCE_TYPE_DEVICE_AUTHORIZATION_GRANT": 14, - "RESOURCE_TYPE_PLUGIN_LABEL": 16, - } -) - -func (x ResourceType) Enum() *ResourceType { - p := new(ResourceType) - *p = x - return p -} - -func (x ResourceType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ResourceType) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_audit_v1alpha1_event_proto_enumTypes[1].Descriptor() -} - -func (ResourceType) Type() protoreflect.EnumType { - return &file_buf_alpha_audit_v1alpha1_event_proto_enumTypes[1] -} - -func (x ResourceType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// EventType is the type of audited event. -type EventType int32 - -const ( - EventType_EVENT_TYPE_UNSPECIFIED EventType = 0 - EventType_EVENT_TYPE_ORGANIZATION_CREATED EventType = 1 - EventType_EVENT_TYPE_ORGANIZATION_DELETED EventType = 2 - EventType_EVENT_TYPE_ORGANIZATION_MEMBER_ADDED EventType = 3 - EventType_EVENT_TYPE_ORGANIZATION_MEMBER_ROLE_CHANGED EventType = 4 - EventType_EVENT_TYPE_ORGANIZATION_MEMBER_REMOVED EventType = 5 - EventType_EVENT_TYPE_ORGANIZATION_IDP_GROUP_ADDED EventType = 21 - EventType_EVENT_TYPE_ORGANIZATION_IDP_GROUP_REMOVED EventType = 22 - EventType_EVENT_TYPE_REPOSITORY_CREATED EventType = 6 - EventType_EVENT_TYPE_REPOSITORY_DEPRECATED EventType = 48 - EventType_EVENT_TYPE_REPOSITORY_UNDEPRECATED EventType = 49 - EventType_EVENT_TYPE_REPOSITORY_DELETED EventType = 7 - EventType_EVENT_TYPE_REPOSITORY_COMMIT_PUSHED EventType = 8 - EventType_EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ADDED EventType = 9 - EventType_EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ROLE_CHANGED EventType = 10 - EventType_EVENT_TYPE_REPOSITORY_CONTRIBUTOR_REMOVED EventType = 11 - EventType_EVENT_TYPE_REPOSITORY_VISIBILITY_CHANGED EventType = 12 - EventType_EVENT_TYPE_REPOSITORY_DEFAULT_LABEL_NAME_CHANGED EventType = 40 - EventType_EVENT_TYPE_PLUGIN_CREATED EventType = 13 - EventType_EVENT_TYPE_PLUGIN_DELETED EventType = 14 - EventType_EVENT_TYPE_PLUGIN_COMMIT_PUSHED EventType = 43 - EventType_EVENT_TYPE_CURATED_PLUGIN_CREATED EventType = 20 - EventType_EVENT_TYPE_CURATED_PLUGIN_DELETED EventType = 31 - EventType_EVENT_TYPE_USER_CREATED EventType = 15 - EventType_EVENT_TYPE_USER_DELETED EventType = 16 - EventType_EVENT_TYPE_USER_DEACTIVATED EventType = 17 - EventType_EVENT_TYPE_USER_LOGGED_IN EventType = 18 - EventType_EVENT_TYPE_USER_LOGGED_OUT EventType = 19 - EventType_EVENT_TYPE_TOKEN_CREATED EventType = 23 - EventType_EVENT_TYPE_TOKEN_DELETED EventType = 24 - EventType_EVENT_TYPE_USER_REACTIVATED EventType = 25 - EventType_EVENT_TYPE_SCIM_TOKEN_CREATED EventType = 26 - EventType_EVENT_TYPE_SCIM_TOKEN_DELETED EventType = 27 - EventType_EVENT_TYPE_REPOSITORY_COMMIT_DELETED EventType = 28 - EventType_EVENT_TYPE_REPOSITORY_LABEL_CREATED EventType = 29 - EventType_EVENT_TYPE_REPOSITORY_LABEL_MOVED EventType = 30 - EventType_EVENT_TYPE_REPOSITORY_LABEL_ARCHIVED EventType = 38 - EventType_EVENT_TYPE_REPOSITORY_LABEL_UNARCHIVED EventType = 39 - EventType_EVENT_TYPE_SERVER_BREAKING_CHANGE_POLICY_ENABLED EventType = 32 - EventType_EVENT_TYPE_SERVER_BREAKING_CHANGE_POLICY_DISABLED EventType = 33 - // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. - EventType_EVENT_TYPE_REPOSITORY_DEFAULT_BRANCH_CHANGED EventType = 34 - EventType_EVENT_TYPE_SERVER_UNIQUENESS_POLICY_ENABLED EventType = 35 - EventType_EVENT_TYPE_SERVER_UNIQUENESS_POLICY_DISABLED EventType = 36 - EventType_EVENT_TYPE_USER_AUTO_MERGED_FROM_NEW_IDP EventType = 37 - EventType_EVENT_TYPE_DEVICE_AUTHORIZATION_GRANT_APPROVED EventType = 41 - EventType_EVENT_TYPE_DEVICE_AUTHORIZATION_GRANT_DENIED EventType = 42 - EventType_EVENT_TYPE_PLUGIN_LABEL_CREATED EventType = 44 - EventType_EVENT_TYPE_PLUGIN_LABEL_MOVED EventType = 45 - EventType_EVENT_TYPE_PLUGIN_LABEL_ARCHIVED EventType = 46 - EventType_EVENT_TYPE_PLUGIN_LABEL_UNARCHIVED EventType = 47 -) - -// Enum value maps for EventType. -var ( - EventType_name = map[int32]string{ - 0: "EVENT_TYPE_UNSPECIFIED", - 1: "EVENT_TYPE_ORGANIZATION_CREATED", - 2: "EVENT_TYPE_ORGANIZATION_DELETED", - 3: "EVENT_TYPE_ORGANIZATION_MEMBER_ADDED", - 4: "EVENT_TYPE_ORGANIZATION_MEMBER_ROLE_CHANGED", - 5: "EVENT_TYPE_ORGANIZATION_MEMBER_REMOVED", - 21: "EVENT_TYPE_ORGANIZATION_IDP_GROUP_ADDED", - 22: "EVENT_TYPE_ORGANIZATION_IDP_GROUP_REMOVED", - 6: "EVENT_TYPE_REPOSITORY_CREATED", - 48: "EVENT_TYPE_REPOSITORY_DEPRECATED", - 49: "EVENT_TYPE_REPOSITORY_UNDEPRECATED", - 7: "EVENT_TYPE_REPOSITORY_DELETED", - 8: "EVENT_TYPE_REPOSITORY_COMMIT_PUSHED", - 9: "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ADDED", - 10: "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ROLE_CHANGED", - 11: "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_REMOVED", - 12: "EVENT_TYPE_REPOSITORY_VISIBILITY_CHANGED", - 40: "EVENT_TYPE_REPOSITORY_DEFAULT_LABEL_NAME_CHANGED", - 13: "EVENT_TYPE_PLUGIN_CREATED", - 14: "EVENT_TYPE_PLUGIN_DELETED", - 43: "EVENT_TYPE_PLUGIN_COMMIT_PUSHED", - 20: "EVENT_TYPE_CURATED_PLUGIN_CREATED", - 31: "EVENT_TYPE_CURATED_PLUGIN_DELETED", - 15: "EVENT_TYPE_USER_CREATED", - 16: "EVENT_TYPE_USER_DELETED", - 17: "EVENT_TYPE_USER_DEACTIVATED", - 18: "EVENT_TYPE_USER_LOGGED_IN", - 19: "EVENT_TYPE_USER_LOGGED_OUT", - 23: "EVENT_TYPE_TOKEN_CREATED", - 24: "EVENT_TYPE_TOKEN_DELETED", - 25: "EVENT_TYPE_USER_REACTIVATED", - 26: "EVENT_TYPE_SCIM_TOKEN_CREATED", - 27: "EVENT_TYPE_SCIM_TOKEN_DELETED", - 28: "EVENT_TYPE_REPOSITORY_COMMIT_DELETED", - 29: "EVENT_TYPE_REPOSITORY_LABEL_CREATED", - 30: "EVENT_TYPE_REPOSITORY_LABEL_MOVED", - 38: "EVENT_TYPE_REPOSITORY_LABEL_ARCHIVED", - 39: "EVENT_TYPE_REPOSITORY_LABEL_UNARCHIVED", - 32: "EVENT_TYPE_SERVER_BREAKING_CHANGE_POLICY_ENABLED", - 33: "EVENT_TYPE_SERVER_BREAKING_CHANGE_POLICY_DISABLED", - 34: "EVENT_TYPE_REPOSITORY_DEFAULT_BRANCH_CHANGED", - 35: "EVENT_TYPE_SERVER_UNIQUENESS_POLICY_ENABLED", - 36: "EVENT_TYPE_SERVER_UNIQUENESS_POLICY_DISABLED", - 37: "EVENT_TYPE_USER_AUTO_MERGED_FROM_NEW_IDP", - 41: "EVENT_TYPE_DEVICE_AUTHORIZATION_GRANT_APPROVED", - 42: "EVENT_TYPE_DEVICE_AUTHORIZATION_GRANT_DENIED", - 44: "EVENT_TYPE_PLUGIN_LABEL_CREATED", - 45: "EVENT_TYPE_PLUGIN_LABEL_MOVED", - 46: "EVENT_TYPE_PLUGIN_LABEL_ARCHIVED", - 47: "EVENT_TYPE_PLUGIN_LABEL_UNARCHIVED", - } - EventType_value = map[string]int32{ - "EVENT_TYPE_UNSPECIFIED": 0, - "EVENT_TYPE_ORGANIZATION_CREATED": 1, - "EVENT_TYPE_ORGANIZATION_DELETED": 2, - "EVENT_TYPE_ORGANIZATION_MEMBER_ADDED": 3, - "EVENT_TYPE_ORGANIZATION_MEMBER_ROLE_CHANGED": 4, - "EVENT_TYPE_ORGANIZATION_MEMBER_REMOVED": 5, - "EVENT_TYPE_ORGANIZATION_IDP_GROUP_ADDED": 21, - "EVENT_TYPE_ORGANIZATION_IDP_GROUP_REMOVED": 22, - "EVENT_TYPE_REPOSITORY_CREATED": 6, - "EVENT_TYPE_REPOSITORY_DEPRECATED": 48, - "EVENT_TYPE_REPOSITORY_UNDEPRECATED": 49, - "EVENT_TYPE_REPOSITORY_DELETED": 7, - "EVENT_TYPE_REPOSITORY_COMMIT_PUSHED": 8, - "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ADDED": 9, - "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ROLE_CHANGED": 10, - "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_REMOVED": 11, - "EVENT_TYPE_REPOSITORY_VISIBILITY_CHANGED": 12, - "EVENT_TYPE_REPOSITORY_DEFAULT_LABEL_NAME_CHANGED": 40, - "EVENT_TYPE_PLUGIN_CREATED": 13, - "EVENT_TYPE_PLUGIN_DELETED": 14, - "EVENT_TYPE_PLUGIN_COMMIT_PUSHED": 43, - "EVENT_TYPE_CURATED_PLUGIN_CREATED": 20, - "EVENT_TYPE_CURATED_PLUGIN_DELETED": 31, - "EVENT_TYPE_USER_CREATED": 15, - "EVENT_TYPE_USER_DELETED": 16, - "EVENT_TYPE_USER_DEACTIVATED": 17, - "EVENT_TYPE_USER_LOGGED_IN": 18, - "EVENT_TYPE_USER_LOGGED_OUT": 19, - "EVENT_TYPE_TOKEN_CREATED": 23, - "EVENT_TYPE_TOKEN_DELETED": 24, - "EVENT_TYPE_USER_REACTIVATED": 25, - "EVENT_TYPE_SCIM_TOKEN_CREATED": 26, - "EVENT_TYPE_SCIM_TOKEN_DELETED": 27, - "EVENT_TYPE_REPOSITORY_COMMIT_DELETED": 28, - "EVENT_TYPE_REPOSITORY_LABEL_CREATED": 29, - "EVENT_TYPE_REPOSITORY_LABEL_MOVED": 30, - "EVENT_TYPE_REPOSITORY_LABEL_ARCHIVED": 38, - "EVENT_TYPE_REPOSITORY_LABEL_UNARCHIVED": 39, - "EVENT_TYPE_SERVER_BREAKING_CHANGE_POLICY_ENABLED": 32, - "EVENT_TYPE_SERVER_BREAKING_CHANGE_POLICY_DISABLED": 33, - "EVENT_TYPE_REPOSITORY_DEFAULT_BRANCH_CHANGED": 34, - "EVENT_TYPE_SERVER_UNIQUENESS_POLICY_ENABLED": 35, - "EVENT_TYPE_SERVER_UNIQUENESS_POLICY_DISABLED": 36, - "EVENT_TYPE_USER_AUTO_MERGED_FROM_NEW_IDP": 37, - "EVENT_TYPE_DEVICE_AUTHORIZATION_GRANT_APPROVED": 41, - "EVENT_TYPE_DEVICE_AUTHORIZATION_GRANT_DENIED": 42, - "EVENT_TYPE_PLUGIN_LABEL_CREATED": 44, - "EVENT_TYPE_PLUGIN_LABEL_MOVED": 45, - "EVENT_TYPE_PLUGIN_LABEL_ARCHIVED": 46, - "EVENT_TYPE_PLUGIN_LABEL_UNARCHIVED": 47, - } -) - -func (x EventType) Enum() *EventType { - p := new(EventType) - *p = x - return p -} - -func (x EventType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (EventType) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_audit_v1alpha1_event_proto_enumTypes[2].Descriptor() -} - -func (EventType) Type() protoreflect.EnumType { - return &file_buf_alpha_audit_v1alpha1_event_proto_enumTypes[2] -} - -func (x EventType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Actor is the actor who caused the audited event. -type Actor struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Type ActorType `protobuf:"varint,1,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.ActorType" json:"type,omitempty"` - xxx_hidden_Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Actor) Reset() { - *x = Actor{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Actor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Actor) ProtoMessage() {} - -func (x *Actor) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Actor) GetType() ActorType { - if x != nil { - return x.xxx_hidden_Type - } - return ActorType_ACTOR_TYPE_UNSPECIFIED -} - -func (x *Actor) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *Actor) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *Actor) SetType(v ActorType) { - x.xxx_hidden_Type = v -} - -func (x *Actor) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *Actor) SetName(v string) { - x.xxx_hidden_Name = v -} - -type Actor_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Type of actor who caused the audited event. - Type ActorType - // Id of the actor who caused the audited event. - Id string - // Name of the actor who caused the audited event. - Name string -} - -func (b0 Actor_builder) Build() *Actor { - m0 := &Actor{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Type = b.Type - x.xxx_hidden_Id = b.Id - x.xxx_hidden_Name = b.Name - return m0 -} - -// Resource is the affected resource by the audited event. -type Resource struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Type ResourceType `protobuf:"varint,1,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.ResourceType" json:"type,omitempty"` - xxx_hidden_Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Resource) Reset() { - *x = Resource{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Resource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Resource) ProtoMessage() {} - -func (x *Resource) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Resource) GetType() ResourceType { - if x != nil { - return x.xxx_hidden_Type - } - return ResourceType_RESOURCE_TYPE_UNSPECIFIED -} - -func (x *Resource) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *Resource) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *Resource) SetType(v ResourceType) { - x.xxx_hidden_Type = v -} - -func (x *Resource) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *Resource) SetName(v string) { - x.xxx_hidden_Name = v -} - -type Resource_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Type of resource that was affected by the audited event. - Type ResourceType - // Id of the affected resource by the audited event. - Id string - // Name of the affected resource by the audited event. - Name string -} - -func (b0 Resource_builder) Build() *Resource { - m0 := &Resource{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Type = b.Type - x.xxx_hidden_Id = b.Id - x.xxx_hidden_Name = b.Name - return m0 -} - -// EventMetadata provides additional details about the audited event. -type EventMetadata struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_UserAgent string `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` - xxx_hidden_Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` - xxx_hidden_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() { - *x = EventMetadata{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EventMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EventMetadata) ProtoMessage() {} - -func (x *EventMetadata) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *EventMetadata) GetUserAgent() string { - if x != nil { - return x.xxx_hidden_UserAgent - } - return "" -} - -func (x *EventMetadata) GetIp() string { - if x != nil { - return x.xxx_hidden_Ip - } - return "" -} - -func (x *EventMetadata) GetTraceId() string { - if x != nil { - return x.xxx_hidden_TraceId - } - return "" -} - -func (x *EventMetadata) SetUserAgent(v string) { - x.xxx_hidden_UserAgent = v -} - -func (x *EventMetadata) SetIp(v string) { - x.xxx_hidden_Ip = v -} - -func (x *EventMetadata) SetTraceId(v string) { - x.xxx_hidden_TraceId = v -} - -type EventMetadata_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // UserAgent is the User-Agent header associated with the request that triggered the audited event, if any. - UserAgent string - // IP is the IP address associated with the request that triggered the audited event, if any. - Ip string - // TraceID is the ID of the trace associated with the audited event, if any. - TraceId string -} - -func (b0 EventMetadata_builder) Build() *EventMetadata { - m0 := &EventMetadata{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_UserAgent = b.UserAgent - x.xxx_hidden_Ip = b.Ip - x.xxx_hidden_TraceId = b.TraceId - return m0 -} - -// Event is an audited action that happened in the BSR, with the information of -// 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 `protogen:"opaque.v1"` - xxx_hidden_EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` - xxx_hidden_Type EventType `protobuf:"varint,2,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.EventType" json:"type,omitempty"` - xxx_hidden_Actor *Actor `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"` - xxx_hidden_Resource *Resource `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` - xxx_hidden_EventTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` - xxx_hidden_Metadata *EventMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` - xxx_hidden_Payload isEvent_Payload `protobuf_oneof:"payload"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Event) Reset() { - *x = Event{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Event) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Event) ProtoMessage() {} - -func (x *Event) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Event) GetEventId() string { - if x != nil { - return x.xxx_hidden_EventId - } - return "" -} - -func (x *Event) GetType() EventType { - if x != nil { - return x.xxx_hidden_Type - } - return EventType_EVENT_TYPE_UNSPECIFIED -} - -func (x *Event) GetActor() *Actor { - if x != nil { - return x.xxx_hidden_Actor - } - return nil -} - -func (x *Event) GetResource() *Resource { - if x != nil { - return x.xxx_hidden_Resource - } - return nil -} - -func (x *Event) GetEventTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_EventTime - } - return nil -} - -func (x *Event) GetMetadata() *EventMetadata { - if x != nil { - return x.xxx_hidden_Metadata - } - return nil -} - -func (x *Event) GetOrganizationCreated() *PayloadOrganizationCreated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_OrganizationCreated); ok { - return x.OrganizationCreated - } - } - return nil -} - -func (x *Event) GetOrganizationDeleted() *PayloadOrganizationDeleted { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_OrganizationDeleted); ok { - return x.OrganizationDeleted - } - } - return nil -} - -func (x *Event) GetOrganizationMemberAdded() *PayloadOrganizationMemberAdded { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberAdded); ok { - return x.OrganizationMemberAdded - } - } - return nil -} - -func (x *Event) GetOrganizationMemberRoleChanged() *PayloadOrganizationMemberRoleChanged { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberRoleChanged); ok { - return x.OrganizationMemberRoleChanged - } - } - return nil -} - -func (x *Event) GetOrganizationMemberRemoved() *PayloadOrganizationMemberRemoved { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberRemoved); ok { - return x.OrganizationMemberRemoved - } - } - return nil -} - -func (x *Event) GetRepositoryCreated() *PayloadRepositoryCreated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryCreated); ok { - return x.RepositoryCreated - } - } - return nil -} - -func (x *Event) GetRepositoryDeprecated() *PayloadRepositoryDeprecated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryDeprecated); ok { - return x.RepositoryDeprecated - } - } - return nil -} - -func (x *Event) GetRepositoryUndeprecated() *PayloadRepositoryUndeprecated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryUndeprecated); ok { - return x.RepositoryUndeprecated - } - } - return nil -} - -func (x *Event) GetRepositoryDeleted() *PayloadRepositoryDeleted { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryDeleted); ok { - return x.RepositoryDeleted - } - } - return nil -} - -func (x *Event) GetRepositoryCommitPushed() *PayloadRepositoryCommitPushed { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryCommitPushed); ok { - return x.RepositoryCommitPushed - } - } - return nil -} - -func (x *Event) GetRepositoryContributorAdded() *PayloadRepositoryContributorAdded { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorAdded); ok { - return x.RepositoryContributorAdded - } - } - return nil -} - -func (x *Event) GetRepositoryContributorRoleChanged() *PayloadRepositoryContributorRoleChanged { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorRoleChanged); ok { - return x.RepositoryContributorRoleChanged - } - } - return nil -} - -func (x *Event) GetRepositoryContributorRemoved() *PayloadRepositoryContributorRemoved { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorRemoved); ok { - return x.RepositoryContributorRemoved - } - } - return nil -} - -func (x *Event) GetRepositoryVisibilityChanged() *PayloadRepositoryVisibilityChanged { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryVisibilityChanged); ok { - return x.RepositoryVisibilityChanged - } - } - return nil -} - -func (x *Event) GetRepositoryDefaultLabelNameChanged() *PayloadRepositoryDefaultLabelNameChanged { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryDefaultLabelNameChanged); ok { - return x.RepositoryDefaultLabelNameChanged - } - } - return nil -} - -func (x *Event) GetPluginCreated() *PayloadPluginCreated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_PluginCreated); ok { - return x.PluginCreated - } - } - return nil -} - -func (x *Event) GetPluginDeleted() *PayloadPluginDeleted { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_PluginDeleted); ok { - return x.PluginDeleted - } - } - return nil -} - -func (x *Event) GetPluginCommitPushed() *PayloadPluginCommitPushed { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_PluginCommitPushed); ok { - return x.PluginCommitPushed - } - } - return nil -} - -func (x *Event) GetUserCreated() *PayloadUserCreated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_UserCreated); ok { - return x.UserCreated - } - } - return nil -} - -func (x *Event) GetUserDeactivated() *PayloadUserDeactivated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_UserDeactivated); ok { - return x.UserDeactivated - } - } - return nil -} - -func (x *Event) GetUserDeleted() *PayloadUserDeleted { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_UserDeleted); ok { - return x.UserDeleted - } - } - return nil -} - -func (x *Event) GetUserLoggedIn() *PayloadUserLoggedIn { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_UserLoggedIn); ok { - return x.UserLoggedIn - } - } - return nil -} - -func (x *Event) GetUserLoggedOut() *PayloadUserLoggedOut { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_UserLoggedOut); ok { - return x.UserLoggedOut - } - } - return nil -} - -func (x *Event) GetCuratedPluginCreated() *PayloadCuratedPluginCreated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_CuratedPluginCreated); ok { - return x.CuratedPluginCreated - } - } - return nil -} - -func (x *Event) GetIdpGroupAdded() *PayloadOrganizationIDPGroupAdded { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_IdpGroupAdded); ok { - return x.IdpGroupAdded - } - } - return nil -} - -func (x *Event) GetIdpGroupRemoved() *PayloadOrganizationIDPGroupRemoved { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_IdpGroupRemoved); ok { - return x.IdpGroupRemoved - } - } - return nil -} - -func (x *Event) GetTokenCreated() *PayloadTokenCreated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_TokenCreated); ok { - return x.TokenCreated - } - } - return nil -} - -func (x *Event) GetTokenDeleted() *PayloadTokenDeleted { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_TokenDeleted); ok { - return x.TokenDeleted - } - } - return nil -} - -func (x *Event) GetUserReactivated() *PayloadUserReactivated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_UserReactivated); ok { - return x.UserReactivated - } - } - return nil -} - -func (x *Event) GetScimTokenCreated() *PayloadSCIMTokenCreated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_ScimTokenCreated); ok { - return x.ScimTokenCreated - } - } - return nil -} - -func (x *Event) GetScimTokenDeleted() *PayloadSCIMTokenDeleted { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_ScimTokenDeleted); ok { - return x.ScimTokenDeleted - } - } - return nil -} - -func (x *Event) GetRepositoryCommitDeleted() *PayloadRepositoryCommitDeleted { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryCommitDeleted); ok { - return x.RepositoryCommitDeleted - } - } - return nil -} - -func (x *Event) GetRepositoryLabelCreated() *PayloadRepositoryLabelCreated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelCreated); ok { - return x.RepositoryLabelCreated - } - } - return nil -} - -func (x *Event) GetRepositoryLabelMoved() *PayloadRepositoryLabelMoved { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelMoved); ok { - return x.RepositoryLabelMoved - } - } - return nil -} - -func (x *Event) GetRepositoryLabelArchived() *PayloadRepositoryLabelArchived { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelArchived); ok { - return x.RepositoryLabelArchived - } - } - return nil -} - -func (x *Event) GetRepositoryLabelUnarchived() *PayloadRepositoryLabelUnarchived { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelUnarchived); ok { - return x.RepositoryLabelUnarchived - } - } - return nil -} - -func (x *Event) GetCuratedPluginDeleted() *PayloadCuratedPluginDeleted { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_CuratedPluginDeleted); ok { - return x.CuratedPluginDeleted - } - } - return nil -} - -func (x *Event) GetPayloadServerBreakingChangePolicyEnabled() *PayloadServerBreakingChangePolicyEnabled { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_PayloadServerBreakingChangePolicyEnabled); ok { - return x.PayloadServerBreakingChangePolicyEnabled - } - } - return nil -} - -func (x *Event) GetPayloadServerBreakingChangePolicyDisabled() *PayloadServerBreakingChangePolicyDisabled { - if x != nil { - if x, ok := x.xxx_hidden_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 != nil { - if x, ok := x.xxx_hidden_Payload.(*event_RepositoryDefaultBranchChanged); ok { - return x.RepositoryDefaultBranchChanged - } - } - return nil -} - -func (x *Event) GetPayloadServerUniquenessPolicyEnabled() *PayloadServerUniquenessPolicyEnabled { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_PayloadServerUniquenessPolicyEnabled); ok { - return x.PayloadServerUniquenessPolicyEnabled - } - } - return nil -} - -func (x *Event) GetPayloadServerUniquenessPolicyDisabled() *PayloadServerUniquenessPolicyDisabled { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_PayloadServerUniquenessPolicyDisabled); ok { - return x.PayloadServerUniquenessPolicyDisabled - } - } - return nil -} - -func (x *Event) GetUserAutoMergedFromNewIdp() *PayloadUserAutoMergedFromNewIdP { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_UserAutoMergedFromNewIdp); ok { - return x.UserAutoMergedFromNewIdp - } - } - return nil -} - -func (x *Event) GetDeviceAuthorizationGrantApproved() *PayloadDeviceAuthorizationGrantApproved { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_DeviceAuthorizationGrantApproved); ok { - return x.DeviceAuthorizationGrantApproved - } - } - return nil -} - -func (x *Event) GetDeviceAuthorizationGrantDenied() *PayloadDeviceAuthorizationGrantDenied { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_DeviceAuthorizationGrantDenied); ok { - return x.DeviceAuthorizationGrantDenied - } - } - return nil -} - -func (x *Event) GetPluginLabelCreated() *PayloadPluginLabelCreated { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_PluginLabelCreated); ok { - return x.PluginLabelCreated - } - } - return nil -} - -func (x *Event) GetPluginLabelMoved() *PayloadPluginLabelMoved { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_PluginLabelMoved); ok { - return x.PluginLabelMoved - } - } - return nil -} - -func (x *Event) GetPluginLabelArchived() *PayloadPluginLabelArchived { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_PluginLabelArchived); ok { - return x.PluginLabelArchived - } - } - return nil -} - -func (x *Event) GetPluginLabelUnarchived() *PayloadPluginLabelUnarchived { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*event_PluginLabelUnarchived); ok { - return x.PluginLabelUnarchived - } - } - return nil -} - -func (x *Event) SetEventId(v string) { - x.xxx_hidden_EventId = v -} - -func (x *Event) SetType(v EventType) { - x.xxx_hidden_Type = v -} - -func (x *Event) SetActor(v *Actor) { - x.xxx_hidden_Actor = v -} - -func (x *Event) SetResource(v *Resource) { - x.xxx_hidden_Resource = v -} - -func (x *Event) SetEventTime(v *timestamppb.Timestamp) { - x.xxx_hidden_EventTime = v -} - -func (x *Event) SetMetadata(v *EventMetadata) { - x.xxx_hidden_Metadata = v -} - -func (x *Event) SetOrganizationCreated(v *PayloadOrganizationCreated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_OrganizationCreated{v} -} - -func (x *Event) SetOrganizationDeleted(v *PayloadOrganizationDeleted) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_OrganizationDeleted{v} -} - -func (x *Event) SetOrganizationMemberAdded(v *PayloadOrganizationMemberAdded) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_OrganizationMemberAdded{v} -} - -func (x *Event) SetOrganizationMemberRoleChanged(v *PayloadOrganizationMemberRoleChanged) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_OrganizationMemberRoleChanged{v} -} - -func (x *Event) SetOrganizationMemberRemoved(v *PayloadOrganizationMemberRemoved) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_OrganizationMemberRemoved{v} -} - -func (x *Event) SetRepositoryCreated(v *PayloadRepositoryCreated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryCreated{v} -} - -func (x *Event) SetRepositoryDeprecated(v *PayloadRepositoryDeprecated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryDeprecated{v} -} - -func (x *Event) SetRepositoryUndeprecated(v *PayloadRepositoryUndeprecated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryUndeprecated{v} -} - -func (x *Event) SetRepositoryDeleted(v *PayloadRepositoryDeleted) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryDeleted{v} -} - -func (x *Event) SetRepositoryCommitPushed(v *PayloadRepositoryCommitPushed) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryCommitPushed{v} -} - -func (x *Event) SetRepositoryContributorAdded(v *PayloadRepositoryContributorAdded) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryContributorAdded{v} -} - -func (x *Event) SetRepositoryContributorRoleChanged(v *PayloadRepositoryContributorRoleChanged) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryContributorRoleChanged{v} -} - -func (x *Event) SetRepositoryContributorRemoved(v *PayloadRepositoryContributorRemoved) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryContributorRemoved{v} -} - -func (x *Event) SetRepositoryVisibilityChanged(v *PayloadRepositoryVisibilityChanged) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryVisibilityChanged{v} -} - -func (x *Event) SetRepositoryDefaultLabelNameChanged(v *PayloadRepositoryDefaultLabelNameChanged) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryDefaultLabelNameChanged{v} -} - -func (x *Event) SetPluginCreated(v *PayloadPluginCreated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_PluginCreated{v} -} - -func (x *Event) SetPluginDeleted(v *PayloadPluginDeleted) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_PluginDeleted{v} -} - -func (x *Event) SetPluginCommitPushed(v *PayloadPluginCommitPushed) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_PluginCommitPushed{v} -} - -func (x *Event) SetUserCreated(v *PayloadUserCreated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_UserCreated{v} -} - -func (x *Event) SetUserDeactivated(v *PayloadUserDeactivated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_UserDeactivated{v} -} - -func (x *Event) SetUserDeleted(v *PayloadUserDeleted) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_UserDeleted{v} -} - -func (x *Event) SetUserLoggedIn(v *PayloadUserLoggedIn) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_UserLoggedIn{v} -} - -func (x *Event) SetUserLoggedOut(v *PayloadUserLoggedOut) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_UserLoggedOut{v} -} - -func (x *Event) SetCuratedPluginCreated(v *PayloadCuratedPluginCreated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_CuratedPluginCreated{v} -} - -func (x *Event) SetIdpGroupAdded(v *PayloadOrganizationIDPGroupAdded) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_IdpGroupAdded{v} -} - -func (x *Event) SetIdpGroupRemoved(v *PayloadOrganizationIDPGroupRemoved) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_IdpGroupRemoved{v} -} - -func (x *Event) SetTokenCreated(v *PayloadTokenCreated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_TokenCreated{v} -} - -func (x *Event) SetTokenDeleted(v *PayloadTokenDeleted) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_TokenDeleted{v} -} - -func (x *Event) SetUserReactivated(v *PayloadUserReactivated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_UserReactivated{v} -} - -func (x *Event) SetScimTokenCreated(v *PayloadSCIMTokenCreated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_ScimTokenCreated{v} -} - -func (x *Event) SetScimTokenDeleted(v *PayloadSCIMTokenDeleted) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_ScimTokenDeleted{v} -} - -func (x *Event) SetRepositoryCommitDeleted(v *PayloadRepositoryCommitDeleted) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryCommitDeleted{v} -} - -func (x *Event) SetRepositoryLabelCreated(v *PayloadRepositoryLabelCreated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryLabelCreated{v} -} - -func (x *Event) SetRepositoryLabelMoved(v *PayloadRepositoryLabelMoved) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryLabelMoved{v} -} - -func (x *Event) SetRepositoryLabelArchived(v *PayloadRepositoryLabelArchived) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryLabelArchived{v} -} - -func (x *Event) SetRepositoryLabelUnarchived(v *PayloadRepositoryLabelUnarchived) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryLabelUnarchived{v} -} - -func (x *Event) SetCuratedPluginDeleted(v *PayloadCuratedPluginDeleted) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_CuratedPluginDeleted{v} -} - -func (x *Event) SetPayloadServerBreakingChangePolicyEnabled(v *PayloadServerBreakingChangePolicyEnabled) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_PayloadServerBreakingChangePolicyEnabled{v} -} - -func (x *Event) SetPayloadServerBreakingChangePolicyDisabled(v *PayloadServerBreakingChangePolicyDisabled) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_PayloadServerBreakingChangePolicyDisabled{v} -} - -// Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. -func (x *Event) SetRepositoryDefaultBranchChanged(v *PayloadRepositoryDefaultBranchChanged) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_RepositoryDefaultBranchChanged{v} -} - -func (x *Event) SetPayloadServerUniquenessPolicyEnabled(v *PayloadServerUniquenessPolicyEnabled) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_PayloadServerUniquenessPolicyEnabled{v} -} - -func (x *Event) SetPayloadServerUniquenessPolicyDisabled(v *PayloadServerUniquenessPolicyDisabled) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_PayloadServerUniquenessPolicyDisabled{v} -} - -func (x *Event) SetUserAutoMergedFromNewIdp(v *PayloadUserAutoMergedFromNewIdP) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_UserAutoMergedFromNewIdp{v} -} - -func (x *Event) SetDeviceAuthorizationGrantApproved(v *PayloadDeviceAuthorizationGrantApproved) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_DeviceAuthorizationGrantApproved{v} -} - -func (x *Event) SetDeviceAuthorizationGrantDenied(v *PayloadDeviceAuthorizationGrantDenied) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_DeviceAuthorizationGrantDenied{v} -} - -func (x *Event) SetPluginLabelCreated(v *PayloadPluginLabelCreated) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_PluginLabelCreated{v} -} - -func (x *Event) SetPluginLabelMoved(v *PayloadPluginLabelMoved) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_PluginLabelMoved{v} -} - -func (x *Event) SetPluginLabelArchived(v *PayloadPluginLabelArchived) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_PluginLabelArchived{v} -} - -func (x *Event) SetPluginLabelUnarchived(v *PayloadPluginLabelUnarchived) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &event_PluginLabelUnarchived{v} -} - -func (x *Event) HasActor() bool { - if x == nil { - return false - } - return x.xxx_hidden_Actor != nil -} - -func (x *Event) HasResource() bool { - if x == nil { - return false - } - return x.xxx_hidden_Resource != nil -} - -func (x *Event) HasEventTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_EventTime != nil -} - -func (x *Event) HasMetadata() bool { - if x == nil { - return false - } - return x.xxx_hidden_Metadata != nil -} - -func (x *Event) HasPayload() bool { - if x == nil { - return false - } - return x.xxx_hidden_Payload != nil -} - -func (x *Event) HasOrganizationCreated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_OrganizationCreated) - return ok -} - -func (x *Event) HasOrganizationDeleted() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_OrganizationDeleted) - return ok -} - -func (x *Event) HasOrganizationMemberAdded() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberAdded) - return ok -} - -func (x *Event) HasOrganizationMemberRoleChanged() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberRoleChanged) - return ok -} - -func (x *Event) HasOrganizationMemberRemoved() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberRemoved) - return ok -} - -func (x *Event) HasRepositoryCreated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryCreated) - return ok -} - -func (x *Event) HasRepositoryDeprecated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryDeprecated) - return ok -} - -func (x *Event) HasRepositoryUndeprecated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryUndeprecated) - return ok -} - -func (x *Event) HasRepositoryDeleted() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryDeleted) - return ok -} - -func (x *Event) HasRepositoryCommitPushed() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryCommitPushed) - return ok -} - -func (x *Event) HasRepositoryContributorAdded() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorAdded) - return ok -} - -func (x *Event) HasRepositoryContributorRoleChanged() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorRoleChanged) - return ok -} - -func (x *Event) HasRepositoryContributorRemoved() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorRemoved) - return ok -} - -func (x *Event) HasRepositoryVisibilityChanged() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryVisibilityChanged) - return ok -} - -func (x *Event) HasRepositoryDefaultLabelNameChanged() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryDefaultLabelNameChanged) - return ok -} - -func (x *Event) HasPluginCreated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_PluginCreated) - return ok -} - -func (x *Event) HasPluginDeleted() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_PluginDeleted) - return ok -} - -func (x *Event) HasPluginCommitPushed() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_PluginCommitPushed) - return ok -} - -func (x *Event) HasUserCreated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_UserCreated) - return ok -} - -func (x *Event) HasUserDeactivated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_UserDeactivated) - return ok -} - -func (x *Event) HasUserDeleted() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_UserDeleted) - return ok -} - -func (x *Event) HasUserLoggedIn() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_UserLoggedIn) - return ok -} - -func (x *Event) HasUserLoggedOut() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_UserLoggedOut) - return ok -} - -func (x *Event) HasCuratedPluginCreated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_CuratedPluginCreated) - return ok -} - -func (x *Event) HasIdpGroupAdded() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_IdpGroupAdded) - return ok -} - -func (x *Event) HasIdpGroupRemoved() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_IdpGroupRemoved) - return ok -} - -func (x *Event) HasTokenCreated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_TokenCreated) - return ok -} - -func (x *Event) HasTokenDeleted() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_TokenDeleted) - return ok -} - -func (x *Event) HasUserReactivated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_UserReactivated) - return ok -} - -func (x *Event) HasScimTokenCreated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_ScimTokenCreated) - return ok -} - -func (x *Event) HasScimTokenDeleted() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_ScimTokenDeleted) - return ok -} - -func (x *Event) HasRepositoryCommitDeleted() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryCommitDeleted) - return ok -} - -func (x *Event) HasRepositoryLabelCreated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelCreated) - return ok -} - -func (x *Event) HasRepositoryLabelMoved() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelMoved) - return ok -} - -func (x *Event) HasRepositoryLabelArchived() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelArchived) - return ok -} - -func (x *Event) HasRepositoryLabelUnarchived() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelUnarchived) - return ok -} - -func (x *Event) HasCuratedPluginDeleted() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_CuratedPluginDeleted) - return ok -} - -func (x *Event) HasPayloadServerBreakingChangePolicyEnabled() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_PayloadServerBreakingChangePolicyEnabled) - return ok -} - -func (x *Event) HasPayloadServerBreakingChangePolicyDisabled() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_PayloadServerBreakingChangePolicyDisabled) - return ok -} - -// Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. -func (x *Event) HasRepositoryDefaultBranchChanged() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_RepositoryDefaultBranchChanged) - return ok -} - -func (x *Event) HasPayloadServerUniquenessPolicyEnabled() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_PayloadServerUniquenessPolicyEnabled) - return ok -} - -func (x *Event) HasPayloadServerUniquenessPolicyDisabled() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_PayloadServerUniquenessPolicyDisabled) - return ok -} - -func (x *Event) HasUserAutoMergedFromNewIdp() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_UserAutoMergedFromNewIdp) - return ok -} - -func (x *Event) HasDeviceAuthorizationGrantApproved() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_DeviceAuthorizationGrantApproved) - return ok -} - -func (x *Event) HasDeviceAuthorizationGrantDenied() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_DeviceAuthorizationGrantDenied) - return ok -} - -func (x *Event) HasPluginLabelCreated() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_PluginLabelCreated) - return ok -} - -func (x *Event) HasPluginLabelMoved() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_PluginLabelMoved) - return ok -} - -func (x *Event) HasPluginLabelArchived() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_PluginLabelArchived) - return ok -} - -func (x *Event) HasPluginLabelUnarchived() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*event_PluginLabelUnarchived) - return ok -} - -func (x *Event) ClearActor() { - x.xxx_hidden_Actor = nil -} - -func (x *Event) ClearResource() { - x.xxx_hidden_Resource = nil -} - -func (x *Event) ClearEventTime() { - x.xxx_hidden_EventTime = nil -} - -func (x *Event) ClearMetadata() { - x.xxx_hidden_Metadata = nil -} - -func (x *Event) ClearPayload() { - x.xxx_hidden_Payload = nil -} - -func (x *Event) ClearOrganizationCreated() { - if _, ok := x.xxx_hidden_Payload.(*event_OrganizationCreated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearOrganizationDeleted() { - if _, ok := x.xxx_hidden_Payload.(*event_OrganizationDeleted); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearOrganizationMemberAdded() { - if _, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberAdded); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearOrganizationMemberRoleChanged() { - if _, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberRoleChanged); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearOrganizationMemberRemoved() { - if _, ok := x.xxx_hidden_Payload.(*event_OrganizationMemberRemoved); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryCreated() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryCreated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryDeprecated() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryDeprecated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryUndeprecated() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryUndeprecated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryDeleted() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryDeleted); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryCommitPushed() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryCommitPushed); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryContributorAdded() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorAdded); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryContributorRoleChanged() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorRoleChanged); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryContributorRemoved() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryContributorRemoved); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryVisibilityChanged() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryVisibilityChanged); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryDefaultLabelNameChanged() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryDefaultLabelNameChanged); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearPluginCreated() { - if _, ok := x.xxx_hidden_Payload.(*event_PluginCreated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearPluginDeleted() { - if _, ok := x.xxx_hidden_Payload.(*event_PluginDeleted); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearPluginCommitPushed() { - if _, ok := x.xxx_hidden_Payload.(*event_PluginCommitPushed); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearUserCreated() { - if _, ok := x.xxx_hidden_Payload.(*event_UserCreated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearUserDeactivated() { - if _, ok := x.xxx_hidden_Payload.(*event_UserDeactivated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearUserDeleted() { - if _, ok := x.xxx_hidden_Payload.(*event_UserDeleted); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearUserLoggedIn() { - if _, ok := x.xxx_hidden_Payload.(*event_UserLoggedIn); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearUserLoggedOut() { - if _, ok := x.xxx_hidden_Payload.(*event_UserLoggedOut); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearCuratedPluginCreated() { - if _, ok := x.xxx_hidden_Payload.(*event_CuratedPluginCreated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearIdpGroupAdded() { - if _, ok := x.xxx_hidden_Payload.(*event_IdpGroupAdded); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearIdpGroupRemoved() { - if _, ok := x.xxx_hidden_Payload.(*event_IdpGroupRemoved); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearTokenCreated() { - if _, ok := x.xxx_hidden_Payload.(*event_TokenCreated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearTokenDeleted() { - if _, ok := x.xxx_hidden_Payload.(*event_TokenDeleted); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearUserReactivated() { - if _, ok := x.xxx_hidden_Payload.(*event_UserReactivated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearScimTokenCreated() { - if _, ok := x.xxx_hidden_Payload.(*event_ScimTokenCreated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearScimTokenDeleted() { - if _, ok := x.xxx_hidden_Payload.(*event_ScimTokenDeleted); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryCommitDeleted() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryCommitDeleted); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryLabelCreated() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelCreated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryLabelMoved() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelMoved); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryLabelArchived() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelArchived); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearRepositoryLabelUnarchived() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryLabelUnarchived); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearCuratedPluginDeleted() { - if _, ok := x.xxx_hidden_Payload.(*event_CuratedPluginDeleted); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearPayloadServerBreakingChangePolicyEnabled() { - if _, ok := x.xxx_hidden_Payload.(*event_PayloadServerBreakingChangePolicyEnabled); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearPayloadServerBreakingChangePolicyDisabled() { - if _, ok := x.xxx_hidden_Payload.(*event_PayloadServerBreakingChangePolicyDisabled); ok { - x.xxx_hidden_Payload = nil - } -} - -// Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. -func (x *Event) ClearRepositoryDefaultBranchChanged() { - if _, ok := x.xxx_hidden_Payload.(*event_RepositoryDefaultBranchChanged); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearPayloadServerUniquenessPolicyEnabled() { - if _, ok := x.xxx_hidden_Payload.(*event_PayloadServerUniquenessPolicyEnabled); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearPayloadServerUniquenessPolicyDisabled() { - if _, ok := x.xxx_hidden_Payload.(*event_PayloadServerUniquenessPolicyDisabled); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearUserAutoMergedFromNewIdp() { - if _, ok := x.xxx_hidden_Payload.(*event_UserAutoMergedFromNewIdp); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearDeviceAuthorizationGrantApproved() { - if _, ok := x.xxx_hidden_Payload.(*event_DeviceAuthorizationGrantApproved); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearDeviceAuthorizationGrantDenied() { - if _, ok := x.xxx_hidden_Payload.(*event_DeviceAuthorizationGrantDenied); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearPluginLabelCreated() { - if _, ok := x.xxx_hidden_Payload.(*event_PluginLabelCreated); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearPluginLabelMoved() { - if _, ok := x.xxx_hidden_Payload.(*event_PluginLabelMoved); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearPluginLabelArchived() { - if _, ok := x.xxx_hidden_Payload.(*event_PluginLabelArchived); ok { - x.xxx_hidden_Payload = nil - } -} - -func (x *Event) ClearPluginLabelUnarchived() { - if _, ok := x.xxx_hidden_Payload.(*event_PluginLabelUnarchived); ok { - x.xxx_hidden_Payload = nil - } -} - -const Event_Payload_not_set_case case_Event_Payload = 0 -const Event_OrganizationCreated_case case_Event_Payload = 7 -const Event_OrganizationDeleted_case case_Event_Payload = 8 -const Event_OrganizationMemberAdded_case case_Event_Payload = 9 -const Event_OrganizationMemberRoleChanged_case case_Event_Payload = 10 -const Event_OrganizationMemberRemoved_case case_Event_Payload = 11 -const Event_RepositoryCreated_case case_Event_Payload = 12 -const Event_RepositoryDeprecated_case case_Event_Payload = 54 -const Event_RepositoryUndeprecated_case case_Event_Payload = 55 -const Event_RepositoryDeleted_case case_Event_Payload = 13 -const Event_RepositoryCommitPushed_case case_Event_Payload = 14 -const Event_RepositoryContributorAdded_case case_Event_Payload = 15 -const Event_RepositoryContributorRoleChanged_case case_Event_Payload = 16 -const Event_RepositoryContributorRemoved_case case_Event_Payload = 17 -const Event_RepositoryVisibilityChanged_case case_Event_Payload = 18 -const Event_RepositoryDefaultLabelNameChanged_case case_Event_Payload = 46 -const Event_PluginCreated_case case_Event_Payload = 19 -const Event_PluginDeleted_case case_Event_Payload = 20 -const Event_PluginCommitPushed_case case_Event_Payload = 49 -const Event_UserCreated_case case_Event_Payload = 21 -const Event_UserDeactivated_case case_Event_Payload = 22 -const Event_UserDeleted_case case_Event_Payload = 23 -const Event_UserLoggedIn_case case_Event_Payload = 24 -const Event_UserLoggedOut_case case_Event_Payload = 25 -const Event_CuratedPluginCreated_case case_Event_Payload = 26 -const Event_IdpGroupAdded_case case_Event_Payload = 27 -const Event_IdpGroupRemoved_case case_Event_Payload = 28 -const Event_TokenCreated_case case_Event_Payload = 29 -const Event_TokenDeleted_case case_Event_Payload = 30 -const Event_UserReactivated_case case_Event_Payload = 31 -const Event_ScimTokenCreated_case case_Event_Payload = 32 -const Event_ScimTokenDeleted_case case_Event_Payload = 33 -const Event_RepositoryCommitDeleted_case case_Event_Payload = 34 -const Event_RepositoryLabelCreated_case case_Event_Payload = 35 -const Event_RepositoryLabelMoved_case case_Event_Payload = 36 -const Event_RepositoryLabelArchived_case case_Event_Payload = 44 -const Event_RepositoryLabelUnarchived_case case_Event_Payload = 45 -const Event_CuratedPluginDeleted_case case_Event_Payload = 37 -const Event_PayloadServerBreakingChangePolicyEnabled_case case_Event_Payload = 38 -const Event_PayloadServerBreakingChangePolicyDisabled_case case_Event_Payload = 39 -const Event_RepositoryDefaultBranchChanged_case case_Event_Payload = 40 -const Event_PayloadServerUniquenessPolicyEnabled_case case_Event_Payload = 41 -const Event_PayloadServerUniquenessPolicyDisabled_case case_Event_Payload = 42 -const Event_UserAutoMergedFromNewIdp_case case_Event_Payload = 43 -const Event_DeviceAuthorizationGrantApproved_case case_Event_Payload = 47 -const Event_DeviceAuthorizationGrantDenied_case case_Event_Payload = 48 -const Event_PluginLabelCreated_case case_Event_Payload = 50 -const Event_PluginLabelMoved_case case_Event_Payload = 51 -const Event_PluginLabelArchived_case case_Event_Payload = 52 -const Event_PluginLabelUnarchived_case case_Event_Payload = 53 - -func (x *Event) WhichPayload() case_Event_Payload { - if x == nil { - return Event_Payload_not_set_case - } - switch x.xxx_hidden_Payload.(type) { - case *event_OrganizationCreated: - return Event_OrganizationCreated_case - case *event_OrganizationDeleted: - return Event_OrganizationDeleted_case - case *event_OrganizationMemberAdded: - return Event_OrganizationMemberAdded_case - case *event_OrganizationMemberRoleChanged: - return Event_OrganizationMemberRoleChanged_case - case *event_OrganizationMemberRemoved: - return Event_OrganizationMemberRemoved_case - case *event_RepositoryCreated: - return Event_RepositoryCreated_case - case *event_RepositoryDeprecated: - return Event_RepositoryDeprecated_case - case *event_RepositoryUndeprecated: - return Event_RepositoryUndeprecated_case - case *event_RepositoryDeleted: - return Event_RepositoryDeleted_case - case *event_RepositoryCommitPushed: - return Event_RepositoryCommitPushed_case - case *event_RepositoryContributorAdded: - return Event_RepositoryContributorAdded_case - case *event_RepositoryContributorRoleChanged: - return Event_RepositoryContributorRoleChanged_case - case *event_RepositoryContributorRemoved: - return Event_RepositoryContributorRemoved_case - case *event_RepositoryVisibilityChanged: - return Event_RepositoryVisibilityChanged_case - case *event_RepositoryDefaultLabelNameChanged: - return Event_RepositoryDefaultLabelNameChanged_case - case *event_PluginCreated: - return Event_PluginCreated_case - case *event_PluginDeleted: - return Event_PluginDeleted_case - case *event_PluginCommitPushed: - return Event_PluginCommitPushed_case - case *event_UserCreated: - return Event_UserCreated_case - case *event_UserDeactivated: - return Event_UserDeactivated_case - case *event_UserDeleted: - return Event_UserDeleted_case - case *event_UserLoggedIn: - return Event_UserLoggedIn_case - case *event_UserLoggedOut: - return Event_UserLoggedOut_case - case *event_CuratedPluginCreated: - return Event_CuratedPluginCreated_case - case *event_IdpGroupAdded: - return Event_IdpGroupAdded_case - case *event_IdpGroupRemoved: - return Event_IdpGroupRemoved_case - case *event_TokenCreated: - return Event_TokenCreated_case - case *event_TokenDeleted: - return Event_TokenDeleted_case - case *event_UserReactivated: - return Event_UserReactivated_case - case *event_ScimTokenCreated: - return Event_ScimTokenCreated_case - case *event_ScimTokenDeleted: - return Event_ScimTokenDeleted_case - case *event_RepositoryCommitDeleted: - return Event_RepositoryCommitDeleted_case - case *event_RepositoryLabelCreated: - return Event_RepositoryLabelCreated_case - case *event_RepositoryLabelMoved: - return Event_RepositoryLabelMoved_case - case *event_RepositoryLabelArchived: - return Event_RepositoryLabelArchived_case - case *event_RepositoryLabelUnarchived: - return Event_RepositoryLabelUnarchived_case - case *event_CuratedPluginDeleted: - return Event_CuratedPluginDeleted_case - case *event_PayloadServerBreakingChangePolicyEnabled: - return Event_PayloadServerBreakingChangePolicyEnabled_case - case *event_PayloadServerBreakingChangePolicyDisabled: - return Event_PayloadServerBreakingChangePolicyDisabled_case - case *event_RepositoryDefaultBranchChanged: - return Event_RepositoryDefaultBranchChanged_case - case *event_PayloadServerUniquenessPolicyEnabled: - return Event_PayloadServerUniquenessPolicyEnabled_case - case *event_PayloadServerUniquenessPolicyDisabled: - return Event_PayloadServerUniquenessPolicyDisabled_case - case *event_UserAutoMergedFromNewIdp: - return Event_UserAutoMergedFromNewIdp_case - case *event_DeviceAuthorizationGrantApproved: - return Event_DeviceAuthorizationGrantApproved_case - case *event_DeviceAuthorizationGrantDenied: - return Event_DeviceAuthorizationGrantDenied_case - case *event_PluginLabelCreated: - return Event_PluginLabelCreated_case - case *event_PluginLabelMoved: - return Event_PluginLabelMoved_case - case *event_PluginLabelArchived: - return Event_PluginLabelArchived_case - case *event_PluginLabelUnarchived: - return Event_PluginLabelUnarchived_case - default: - return Event_Payload_not_set_case - } -} - -type Event_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Unique id of the audited event. - EventId string - // Type of the audited event. It specifies "what" happened. - Type EventType - // Actor of the audited event. It specifies "who" did it. - Actor *Actor - // Resource of the audited event. It specifies "which resource" was affected. - Resource *Resource - // Time of the audited event. It specifies "when" it happened. - EventTime *timestamppb.Timestamp - // Metadata about the audited event. It specifies any additional details about the audited event. - Metadata *EventMetadata - // Payload of the audited event. It specifies additional context on the event. - - // Fields of oneof xxx_hidden_Payload: - OrganizationCreated *PayloadOrganizationCreated - OrganizationDeleted *PayloadOrganizationDeleted - OrganizationMemberAdded *PayloadOrganizationMemberAdded - OrganizationMemberRoleChanged *PayloadOrganizationMemberRoleChanged - OrganizationMemberRemoved *PayloadOrganizationMemberRemoved - RepositoryCreated *PayloadRepositoryCreated - RepositoryDeprecated *PayloadRepositoryDeprecated - RepositoryUndeprecated *PayloadRepositoryUndeprecated - RepositoryDeleted *PayloadRepositoryDeleted - RepositoryCommitPushed *PayloadRepositoryCommitPushed - RepositoryContributorAdded *PayloadRepositoryContributorAdded - RepositoryContributorRoleChanged *PayloadRepositoryContributorRoleChanged - RepositoryContributorRemoved *PayloadRepositoryContributorRemoved - RepositoryVisibilityChanged *PayloadRepositoryVisibilityChanged - RepositoryDefaultLabelNameChanged *PayloadRepositoryDefaultLabelNameChanged - PluginCreated *PayloadPluginCreated - PluginDeleted *PayloadPluginDeleted - PluginCommitPushed *PayloadPluginCommitPushed - UserCreated *PayloadUserCreated - UserDeactivated *PayloadUserDeactivated - UserDeleted *PayloadUserDeleted - UserLoggedIn *PayloadUserLoggedIn - UserLoggedOut *PayloadUserLoggedOut - CuratedPluginCreated *PayloadCuratedPluginCreated - IdpGroupAdded *PayloadOrganizationIDPGroupAdded - IdpGroupRemoved *PayloadOrganizationIDPGroupRemoved - TokenCreated *PayloadTokenCreated - TokenDeleted *PayloadTokenDeleted - UserReactivated *PayloadUserReactivated - ScimTokenCreated *PayloadSCIMTokenCreated - ScimTokenDeleted *PayloadSCIMTokenDeleted - RepositoryCommitDeleted *PayloadRepositoryCommitDeleted - RepositoryLabelCreated *PayloadRepositoryLabelCreated - RepositoryLabelMoved *PayloadRepositoryLabelMoved - RepositoryLabelArchived *PayloadRepositoryLabelArchived - RepositoryLabelUnarchived *PayloadRepositoryLabelUnarchived - CuratedPluginDeleted *PayloadCuratedPluginDeleted - PayloadServerBreakingChangePolicyEnabled *PayloadServerBreakingChangePolicyEnabled - PayloadServerBreakingChangePolicyDisabled *PayloadServerBreakingChangePolicyDisabled - // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. - RepositoryDefaultBranchChanged *PayloadRepositoryDefaultBranchChanged - PayloadServerUniquenessPolicyEnabled *PayloadServerUniquenessPolicyEnabled - PayloadServerUniquenessPolicyDisabled *PayloadServerUniquenessPolicyDisabled - UserAutoMergedFromNewIdp *PayloadUserAutoMergedFromNewIdP - DeviceAuthorizationGrantApproved *PayloadDeviceAuthorizationGrantApproved - DeviceAuthorizationGrantDenied *PayloadDeviceAuthorizationGrantDenied - PluginLabelCreated *PayloadPluginLabelCreated - PluginLabelMoved *PayloadPluginLabelMoved - PluginLabelArchived *PayloadPluginLabelArchived - PluginLabelUnarchived *PayloadPluginLabelUnarchived - // -- end of xxx_hidden_Payload -} - -func (b0 Event_builder) Build() *Event { - m0 := &Event{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_EventId = b.EventId - x.xxx_hidden_Type = b.Type - x.xxx_hidden_Actor = b.Actor - x.xxx_hidden_Resource = b.Resource - x.xxx_hidden_EventTime = b.EventTime - x.xxx_hidden_Metadata = b.Metadata - if b.OrganizationCreated != nil { - x.xxx_hidden_Payload = &event_OrganizationCreated{b.OrganizationCreated} - } - if b.OrganizationDeleted != nil { - x.xxx_hidden_Payload = &event_OrganizationDeleted{b.OrganizationDeleted} - } - if b.OrganizationMemberAdded != nil { - x.xxx_hidden_Payload = &event_OrganizationMemberAdded{b.OrganizationMemberAdded} - } - if b.OrganizationMemberRoleChanged != nil { - x.xxx_hidden_Payload = &event_OrganizationMemberRoleChanged{b.OrganizationMemberRoleChanged} - } - if b.OrganizationMemberRemoved != nil { - x.xxx_hidden_Payload = &event_OrganizationMemberRemoved{b.OrganizationMemberRemoved} - } - if b.RepositoryCreated != nil { - x.xxx_hidden_Payload = &event_RepositoryCreated{b.RepositoryCreated} - } - if b.RepositoryDeprecated != nil { - x.xxx_hidden_Payload = &event_RepositoryDeprecated{b.RepositoryDeprecated} - } - if b.RepositoryUndeprecated != nil { - x.xxx_hidden_Payload = &event_RepositoryUndeprecated{b.RepositoryUndeprecated} - } - if b.RepositoryDeleted != nil { - x.xxx_hidden_Payload = &event_RepositoryDeleted{b.RepositoryDeleted} - } - if b.RepositoryCommitPushed != nil { - x.xxx_hidden_Payload = &event_RepositoryCommitPushed{b.RepositoryCommitPushed} - } - if b.RepositoryContributorAdded != nil { - x.xxx_hidden_Payload = &event_RepositoryContributorAdded{b.RepositoryContributorAdded} - } - if b.RepositoryContributorRoleChanged != nil { - x.xxx_hidden_Payload = &event_RepositoryContributorRoleChanged{b.RepositoryContributorRoleChanged} - } - if b.RepositoryContributorRemoved != nil { - x.xxx_hidden_Payload = &event_RepositoryContributorRemoved{b.RepositoryContributorRemoved} - } - if b.RepositoryVisibilityChanged != nil { - x.xxx_hidden_Payload = &event_RepositoryVisibilityChanged{b.RepositoryVisibilityChanged} - } - if b.RepositoryDefaultLabelNameChanged != nil { - x.xxx_hidden_Payload = &event_RepositoryDefaultLabelNameChanged{b.RepositoryDefaultLabelNameChanged} - } - if b.PluginCreated != nil { - x.xxx_hidden_Payload = &event_PluginCreated{b.PluginCreated} - } - if b.PluginDeleted != nil { - x.xxx_hidden_Payload = &event_PluginDeleted{b.PluginDeleted} - } - if b.PluginCommitPushed != nil { - x.xxx_hidden_Payload = &event_PluginCommitPushed{b.PluginCommitPushed} - } - if b.UserCreated != nil { - x.xxx_hidden_Payload = &event_UserCreated{b.UserCreated} - } - if b.UserDeactivated != nil { - x.xxx_hidden_Payload = &event_UserDeactivated{b.UserDeactivated} - } - if b.UserDeleted != nil { - x.xxx_hidden_Payload = &event_UserDeleted{b.UserDeleted} - } - if b.UserLoggedIn != nil { - x.xxx_hidden_Payload = &event_UserLoggedIn{b.UserLoggedIn} - } - if b.UserLoggedOut != nil { - x.xxx_hidden_Payload = &event_UserLoggedOut{b.UserLoggedOut} - } - if b.CuratedPluginCreated != nil { - x.xxx_hidden_Payload = &event_CuratedPluginCreated{b.CuratedPluginCreated} - } - if b.IdpGroupAdded != nil { - x.xxx_hidden_Payload = &event_IdpGroupAdded{b.IdpGroupAdded} - } - if b.IdpGroupRemoved != nil { - x.xxx_hidden_Payload = &event_IdpGroupRemoved{b.IdpGroupRemoved} - } - if b.TokenCreated != nil { - x.xxx_hidden_Payload = &event_TokenCreated{b.TokenCreated} - } - if b.TokenDeleted != nil { - x.xxx_hidden_Payload = &event_TokenDeleted{b.TokenDeleted} - } - if b.UserReactivated != nil { - x.xxx_hidden_Payload = &event_UserReactivated{b.UserReactivated} - } - if b.ScimTokenCreated != nil { - x.xxx_hidden_Payload = &event_ScimTokenCreated{b.ScimTokenCreated} - } - if b.ScimTokenDeleted != nil { - x.xxx_hidden_Payload = &event_ScimTokenDeleted{b.ScimTokenDeleted} - } - if b.RepositoryCommitDeleted != nil { - x.xxx_hidden_Payload = &event_RepositoryCommitDeleted{b.RepositoryCommitDeleted} - } - if b.RepositoryLabelCreated != nil { - x.xxx_hidden_Payload = &event_RepositoryLabelCreated{b.RepositoryLabelCreated} - } - if b.RepositoryLabelMoved != nil { - x.xxx_hidden_Payload = &event_RepositoryLabelMoved{b.RepositoryLabelMoved} - } - if b.RepositoryLabelArchived != nil { - x.xxx_hidden_Payload = &event_RepositoryLabelArchived{b.RepositoryLabelArchived} - } - if b.RepositoryLabelUnarchived != nil { - x.xxx_hidden_Payload = &event_RepositoryLabelUnarchived{b.RepositoryLabelUnarchived} - } - if b.CuratedPluginDeleted != nil { - x.xxx_hidden_Payload = &event_CuratedPluginDeleted{b.CuratedPluginDeleted} - } - if b.PayloadServerBreakingChangePolicyEnabled != nil { - x.xxx_hidden_Payload = &event_PayloadServerBreakingChangePolicyEnabled{b.PayloadServerBreakingChangePolicyEnabled} - } - if b.PayloadServerBreakingChangePolicyDisabled != nil { - x.xxx_hidden_Payload = &event_PayloadServerBreakingChangePolicyDisabled{b.PayloadServerBreakingChangePolicyDisabled} - } - if b.RepositoryDefaultBranchChanged != nil { - x.xxx_hidden_Payload = &event_RepositoryDefaultBranchChanged{b.RepositoryDefaultBranchChanged} - } - if b.PayloadServerUniquenessPolicyEnabled != nil { - x.xxx_hidden_Payload = &event_PayloadServerUniquenessPolicyEnabled{b.PayloadServerUniquenessPolicyEnabled} - } - if b.PayloadServerUniquenessPolicyDisabled != nil { - x.xxx_hidden_Payload = &event_PayloadServerUniquenessPolicyDisabled{b.PayloadServerUniquenessPolicyDisabled} - } - if b.UserAutoMergedFromNewIdp != nil { - x.xxx_hidden_Payload = &event_UserAutoMergedFromNewIdp{b.UserAutoMergedFromNewIdp} - } - if b.DeviceAuthorizationGrantApproved != nil { - x.xxx_hidden_Payload = &event_DeviceAuthorizationGrantApproved{b.DeviceAuthorizationGrantApproved} - } - if b.DeviceAuthorizationGrantDenied != nil { - x.xxx_hidden_Payload = &event_DeviceAuthorizationGrantDenied{b.DeviceAuthorizationGrantDenied} - } - if b.PluginLabelCreated != nil { - x.xxx_hidden_Payload = &event_PluginLabelCreated{b.PluginLabelCreated} - } - if b.PluginLabelMoved != nil { - x.xxx_hidden_Payload = &event_PluginLabelMoved{b.PluginLabelMoved} - } - if b.PluginLabelArchived != nil { - x.xxx_hidden_Payload = &event_PluginLabelArchived{b.PluginLabelArchived} - } - if b.PluginLabelUnarchived != nil { - x.xxx_hidden_Payload = &event_PluginLabelUnarchived{b.PluginLabelUnarchived} - } - return m0 -} - -type case_Event_Payload protoreflect.FieldNumber - -func (x case_Event_Payload) String() string { - md := file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[3].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isEvent_Payload interface { - isEvent_Payload() -} - -type event_OrganizationCreated struct { - OrganizationCreated *PayloadOrganizationCreated `protobuf:"bytes,7,opt,name=organization_created,json=organizationCreated,proto3,oneof"` -} - -type event_OrganizationDeleted struct { - OrganizationDeleted *PayloadOrganizationDeleted `protobuf:"bytes,8,opt,name=organization_deleted,json=organizationDeleted,proto3,oneof"` -} - -type event_OrganizationMemberAdded struct { - OrganizationMemberAdded *PayloadOrganizationMemberAdded `protobuf:"bytes,9,opt,name=organization_member_added,json=organizationMemberAdded,proto3,oneof"` -} - -type event_OrganizationMemberRoleChanged struct { - OrganizationMemberRoleChanged *PayloadOrganizationMemberRoleChanged `protobuf:"bytes,10,opt,name=organization_member_role_changed,json=organizationMemberRoleChanged,proto3,oneof"` -} - -type event_OrganizationMemberRemoved struct { - OrganizationMemberRemoved *PayloadOrganizationMemberRemoved `protobuf:"bytes,11,opt,name=organization_member_removed,json=organizationMemberRemoved,proto3,oneof"` -} - -type event_RepositoryCreated struct { - RepositoryCreated *PayloadRepositoryCreated `protobuf:"bytes,12,opt,name=repository_created,json=repositoryCreated,proto3,oneof"` -} - -type event_RepositoryDeprecated struct { - RepositoryDeprecated *PayloadRepositoryDeprecated `protobuf:"bytes,54,opt,name=repository_deprecated,json=repositoryDeprecated,proto3,oneof"` -} - -type event_RepositoryUndeprecated struct { - RepositoryUndeprecated *PayloadRepositoryUndeprecated `protobuf:"bytes,55,opt,name=repository_undeprecated,json=repositoryUndeprecated,proto3,oneof"` -} - -type event_RepositoryDeleted struct { - RepositoryDeleted *PayloadRepositoryDeleted `protobuf:"bytes,13,opt,name=repository_deleted,json=repositoryDeleted,proto3,oneof"` -} - -type event_RepositoryCommitPushed struct { - RepositoryCommitPushed *PayloadRepositoryCommitPushed `protobuf:"bytes,14,opt,name=repository_commit_pushed,json=repositoryCommitPushed,proto3,oneof"` -} - -type event_RepositoryContributorAdded struct { - RepositoryContributorAdded *PayloadRepositoryContributorAdded `protobuf:"bytes,15,opt,name=repository_contributor_added,json=repositoryContributorAdded,proto3,oneof"` -} - -type event_RepositoryContributorRoleChanged struct { - RepositoryContributorRoleChanged *PayloadRepositoryContributorRoleChanged `protobuf:"bytes,16,opt,name=repository_contributor_role_changed,json=repositoryContributorRoleChanged,proto3,oneof"` -} - -type event_RepositoryContributorRemoved struct { - RepositoryContributorRemoved *PayloadRepositoryContributorRemoved `protobuf:"bytes,17,opt,name=repository_contributor_removed,json=repositoryContributorRemoved,proto3,oneof"` -} - -type event_RepositoryVisibilityChanged struct { - RepositoryVisibilityChanged *PayloadRepositoryVisibilityChanged `protobuf:"bytes,18,opt,name=repository_visibility_changed,json=repositoryVisibilityChanged,proto3,oneof"` -} - -type event_RepositoryDefaultLabelNameChanged struct { - RepositoryDefaultLabelNameChanged *PayloadRepositoryDefaultLabelNameChanged `protobuf:"bytes,46,opt,name=repository_default_label_name_changed,json=repositoryDefaultLabelNameChanged,proto3,oneof"` -} - -type event_PluginCreated struct { - PluginCreated *PayloadPluginCreated `protobuf:"bytes,19,opt,name=plugin_created,json=pluginCreated,proto3,oneof"` -} - -type event_PluginDeleted struct { - PluginDeleted *PayloadPluginDeleted `protobuf:"bytes,20,opt,name=plugin_deleted,json=pluginDeleted,proto3,oneof"` -} - -type event_PluginCommitPushed struct { - PluginCommitPushed *PayloadPluginCommitPushed `protobuf:"bytes,49,opt,name=plugin_commit_pushed,json=pluginCommitPushed,proto3,oneof"` -} - -type event_UserCreated struct { - UserCreated *PayloadUserCreated `protobuf:"bytes,21,opt,name=user_created,json=userCreated,proto3,oneof"` -} - -type event_UserDeactivated struct { - UserDeactivated *PayloadUserDeactivated `protobuf:"bytes,22,opt,name=user_deactivated,json=userDeactivated,proto3,oneof"` -} - -type event_UserDeleted struct { - UserDeleted *PayloadUserDeleted `protobuf:"bytes,23,opt,name=user_deleted,json=userDeleted,proto3,oneof"` -} - -type event_UserLoggedIn struct { - UserLoggedIn *PayloadUserLoggedIn `protobuf:"bytes,24,opt,name=user_logged_in,json=userLoggedIn,proto3,oneof"` -} - -type event_UserLoggedOut struct { - UserLoggedOut *PayloadUserLoggedOut `protobuf:"bytes,25,opt,name=user_logged_out,json=userLoggedOut,proto3,oneof"` -} - -type event_CuratedPluginCreated struct { - CuratedPluginCreated *PayloadCuratedPluginCreated `protobuf:"bytes,26,opt,name=curated_plugin_created,json=curatedPluginCreated,proto3,oneof"` -} - -type event_IdpGroupAdded struct { - IdpGroupAdded *PayloadOrganizationIDPGroupAdded `protobuf:"bytes,27,opt,name=idp_group_added,json=idpGroupAdded,proto3,oneof"` -} - -type event_IdpGroupRemoved struct { - IdpGroupRemoved *PayloadOrganizationIDPGroupRemoved `protobuf:"bytes,28,opt,name=idp_group_removed,json=idpGroupRemoved,proto3,oneof"` -} - -type event_TokenCreated struct { - TokenCreated *PayloadTokenCreated `protobuf:"bytes,29,opt,name=token_created,json=tokenCreated,proto3,oneof"` -} - -type event_TokenDeleted struct { - TokenDeleted *PayloadTokenDeleted `protobuf:"bytes,30,opt,name=token_deleted,json=tokenDeleted,proto3,oneof"` -} - -type event_UserReactivated struct { - UserReactivated *PayloadUserReactivated `protobuf:"bytes,31,opt,name=user_reactivated,json=userReactivated,proto3,oneof"` -} - -type event_ScimTokenCreated struct { - ScimTokenCreated *PayloadSCIMTokenCreated `protobuf:"bytes,32,opt,name=scim_token_created,json=scimTokenCreated,proto3,oneof"` -} - -type event_ScimTokenDeleted struct { - ScimTokenDeleted *PayloadSCIMTokenDeleted `protobuf:"bytes,33,opt,name=scim_token_deleted,json=scimTokenDeleted,proto3,oneof"` -} - -type event_RepositoryCommitDeleted struct { - RepositoryCommitDeleted *PayloadRepositoryCommitDeleted `protobuf:"bytes,34,opt,name=repository_commit_deleted,json=repositoryCommitDeleted,proto3,oneof"` -} - -type event_RepositoryLabelCreated struct { - RepositoryLabelCreated *PayloadRepositoryLabelCreated `protobuf:"bytes,35,opt,name=repository_label_created,json=repositoryLabelCreated,proto3,oneof"` -} - -type event_RepositoryLabelMoved struct { - RepositoryLabelMoved *PayloadRepositoryLabelMoved `protobuf:"bytes,36,opt,name=repository_label_moved,json=repositoryLabelMoved,proto3,oneof"` -} - -type event_RepositoryLabelArchived struct { - RepositoryLabelArchived *PayloadRepositoryLabelArchived `protobuf:"bytes,44,opt,name=repository_label_archived,json=repositoryLabelArchived,proto3,oneof"` -} - -type event_RepositoryLabelUnarchived struct { - RepositoryLabelUnarchived *PayloadRepositoryLabelUnarchived `protobuf:"bytes,45,opt,name=repository_label_unarchived,json=repositoryLabelUnarchived,proto3,oneof"` -} - -type event_CuratedPluginDeleted struct { - CuratedPluginDeleted *PayloadCuratedPluginDeleted `protobuf:"bytes,37,opt,name=curated_plugin_deleted,json=curatedPluginDeleted,proto3,oneof"` -} - -type event_PayloadServerBreakingChangePolicyEnabled struct { - PayloadServerBreakingChangePolicyEnabled *PayloadServerBreakingChangePolicyEnabled `protobuf:"bytes,38,opt,name=payload_server_breaking_change_policy_enabled,json=payloadServerBreakingChangePolicyEnabled,proto3,oneof"` -} - -type event_PayloadServerBreakingChangePolicyDisabled struct { - PayloadServerBreakingChangePolicyDisabled *PayloadServerBreakingChangePolicyDisabled `protobuf:"bytes,39,opt,name=payload_server_breaking_change_policy_disabled,json=payloadServerBreakingChangePolicyDisabled,proto3,oneof"` -} - -type event_RepositoryDefaultBranchChanged struct { - // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. - RepositoryDefaultBranchChanged *PayloadRepositoryDefaultBranchChanged `protobuf:"bytes,40,opt,name=repository_default_branch_changed,json=repositoryDefaultBranchChanged,proto3,oneof"` -} - -type event_PayloadServerUniquenessPolicyEnabled struct { - PayloadServerUniquenessPolicyEnabled *PayloadServerUniquenessPolicyEnabled `protobuf:"bytes,41,opt,name=payload_server_uniqueness_policy_enabled,json=payloadServerUniquenessPolicyEnabled,proto3,oneof"` -} - -type event_PayloadServerUniquenessPolicyDisabled struct { - PayloadServerUniquenessPolicyDisabled *PayloadServerUniquenessPolicyDisabled `protobuf:"bytes,42,opt,name=payload_server_uniqueness_policy_disabled,json=payloadServerUniquenessPolicyDisabled,proto3,oneof"` -} - -type event_UserAutoMergedFromNewIdp struct { - UserAutoMergedFromNewIdp *PayloadUserAutoMergedFromNewIdP `protobuf:"bytes,43,opt,name=user_auto_merged_from_new_idp,json=userAutoMergedFromNewIdp,proto3,oneof"` -} - -type event_DeviceAuthorizationGrantApproved struct { - DeviceAuthorizationGrantApproved *PayloadDeviceAuthorizationGrantApproved `protobuf:"bytes,47,opt,name=device_authorization_grant_approved,json=deviceAuthorizationGrantApproved,proto3,oneof"` -} - -type event_DeviceAuthorizationGrantDenied struct { - DeviceAuthorizationGrantDenied *PayloadDeviceAuthorizationGrantDenied `protobuf:"bytes,48,opt,name=device_authorization_grant_denied,json=deviceAuthorizationGrantDenied,proto3,oneof"` -} - -type event_PluginLabelCreated struct { - PluginLabelCreated *PayloadPluginLabelCreated `protobuf:"bytes,50,opt,name=plugin_label_created,json=pluginLabelCreated,proto3,oneof"` -} - -type event_PluginLabelMoved struct { - PluginLabelMoved *PayloadPluginLabelMoved `protobuf:"bytes,51,opt,name=plugin_label_moved,json=pluginLabelMoved,proto3,oneof"` -} - -type event_PluginLabelArchived struct { - PluginLabelArchived *PayloadPluginLabelArchived `protobuf:"bytes,52,opt,name=plugin_label_archived,json=pluginLabelArchived,proto3,oneof"` -} - -type event_PluginLabelUnarchived struct { - PluginLabelUnarchived *PayloadPluginLabelUnarchived `protobuf:"bytes,53,opt,name=plugin_label_unarchived,json=pluginLabelUnarchived,proto3,oneof"` -} - -func (*event_OrganizationCreated) isEvent_Payload() {} - -func (*event_OrganizationDeleted) isEvent_Payload() {} - -func (*event_OrganizationMemberAdded) isEvent_Payload() {} - -func (*event_OrganizationMemberRoleChanged) isEvent_Payload() {} - -func (*event_OrganizationMemberRemoved) isEvent_Payload() {} - -func (*event_RepositoryCreated) isEvent_Payload() {} - -func (*event_RepositoryDeprecated) isEvent_Payload() {} - -func (*event_RepositoryUndeprecated) isEvent_Payload() {} - -func (*event_RepositoryDeleted) isEvent_Payload() {} - -func (*event_RepositoryCommitPushed) isEvent_Payload() {} - -func (*event_RepositoryContributorAdded) isEvent_Payload() {} - -func (*event_RepositoryContributorRoleChanged) isEvent_Payload() {} - -func (*event_RepositoryContributorRemoved) isEvent_Payload() {} - -func (*event_RepositoryVisibilityChanged) isEvent_Payload() {} - -func (*event_RepositoryDefaultLabelNameChanged) isEvent_Payload() {} - -func (*event_PluginCreated) isEvent_Payload() {} - -func (*event_PluginDeleted) isEvent_Payload() {} - -func (*event_PluginCommitPushed) isEvent_Payload() {} - -func (*event_UserCreated) isEvent_Payload() {} - -func (*event_UserDeactivated) isEvent_Payload() {} - -func (*event_UserDeleted) isEvent_Payload() {} - -func (*event_UserLoggedIn) isEvent_Payload() {} - -func (*event_UserLoggedOut) isEvent_Payload() {} - -func (*event_CuratedPluginCreated) isEvent_Payload() {} - -func (*event_IdpGroupAdded) isEvent_Payload() {} - -func (*event_IdpGroupRemoved) isEvent_Payload() {} - -func (*event_TokenCreated) isEvent_Payload() {} - -func (*event_TokenDeleted) isEvent_Payload() {} - -func (*event_UserReactivated) isEvent_Payload() {} - -func (*event_ScimTokenCreated) isEvent_Payload() {} - -func (*event_ScimTokenDeleted) isEvent_Payload() {} - -func (*event_RepositoryCommitDeleted) isEvent_Payload() {} - -func (*event_RepositoryLabelCreated) isEvent_Payload() {} - -func (*event_RepositoryLabelMoved) isEvent_Payload() {} - -func (*event_RepositoryLabelArchived) isEvent_Payload() {} - -func (*event_RepositoryLabelUnarchived) isEvent_Payload() {} - -func (*event_CuratedPluginDeleted) isEvent_Payload() {} - -func (*event_PayloadServerBreakingChangePolicyEnabled) isEvent_Payload() {} - -func (*event_PayloadServerBreakingChangePolicyDisabled) isEvent_Payload() {} - -func (*event_RepositoryDefaultBranchChanged) isEvent_Payload() {} - -func (*event_PayloadServerUniquenessPolicyEnabled) isEvent_Payload() {} - -func (*event_PayloadServerUniquenessPolicyDisabled) isEvent_Payload() {} - -func (*event_UserAutoMergedFromNewIdp) isEvent_Payload() {} - -func (*event_DeviceAuthorizationGrantApproved) isEvent_Payload() {} - -func (*event_DeviceAuthorizationGrantDenied) isEvent_Payload() {} - -func (*event_PluginLabelCreated) isEvent_Payload() {} - -func (*event_PluginLabelMoved) isEvent_Payload() {} - -func (*event_PluginLabelArchived) isEvent_Payload() {} - -func (*event_PluginLabelUnarchived) isEvent_Payload() {} - -type PayloadOrganizationCreated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadOrganizationCreated) Reset() { - *x = PayloadOrganizationCreated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadOrganizationCreated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadOrganizationCreated) ProtoMessage() {} - -func (x *PayloadOrganizationCreated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadOrganizationCreated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadOrganizationCreated_builder) Build() *PayloadOrganizationCreated { - m0 := &PayloadOrganizationCreated{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type PayloadOrganizationDeleted struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadOrganizationDeleted) Reset() { - *x = PayloadOrganizationDeleted{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadOrganizationDeleted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadOrganizationDeleted) ProtoMessage() {} - -func (x *PayloadOrganizationDeleted) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadOrganizationDeleted_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadOrganizationDeleted_builder) Build() *PayloadOrganizationDeleted { - m0 := &PayloadOrganizationDeleted{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type PayloadOrganizationMemberAdded struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` - xxx_hidden_MemberRole v1alpha1.OrganizationRole `protobuf:"varint,3,opt,name=member_role,json=memberRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"member_role,omitempty"` - xxx_hidden_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() { - *x = PayloadOrganizationMemberAdded{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadOrganizationMemberAdded) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadOrganizationMemberAdded) ProtoMessage() {} - -func (x *PayloadOrganizationMemberAdded) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadOrganizationMemberAdded) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *PayloadOrganizationMemberAdded) GetOrganizationName() string { - if x != nil { - return x.xxx_hidden_OrganizationName - } - return "" -} - -func (x *PayloadOrganizationMemberAdded) GetMemberRole() v1alpha1.OrganizationRole { - if x != nil { - return x.xxx_hidden_MemberRole - } - return v1alpha1.OrganizationRole(0) -} - -func (x *PayloadOrganizationMemberAdded) GetMemberRoleSource() v1alpha1.OrganizationRoleSource { - if x != nil { - return x.xxx_hidden_MemberRoleSource - } - return v1alpha1.OrganizationRoleSource(0) -} - -func (x *PayloadOrganizationMemberAdded) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *PayloadOrganizationMemberAdded) SetOrganizationName(v string) { - x.xxx_hidden_OrganizationName = v -} - -func (x *PayloadOrganizationMemberAdded) SetMemberRole(v v1alpha1.OrganizationRole) { - x.xxx_hidden_MemberRole = v -} - -func (x *PayloadOrganizationMemberAdded) SetMemberRoleSource(v v1alpha1.OrganizationRoleSource) { - x.xxx_hidden_MemberRoleSource = v -} - -type PayloadOrganizationMemberAdded_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // organization_id is the id of the organization with the new member. - OrganizationId string - // organization_name is the name of the organization with the new member. - OrganizationName string - // member_role is the role granted to the member added to the organization. - MemberRole v1alpha1.OrganizationRole - // member_role_source is the source of the role granted to the member. - MemberRoleSource v1alpha1.OrganizationRoleSource -} - -func (b0 PayloadOrganizationMemberAdded_builder) Build() *PayloadOrganizationMemberAdded { - m0 := &PayloadOrganizationMemberAdded{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_OrganizationName = b.OrganizationName - x.xxx_hidden_MemberRole = b.MemberRole - x.xxx_hidden_MemberRoleSource = b.MemberRoleSource - return m0 -} - -type PayloadOrganizationMemberRoleChanged struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` - xxx_hidden_OldRole v1alpha1.OrganizationRole `protobuf:"varint,3,opt,name=old_role,json=oldRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"old_role,omitempty"` - xxx_hidden_NewRole v1alpha1.OrganizationRole `protobuf:"varint,4,opt,name=new_role,json=newRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"new_role,omitempty"` - xxx_hidden_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"` - xxx_hidden_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() { - *x = PayloadOrganizationMemberRoleChanged{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadOrganizationMemberRoleChanged) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadOrganizationMemberRoleChanged) ProtoMessage() {} - -func (x *PayloadOrganizationMemberRoleChanged) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadOrganizationMemberRoleChanged) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *PayloadOrganizationMemberRoleChanged) GetOrganizationName() string { - if x != nil { - return x.xxx_hidden_OrganizationName - } - return "" -} - -func (x *PayloadOrganizationMemberRoleChanged) GetOldRole() v1alpha1.OrganizationRole { - if x != nil { - return x.xxx_hidden_OldRole - } - return v1alpha1.OrganizationRole(0) -} - -func (x *PayloadOrganizationMemberRoleChanged) GetNewRole() v1alpha1.OrganizationRole { - if x != nil { - return x.xxx_hidden_NewRole - } - return v1alpha1.OrganizationRole(0) -} - -func (x *PayloadOrganizationMemberRoleChanged) GetOldMemberRoleSource() v1alpha1.OrganizationRoleSource { - if x != nil { - return x.xxx_hidden_OldMemberRoleSource - } - return v1alpha1.OrganizationRoleSource(0) -} - -func (x *PayloadOrganizationMemberRoleChanged) GetNewMemberRoleSource() v1alpha1.OrganizationRoleSource { - if x != nil { - return x.xxx_hidden_NewMemberRoleSource - } - return v1alpha1.OrganizationRoleSource(0) -} - -func (x *PayloadOrganizationMemberRoleChanged) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *PayloadOrganizationMemberRoleChanged) SetOrganizationName(v string) { - x.xxx_hidden_OrganizationName = v -} - -func (x *PayloadOrganizationMemberRoleChanged) SetOldRole(v v1alpha1.OrganizationRole) { - x.xxx_hidden_OldRole = v -} - -func (x *PayloadOrganizationMemberRoleChanged) SetNewRole(v v1alpha1.OrganizationRole) { - x.xxx_hidden_NewRole = v -} - -func (x *PayloadOrganizationMemberRoleChanged) SetOldMemberRoleSource(v v1alpha1.OrganizationRoleSource) { - x.xxx_hidden_OldMemberRoleSource = v -} - -func (x *PayloadOrganizationMemberRoleChanged) SetNewMemberRoleSource(v v1alpha1.OrganizationRoleSource) { - x.xxx_hidden_NewMemberRoleSource = v -} - -type PayloadOrganizationMemberRoleChanged_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // organization_id is the id of the organization within which the role was changed. - OrganizationId string - // organization_name is the name of the organization within which the role was changed. - OrganizationName string - // old_role is the old role of the member whose role was changed. - OldRole v1alpha1.OrganizationRole - // new_role is the new role of the member whose role was changed. - NewRole v1alpha1.OrganizationRole - // old_member_role_source is the old source of the role granted to the member. - OldMemberRoleSource v1alpha1.OrganizationRoleSource - // new_member_role_source is the new source of the role granted to the member. - NewMemberRoleSource v1alpha1.OrganizationRoleSource -} - -func (b0 PayloadOrganizationMemberRoleChanged_builder) Build() *PayloadOrganizationMemberRoleChanged { - m0 := &PayloadOrganizationMemberRoleChanged{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_OrganizationName = b.OrganizationName - x.xxx_hidden_OldRole = b.OldRole - x.xxx_hidden_NewRole = b.NewRole - x.xxx_hidden_OldMemberRoleSource = b.OldMemberRoleSource - x.xxx_hidden_NewMemberRoleSource = b.NewMemberRoleSource - return m0 -} - -type PayloadOrganizationMemberRemoved struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` - xxx_hidden_MemberRole v1alpha1.OrganizationRole `protobuf:"varint,3,opt,name=member_role,json=memberRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"member_role,omitempty"` - xxx_hidden_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() { - *x = PayloadOrganizationMemberRemoved{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadOrganizationMemberRemoved) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadOrganizationMemberRemoved) ProtoMessage() {} - -func (x *PayloadOrganizationMemberRemoved) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadOrganizationMemberRemoved) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *PayloadOrganizationMemberRemoved) GetOrganizationName() string { - if x != nil { - return x.xxx_hidden_OrganizationName - } - return "" -} - -func (x *PayloadOrganizationMemberRemoved) GetMemberRole() v1alpha1.OrganizationRole { - if x != nil { - return x.xxx_hidden_MemberRole - } - return v1alpha1.OrganizationRole(0) -} - -func (x *PayloadOrganizationMemberRemoved) GetMemberRoleSource() v1alpha1.OrganizationRoleSource { - if x != nil { - return x.xxx_hidden_MemberRoleSource - } - return v1alpha1.OrganizationRoleSource(0) -} - -func (x *PayloadOrganizationMemberRemoved) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *PayloadOrganizationMemberRemoved) SetOrganizationName(v string) { - x.xxx_hidden_OrganizationName = v -} - -func (x *PayloadOrganizationMemberRemoved) SetMemberRole(v v1alpha1.OrganizationRole) { - x.xxx_hidden_MemberRole = v -} - -func (x *PayloadOrganizationMemberRemoved) SetMemberRoleSource(v v1alpha1.OrganizationRoleSource) { - x.xxx_hidden_MemberRoleSource = v -} - -type PayloadOrganizationMemberRemoved_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // organization_id is the id of the organization that the member was removed from. - OrganizationId string - // organization_name is the name of the organization that the member was removed from. - OrganizationName string - // member_role is the role that the member had when removed from the organization. - MemberRole v1alpha1.OrganizationRole - // member_role_source is the source of the role granted to the member. - MemberRoleSource v1alpha1.OrganizationRoleSource -} - -func (b0 PayloadOrganizationMemberRemoved_builder) Build() *PayloadOrganizationMemberRemoved { - m0 := &PayloadOrganizationMemberRemoved{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_OrganizationName = b.OrganizationName - x.xxx_hidden_MemberRole = b.MemberRole - x.xxx_hidden_MemberRoleSource = b.MemberRoleSource - return m0 -} - -type PayloadOrganizationIDPGroupAdded struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_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() { - *x = PayloadOrganizationIDPGroupAdded{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadOrganizationIDPGroupAdded) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadOrganizationIDPGroupAdded) ProtoMessage() {} - -func (x *PayloadOrganizationIDPGroupAdded) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadOrganizationIDPGroupAdded) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *PayloadOrganizationIDPGroupAdded) GetOrganizationName() string { - if x != nil { - return x.xxx_hidden_OrganizationName - } - return "" -} - -func (x *PayloadOrganizationIDPGroupAdded) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *PayloadOrganizationIDPGroupAdded) SetOrganizationName(v string) { - x.xxx_hidden_OrganizationName = v -} - -type PayloadOrganizationIDPGroupAdded_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // organization_id is the id of the organization with the new IDP group. - OrganizationId string - // organization_name is the name of the organization with the new IDP group. - OrganizationName string -} - -func (b0 PayloadOrganizationIDPGroupAdded_builder) Build() *PayloadOrganizationIDPGroupAdded { - m0 := &PayloadOrganizationIDPGroupAdded{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_OrganizationName = b.OrganizationName - return m0 -} - -type PayloadOrganizationIDPGroupRemoved struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_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() { - *x = PayloadOrganizationIDPGroupRemoved{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadOrganizationIDPGroupRemoved) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadOrganizationIDPGroupRemoved) ProtoMessage() {} - -func (x *PayloadOrganizationIDPGroupRemoved) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadOrganizationIDPGroupRemoved) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *PayloadOrganizationIDPGroupRemoved) GetOrganizationName() string { - if x != nil { - return x.xxx_hidden_OrganizationName - } - return "" -} - -func (x *PayloadOrganizationIDPGroupRemoved) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *PayloadOrganizationIDPGroupRemoved) SetOrganizationName(v string) { - x.xxx_hidden_OrganizationName = v -} - -type PayloadOrganizationIDPGroupRemoved_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // organization_id is the id of the organization with the removed IDP group. - OrganizationId string - // organization_name is the name of the organization with the removed IDP group. - OrganizationName string -} - -func (b0 PayloadOrganizationIDPGroupRemoved_builder) Build() *PayloadOrganizationIDPGroupRemoved { - m0 := &PayloadOrganizationIDPGroupRemoved{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_OrganizationName = b.OrganizationName - return m0 -} - -type PayloadRepositoryCreated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryCreated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryCreated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryCreated) ProtoMessage() {} - -func (x *PayloadRepositoryCreated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryCreated) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryCreated) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryCreated) GetVisibility() v1alpha1.Visibility { - if x != nil { - return x.xxx_hidden_Visibility - } - return v1alpha1.Visibility(0) -} - -func (x *PayloadRepositoryCreated) GetDefaultLabelName() string { - if x != nil { - return x.xxx_hidden_DefaultLabelName - } - return "" -} - -func (x *PayloadRepositoryCreated) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryCreated) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryCreated) SetVisibility(v v1alpha1.Visibility) { - x.xxx_hidden_Visibility = v -} - -func (x *PayloadRepositoryCreated) SetDefaultLabelName(v string) { - x.xxx_hidden_DefaultLabelName = v -} - -type PayloadRepositoryCreated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository. - OwnerId string - // owner_name is the name of the owner of the repository. - OwnerName string - // visibility is the visibility of the repository. - Visibility v1alpha1.Visibility - // 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 -} - -func (b0 PayloadRepositoryCreated_builder) Build() *PayloadRepositoryCreated { - m0 := &PayloadRepositoryCreated{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_Visibility = b.Visibility - x.xxx_hidden_DefaultLabelName = b.DefaultLabelName - return m0 -} - -type PayloadRepositoryDeleted struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryDeleted{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryDeleted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryDeleted) ProtoMessage() {} - -func (x *PayloadRepositoryDeleted) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryDeleted) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryDeleted) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryDeleted) GetVisibility() v1alpha1.Visibility { - if x != nil { - return x.xxx_hidden_Visibility - } - return v1alpha1.Visibility(0) -} - -func (x *PayloadRepositoryDeleted) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryDeleted) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryDeleted) SetVisibility(v v1alpha1.Visibility) { - x.xxx_hidden_Visibility = v -} - -type PayloadRepositoryDeleted_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository. - OwnerId string - // owner_name is the name of the owner of the repository. - OwnerName string - // visibility is the visibility of the repository. - Visibility v1alpha1.Visibility -} - -func (b0 PayloadRepositoryDeleted_builder) Build() *PayloadRepositoryDeleted { - m0 := &PayloadRepositoryDeleted{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_Visibility = b.Visibility - return m0 -} - -type PayloadRepositoryDeprecated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryDeprecated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryDeprecated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryDeprecated) ProtoMessage() {} - -func (x *PayloadRepositoryDeprecated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryDeprecated) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryDeprecated) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryDeprecated) GetVisibility() v1alpha1.Visibility { - if x != nil { - return x.xxx_hidden_Visibility - } - return v1alpha1.Visibility(0) -} - -func (x *PayloadRepositoryDeprecated) GetDeprecationMessage() string { - if x != nil { - return x.xxx_hidden_DeprecationMessage - } - return "" -} - -func (x *PayloadRepositoryDeprecated) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryDeprecated) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryDeprecated) SetVisibility(v v1alpha1.Visibility) { - x.xxx_hidden_Visibility = v -} - -func (x *PayloadRepositoryDeprecated) SetDeprecationMessage(v string) { - x.xxx_hidden_DeprecationMessage = v -} - -type PayloadRepositoryDeprecated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository. - OwnerId string - // owner_name is the name of the owner of the repository. - OwnerName string - // visibility is the visibility of the repository. - Visibility v1alpha1.Visibility - // deprecation_message is the deprecation message set by the deprecation actor. - DeprecationMessage string -} - -func (b0 PayloadRepositoryDeprecated_builder) Build() *PayloadRepositoryDeprecated { - m0 := &PayloadRepositoryDeprecated{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_Visibility = b.Visibility - x.xxx_hidden_DeprecationMessage = b.DeprecationMessage - return m0 -} - -type PayloadRepositoryUndeprecated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryUndeprecated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryUndeprecated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryUndeprecated) ProtoMessage() {} - -func (x *PayloadRepositoryUndeprecated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryUndeprecated) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryUndeprecated) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryUndeprecated) GetVisibility() v1alpha1.Visibility { - if x != nil { - return x.xxx_hidden_Visibility - } - return v1alpha1.Visibility(0) -} - -func (x *PayloadRepositoryUndeprecated) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryUndeprecated) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryUndeprecated) SetVisibility(v v1alpha1.Visibility) { - x.xxx_hidden_Visibility = v -} - -type PayloadRepositoryUndeprecated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository. - OwnerId string - // owner_name is the name of the owner of the repository. - OwnerName string - // visibility is the visibility of the repository. - Visibility v1alpha1.Visibility -} - -func (b0 PayloadRepositoryUndeprecated_builder) Build() *PayloadRepositoryUndeprecated { - m0 := &PayloadRepositoryUndeprecated{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_Visibility = b.Visibility - return m0 -} - -type PayloadRepositoryCommitPushed struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - xxx_hidden_DraftName string `protobuf:"bytes,6,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` - xxx_hidden_ManifestDigest string `protobuf:"bytes,7,opt,name=manifest_digest,json=manifestDigest,proto3" json:"manifest_digest,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryCommitPushed{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryCommitPushed) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryCommitPushed) ProtoMessage() {} - -func (x *PayloadRepositoryCommitPushed) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryCommitPushed) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryCommitPushed) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryCommitPushed) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *PayloadRepositoryCommitPushed) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *PayloadRepositoryCommitPushed) GetTags() []string { - if x != nil { - return x.xxx_hidden_Tags - } - return nil -} - -func (x *PayloadRepositoryCommitPushed) GetDraftName() string { - if x != nil { - return x.xxx_hidden_DraftName - } - return "" -} - -func (x *PayloadRepositoryCommitPushed) GetManifestDigest() string { - if x != nil { - return x.xxx_hidden_ManifestDigest - } - return "" -} - -func (x *PayloadRepositoryCommitPushed) GetB5Digest() string { - if x != nil { - return x.xxx_hidden_B5Digest - } - return "" -} - -func (x *PayloadRepositoryCommitPushed) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryCommitPushed) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryCommitPushed) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *PayloadRepositoryCommitPushed) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *PayloadRepositoryCommitPushed) SetTags(v []string) { - x.xxx_hidden_Tags = v -} - -func (x *PayloadRepositoryCommitPushed) SetDraftName(v string) { - x.xxx_hidden_DraftName = v -} - -func (x *PayloadRepositoryCommitPushed) SetManifestDigest(v string) { - x.xxx_hidden_ManifestDigest = v -} - -func (x *PayloadRepositoryCommitPushed) SetB5Digest(v string) { - x.xxx_hidden_B5Digest = v -} - -type PayloadRepositoryCommitPushed_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository. - OwnerId string - // owner_name is the name of the owner of the repository. - OwnerName string - // repository_id is the id of the repository within which the commit was created. - RepositoryId string - // repository_name is the name of the repository within which the commit was created. - RepositoryName string - // tags are the tags included in the push. Optional. - Tags []string - // draft_name is the name of the draft. Optional. - DraftName string - // manifest_digest is the module's manifest digest. - ManifestDigest string - // b5_digest is the module's b5 digest. - B5Digest string -} - -func (b0 PayloadRepositoryCommitPushed_builder) Build() *PayloadRepositoryCommitPushed { - m0 := &PayloadRepositoryCommitPushed{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_Tags = b.Tags - x.xxx_hidden_DraftName = b.DraftName - x.xxx_hidden_ManifestDigest = b.ManifestDigest - x.xxx_hidden_B5Digest = b.B5Digest - return m0 -} - -type PayloadRepositoryContributorAdded struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryContributorAdded{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryContributorAdded) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryContributorAdded) ProtoMessage() {} - -func (x *PayloadRepositoryContributorAdded) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryContributorAdded) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryContributorAdded) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryContributorAdded) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *PayloadRepositoryContributorAdded) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *PayloadRepositoryContributorAdded) GetContributorRole() v1alpha1.RepositoryRole { - if x != nil { - return x.xxx_hidden_ContributorRole - } - return v1alpha1.RepositoryRole(0) -} - -func (x *PayloadRepositoryContributorAdded) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryContributorAdded) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryContributorAdded) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *PayloadRepositoryContributorAdded) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *PayloadRepositoryContributorAdded) SetContributorRole(v v1alpha1.RepositoryRole) { - x.xxx_hidden_ContributorRole = v -} - -type PayloadRepositoryContributorAdded_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository. - OwnerId string - // owner_name is the name of the owner of the repository. - OwnerName string - // repository_id is the id of the repository with the new contributor. - RepositoryId string - // repository_name is the name of the repository with the new contributor. - RepositoryName string - // contributor_role is the role granted to the contributor added to the repository. - ContributorRole v1alpha1.RepositoryRole -} - -func (b0 PayloadRepositoryContributorAdded_builder) Build() *PayloadRepositoryContributorAdded { - m0 := &PayloadRepositoryContributorAdded{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_ContributorRole = b.ContributorRole - return m0 -} - -type PayloadRepositoryContributorRoleChanged struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_OldRole v1alpha1.RepositoryRole `protobuf:"varint,5,opt,name=old_role,json=oldRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"old_role,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryContributorRoleChanged{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryContributorRoleChanged) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryContributorRoleChanged) ProtoMessage() {} - -func (x *PayloadRepositoryContributorRoleChanged) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryContributorRoleChanged) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryContributorRoleChanged) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryContributorRoleChanged) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *PayloadRepositoryContributorRoleChanged) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *PayloadRepositoryContributorRoleChanged) GetOldRole() v1alpha1.RepositoryRole { - if x != nil { - return x.xxx_hidden_OldRole - } - return v1alpha1.RepositoryRole(0) -} - -func (x *PayloadRepositoryContributorRoleChanged) GetNewRole() v1alpha1.RepositoryRole { - if x != nil { - return x.xxx_hidden_NewRole - } - return v1alpha1.RepositoryRole(0) -} - -func (x *PayloadRepositoryContributorRoleChanged) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryContributorRoleChanged) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryContributorRoleChanged) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *PayloadRepositoryContributorRoleChanged) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *PayloadRepositoryContributorRoleChanged) SetOldRole(v v1alpha1.RepositoryRole) { - x.xxx_hidden_OldRole = v -} - -func (x *PayloadRepositoryContributorRoleChanged) SetNewRole(v v1alpha1.RepositoryRole) { - x.xxx_hidden_NewRole = v -} - -type PayloadRepositoryContributorRoleChanged_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository. - OwnerId string - // owner_name is the name of the owner of the repository. - OwnerName string - // repository_id is the id of the repository within which the role was changed. - RepositoryId string - // repository_name is the name of the repository within which the role was changed. - RepositoryName string - // old_role is the old role of the contributor whose role was changed. - OldRole v1alpha1.RepositoryRole - // new_role is the new role of the contributor whose role was changed. - NewRole v1alpha1.RepositoryRole -} - -func (b0 PayloadRepositoryContributorRoleChanged_builder) Build() *PayloadRepositoryContributorRoleChanged { - m0 := &PayloadRepositoryContributorRoleChanged{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_OldRole = b.OldRole - x.xxx_hidden_NewRole = b.NewRole - return m0 -} - -type PayloadRepositoryContributorRemoved struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryContributorRemoved{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryContributorRemoved) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryContributorRemoved) ProtoMessage() {} - -func (x *PayloadRepositoryContributorRemoved) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryContributorRemoved) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryContributorRemoved) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryContributorRemoved) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *PayloadRepositoryContributorRemoved) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *PayloadRepositoryContributorRemoved) GetContributorRole() v1alpha1.RepositoryRole { - if x != nil { - return x.xxx_hidden_ContributorRole - } - return v1alpha1.RepositoryRole(0) -} - -func (x *PayloadRepositoryContributorRemoved) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryContributorRemoved) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryContributorRemoved) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *PayloadRepositoryContributorRemoved) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *PayloadRepositoryContributorRemoved) SetContributorRole(v v1alpha1.RepositoryRole) { - x.xxx_hidden_ContributorRole = v -} - -type PayloadRepositoryContributorRemoved_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository. - OwnerId string - // owner_name is the name of the owner of the repository. - OwnerName string - // repository_id is the id of the repository that the contributor was removed from. - RepositoryId string - // repository_name is the name of the repository that the contributor was removed from. - RepositoryName string - // contributor_role is the role that the contributor had when removed from the repository. - ContributorRole v1alpha1.RepositoryRole -} - -func (b0 PayloadRepositoryContributorRemoved_builder) Build() *PayloadRepositoryContributorRemoved { - m0 := &PayloadRepositoryContributorRemoved{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_ContributorRole = b.ContributorRole - return m0 -} - -type PayloadRepositoryVisibilityChanged struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_OldVisibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=old_visibility,json=oldVisibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"old_visibility,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryVisibilityChanged{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryVisibilityChanged) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryVisibilityChanged) ProtoMessage() {} - -func (x *PayloadRepositoryVisibilityChanged) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryVisibilityChanged) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryVisibilityChanged) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryVisibilityChanged) GetOldVisibility() v1alpha1.Visibility { - if x != nil { - return x.xxx_hidden_OldVisibility - } - return v1alpha1.Visibility(0) -} - -func (x *PayloadRepositoryVisibilityChanged) GetNewVisibility() v1alpha1.Visibility { - if x != nil { - return x.xxx_hidden_NewVisibility - } - return v1alpha1.Visibility(0) -} - -func (x *PayloadRepositoryVisibilityChanged) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryVisibilityChanged) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryVisibilityChanged) SetOldVisibility(v v1alpha1.Visibility) { - x.xxx_hidden_OldVisibility = v -} - -func (x *PayloadRepositoryVisibilityChanged) SetNewVisibility(v v1alpha1.Visibility) { - x.xxx_hidden_NewVisibility = v -} - -type PayloadRepositoryVisibilityChanged_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository. - OwnerId string - // owner_name is the name of the owner of the repository. - OwnerName string - // old_visibility is the old visibility of the repository. - OldVisibility v1alpha1.Visibility - // new_visibility is the new visibility of the repository. - NewVisibility v1alpha1.Visibility -} - -func (b0 PayloadRepositoryVisibilityChanged_builder) Build() *PayloadRepositoryVisibilityChanged { - m0 := &PayloadRepositoryVisibilityChanged{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_OldVisibility = b.OldVisibility - x.xxx_hidden_NewVisibility = b.NewVisibility - return m0 -} - -type PayloadRepositoryDefaultLabelNameChanged struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_OldDefaultLabelName string `protobuf:"bytes,3,opt,name=old_default_label_name,json=oldDefaultLabelName,proto3" json:"old_default_label_name,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryDefaultLabelNameChanged{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryDefaultLabelNameChanged) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryDefaultLabelNameChanged) ProtoMessage() {} - -func (x *PayloadRepositoryDefaultLabelNameChanged) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryDefaultLabelNameChanged) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryDefaultLabelNameChanged) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryDefaultLabelNameChanged) GetOldDefaultLabelName() string { - if x != nil { - return x.xxx_hidden_OldDefaultLabelName - } - return "" -} - -func (x *PayloadRepositoryDefaultLabelNameChanged) GetNewDefaultLabelName() string { - if x != nil { - return x.xxx_hidden_NewDefaultLabelName - } - return "" -} - -func (x *PayloadRepositoryDefaultLabelNameChanged) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryDefaultLabelNameChanged) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryDefaultLabelNameChanged) SetOldDefaultLabelName(v string) { - x.xxx_hidden_OldDefaultLabelName = v -} - -func (x *PayloadRepositoryDefaultLabelNameChanged) SetNewDefaultLabelName(v string) { - x.xxx_hidden_NewDefaultLabelName = v -} - -type PayloadRepositoryDefaultLabelNameChanged_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository. - OwnerId string - // owner_name is the name of the owner of the repository. - OwnerName string - // old_default_label_name is the old default label name of the repository. - OldDefaultLabelName string - // new_default_label_name is the new default label name of the repository. - NewDefaultLabelName string -} - -func (b0 PayloadRepositoryDefaultLabelNameChanged_builder) Build() *PayloadRepositoryDefaultLabelNameChanged { - m0 := &PayloadRepositoryDefaultLabelNameChanged{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_OldDefaultLabelName = b.OldDefaultLabelName - x.xxx_hidden_NewDefaultLabelName = b.NewDefaultLabelName - return m0 -} - -// PayloadRepositoryDefaultBranchChanged is deprecated. -// -// Use PayloadRepositoryDefaultLabelNameChanged instead. -// -// Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. -type PayloadRepositoryDefaultBranchChanged struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_OldDefaultBranch string `protobuf:"bytes,3,opt,name=old_default_branch,json=oldDefaultBranch,proto3" json:"old_default_branch,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryDefaultBranchChanged{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryDefaultBranchChanged) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryDefaultBranchChanged) ProtoMessage() {} - -func (x *PayloadRepositoryDefaultBranchChanged) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryDefaultBranchChanged) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryDefaultBranchChanged) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryDefaultBranchChanged) GetOldDefaultBranch() string { - if x != nil { - return x.xxx_hidden_OldDefaultBranch - } - return "" -} - -func (x *PayloadRepositoryDefaultBranchChanged) GetNewDefaultBranch() string { - if x != nil { - return x.xxx_hidden_NewDefaultBranch - } - return "" -} - -func (x *PayloadRepositoryDefaultBranchChanged) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryDefaultBranchChanged) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryDefaultBranchChanged) SetOldDefaultBranch(v string) { - x.xxx_hidden_OldDefaultBranch = v -} - -func (x *PayloadRepositoryDefaultBranchChanged) SetNewDefaultBranch(v string) { - x.xxx_hidden_NewDefaultBranch = v -} - -// Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. -type PayloadRepositoryDefaultBranchChanged_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository. - OwnerId string - // owner_name is the name of the owner of the repository. - OwnerName string - // old_default_branch is the old default branch of the repository. - OldDefaultBranch string - // new_default_branch is the new default branch of the repository. - NewDefaultBranch string -} - -func (b0 PayloadRepositoryDefaultBranchChanged_builder) Build() *PayloadRepositoryDefaultBranchChanged { - m0 := &PayloadRepositoryDefaultBranchChanged{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_OldDefaultBranch = b.OldDefaultBranch - x.xxx_hidden_NewDefaultBranch = b.NewDefaultBranch - return m0 -} - -type PayloadPluginCreated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_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() { - *x = PayloadPluginCreated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadPluginCreated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadPluginCreated) ProtoMessage() {} - -func (x *PayloadPluginCreated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadPluginCreated) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadPluginCreated) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadPluginCreated) GetPluginType() string { - if x != nil { - return x.xxx_hidden_PluginType - } - return "" -} - -func (x *PayloadPluginCreated) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadPluginCreated) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadPluginCreated) SetPluginType(v string) { - x.xxx_hidden_PluginType = v -} - -type PayloadPluginCreated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the plugin. - OwnerId string - // owner_name is the name of the owner of the plugin. - OwnerName string - // plugin_type is the type of the plugin. - PluginType string -} - -func (b0 PayloadPluginCreated_builder) Build() *PayloadPluginCreated { - m0 := &PayloadPluginCreated{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_PluginType = b.PluginType - return m0 -} - -type PayloadPluginDeleted struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_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() { - *x = PayloadPluginDeleted{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadPluginDeleted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadPluginDeleted) ProtoMessage() {} - -func (x *PayloadPluginDeleted) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadPluginDeleted) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadPluginDeleted) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadPluginDeleted) GetPluginType() string { - if x != nil { - return x.xxx_hidden_PluginType - } - return "" -} - -func (x *PayloadPluginDeleted) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadPluginDeleted) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadPluginDeleted) SetPluginType(v string) { - x.xxx_hidden_PluginType = v -} - -type PayloadPluginDeleted_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the check plugin. - OwnerId string - // owner_name is the name of the owner of the check plugin. - OwnerName string - // plugin_type is the type of the plugin. - PluginType string -} - -func (b0 PayloadPluginDeleted_builder) Build() *PayloadPluginDeleted { - m0 := &PayloadPluginDeleted{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_PluginType = b.PluginType - return m0 -} - -type PayloadPluginCommitPushed struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` - xxx_hidden_PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` - xxx_hidden_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() { - *x = PayloadPluginCommitPushed{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadPluginCommitPushed) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadPluginCommitPushed) ProtoMessage() {} - -func (x *PayloadPluginCommitPushed) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadPluginCommitPushed) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadPluginCommitPushed) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadPluginCommitPushed) GetPluginId() string { - if x != nil { - return x.xxx_hidden_PluginId - } - return "" -} - -func (x *PayloadPluginCommitPushed) GetPluginName() string { - if x != nil { - return x.xxx_hidden_PluginName - } - return "" -} - -func (x *PayloadPluginCommitPushed) GetP1Digest() string { - if x != nil { - return x.xxx_hidden_P1Digest - } - return "" -} - -func (x *PayloadPluginCommitPushed) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadPluginCommitPushed) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadPluginCommitPushed) SetPluginId(v string) { - x.xxx_hidden_PluginId = v -} - -func (x *PayloadPluginCommitPushed) SetPluginName(v string) { - x.xxx_hidden_PluginName = v -} - -func (x *PayloadPluginCommitPushed) SetP1Digest(v string) { - x.xxx_hidden_P1Digest = v -} - -type PayloadPluginCommitPushed_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the plugin. - OwnerId string - // owner_name is the name of the owner of the plugin. - OwnerName string - // plugin_id is the id of the plugin. - PluginId string - // plugin_name is the name of the plugin. - PluginName string - // p1_digest is the p1 digest of the pushed plugin commit. - P1Digest string -} - -func (b0 PayloadPluginCommitPushed_builder) Build() *PayloadPluginCommitPushed { - m0 := &PayloadPluginCommitPushed{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_PluginId = b.PluginId - x.xxx_hidden_PluginName = b.PluginName - x.xxx_hidden_P1Digest = b.P1Digest - return m0 -} - -type PayloadUserCreated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadUserCreated) Reset() { - *x = PayloadUserCreated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadUserCreated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadUserCreated) ProtoMessage() {} - -func (x *PayloadUserCreated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadUserCreated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadUserCreated_builder) Build() *PayloadUserCreated { - m0 := &PayloadUserCreated{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type PayloadUserReactivated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadUserReactivated) Reset() { - *x = PayloadUserReactivated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadUserReactivated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadUserReactivated) ProtoMessage() {} - -func (x *PayloadUserReactivated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadUserReactivated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadUserReactivated_builder) Build() *PayloadUserReactivated { - m0 := &PayloadUserReactivated{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type PayloadUserDeactivated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadUserDeactivated) Reset() { - *x = PayloadUserDeactivated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadUserDeactivated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadUserDeactivated) ProtoMessage() {} - -func (x *PayloadUserDeactivated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadUserDeactivated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadUserDeactivated_builder) Build() *PayloadUserDeactivated { - m0 := &PayloadUserDeactivated{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type PayloadUserDeleted struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadUserDeleted) Reset() { - *x = PayloadUserDeleted{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadUserDeleted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadUserDeleted) ProtoMessage() {} - -func (x *PayloadUserDeleted) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadUserDeleted_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadUserDeleted_builder) Build() *PayloadUserDeleted { - m0 := &PayloadUserDeleted{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type PayloadUserLoggedIn struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadUserLoggedIn) Reset() { - *x = PayloadUserLoggedIn{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadUserLoggedIn) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadUserLoggedIn) ProtoMessage() {} - -func (x *PayloadUserLoggedIn) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadUserLoggedIn_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadUserLoggedIn_builder) Build() *PayloadUserLoggedIn { - m0 := &PayloadUserLoggedIn{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type PayloadUserLoggedOut struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadUserLoggedOut) Reset() { - *x = PayloadUserLoggedOut{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadUserLoggedOut) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadUserLoggedOut) ProtoMessage() {} - -func (x *PayloadUserLoggedOut) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadUserLoggedOut_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadUserLoggedOut_builder) Build() *PayloadUserLoggedOut { - m0 := &PayloadUserLoggedOut{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -// PayloadUserAutoMergedFromNewIdP is the payload for the audit event -// EVENT_TYPE_USER_AUTO_MERGED_FROM_NEW_IDP. It has no additional information -// 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 `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadUserAutoMergedFromNewIdP) Reset() { - *x = PayloadUserAutoMergedFromNewIdP{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadUserAutoMergedFromNewIdP) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadUserAutoMergedFromNewIdP) ProtoMessage() {} - -func (x *PayloadUserAutoMergedFromNewIdP) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadUserAutoMergedFromNewIdP_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadUserAutoMergedFromNewIdP_builder) Build() *PayloadUserAutoMergedFromNewIdP { - m0 := &PayloadUserAutoMergedFromNewIdP{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type PayloadCuratedPluginCreated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_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() { - *x = PayloadCuratedPluginCreated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadCuratedPluginCreated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadCuratedPluginCreated) ProtoMessage() {} - -func (x *PayloadCuratedPluginCreated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[32] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadCuratedPluginCreated) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadCuratedPluginCreated) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadCuratedPluginCreated) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadCuratedPluginCreated) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -type PayloadCuratedPluginCreated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the plugin. - OwnerId string - // owner_name is the name of the owner of the plugin. - OwnerName string -} - -func (b0 PayloadCuratedPluginCreated_builder) Build() *PayloadCuratedPluginCreated { - m0 := &PayloadCuratedPluginCreated{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - return m0 -} - -type PayloadCuratedPluginDeleted struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_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() { - *x = PayloadCuratedPluginDeleted{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadCuratedPluginDeleted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadCuratedPluginDeleted) ProtoMessage() {} - -func (x *PayloadCuratedPluginDeleted) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[33] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadCuratedPluginDeleted) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadCuratedPluginDeleted) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadCuratedPluginDeleted) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadCuratedPluginDeleted) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -type PayloadCuratedPluginDeleted_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the plugin. - OwnerId string - // owner_name is the name of the owner of the plugin. - OwnerName string -} - -func (b0 PayloadCuratedPluginDeleted_builder) Build() *PayloadCuratedPluginDeleted { - m0 := &PayloadCuratedPluginDeleted{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - return m0 -} - -type PayloadTokenCreated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_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() { - *x = PayloadTokenCreated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadTokenCreated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadTokenCreated) ProtoMessage() {} - -func (x *PayloadTokenCreated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[34] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadTokenCreated) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadTokenCreated) GetTokenExpiryTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_TokenExpiryTime - } - return nil -} - -func (x *PayloadTokenCreated) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadTokenCreated) SetTokenExpiryTime(v *timestamppb.Timestamp) { - x.xxx_hidden_TokenExpiryTime = v -} - -func (x *PayloadTokenCreated) HasTokenExpiryTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_TokenExpiryTime != nil -} - -func (x *PayloadTokenCreated) ClearTokenExpiryTime() { - x.xxx_hidden_TokenExpiryTime = nil -} - -type PayloadTokenCreated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the token. - OwnerId string - // token_expiry_time is the expiry time of the token. - TokenExpiryTime *timestamppb.Timestamp -} - -func (b0 PayloadTokenCreated_builder) Build() *PayloadTokenCreated { - m0 := &PayloadTokenCreated{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_TokenExpiryTime = b.TokenExpiryTime - return m0 -} - -type PayloadTokenDeleted struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = PayloadTokenDeleted{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadTokenDeleted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadTokenDeleted) ProtoMessage() {} - -func (x *PayloadTokenDeleted) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[35] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadTokenDeleted) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadTokenDeleted) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -type PayloadTokenDeleted_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the token. - OwnerId string -} - -func (b0 PayloadTokenDeleted_builder) Build() *PayloadTokenDeleted { - m0 := &PayloadTokenDeleted{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - return m0 -} - -type PayloadSCIMTokenCreated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = PayloadSCIMTokenCreated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadSCIMTokenCreated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadSCIMTokenCreated) ProtoMessage() {} - -func (x *PayloadSCIMTokenCreated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[36] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadSCIMTokenCreated) GetTokenExpiryTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_TokenExpiryTime - } - return nil -} - -func (x *PayloadSCIMTokenCreated) SetTokenExpiryTime(v *timestamppb.Timestamp) { - x.xxx_hidden_TokenExpiryTime = v -} - -func (x *PayloadSCIMTokenCreated) HasTokenExpiryTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_TokenExpiryTime != nil -} - -func (x *PayloadSCIMTokenCreated) ClearTokenExpiryTime() { - x.xxx_hidden_TokenExpiryTime = nil -} - -type PayloadSCIMTokenCreated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // token_expiry_time is the expiry time of the token. - TokenExpiryTime *timestamppb.Timestamp -} - -func (b0 PayloadSCIMTokenCreated_builder) Build() *PayloadSCIMTokenCreated { - m0 := &PayloadSCIMTokenCreated{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_TokenExpiryTime = b.TokenExpiryTime - return m0 -} - -type PayloadSCIMTokenDeleted struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadSCIMTokenDeleted) Reset() { - *x = PayloadSCIMTokenDeleted{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadSCIMTokenDeleted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadSCIMTokenDeleted) ProtoMessage() {} - -func (x *PayloadSCIMTokenDeleted) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[37] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadSCIMTokenDeleted_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadSCIMTokenDeleted_builder) Build() *PayloadSCIMTokenDeleted { - m0 := &PayloadSCIMTokenDeleted{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type PayloadRepositoryCommitDeleted struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryCommitDeleted{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryCommitDeleted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryCommitDeleted) ProtoMessage() {} - -func (x *PayloadRepositoryCommitDeleted) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[38] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryCommitDeleted) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryCommitDeleted) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryCommitDeleted) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *PayloadRepositoryCommitDeleted) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *PayloadRepositoryCommitDeleted) GetDraftName() string { - if x != nil { - return x.xxx_hidden_DraftName - } - return "" -} - -func (x *PayloadRepositoryCommitDeleted) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryCommitDeleted) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryCommitDeleted) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *PayloadRepositoryCommitDeleted) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *PayloadRepositoryCommitDeleted) SetDraftName(v string) { - x.xxx_hidden_DraftName = v -} - -type PayloadRepositoryCommitDeleted_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository from which the commit will be deleted. - OwnerId string - // owner_name is the name of the owner of the repository from which the commit will be deleted. - OwnerName string - // repository_id is the id of the repository from which the commit will be deleted. - RepositoryId string - // repository_name is the name of the repository from which the commit will be deleted. - RepositoryName string - // draft_name is the name of the draft. Optional. - DraftName string -} - -func (b0 PayloadRepositoryCommitDeleted_builder) Build() *PayloadRepositoryCommitDeleted { - m0 := &PayloadRepositoryCommitDeleted{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_DraftName = b.DraftName - return m0 -} - -type PayloadRepositoryLabelCreated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_LabelNamespace string `protobuf:"bytes,5,opt,name=label_namespace,json=labelNamespace,proto3" json:"label_namespace,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryLabelCreated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryLabelCreated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryLabelCreated) ProtoMessage() {} - -func (x *PayloadRepositoryLabelCreated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[39] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryLabelCreated) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryLabelCreated) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryLabelCreated) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *PayloadRepositoryLabelCreated) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -// Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. -func (x *PayloadRepositoryLabelCreated) GetLabelNamespace() string { - if x != nil { - return x.xxx_hidden_LabelNamespace - } - return "" -} - -func (x *PayloadRepositoryLabelCreated) GetCommitId() string { - if x != nil { - return x.xxx_hidden_CommitId - } - return "" -} - -func (x *PayloadRepositoryLabelCreated) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryLabelCreated) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryLabelCreated) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *PayloadRepositoryLabelCreated) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -// Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. -func (x *PayloadRepositoryLabelCreated) SetLabelNamespace(v string) { - x.xxx_hidden_LabelNamespace = v -} - -func (x *PayloadRepositoryLabelCreated) SetCommitId(v string) { - x.xxx_hidden_CommitId = v -} - -type PayloadRepositoryLabelCreated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository on which the label was created. - OwnerId string - // owner_name is the name of the owner of the repository on which the label was created. - OwnerName string - // repository_id is the id of the repository on which the label was created. - RepositoryId string - // repository_name is the name of the repository from which the label was created. - RepositoryName string - // label_namespace is the namespace of the label that was created. - // - // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. - LabelNamespace string - // commit_id is the id of the commit on which the label was created. - CommitId string -} - -func (b0 PayloadRepositoryLabelCreated_builder) Build() *PayloadRepositoryLabelCreated { - m0 := &PayloadRepositoryLabelCreated{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_LabelNamespace = b.LabelNamespace - x.xxx_hidden_CommitId = b.CommitId - return m0 -} - -type PayloadRepositoryLabelMoved struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_LabelNamespace string `protobuf:"bytes,5,opt,name=label_namespace,json=labelNamespace,proto3" json:"label_namespace,omitempty"` - xxx_hidden_ToCommitId string `protobuf:"bytes,6,opt,name=to_commit_id,json=toCommitId,proto3" json:"to_commit_id,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryLabelMoved{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryLabelMoved) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryLabelMoved) ProtoMessage() {} - -func (x *PayloadRepositoryLabelMoved) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[40] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryLabelMoved) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryLabelMoved) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryLabelMoved) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *PayloadRepositoryLabelMoved) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -// Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. -func (x *PayloadRepositoryLabelMoved) GetLabelNamespace() string { - if x != nil { - return x.xxx_hidden_LabelNamespace - } - return "" -} - -func (x *PayloadRepositoryLabelMoved) GetToCommitId() string { - if x != nil { - return x.xxx_hidden_ToCommitId - } - return "" -} - -func (x *PayloadRepositoryLabelMoved) GetFromCommitId() string { - if x != nil { - return x.xxx_hidden_FromCommitId - } - return "" -} - -func (x *PayloadRepositoryLabelMoved) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryLabelMoved) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryLabelMoved) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *PayloadRepositoryLabelMoved) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -// Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. -func (x *PayloadRepositoryLabelMoved) SetLabelNamespace(v string) { - x.xxx_hidden_LabelNamespace = v -} - -func (x *PayloadRepositoryLabelMoved) SetToCommitId(v string) { - x.xxx_hidden_ToCommitId = v -} - -func (x *PayloadRepositoryLabelMoved) SetFromCommitId(v string) { - x.xxx_hidden_FromCommitId = v -} - -type PayloadRepositoryLabelMoved_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository on which the label was moved. - OwnerId string - // owner_name is the name of the owner of the repository on which the label was moved. - OwnerName string - // repository_id is the id of the repository on which the label was moved. - RepositoryId string - // repository_name is the name of the repository from which the label was moved. - RepositoryName string - // label_namespace is the namespace of the label that was moved. - // - // Deprecated: Marked as deprecated in buf/alpha/audit/v1alpha1/event.proto. - LabelNamespace string - // to_commit_id is the id of the commit on which the label was moved to. - ToCommitId string - // from_commit_id is the id of the commit on which the label was moved from. - FromCommitId string -} - -func (b0 PayloadRepositoryLabelMoved_builder) Build() *PayloadRepositoryLabelMoved { - m0 := &PayloadRepositoryLabelMoved{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_LabelNamespace = b.LabelNamespace - x.xxx_hidden_ToCommitId = b.ToCommitId - x.xxx_hidden_FromCommitId = b.FromCommitId - return m0 -} - -type PayloadRepositoryLabelArchived struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryLabelArchived{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryLabelArchived) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryLabelArchived) ProtoMessage() {} - -func (x *PayloadRepositoryLabelArchived) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[41] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryLabelArchived) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryLabelArchived) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryLabelArchived) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *PayloadRepositoryLabelArchived) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *PayloadRepositoryLabelArchived) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryLabelArchived) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryLabelArchived) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *PayloadRepositoryLabelArchived) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -type PayloadRepositoryLabelArchived_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository on which the label was archived. - OwnerId string - // owner_name is the name of the owner of the repository on which the label was archived. - OwnerName string - // repository_id is the id of the repository on which the label was archived. - RepositoryId string - // repository_name is the name of the repository from which the label was archived. - RepositoryName string -} - -func (b0 PayloadRepositoryLabelArchived_builder) Build() *PayloadRepositoryLabelArchived { - m0 := &PayloadRepositoryLabelArchived{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryName = b.RepositoryName - return m0 -} - -type PayloadRepositoryLabelUnarchived struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_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() { - *x = PayloadRepositoryLabelUnarchived{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadRepositoryLabelUnarchived) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadRepositoryLabelUnarchived) ProtoMessage() {} - -func (x *PayloadRepositoryLabelUnarchived) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[42] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadRepositoryLabelUnarchived) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadRepositoryLabelUnarchived) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadRepositoryLabelUnarchived) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *PayloadRepositoryLabelUnarchived) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *PayloadRepositoryLabelUnarchived) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadRepositoryLabelUnarchived) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadRepositoryLabelUnarchived) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *PayloadRepositoryLabelUnarchived) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -type PayloadRepositoryLabelUnarchived_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the repository on which the label was unarchived. - OwnerId string - // owner_name is the name of the owner of the repository on which the label was unarchived. - OwnerName string - // repository_id is the id of the repository on which the label was unarchived. - RepositoryId string - // repository_name is the name of the repository from which the label was unarchived. - RepositoryName string -} - -func (b0 PayloadRepositoryLabelUnarchived_builder) Build() *PayloadRepositoryLabelUnarchived { - m0 := &PayloadRepositoryLabelUnarchived{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryName = b.RepositoryName - return m0 -} - -type PayloadServerBreakingChangePolicyEnabled struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Category v1alpha1.BreakingChangeCategory `protobuf:"varint,1,opt,name=category,proto3,enum=buf.alpha.registry.v1alpha1.BreakingChangeCategory" json:"category,omitempty"` - xxx_hidden_IgnoreUnstablePackages bool `protobuf:"varint,2,opt,name=ignore_unstable_packages,json=ignoreUnstablePackages,proto3,oneof" json:"ignore_unstable_packages,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadServerBreakingChangePolicyEnabled) Reset() { - *x = PayloadServerBreakingChangePolicyEnabled{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadServerBreakingChangePolicyEnabled) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadServerBreakingChangePolicyEnabled) ProtoMessage() {} - -func (x *PayloadServerBreakingChangePolicyEnabled) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[43] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadServerBreakingChangePolicyEnabled) GetCategory() v1alpha1.BreakingChangeCategory { - if x != nil { - return x.xxx_hidden_Category - } - return v1alpha1.BreakingChangeCategory(0) -} - -func (x *PayloadServerBreakingChangePolicyEnabled) GetIgnoreUnstablePackages() bool { - if x != nil { - return x.xxx_hidden_IgnoreUnstablePackages - } - return false -} - -func (x *PayloadServerBreakingChangePolicyEnabled) SetCategory(v v1alpha1.BreakingChangeCategory) { - x.xxx_hidden_Category = v -} - -func (x *PayloadServerBreakingChangePolicyEnabled) SetIgnoreUnstablePackages(v bool) { - x.xxx_hidden_IgnoreUnstablePackages = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 2) -} - -func (x *PayloadServerBreakingChangePolicyEnabled) HasIgnoreUnstablePackages() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 1) -} - -func (x *PayloadServerBreakingChangePolicyEnabled) ClearIgnoreUnstablePackages() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) - x.xxx_hidden_IgnoreUnstablePackages = false -} - -type PayloadServerBreakingChangePolicyEnabled_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // category is the category of breaking changes. - Category v1alpha1.BreakingChangeCategory - // ignore_unstable_packages tracks breaking change enforcement for unstable packages. - IgnoreUnstablePackages *bool -} - -func (b0 PayloadServerBreakingChangePolicyEnabled_builder) Build() *PayloadServerBreakingChangePolicyEnabled { - m0 := &PayloadServerBreakingChangePolicyEnabled{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Category = b.Category - if b.IgnoreUnstablePackages != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 2) - x.xxx_hidden_IgnoreUnstablePackages = *b.IgnoreUnstablePackages - } - return m0 -} - -type PayloadServerBreakingChangePolicyDisabled struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadServerBreakingChangePolicyDisabled) Reset() { - *x = PayloadServerBreakingChangePolicyDisabled{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadServerBreakingChangePolicyDisabled) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadServerBreakingChangePolicyDisabled) ProtoMessage() {} - -func (x *PayloadServerBreakingChangePolicyDisabled) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[44] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadServerBreakingChangePolicyDisabled_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadServerBreakingChangePolicyDisabled_builder) Build() *PayloadServerBreakingChangePolicyDisabled { - m0 := &PayloadServerBreakingChangePolicyDisabled{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type PayloadServerUniquenessPolicyEnabled struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadServerUniquenessPolicyEnabled) Reset() { - *x = PayloadServerUniquenessPolicyEnabled{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadServerUniquenessPolicyEnabled) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadServerUniquenessPolicyEnabled) ProtoMessage() {} - -func (x *PayloadServerUniquenessPolicyEnabled) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[45] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadServerUniquenessPolicyEnabled_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadServerUniquenessPolicyEnabled_builder) Build() *PayloadServerUniquenessPolicyEnabled { - m0 := &PayloadServerUniquenessPolicyEnabled{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type PayloadServerUniquenessPolicyDisabled struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PayloadServerUniquenessPolicyDisabled) Reset() { - *x = PayloadServerUniquenessPolicyDisabled{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadServerUniquenessPolicyDisabled) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadServerUniquenessPolicyDisabled) ProtoMessage() {} - -func (x *PayloadServerUniquenessPolicyDisabled) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[46] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type PayloadServerUniquenessPolicyDisabled_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 PayloadServerUniquenessPolicyDisabled_builder) Build() *PayloadServerUniquenessPolicyDisabled { - m0 := &PayloadServerUniquenessPolicyDisabled{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type PayloadDeviceAuthorizationGrantApproved struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = PayloadDeviceAuthorizationGrantApproved{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadDeviceAuthorizationGrantApproved) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadDeviceAuthorizationGrantApproved) ProtoMessage() {} - -func (x *PayloadDeviceAuthorizationGrantApproved) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[47] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadDeviceAuthorizationGrantApproved) GetClientId() string { - if x != nil { - return x.xxx_hidden_ClientId - } - return "" -} - -func (x *PayloadDeviceAuthorizationGrantApproved) SetClientId(v string) { - x.xxx_hidden_ClientId = v -} - -type PayloadDeviceAuthorizationGrantApproved_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // client_id is the id of the registered oauth2 client of the grant. - ClientId string -} - -func (b0 PayloadDeviceAuthorizationGrantApproved_builder) Build() *PayloadDeviceAuthorizationGrantApproved { - m0 := &PayloadDeviceAuthorizationGrantApproved{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_ClientId = b.ClientId - return m0 -} - -type PayloadDeviceAuthorizationGrantDenied struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = PayloadDeviceAuthorizationGrantDenied{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadDeviceAuthorizationGrantDenied) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadDeviceAuthorizationGrantDenied) ProtoMessage() {} - -func (x *PayloadDeviceAuthorizationGrantDenied) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[48] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadDeviceAuthorizationGrantDenied) GetClientId() string { - if x != nil { - return x.xxx_hidden_ClientId - } - return "" -} - -func (x *PayloadDeviceAuthorizationGrantDenied) SetClientId(v string) { - x.xxx_hidden_ClientId = v -} - -type PayloadDeviceAuthorizationGrantDenied_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // client_id is the id of the registered oauth2 client of the grant. - ClientId string -} - -func (b0 PayloadDeviceAuthorizationGrantDenied_builder) Build() *PayloadDeviceAuthorizationGrantDenied { - m0 := &PayloadDeviceAuthorizationGrantDenied{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_ClientId = b.ClientId - return m0 -} - -type PayloadPluginLabelCreated struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` - xxx_hidden_PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` - xxx_hidden_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() { - *x = PayloadPluginLabelCreated{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadPluginLabelCreated) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadPluginLabelCreated) ProtoMessage() {} - -func (x *PayloadPluginLabelCreated) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[49] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadPluginLabelCreated) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadPluginLabelCreated) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadPluginLabelCreated) GetPluginId() string { - if x != nil { - return x.xxx_hidden_PluginId - } - return "" -} - -func (x *PayloadPluginLabelCreated) GetPluginName() string { - if x != nil { - return x.xxx_hidden_PluginName - } - return "" -} - -func (x *PayloadPluginLabelCreated) GetCommitId() string { - if x != nil { - return x.xxx_hidden_CommitId - } - return "" -} - -func (x *PayloadPluginLabelCreated) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadPluginLabelCreated) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadPluginLabelCreated) SetPluginId(v string) { - x.xxx_hidden_PluginId = v -} - -func (x *PayloadPluginLabelCreated) SetPluginName(v string) { - x.xxx_hidden_PluginName = v -} - -func (x *PayloadPluginLabelCreated) SetCommitId(v string) { - x.xxx_hidden_CommitId = v -} - -type PayloadPluginLabelCreated_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the plugin on which the label was created. - OwnerId string - // owner_name is the name of the owner of the plugin on which the label was created. - OwnerName string - // plugin_id is the id of the plugin on which the label was created. - PluginId string - // plugin_name is the name of the plugin from which the label was created. - PluginName string - // commit_id is the id of the commit on which the label was created. - CommitId string -} - -func (b0 PayloadPluginLabelCreated_builder) Build() *PayloadPluginLabelCreated { - m0 := &PayloadPluginLabelCreated{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_PluginId = b.PluginId - x.xxx_hidden_PluginName = b.PluginName - x.xxx_hidden_CommitId = b.CommitId - return m0 -} - -type PayloadPluginLabelMoved struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` - xxx_hidden_PluginName string `protobuf:"bytes,4,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"` - xxx_hidden_ToCommitId string `protobuf:"bytes,6,opt,name=to_commit_id,json=toCommitId,proto3" json:"to_commit_id,omitempty"` - xxx_hidden_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() { - *x = PayloadPluginLabelMoved{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadPluginLabelMoved) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadPluginLabelMoved) ProtoMessage() {} - -func (x *PayloadPluginLabelMoved) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[50] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadPluginLabelMoved) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadPluginLabelMoved) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadPluginLabelMoved) GetPluginId() string { - if x != nil { - return x.xxx_hidden_PluginId - } - return "" -} - -func (x *PayloadPluginLabelMoved) GetPluginName() string { - if x != nil { - return x.xxx_hidden_PluginName - } - return "" -} - -func (x *PayloadPluginLabelMoved) GetToCommitId() string { - if x != nil { - return x.xxx_hidden_ToCommitId - } - return "" -} - -func (x *PayloadPluginLabelMoved) GetFromCommitId() string { - if x != nil { - return x.xxx_hidden_FromCommitId - } - return "" -} - -func (x *PayloadPluginLabelMoved) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadPluginLabelMoved) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadPluginLabelMoved) SetPluginId(v string) { - x.xxx_hidden_PluginId = v -} - -func (x *PayloadPluginLabelMoved) SetPluginName(v string) { - x.xxx_hidden_PluginName = v -} - -func (x *PayloadPluginLabelMoved) SetToCommitId(v string) { - x.xxx_hidden_ToCommitId = v -} - -func (x *PayloadPluginLabelMoved) SetFromCommitId(v string) { - x.xxx_hidden_FromCommitId = v -} - -type PayloadPluginLabelMoved_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the plugin on which the label was moved. - OwnerId string - // owner_name is the name of the owner of the plugin on which the label was moved. - OwnerName string - // plugin_id is the id of the plugin on which the label was moved. - PluginId string - // plugin_name is the name of the plugin from which the label was moved. - PluginName string - // to_commit_id is the id of the commit on which the label was moved to. - ToCommitId string - // from_commit_id is the id of the commit on which the label was moved from. - FromCommitId string -} - -func (b0 PayloadPluginLabelMoved_builder) Build() *PayloadPluginLabelMoved { - m0 := &PayloadPluginLabelMoved{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_PluginId = b.PluginId - x.xxx_hidden_PluginName = b.PluginName - x.xxx_hidden_ToCommitId = b.ToCommitId - x.xxx_hidden_FromCommitId = b.FromCommitId - return m0 -} - -type PayloadPluginLabelArchived struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` - xxx_hidden_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() { - *x = PayloadPluginLabelArchived{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadPluginLabelArchived) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadPluginLabelArchived) ProtoMessage() {} - -func (x *PayloadPluginLabelArchived) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[51] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadPluginLabelArchived) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadPluginLabelArchived) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadPluginLabelArchived) GetPluginId() string { - if x != nil { - return x.xxx_hidden_PluginId - } - return "" -} - -func (x *PayloadPluginLabelArchived) GetPluginName() string { - if x != nil { - return x.xxx_hidden_PluginName - } - return "" -} - -func (x *PayloadPluginLabelArchived) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadPluginLabelArchived) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadPluginLabelArchived) SetPluginId(v string) { - x.xxx_hidden_PluginId = v -} - -func (x *PayloadPluginLabelArchived) SetPluginName(v string) { - x.xxx_hidden_PluginName = v -} - -type PayloadPluginLabelArchived_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the plugin on which the label was archived. - OwnerId string - // owner_name is the name of the owner of the plugin on which the label was archived. - OwnerName string - // plugin_id is the id of the plugin on which the label was archived. - PluginId string - // plugin_name is the name of the plugin from which the label was archived. - PluginName string -} - -func (b0 PayloadPluginLabelArchived_builder) Build() *PayloadPluginLabelArchived { - m0 := &PayloadPluginLabelArchived{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_PluginId = b.PluginId - x.xxx_hidden_PluginName = b.PluginName - return m0 -} - -type PayloadPluginLabelUnarchived struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_PluginId string `protobuf:"bytes,3,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` - xxx_hidden_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() { - *x = PayloadPluginLabelUnarchived{} - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PayloadPluginLabelUnarchived) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PayloadPluginLabelUnarchived) ProtoMessage() {} - -func (x *PayloadPluginLabelUnarchived) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[52] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PayloadPluginLabelUnarchived) GetOwnerId() string { - if x != nil { - return x.xxx_hidden_OwnerId - } - return "" -} - -func (x *PayloadPluginLabelUnarchived) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *PayloadPluginLabelUnarchived) GetPluginId() string { - if x != nil { - return x.xxx_hidden_PluginId - } - return "" -} - -func (x *PayloadPluginLabelUnarchived) GetPluginName() string { - if x != nil { - return x.xxx_hidden_PluginName - } - return "" -} - -func (x *PayloadPluginLabelUnarchived) SetOwnerId(v string) { - x.xxx_hidden_OwnerId = v -} - -func (x *PayloadPluginLabelUnarchived) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *PayloadPluginLabelUnarchived) SetPluginId(v string) { - x.xxx_hidden_PluginId = v -} - -func (x *PayloadPluginLabelUnarchived) SetPluginName(v string) { - x.xxx_hidden_PluginName = v -} - -type PayloadPluginLabelUnarchived_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // owner_id is the id of the owner of the plugin on which the label was unarchived. - OwnerId string - // owner_name is the name of the owner of the plugin on which the label was unarchived. - OwnerName string - // plugin_id is the id of the plugin on which the label was unarchived. - PluginId string - // plugin_name is the name of the plugin from which the label was unarchived. - PluginName string -} - -func (b0 PayloadPluginLabelUnarchived_builder) Build() *PayloadPluginLabelUnarchived { - m0 := &PayloadPluginLabelUnarchived{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerId = b.OwnerId - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_PluginId = b.PluginId - x.xxx_hidden_PluginName = b.PluginName - return m0 -} - -var File_buf_alpha_audit_v1alpha1_event_proto protoreflect.FileDescriptor - -var file_buf_alpha_audit_v1alpha1_event_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x75, 0x64, 0x69, - 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x1a, 0x27, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x64, 0x0a, 0x05, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x26, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0x59, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, - 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0xa1, 0x2f, - 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x49, 0x64, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x23, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x61, - 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x61, 0x63, 0x74, - 0x6f, 0x72, 0x12, 0x3e, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x12, 0x69, 0x0a, 0x14, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x13, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x69, 0x0a, - 0x14, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x64, 0x48, 0x00, 0x52, 0x13, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x76, 0x0a, 0x19, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, - 0x12, 0x89, 0x01, 0x0a, 0x20, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, 0x00, 0x52, 0x1d, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x7c, 0x0a, 0x1b, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, - 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, - 0x19, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x63, 0x0a, 0x12, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x11, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, - 0x6c, 0x0a, 0x15, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x64, 0x65, - 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x36, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, - 0x63, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x14, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x72, 0x0a, - 0x17, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x6e, 0x64, 0x65, - 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x55, 0x6e, 0x64, 0x65, 0x70, - 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x16, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x55, 0x6e, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x12, 0x63, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, - 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x64, 0x48, 0x00, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x73, 0x0a, 0x18, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x70, 0x75, 0x73, 0x68, - 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, 0x65, - 0x64, 0x48, 0x00, 0x52, 0x16, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, 0x65, 0x64, 0x12, 0x7f, 0x0a, 0x1c, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x3b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, - 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, - 0x52, 0x1a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 0x92, 0x01, 0x0a, - 0x23, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x63, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, - 0x6f, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, 0x00, 0x52, - 0x20, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x64, 0x12, 0x85, 0x01, 0x0a, 0x1e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, - 0x6f, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x1c, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, - 0x6f, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x82, 0x01, 0x0a, 0x1d, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, - 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x56, 0x69, - 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x48, - 0x00, 0x52, 0x1b, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x56, 0x69, 0x73, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x96, - 0x01, 0x0a, 0x25, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x64, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x64, 0x48, 0x00, 0x52, 0x21, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x57, 0x0a, 0x0e, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, - 0x00, 0x52, 0x0d, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x12, 0x57, 0x0a, 0x0e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x67, 0x0a, 0x14, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x70, 0x75, 0x73, 0x68, 0x65, - 0x64, 0x18, 0x31, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, 0x65, 0x64, 0x48, 0x00, 0x52, 0x12, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, - 0x65, 0x64, 0x12, 0x51, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x5d, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x64, 0x65, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x30, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x64, 0x48, 0x00, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, - 0x61, 0x74, 0x65, 0x64, 0x12, 0x51, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, - 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x55, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x48, 0x00, - 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x12, 0x58, - 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x5f, 0x6f, 0x75, - 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, - 0x67, 0x67, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x72, 0x4c, - 0x6f, 0x67, 0x67, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x12, 0x6d, 0x0a, 0x16, 0x63, 0x75, 0x72, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x75, 0x72, 0x61, 0x74, - 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, - 0x00, 0x52, 0x14, 0x63, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x64, 0x0a, 0x0f, 0x69, 0x64, 0x70, 0x5f, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x44, 0x50, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0d, - 0x69, 0x64, 0x70, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 0x6a, 0x0a, - 0x11, 0x69, 0x64, 0x70, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x64, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x50, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0f, 0x69, 0x64, 0x70, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x54, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, - 0x00, 0x52, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, - 0x54, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, - 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x5d, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x30, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x64, 0x48, 0x00, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, - 0x61, 0x74, 0x65, 0x64, 0x12, 0x61, 0x0a, 0x12, 0x73, 0x63, 0x69, 0x6d, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x10, 0x73, 0x63, 0x69, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x61, 0x0a, 0x12, 0x73, 0x63, 0x69, 0x6d, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x21, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x10, 0x73, 0x63, 0x69, 0x6d, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x76, 0x0a, 0x19, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, - 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x17, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x64, 0x12, 0x73, 0x0a, 0x18, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x23, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, - 0x16, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x61, 0x62, 0x65, 0x6c, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x6d, 0x0a, 0x16, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6d, 0x6f, 0x76, 0x65, - 0x64, 0x18, 0x24, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, - 0x52, 0x14, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x61, 0x62, 0x65, - 0x6c, 0x4d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x76, 0x0a, 0x19, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, - 0x76, 0x65, 0x64, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x41, 0x72, 0x63, 0x68, 0x69, - 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x17, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x12, 0x7c, - 0x0a, 0x1b, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x5f, 0x75, 0x6e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x18, 0x2d, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x55, 0x6e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x48, - 0x00, 0x52, 0x19, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x55, 0x6e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x12, 0x6d, 0x0a, 0x16, - 0x63, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x64, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x25, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, - 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x14, 0x63, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0xa5, 0x01, 0x0a, 0x2d, - 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, - 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x70, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x26, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x72, 0x65, 0x61, - 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x00, 0x52, 0x28, 0x70, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x12, 0xa8, 0x01, 0x0a, 0x2e, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5f, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x64, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x27, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x48, 0x00, 0x52, 0x29, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x90, - 0x01, 0x0a, 0x21, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x64, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x63, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x64, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x42, 0x02, 0x18, 0x01, 0x48, - 0x00, 0x52, 0x1e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x64, 0x12, 0x98, 0x01, 0x0a, 0x28, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x5f, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x5f, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x29, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, - 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x48, 0x00, 0x52, 0x24, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x9b, 0x01, 0x0a, - 0x29, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, - 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x3f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, - 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x48, 0x00, 0x52, 0x25, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x7c, 0x0a, 0x1d, 0x75, 0x73, - 0x65, 0x72, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x5f, 0x66, - 0x72, 0x6f, 0x6d, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x69, 0x64, 0x70, 0x18, 0x2b, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x39, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, - 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x65, 0x72, 0x67, - 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x4e, 0x65, 0x77, 0x49, 0x64, 0x50, 0x48, 0x00, 0x52, 0x18, - 0x75, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x46, 0x72, - 0x6f, 0x6d, 0x4e, 0x65, 0x77, 0x49, 0x64, 0x70, 0x12, 0x92, 0x01, 0x0a, 0x23, 0x64, 0x65, 0x76, - 0x69, 0x63, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, - 0x18, 0x2f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, - 0x74, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x20, 0x64, 0x65, 0x76, - 0x69, 0x63, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x47, 0x72, 0x61, 0x6e, 0x74, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x8c, 0x01, - 0x0a, 0x21, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x6e, - 0x69, 0x65, 0x64, 0x18, 0x30, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x65, 0x76, 0x69, - 0x63, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, - 0x72, 0x61, 0x6e, 0x74, 0x44, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x48, 0x00, 0x52, 0x1e, 0x64, 0x65, - 0x76, 0x69, 0x63, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x44, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x12, 0x67, 0x0a, 0x14, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48, - 0x00, 0x52, 0x12, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x61, 0x0a, 0x12, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x33, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, - 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d, - 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x10, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x4d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x6a, 0x0a, 0x15, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, - 0x64, 0x18, 0x34, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, - 0x13, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x41, 0x72, 0x63, 0x68, - 0x69, 0x76, 0x65, 0x64, 0x12, 0x70, 0x0a, 0x17, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6c, - 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x75, 0x6e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x18, - 0x35, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x55, 0x6e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, - 0x15, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x55, 0x6e, 0x61, 0x72, - 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, - 0x1c, 0x0a, 0x1a, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0xa9, 0x02, - 0x0a, 0x1e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, - 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x61, 0x0a, 0x12, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, - 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x10, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, - 0x6f, 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0xe4, 0x03, 0x0a, 0x24, 0x50, 0x61, - 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, - 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x52, 0x6f, - 0x6c, 0x65, 0x12, 0x48, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x6f, 0x6c, 0x65, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x68, 0x0a, 0x16, - 0x6f, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x52, 0x13, 0x6f, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, - 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x68, 0x0a, 0x16, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x13, 0x6e, 0x65, 0x77, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x22, 0xab, 0x02, 0x0a, 0x20, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2b, - 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x6d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, - 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x61, 0x0a, 0x12, 0x6d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x10, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x78, - 0x0a, 0x20, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x50, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x64, 0x64, - 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x7a, 0x0a, 0x22, 0x50, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x44, 0x50, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x27, - 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x18, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x76, - 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x69, - 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4e, 0x61, - 0x6d, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x18, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, - 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x76, 0x69, 0x73, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x22, 0xd1, 0x01, 0x0a, 0x1b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, - 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, - 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x0a, - 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, - 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa2, 0x01, 0x0a, 0x1d, 0x50, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x55, 0x6e, 0x64, 0x65, - 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, - 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0xa0, 0x02, 0x0a, 0x1d, - 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, 0x65, 0x64, 0x12, 0x19, 0x0a, - 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x72, 0x61, - 0x66, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, - 0x72, 0x61, 0x66, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x6e, 0x69, - 0x66, 0x65, 0x73, 0x74, 0x5f, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x44, 0x69, 0x67, 0x65, 0x73, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x35, 0x5f, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x35, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x22, 0x83, - 0x02, 0x0a, 0x21, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x41, - 0x64, 0x64, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, - 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x10, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x5f, 0x72, 0x6f, 0x6c, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, - 0x6f, 0x6c, 0x65, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, - 0x52, 0x6f, 0x6c, 0x65, 0x22, 0xc1, 0x02, 0x0a, 0x27, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, - 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, - 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, - 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x52, 0x6f, 0x6c, 0x65, - 0x12, 0x46, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x52, - 0x07, 0x6e, 0x65, 0x77, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x85, 0x02, 0x0a, 0x23, 0x50, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, - 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, - 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x52, - 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x6f, 0x6c, 0x65, - 0x22, 0xfe, 0x01, 0x0a, 0x22, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x4e, 0x0a, 0x0e, 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x52, 0x0d, 0x6f, 0x6c, 0x64, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x12, 0x4e, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x52, 0x0d, 0x6e, 0x65, 0x77, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x22, 0xce, 0x01, 0x0a, 0x28, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x19, - 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6f, 0x6c, 0x64, 0x5f, - 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6f, 0x6c, 0x64, 0x44, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, - 0x16, 0x6e, 0x65, 0x77, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6e, - 0x65, 0x77, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4e, 0x61, - 0x6d, 0x65, 0x22, 0xc1, 0x01, 0x0a, 0x25, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6f, 0x6c, 0x64, 0x5f, 0x64, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x10, 0x6f, 0x6c, 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x65, 0x77, 0x5f, 0x64, 0x65, 0x66, 0x61, - 0x75, 0x6c, 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x10, 0x6e, 0x65, 0x77, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x71, 0x0a, 0x14, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x19, - 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x71, 0x0a, 0x14, 0x50, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0xb0, 0x01, 0x0a, - 0x19, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, - 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x31, 0x5f, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x31, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x22, - 0x14, 0x0a, 0x12, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x22, - 0x18, 0x0a, 0x16, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x50, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, - 0x15, 0x0a, 0x13, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, - 0x67, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x22, 0x16, 0x0a, 0x14, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x22, 0x21, - 0x0a, 0x1f, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, - 0x6f, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x4e, 0x65, 0x77, 0x49, 0x64, - 0x50, 0x22, 0x57, 0x0a, 0x1b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x75, 0x72, 0x61, - 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x57, 0x0a, 0x1b, 0x50, 0x61, - 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0x78, 0x0a, 0x13, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x11, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x65, - 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x30, 0x0a, - 0x13, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x22, - 0x61, 0x0a, 0x17, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x46, 0x0a, 0x11, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x0f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x54, 0x69, - 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x43, 0x49, - 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0xc7, 0x01, - 0x0a, 0x1e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, - 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, - 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x72, 0x61, 0x66, - 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x72, - 0x61, 0x66, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xf1, 0x01, 0x0a, 0x1d, 0x50, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x2b, 0x0a, 0x0f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, - 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0x9a, 0x02, 0x0a, 0x1b, - 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x0f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, - 0x52, 0x0e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0xa8, 0x01, 0x0a, 0x1e, 0x50, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0xaa, 0x01, 0x0a, 0x20, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x55, 0x6e, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, - 0x22, 0xd7, 0x01, 0x0a, 0x28, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x4f, 0x0a, - 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x72, - 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, - 0x67, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x3d, - 0x0a, 0x18, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x75, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, - 0x48, 0x00, 0x52, 0x16, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x55, 0x6e, 0x73, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x88, 0x01, 0x01, 0x42, 0x1b, 0x0a, - 0x19, 0x5f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x75, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x22, 0x2b, 0x0a, 0x29, 0x50, 0x61, - 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x72, 0x65, 0x61, 0x6b, - 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, - 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x26, 0x0a, 0x24, 0x50, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, - 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, - 0x27, 0x0a, 0x25, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x46, 0x0a, 0x27, 0x50, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x41, 0x70, 0x70, 0x72, 0x6f, - 0x76, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, - 0x22, 0x44, 0x0a, 0x25, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x65, 0x76, 0x69, 0x63, - 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, - 0x61, 0x6e, 0x74, 0x44, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xb0, 0x01, 0x0a, 0x19, 0x50, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, - 0x0a, 0x09, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x17, 0x50, 0x61, - 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, - 0x4d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, - 0x0c, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, - 0x24, 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x1a, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x41, 0x72, 0x63, 0x68, - 0x69, 0x76, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, - 0x0a, 0x09, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x96, 0x01, 0x0a, - 0x1c, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x55, 0x6e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x12, 0x19, 0x0a, - 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x2a, 0x53, 0x0a, 0x09, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, - 0x0a, 0x0f, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, - 0x52, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x02, 0x2a, 0xc3, 0x04, 0x0a, 0x0c, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x52, - 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, - 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, - 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x03, 0x12, 0x28, 0x0a, 0x24, 0x52, 0x45, 0x53, - 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x52, 0x47, 0x41, 0x4e, - 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x44, 0x50, 0x5f, 0x47, 0x52, 0x4f, 0x55, - 0x50, 0x10, 0x09, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x10, - 0x04, 0x12, 0x28, 0x0a, 0x24, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x43, 0x4f, - 0x4e, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x23, 0x0a, 0x1f, 0x52, - 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, - 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x06, - 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x07, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, - 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, 0x55, 0x47, - 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x0f, 0x12, 0x20, 0x0a, 0x1c, 0x52, - 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x55, 0x52, - 0x41, 0x54, 0x45, 0x44, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x08, 0x12, 0x17, 0x0a, - 0x13, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, - 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x0a, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, - 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x43, 0x49, 0x4d, 0x5f, 0x54, 0x4f, 0x4b, - 0x45, 0x4e, 0x10, 0x0b, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, - 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x10, 0x0c, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x53, 0x4f, - 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, - 0x10, 0x0d, 0x12, 0x2c, 0x0a, 0x28, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x4f, - 0x52, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x10, 0x0e, - 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x10, 0x10, - 0x2a, 0xf3, 0x0f, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, - 0x0a, 0x16, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x45, 0x56, - 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, - 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, - 0x23, 0x0a, 0x1f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x52, - 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, - 0x45, 0x44, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, 0x2f, - 0x0a, 0x2b, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x52, 0x47, - 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, - 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x04, 0x12, - 0x2a, 0x0a, 0x26, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x52, - 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, - 0x52, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x05, 0x12, 0x2b, 0x0a, 0x27, 0x45, - 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, - 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x44, 0x50, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, - 0x5f, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x15, 0x12, 0x2d, 0x0a, 0x29, 0x45, 0x56, 0x45, 0x4e, - 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, - 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x44, 0x50, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x52, 0x45, - 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x16, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x56, 0x45, 0x4e, 0x54, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, - 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, 0x24, 0x0a, 0x20, 0x45, 0x56, - 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, - 0x4f, 0x52, 0x59, 0x5f, 0x44, 0x45, 0x50, 0x52, 0x45, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x30, - 0x12, 0x26, 0x0a, 0x22, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, - 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x50, 0x52, - 0x45, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x31, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x56, 0x45, 0x4e, - 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, - 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x07, 0x12, 0x27, 0x0a, 0x23, 0x45, - 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, - 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x5f, 0x50, 0x55, 0x53, 0x48, - 0x45, 0x44, 0x10, 0x08, 0x12, 0x2b, 0x0a, 0x27, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x43, 0x4f, - 0x4e, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, - 0x09, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, - 0x49, 0x42, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, - 0x47, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x2d, 0x0a, 0x29, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x43, - 0x4f, 0x4e, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, - 0x45, 0x44, 0x10, 0x0b, 0x12, 0x2c, 0x0a, 0x28, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x56, 0x49, - 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, - 0x10, 0x0c, 0x12, 0x34, 0x0a, 0x30, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x44, 0x45, 0x46, 0x41, - 0x55, 0x4c, 0x54, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x43, - 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x28, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x56, 0x45, 0x4e, - 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x43, 0x52, - 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x0d, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x56, 0x45, 0x4e, 0x54, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x44, 0x45, 0x4c, - 0x45, 0x54, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x23, 0x0a, 0x1f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, - 0x49, 0x54, 0x5f, 0x50, 0x55, 0x53, 0x48, 0x45, 0x44, 0x10, 0x2b, 0x12, 0x25, 0x0a, 0x21, 0x45, - 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x55, 0x52, 0x41, 0x54, 0x45, - 0x44, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, - 0x10, 0x14, 0x12, 0x25, 0x0a, 0x21, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x43, 0x55, 0x52, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, - 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x1f, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x56, 0x45, - 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x43, 0x52, 0x45, - 0x41, 0x54, 0x45, 0x44, 0x10, 0x0f, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, - 0x44, 0x10, 0x10, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, - 0x45, 0x44, 0x10, 0x11, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x4c, 0x4f, 0x47, 0x47, 0x45, 0x44, 0x5f, 0x49, - 0x4e, 0x10, 0x12, 0x12, 0x1e, 0x0a, 0x1a, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x4c, 0x4f, 0x47, 0x47, 0x45, 0x44, 0x5f, 0x4f, 0x55, - 0x54, 0x10, 0x13, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, - 0x17, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x18, 0x12, - 0x1f, 0x0a, 0x1b, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, - 0x45, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x44, 0x10, 0x19, - 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, - 0x43, 0x49, 0x4d, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, - 0x44, 0x10, 0x1a, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x53, 0x43, 0x49, 0x4d, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x44, 0x45, 0x4c, - 0x45, 0x54, 0x45, 0x44, 0x10, 0x1b, 0x12, 0x28, 0x0a, 0x24, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, - 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x1c, - 0x12, 0x27, 0x0a, 0x23, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, - 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, - 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x1d, 0x12, 0x25, 0x0a, 0x21, 0x45, 0x56, 0x45, - 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, - 0x52, 0x59, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x1e, - 0x12, 0x28, 0x0a, 0x24, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, - 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, - 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x44, 0x10, 0x26, 0x12, 0x2a, 0x0a, 0x26, 0x45, 0x56, - 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, - 0x4f, 0x52, 0x59, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x41, 0x52, 0x43, 0x48, - 0x49, 0x56, 0x45, 0x44, 0x10, 0x27, 0x12, 0x34, 0x0a, 0x30, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x42, 0x52, 0x45, 0x41, - 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, - 0x43, 0x59, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x20, 0x12, 0x35, 0x0a, 0x31, - 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, - 0x52, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, - 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, - 0x44, 0x10, 0x21, 0x12, 0x34, 0x0a, 0x2c, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x44, 0x45, 0x46, - 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x5f, 0x43, 0x48, 0x41, 0x4e, - 0x47, 0x45, 0x44, 0x10, 0x22, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x2f, 0x0a, 0x2b, 0x45, 0x56, 0x45, - 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x55, - 0x4e, 0x49, 0x51, 0x55, 0x45, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, - 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x23, 0x12, 0x30, 0x0a, 0x2c, 0x45, 0x56, - 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, - 0x55, 0x4e, 0x49, 0x51, 0x55, 0x45, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, - 0x59, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x24, 0x12, 0x2c, 0x0a, 0x28, - 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, - 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x44, 0x5f, 0x46, 0x52, 0x4f, 0x4d, - 0x5f, 0x4e, 0x45, 0x57, 0x5f, 0x49, 0x44, 0x50, 0x10, 0x25, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x56, - 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x5f, - 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x52, - 0x41, 0x4e, 0x54, 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x29, 0x12, 0x30, - 0x0a, 0x2c, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x56, - 0x49, 0x43, 0x45, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x2a, - 0x12, 0x23, 0x0a, 0x1f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, - 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x43, 0x52, 0x45, 0x41, - 0x54, 0x45, 0x44, 0x10, 0x2c, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, - 0x5f, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x2d, 0x12, 0x24, 0x0a, 0x20, 0x45, 0x56, 0x45, 0x4e, - 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, - 0x42, 0x45, 0x4c, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x44, 0x10, 0x2e, 0x12, 0x26, - 0x0a, 0x22, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, 0x55, - 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x41, 0x52, 0x43, 0x48, - 0x49, 0x56, 0x45, 0x44, 0x10, 0x2f, 0x42, 0x82, 0x02, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, - 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x75, - 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x41, - 0xaa, 0x02, 0x18, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x75, 0x64, - 0x69, 0x74, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x18, 0x42, 0x75, - 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x41, 0x75, 0x64, 0x69, 0x74, 0x5c, 0x56, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x24, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, - 0x68, 0x61, 0x5c, 0x41, 0x75, 0x64, 0x69, 0x74, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, - 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x41, 0x75, 0x64, 0x69, - 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_audit_v1alpha1_event_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_buf_alpha_audit_v1alpha1_event_proto_msgTypes = make([]protoimpl.MessageInfo, 53) -var file_buf_alpha_audit_v1alpha1_event_proto_goTypes = []any{ - (ActorType)(0), // 0: buf.alpha.audit.v1alpha1.ActorType - (ResourceType)(0), // 1: buf.alpha.audit.v1alpha1.ResourceType - (EventType)(0), // 2: buf.alpha.audit.v1alpha1.EventType - (*Actor)(nil), // 3: buf.alpha.audit.v1alpha1.Actor - (*Resource)(nil), // 4: buf.alpha.audit.v1alpha1.Resource - (*EventMetadata)(nil), // 5: buf.alpha.audit.v1alpha1.EventMetadata - (*Event)(nil), // 6: buf.alpha.audit.v1alpha1.Event - (*PayloadOrganizationCreated)(nil), // 7: buf.alpha.audit.v1alpha1.PayloadOrganizationCreated - (*PayloadOrganizationDeleted)(nil), // 8: buf.alpha.audit.v1alpha1.PayloadOrganizationDeleted - (*PayloadOrganizationMemberAdded)(nil), // 9: buf.alpha.audit.v1alpha1.PayloadOrganizationMemberAdded - (*PayloadOrganizationMemberRoleChanged)(nil), // 10: buf.alpha.audit.v1alpha1.PayloadOrganizationMemberRoleChanged - (*PayloadOrganizationMemberRemoved)(nil), // 11: buf.alpha.audit.v1alpha1.PayloadOrganizationMemberRemoved - (*PayloadOrganizationIDPGroupAdded)(nil), // 12: buf.alpha.audit.v1alpha1.PayloadOrganizationIDPGroupAdded - (*PayloadOrganizationIDPGroupRemoved)(nil), // 13: buf.alpha.audit.v1alpha1.PayloadOrganizationIDPGroupRemoved - (*PayloadRepositoryCreated)(nil), // 14: buf.alpha.audit.v1alpha1.PayloadRepositoryCreated - (*PayloadRepositoryDeleted)(nil), // 15: buf.alpha.audit.v1alpha1.PayloadRepositoryDeleted - (*PayloadRepositoryDeprecated)(nil), // 16: buf.alpha.audit.v1alpha1.PayloadRepositoryDeprecated - (*PayloadRepositoryUndeprecated)(nil), // 17: buf.alpha.audit.v1alpha1.PayloadRepositoryUndeprecated - (*PayloadRepositoryCommitPushed)(nil), // 18: buf.alpha.audit.v1alpha1.PayloadRepositoryCommitPushed - (*PayloadRepositoryContributorAdded)(nil), // 19: buf.alpha.audit.v1alpha1.PayloadRepositoryContributorAdded - (*PayloadRepositoryContributorRoleChanged)(nil), // 20: buf.alpha.audit.v1alpha1.PayloadRepositoryContributorRoleChanged - (*PayloadRepositoryContributorRemoved)(nil), // 21: buf.alpha.audit.v1alpha1.PayloadRepositoryContributorRemoved - (*PayloadRepositoryVisibilityChanged)(nil), // 22: buf.alpha.audit.v1alpha1.PayloadRepositoryVisibilityChanged - (*PayloadRepositoryDefaultLabelNameChanged)(nil), // 23: buf.alpha.audit.v1alpha1.PayloadRepositoryDefaultLabelNameChanged - (*PayloadRepositoryDefaultBranchChanged)(nil), // 24: buf.alpha.audit.v1alpha1.PayloadRepositoryDefaultBranchChanged - (*PayloadPluginCreated)(nil), // 25: buf.alpha.audit.v1alpha1.PayloadPluginCreated - (*PayloadPluginDeleted)(nil), // 26: buf.alpha.audit.v1alpha1.PayloadPluginDeleted - (*PayloadPluginCommitPushed)(nil), // 27: buf.alpha.audit.v1alpha1.PayloadPluginCommitPushed - (*PayloadUserCreated)(nil), // 28: buf.alpha.audit.v1alpha1.PayloadUserCreated - (*PayloadUserReactivated)(nil), // 29: buf.alpha.audit.v1alpha1.PayloadUserReactivated - (*PayloadUserDeactivated)(nil), // 30: buf.alpha.audit.v1alpha1.PayloadUserDeactivated - (*PayloadUserDeleted)(nil), // 31: buf.alpha.audit.v1alpha1.PayloadUserDeleted - (*PayloadUserLoggedIn)(nil), // 32: buf.alpha.audit.v1alpha1.PayloadUserLoggedIn - (*PayloadUserLoggedOut)(nil), // 33: buf.alpha.audit.v1alpha1.PayloadUserLoggedOut - (*PayloadUserAutoMergedFromNewIdP)(nil), // 34: buf.alpha.audit.v1alpha1.PayloadUserAutoMergedFromNewIdP - (*PayloadCuratedPluginCreated)(nil), // 35: buf.alpha.audit.v1alpha1.PayloadCuratedPluginCreated - (*PayloadCuratedPluginDeleted)(nil), // 36: buf.alpha.audit.v1alpha1.PayloadCuratedPluginDeleted - (*PayloadTokenCreated)(nil), // 37: buf.alpha.audit.v1alpha1.PayloadTokenCreated - (*PayloadTokenDeleted)(nil), // 38: buf.alpha.audit.v1alpha1.PayloadTokenDeleted - (*PayloadSCIMTokenCreated)(nil), // 39: buf.alpha.audit.v1alpha1.PayloadSCIMTokenCreated - (*PayloadSCIMTokenDeleted)(nil), // 40: buf.alpha.audit.v1alpha1.PayloadSCIMTokenDeleted - (*PayloadRepositoryCommitDeleted)(nil), // 41: buf.alpha.audit.v1alpha1.PayloadRepositoryCommitDeleted - (*PayloadRepositoryLabelCreated)(nil), // 42: buf.alpha.audit.v1alpha1.PayloadRepositoryLabelCreated - (*PayloadRepositoryLabelMoved)(nil), // 43: buf.alpha.audit.v1alpha1.PayloadRepositoryLabelMoved - (*PayloadRepositoryLabelArchived)(nil), // 44: buf.alpha.audit.v1alpha1.PayloadRepositoryLabelArchived - (*PayloadRepositoryLabelUnarchived)(nil), // 45: buf.alpha.audit.v1alpha1.PayloadRepositoryLabelUnarchived - (*PayloadServerBreakingChangePolicyEnabled)(nil), // 46: buf.alpha.audit.v1alpha1.PayloadServerBreakingChangePolicyEnabled - (*PayloadServerBreakingChangePolicyDisabled)(nil), // 47: buf.alpha.audit.v1alpha1.PayloadServerBreakingChangePolicyDisabled - (*PayloadServerUniquenessPolicyEnabled)(nil), // 48: buf.alpha.audit.v1alpha1.PayloadServerUniquenessPolicyEnabled - (*PayloadServerUniquenessPolicyDisabled)(nil), // 49: buf.alpha.audit.v1alpha1.PayloadServerUniquenessPolicyDisabled - (*PayloadDeviceAuthorizationGrantApproved)(nil), // 50: buf.alpha.audit.v1alpha1.PayloadDeviceAuthorizationGrantApproved - (*PayloadDeviceAuthorizationGrantDenied)(nil), // 51: buf.alpha.audit.v1alpha1.PayloadDeviceAuthorizationGrantDenied - (*PayloadPluginLabelCreated)(nil), // 52: buf.alpha.audit.v1alpha1.PayloadPluginLabelCreated - (*PayloadPluginLabelMoved)(nil), // 53: buf.alpha.audit.v1alpha1.PayloadPluginLabelMoved - (*PayloadPluginLabelArchived)(nil), // 54: buf.alpha.audit.v1alpha1.PayloadPluginLabelArchived - (*PayloadPluginLabelUnarchived)(nil), // 55: buf.alpha.audit.v1alpha1.PayloadPluginLabelUnarchived - (*timestamppb.Timestamp)(nil), // 56: google.protobuf.Timestamp - (v1alpha1.OrganizationRole)(0), // 57: buf.alpha.registry.v1alpha1.OrganizationRole - (v1alpha1.OrganizationRoleSource)(0), // 58: buf.alpha.registry.v1alpha1.OrganizationRoleSource - (v1alpha1.Visibility)(0), // 59: buf.alpha.registry.v1alpha1.Visibility - (v1alpha1.RepositoryRole)(0), // 60: buf.alpha.registry.v1alpha1.RepositoryRole - (v1alpha1.BreakingChangeCategory)(0), // 61: buf.alpha.registry.v1alpha1.BreakingChangeCategory -} -var file_buf_alpha_audit_v1alpha1_event_proto_depIdxs = []int32{ - 0, // 0: buf.alpha.audit.v1alpha1.Actor.type:type_name -> buf.alpha.audit.v1alpha1.ActorType - 1, // 1: buf.alpha.audit.v1alpha1.Resource.type:type_name -> buf.alpha.audit.v1alpha1.ResourceType - 2, // 2: buf.alpha.audit.v1alpha1.Event.type:type_name -> buf.alpha.audit.v1alpha1.EventType - 3, // 3: buf.alpha.audit.v1alpha1.Event.actor:type_name -> buf.alpha.audit.v1alpha1.Actor - 4, // 4: buf.alpha.audit.v1alpha1.Event.resource:type_name -> buf.alpha.audit.v1alpha1.Resource - 56, // 5: buf.alpha.audit.v1alpha1.Event.event_time:type_name -> google.protobuf.Timestamp - 5, // 6: buf.alpha.audit.v1alpha1.Event.metadata:type_name -> buf.alpha.audit.v1alpha1.EventMetadata - 7, // 7: buf.alpha.audit.v1alpha1.Event.organization_created:type_name -> buf.alpha.audit.v1alpha1.PayloadOrganizationCreated - 8, // 8: buf.alpha.audit.v1alpha1.Event.organization_deleted:type_name -> buf.alpha.audit.v1alpha1.PayloadOrganizationDeleted - 9, // 9: buf.alpha.audit.v1alpha1.Event.organization_member_added:type_name -> buf.alpha.audit.v1alpha1.PayloadOrganizationMemberAdded - 10, // 10: buf.alpha.audit.v1alpha1.Event.organization_member_role_changed:type_name -> buf.alpha.audit.v1alpha1.PayloadOrganizationMemberRoleChanged - 11, // 11: buf.alpha.audit.v1alpha1.Event.organization_member_removed:type_name -> buf.alpha.audit.v1alpha1.PayloadOrganizationMemberRemoved - 14, // 12: buf.alpha.audit.v1alpha1.Event.repository_created:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryCreated - 16, // 13: buf.alpha.audit.v1alpha1.Event.repository_deprecated:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryDeprecated - 17, // 14: buf.alpha.audit.v1alpha1.Event.repository_undeprecated:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryUndeprecated - 15, // 15: buf.alpha.audit.v1alpha1.Event.repository_deleted:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryDeleted - 18, // 16: buf.alpha.audit.v1alpha1.Event.repository_commit_pushed:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryCommitPushed - 19, // 17: buf.alpha.audit.v1alpha1.Event.repository_contributor_added:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryContributorAdded - 20, // 18: buf.alpha.audit.v1alpha1.Event.repository_contributor_role_changed:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryContributorRoleChanged - 21, // 19: buf.alpha.audit.v1alpha1.Event.repository_contributor_removed:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryContributorRemoved - 22, // 20: buf.alpha.audit.v1alpha1.Event.repository_visibility_changed:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryVisibilityChanged - 23, // 21: buf.alpha.audit.v1alpha1.Event.repository_default_label_name_changed:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryDefaultLabelNameChanged - 25, // 22: buf.alpha.audit.v1alpha1.Event.plugin_created:type_name -> buf.alpha.audit.v1alpha1.PayloadPluginCreated - 26, // 23: buf.alpha.audit.v1alpha1.Event.plugin_deleted:type_name -> buf.alpha.audit.v1alpha1.PayloadPluginDeleted - 27, // 24: buf.alpha.audit.v1alpha1.Event.plugin_commit_pushed:type_name -> buf.alpha.audit.v1alpha1.PayloadPluginCommitPushed - 28, // 25: buf.alpha.audit.v1alpha1.Event.user_created:type_name -> buf.alpha.audit.v1alpha1.PayloadUserCreated - 30, // 26: buf.alpha.audit.v1alpha1.Event.user_deactivated:type_name -> buf.alpha.audit.v1alpha1.PayloadUserDeactivated - 31, // 27: buf.alpha.audit.v1alpha1.Event.user_deleted:type_name -> buf.alpha.audit.v1alpha1.PayloadUserDeleted - 32, // 28: buf.alpha.audit.v1alpha1.Event.user_logged_in:type_name -> buf.alpha.audit.v1alpha1.PayloadUserLoggedIn - 33, // 29: buf.alpha.audit.v1alpha1.Event.user_logged_out:type_name -> buf.alpha.audit.v1alpha1.PayloadUserLoggedOut - 35, // 30: buf.alpha.audit.v1alpha1.Event.curated_plugin_created:type_name -> buf.alpha.audit.v1alpha1.PayloadCuratedPluginCreated - 12, // 31: buf.alpha.audit.v1alpha1.Event.idp_group_added:type_name -> buf.alpha.audit.v1alpha1.PayloadOrganizationIDPGroupAdded - 13, // 32: buf.alpha.audit.v1alpha1.Event.idp_group_removed:type_name -> buf.alpha.audit.v1alpha1.PayloadOrganizationIDPGroupRemoved - 37, // 33: buf.alpha.audit.v1alpha1.Event.token_created:type_name -> buf.alpha.audit.v1alpha1.PayloadTokenCreated - 38, // 34: buf.alpha.audit.v1alpha1.Event.token_deleted:type_name -> buf.alpha.audit.v1alpha1.PayloadTokenDeleted - 29, // 35: buf.alpha.audit.v1alpha1.Event.user_reactivated:type_name -> buf.alpha.audit.v1alpha1.PayloadUserReactivated - 39, // 36: buf.alpha.audit.v1alpha1.Event.scim_token_created:type_name -> buf.alpha.audit.v1alpha1.PayloadSCIMTokenCreated - 40, // 37: buf.alpha.audit.v1alpha1.Event.scim_token_deleted:type_name -> buf.alpha.audit.v1alpha1.PayloadSCIMTokenDeleted - 41, // 38: buf.alpha.audit.v1alpha1.Event.repository_commit_deleted:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryCommitDeleted - 42, // 39: buf.alpha.audit.v1alpha1.Event.repository_label_created:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryLabelCreated - 43, // 40: buf.alpha.audit.v1alpha1.Event.repository_label_moved:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryLabelMoved - 44, // 41: buf.alpha.audit.v1alpha1.Event.repository_label_archived:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryLabelArchived - 45, // 42: buf.alpha.audit.v1alpha1.Event.repository_label_unarchived:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryLabelUnarchived - 36, // 43: buf.alpha.audit.v1alpha1.Event.curated_plugin_deleted:type_name -> buf.alpha.audit.v1alpha1.PayloadCuratedPluginDeleted - 46, // 44: buf.alpha.audit.v1alpha1.Event.payload_server_breaking_change_policy_enabled:type_name -> buf.alpha.audit.v1alpha1.PayloadServerBreakingChangePolicyEnabled - 47, // 45: buf.alpha.audit.v1alpha1.Event.payload_server_breaking_change_policy_disabled:type_name -> buf.alpha.audit.v1alpha1.PayloadServerBreakingChangePolicyDisabled - 24, // 46: buf.alpha.audit.v1alpha1.Event.repository_default_branch_changed:type_name -> buf.alpha.audit.v1alpha1.PayloadRepositoryDefaultBranchChanged - 48, // 47: buf.alpha.audit.v1alpha1.Event.payload_server_uniqueness_policy_enabled:type_name -> buf.alpha.audit.v1alpha1.PayloadServerUniquenessPolicyEnabled - 49, // 48: buf.alpha.audit.v1alpha1.Event.payload_server_uniqueness_policy_disabled:type_name -> buf.alpha.audit.v1alpha1.PayloadServerUniquenessPolicyDisabled - 34, // 49: buf.alpha.audit.v1alpha1.Event.user_auto_merged_from_new_idp:type_name -> buf.alpha.audit.v1alpha1.PayloadUserAutoMergedFromNewIdP - 50, // 50: buf.alpha.audit.v1alpha1.Event.device_authorization_grant_approved:type_name -> buf.alpha.audit.v1alpha1.PayloadDeviceAuthorizationGrantApproved - 51, // 51: buf.alpha.audit.v1alpha1.Event.device_authorization_grant_denied:type_name -> buf.alpha.audit.v1alpha1.PayloadDeviceAuthorizationGrantDenied - 52, // 52: buf.alpha.audit.v1alpha1.Event.plugin_label_created:type_name -> buf.alpha.audit.v1alpha1.PayloadPluginLabelCreated - 53, // 53: buf.alpha.audit.v1alpha1.Event.plugin_label_moved:type_name -> buf.alpha.audit.v1alpha1.PayloadPluginLabelMoved - 54, // 54: buf.alpha.audit.v1alpha1.Event.plugin_label_archived:type_name -> buf.alpha.audit.v1alpha1.PayloadPluginLabelArchived - 55, // 55: buf.alpha.audit.v1alpha1.Event.plugin_label_unarchived:type_name -> buf.alpha.audit.v1alpha1.PayloadPluginLabelUnarchived - 57, // 56: buf.alpha.audit.v1alpha1.PayloadOrganizationMemberAdded.member_role:type_name -> buf.alpha.registry.v1alpha1.OrganizationRole - 58, // 57: buf.alpha.audit.v1alpha1.PayloadOrganizationMemberAdded.member_role_source:type_name -> buf.alpha.registry.v1alpha1.OrganizationRoleSource - 57, // 58: buf.alpha.audit.v1alpha1.PayloadOrganizationMemberRoleChanged.old_role:type_name -> buf.alpha.registry.v1alpha1.OrganizationRole - 57, // 59: buf.alpha.audit.v1alpha1.PayloadOrganizationMemberRoleChanged.new_role:type_name -> buf.alpha.registry.v1alpha1.OrganizationRole - 58, // 60: buf.alpha.audit.v1alpha1.PayloadOrganizationMemberRoleChanged.old_member_role_source:type_name -> buf.alpha.registry.v1alpha1.OrganizationRoleSource - 58, // 61: buf.alpha.audit.v1alpha1.PayloadOrganizationMemberRoleChanged.new_member_role_source:type_name -> buf.alpha.registry.v1alpha1.OrganizationRoleSource - 57, // 62: buf.alpha.audit.v1alpha1.PayloadOrganizationMemberRemoved.member_role:type_name -> buf.alpha.registry.v1alpha1.OrganizationRole - 58, // 63: buf.alpha.audit.v1alpha1.PayloadOrganizationMemberRemoved.member_role_source:type_name -> buf.alpha.registry.v1alpha1.OrganizationRoleSource - 59, // 64: buf.alpha.audit.v1alpha1.PayloadRepositoryCreated.visibility:type_name -> buf.alpha.registry.v1alpha1.Visibility - 59, // 65: buf.alpha.audit.v1alpha1.PayloadRepositoryDeleted.visibility:type_name -> buf.alpha.registry.v1alpha1.Visibility - 59, // 66: buf.alpha.audit.v1alpha1.PayloadRepositoryDeprecated.visibility:type_name -> buf.alpha.registry.v1alpha1.Visibility - 59, // 67: buf.alpha.audit.v1alpha1.PayloadRepositoryUndeprecated.visibility:type_name -> buf.alpha.registry.v1alpha1.Visibility - 60, // 68: buf.alpha.audit.v1alpha1.PayloadRepositoryContributorAdded.contributor_role:type_name -> buf.alpha.registry.v1alpha1.RepositoryRole - 60, // 69: buf.alpha.audit.v1alpha1.PayloadRepositoryContributorRoleChanged.old_role:type_name -> buf.alpha.registry.v1alpha1.RepositoryRole - 60, // 70: buf.alpha.audit.v1alpha1.PayloadRepositoryContributorRoleChanged.new_role:type_name -> buf.alpha.registry.v1alpha1.RepositoryRole - 60, // 71: buf.alpha.audit.v1alpha1.PayloadRepositoryContributorRemoved.contributor_role:type_name -> buf.alpha.registry.v1alpha1.RepositoryRole - 59, // 72: buf.alpha.audit.v1alpha1.PayloadRepositoryVisibilityChanged.old_visibility:type_name -> buf.alpha.registry.v1alpha1.Visibility - 59, // 73: buf.alpha.audit.v1alpha1.PayloadRepositoryVisibilityChanged.new_visibility:type_name -> buf.alpha.registry.v1alpha1.Visibility - 56, // 74: buf.alpha.audit.v1alpha1.PayloadTokenCreated.token_expiry_time:type_name -> google.protobuf.Timestamp - 56, // 75: buf.alpha.audit.v1alpha1.PayloadSCIMTokenCreated.token_expiry_time:type_name -> google.protobuf.Timestamp - 61, // 76: buf.alpha.audit.v1alpha1.PayloadServerBreakingChangePolicyEnabled.category:type_name -> buf.alpha.registry.v1alpha1.BreakingChangeCategory - 77, // [77:77] is the sub-list for method output_type - 77, // [77:77] is the sub-list for method input_type - 77, // [77:77] is the sub-list for extension type_name - 77, // [77:77] is the sub-list for extension extendee - 0, // [0:77] is the sub-list for field type_name -} - -func init() { file_buf_alpha_audit_v1alpha1_event_proto_init() } -func file_buf_alpha_audit_v1alpha1_event_proto_init() { - if File_buf_alpha_audit_v1alpha1_event_proto != nil { - return - } - file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[3].OneofWrappers = []any{ - (*event_OrganizationCreated)(nil), - (*event_OrganizationDeleted)(nil), - (*event_OrganizationMemberAdded)(nil), - (*event_OrganizationMemberRoleChanged)(nil), - (*event_OrganizationMemberRemoved)(nil), - (*event_RepositoryCreated)(nil), - (*event_RepositoryDeprecated)(nil), - (*event_RepositoryUndeprecated)(nil), - (*event_RepositoryDeleted)(nil), - (*event_RepositoryCommitPushed)(nil), - (*event_RepositoryContributorAdded)(nil), - (*event_RepositoryContributorRoleChanged)(nil), - (*event_RepositoryContributorRemoved)(nil), - (*event_RepositoryVisibilityChanged)(nil), - (*event_RepositoryDefaultLabelNameChanged)(nil), - (*event_PluginCreated)(nil), - (*event_PluginDeleted)(nil), - (*event_PluginCommitPushed)(nil), - (*event_UserCreated)(nil), - (*event_UserDeactivated)(nil), - (*event_UserDeleted)(nil), - (*event_UserLoggedIn)(nil), - (*event_UserLoggedOut)(nil), - (*event_CuratedPluginCreated)(nil), - (*event_IdpGroupAdded)(nil), - (*event_IdpGroupRemoved)(nil), - (*event_TokenCreated)(nil), - (*event_TokenDeleted)(nil), - (*event_UserReactivated)(nil), - (*event_ScimTokenCreated)(nil), - (*event_ScimTokenDeleted)(nil), - (*event_RepositoryCommitDeleted)(nil), - (*event_RepositoryLabelCreated)(nil), - (*event_RepositoryLabelMoved)(nil), - (*event_RepositoryLabelArchived)(nil), - (*event_RepositoryLabelUnarchived)(nil), - (*event_CuratedPluginDeleted)(nil), - (*event_PayloadServerBreakingChangePolicyEnabled)(nil), - (*event_PayloadServerBreakingChangePolicyDisabled)(nil), - (*event_RepositoryDefaultBranchChanged)(nil), - (*event_PayloadServerUniquenessPolicyEnabled)(nil), - (*event_PayloadServerUniquenessPolicyDisabled)(nil), - (*event_UserAutoMergedFromNewIdp)(nil), - (*event_DeviceAuthorizationGrantApproved)(nil), - (*event_DeviceAuthorizationGrantDenied)(nil), - (*event_PluginLabelCreated)(nil), - (*event_PluginLabelMoved)(nil), - (*event_PluginLabelArchived)(nil), - (*event_PluginLabelUnarchived)(nil), - } - file_buf_alpha_audit_v1alpha1_event_proto_msgTypes[43].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_audit_v1alpha1_event_proto_rawDesc, - NumEnums: 3, - NumMessages: 53, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_buf_alpha_audit_v1alpha1_event_proto_goTypes, - DependencyIndexes: file_buf_alpha_audit_v1alpha1_event_proto_depIdxs, - EnumInfos: file_buf_alpha_audit_v1alpha1_event_proto_enumTypes, - MessageInfos: file_buf_alpha_audit_v1alpha1_event_proto_msgTypes, - }.Build() - File_buf_alpha_audit_v1alpha1_event_proto = out.File - file_buf_alpha_audit_v1alpha1_event_proto_rawDesc = nil - file_buf_alpha_audit_v1alpha1_event_proto_goTypes = nil - file_buf_alpha_audit_v1alpha1_event_proto_depIdxs = nil -} 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 9bdae02e4d..28863fc480 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/audit/v1alpha1/service.proto -//go:build !protoopaque - package auditv1alpha1 import ( @@ -37,17 +35,13 @@ const ( ) type ListAuditedEventsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Start *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"` + xxx_hidden_End *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAuditedEventsRequest) Reset() { @@ -77,68 +71,68 @@ func (x *ListAuditedEventsRequest) ProtoReflect() protoreflect.Message { func (x *ListAuditedEventsRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListAuditedEventsRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListAuditedEventsRequest) GetStart() *timestamppb.Timestamp { if x != nil { - return x.Start + return x.xxx_hidden_Start } return nil } func (x *ListAuditedEventsRequest) GetEnd() *timestamppb.Timestamp { if x != nil { - return x.End + return x.xxx_hidden_End } return nil } func (x *ListAuditedEventsRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListAuditedEventsRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListAuditedEventsRequest) SetStart(v *timestamppb.Timestamp) { - x.Start = v + x.xxx_hidden_Start = v } func (x *ListAuditedEventsRequest) SetEnd(v *timestamppb.Timestamp) { - x.End = v + x.xxx_hidden_End = v } func (x *ListAuditedEventsRequest) HasStart() bool { if x == nil { return false } - return x.Start != nil + return x.xxx_hidden_Start != nil } func (x *ListAuditedEventsRequest) HasEnd() bool { if x == nil { return false } - return x.End != nil + return x.xxx_hidden_End != nil } func (x *ListAuditedEventsRequest) ClearStart() { - x.Start = nil + x.xxx_hidden_Start = nil } func (x *ListAuditedEventsRequest) ClearEnd() { - x.End = nil + x.xxx_hidden_End = nil } type ListAuditedEventsRequest_builder struct { @@ -158,22 +152,19 @@ func (b0 ListAuditedEventsRequest_builder) Build() *ListAuditedEventsRequest { m0 := &ListAuditedEventsRequest{} b, x := &b0, m0 _, _ = b, x - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Start = b.Start - x.End = b.End + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Start = b.Start + x.xxx_hidden_End = b.End return m0 } type ListAuditedEventsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Events *[]*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + xxx_hidden_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() { @@ -203,24 +194,26 @@ func (x *ListAuditedEventsResponse) ProtoReflect() protoreflect.Message { func (x *ListAuditedEventsResponse) GetEvents() []*Event { if x != nil { - return x.Events + if x.xxx_hidden_Events != nil { + return *x.xxx_hidden_Events + } } return nil } func (x *ListAuditedEventsResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListAuditedEventsResponse) SetEvents(v []*Event) { - x.Events = v + x.xxx_hidden_Events = &v } func (x *ListAuditedEventsResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListAuditedEventsResponse_builder struct { @@ -237,8 +230,8 @@ func (b0 ListAuditedEventsResponse_builder) Build() *ListAuditedEventsResponse { m0 := &ListAuditedEventsResponse{} b, x := &b0, m0 _, _ = b, x - x.Events = b.Events - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Events = &b.Events + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } diff --git a/private/gen/proto/go/buf/alpha/audit/v1alpha1/service_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/audit/v1alpha1/service_protoopaque.pb.go deleted file mode 100644 index d298653584..0000000000 --- a/private/gen/proto/go/buf/alpha/audit/v1alpha1/service_protoopaque.pb.go +++ /dev/null @@ -1,344 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/audit/v1alpha1/service.proto - -//go:build protoopaque - -package auditv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type ListAuditedEventsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Start *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"` - xxx_hidden_End *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListAuditedEventsRequest) Reset() { - *x = ListAuditedEventsRequest{} - mi := &file_buf_alpha_audit_v1alpha1_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListAuditedEventsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAuditedEventsRequest) ProtoMessage() {} - -func (x *ListAuditedEventsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_service_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListAuditedEventsRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListAuditedEventsRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListAuditedEventsRequest) GetStart() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_Start - } - return nil -} - -func (x *ListAuditedEventsRequest) GetEnd() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_End - } - return nil -} - -func (x *ListAuditedEventsRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListAuditedEventsRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListAuditedEventsRequest) SetStart(v *timestamppb.Timestamp) { - x.xxx_hidden_Start = v -} - -func (x *ListAuditedEventsRequest) SetEnd(v *timestamppb.Timestamp) { - x.xxx_hidden_End = v -} - -func (x *ListAuditedEventsRequest) HasStart() bool { - if x == nil { - return false - } - return x.xxx_hidden_Start != nil -} - -func (x *ListAuditedEventsRequest) HasEnd() bool { - if x == nil { - return false - } - return x.xxx_hidden_End != nil -} - -func (x *ListAuditedEventsRequest) ClearStart() { - x.xxx_hidden_Start = nil -} - -func (x *ListAuditedEventsRequest) ClearEnd() { - x.xxx_hidden_End = nil -} - -type ListAuditedEventsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The page size for listing audited events, values between 1-250. - PageSize uint32 - // The page token for paginating. The first page is returned if this is empty. - PageToken string - // The start timestamp to filter events from. - Start *timestamppb.Timestamp - // The end timestamp to filter events to. - End *timestamppb.Timestamp -} - -func (b0 ListAuditedEventsRequest_builder) Build() *ListAuditedEventsRequest { - m0 := &ListAuditedEventsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Start = b.Start - x.xxx_hidden_End = b.End - return m0 -} - -type ListAuditedEventsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Events *[]*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` - xxx_hidden_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() { - *x = ListAuditedEventsResponse{} - mi := &file_buf_alpha_audit_v1alpha1_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListAuditedEventsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAuditedEventsResponse) ProtoMessage() {} - -func (x *ListAuditedEventsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_audit_v1alpha1_service_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListAuditedEventsResponse) GetEvents() []*Event { - if x != nil { - if x.xxx_hidden_Events != nil { - return *x.xxx_hidden_Events - } - } - return nil -} - -func (x *ListAuditedEventsResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListAuditedEventsResponse) SetEvents(v []*Event) { - x.xxx_hidden_Events = &v -} - -func (x *ListAuditedEventsResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListAuditedEventsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The list of audited events in the current page. - Events []*Event - // The token for the next page of audited events. There are no more pages if - // this is empty. - NextPageToken string -} - -func (b0 ListAuditedEventsResponse_builder) Build() *ListAuditedEventsResponse { - m0 := &ListAuditedEventsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Events = &b.Events - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -var File_buf_alpha_audit_v1alpha1_service_proto protoreflect.FileDescriptor - -var file_buf_alpha_audit_v1alpha1_service_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x75, 0x64, 0x69, - 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x1a, 0x24, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x75, - 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x18, 0x4c, 0x69, - 0x73, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, - 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, - 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x12, 0x30, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, - 0x6e, 0x64, 0x22, 0x7c, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x65, - 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x37, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, - 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x32, 0x92, 0x01, 0x0a, 0x0c, 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x12, 0x81, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x65, - 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x65, 0x64, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, - 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x84, 0x02, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, - 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, - 0x75, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x61, 0x75, - 0x64, 0x69, 0x74, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, - 0x41, 0xaa, 0x02, 0x18, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x75, - 0x64, 0x69, 0x74, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x18, 0x42, - 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x41, 0x75, 0x64, 0x69, 0x74, 0x5c, 0x56, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x24, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x5c, 0x41, 0x75, 0x64, 0x69, 0x74, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x1b, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x41, 0x75, 0x64, - 0x69, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_audit_v1alpha1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_buf_alpha_audit_v1alpha1_service_proto_goTypes = []any{ - (*ListAuditedEventsRequest)(nil), // 0: buf.alpha.audit.v1alpha1.ListAuditedEventsRequest - (*ListAuditedEventsResponse)(nil), // 1: buf.alpha.audit.v1alpha1.ListAuditedEventsResponse - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp - (*Event)(nil), // 3: buf.alpha.audit.v1alpha1.Event -} -var file_buf_alpha_audit_v1alpha1_service_proto_depIdxs = []int32{ - 2, // 0: buf.alpha.audit.v1alpha1.ListAuditedEventsRequest.start:type_name -> google.protobuf.Timestamp - 2, // 1: buf.alpha.audit.v1alpha1.ListAuditedEventsRequest.end:type_name -> google.protobuf.Timestamp - 3, // 2: buf.alpha.audit.v1alpha1.ListAuditedEventsResponse.events:type_name -> buf.alpha.audit.v1alpha1.Event - 0, // 3: buf.alpha.audit.v1alpha1.AuditService.ListAuditedEvents:input_type -> buf.alpha.audit.v1alpha1.ListAuditedEventsRequest - 1, // 4: buf.alpha.audit.v1alpha1.AuditService.ListAuditedEvents:output_type -> buf.alpha.audit.v1alpha1.ListAuditedEventsResponse - 4, // [4:5] is the sub-list for method output_type - 3, // [3:4] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_buf_alpha_audit_v1alpha1_service_proto_init() } -func file_buf_alpha_audit_v1alpha1_service_proto_init() { - if File_buf_alpha_audit_v1alpha1_service_proto != nil { - return - } - file_buf_alpha_audit_v1alpha1_event_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_audit_v1alpha1_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_audit_v1alpha1_service_proto_goTypes, - DependencyIndexes: file_buf_alpha_audit_v1alpha1_service_proto_depIdxs, - MessageInfos: file_buf_alpha_audit_v1alpha1_service_proto_msgTypes, - }.Build() - File_buf_alpha_audit_v1alpha1_service_proto = out.File - file_buf_alpha_audit_v1alpha1_service_proto_rawDesc = nil - file_buf_alpha_audit_v1alpha1_service_proto_goTypes = nil - file_buf_alpha_audit_v1alpha1_service_proto_depIdxs = nil -} 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 db0d2cccfc..91c5ec2fe6 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/breaking/v1/config.proto -//go:build !protoopaque - package breakingv1 import ( @@ -43,28 +41,15 @@ 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 `protogen:"hybrid.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. - UseIds []string `protobuf:"bytes,2,rep,name=use_ids,json=useIds,proto3" json:"use_ids,omitempty"` - // except_ids lists the rule and/or category IDs that are excluded from the breaking change check. - ExceptIds []string `protobuf:"bytes,3,rep,name=except_ids,json=exceptIds,proto3" json:"except_ids,omitempty"` - // ignore_paths lists the paths of directories and/or files that should be ignored by the breaking change check. - // All paths are relative to the root of the module. - IgnorePaths []string `protobuf:"bytes,4,rep,name=ignore_paths,json=ignorePaths,proto3" json:"ignore_paths,omitempty"` - // ignore_id_paths is a map of rule and/or category IDs to directory and/or file paths to exclude from the - // breaking change check. This corresponds with the ignore_only configuration key. - IgnoreIdPaths []*IDPaths `protobuf:"bytes,5,rep,name=ignore_id_paths,json=ignoreIdPaths,proto3" json:"ignore_id_paths,omitempty"` - // ignore_unstable_packages ignores packages with a last component that is one of the unstable forms recognised - // by the PACKAGE_VERSION_SUFFIX: - // - // v\d+test.* - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_UseIds []string `protobuf:"bytes,2,rep,name=use_ids,json=useIds,proto3" json:"use_ids,omitempty"` + xxx_hidden_ExceptIds []string `protobuf:"bytes,3,rep,name=except_ids,json=exceptIds,proto3" json:"except_ids,omitempty"` + xxx_hidden_IgnorePaths []string `protobuf:"bytes,4,rep,name=ignore_paths,json=ignorePaths,proto3" json:"ignore_paths,omitempty"` + xxx_hidden_IgnoreIdPaths *[]*IDPaths `protobuf:"bytes,5,rep,name=ignore_id_paths,json=ignoreIdPaths,proto3" json:"ignore_id_paths,omitempty"` + xxx_hidden_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() { @@ -94,68 +79,70 @@ func (x *Config) ProtoReflect() protoreflect.Message { func (x *Config) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *Config) GetUseIds() []string { if x != nil { - return x.UseIds + return x.xxx_hidden_UseIds } return nil } func (x *Config) GetExceptIds() []string { if x != nil { - return x.ExceptIds + return x.xxx_hidden_ExceptIds } return nil } func (x *Config) GetIgnorePaths() []string { if x != nil { - return x.IgnorePaths + return x.xxx_hidden_IgnorePaths } return nil } func (x *Config) GetIgnoreIdPaths() []*IDPaths { if x != nil { - return x.IgnoreIdPaths + if x.xxx_hidden_IgnoreIdPaths != nil { + return *x.xxx_hidden_IgnoreIdPaths + } } return nil } func (x *Config) GetIgnoreUnstablePackages() bool { if x != nil { - return x.IgnoreUnstablePackages + return x.xxx_hidden_IgnoreUnstablePackages } return false } func (x *Config) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *Config) SetUseIds(v []string) { - x.UseIds = v + x.xxx_hidden_UseIds = v } func (x *Config) SetExceptIds(v []string) { - x.ExceptIds = v + x.xxx_hidden_ExceptIds = v } func (x *Config) SetIgnorePaths(v []string) { - x.IgnorePaths = v + x.xxx_hidden_IgnorePaths = v } func (x *Config) SetIgnoreIdPaths(v []*IDPaths) { - x.IgnoreIdPaths = v + x.xxx_hidden_IgnoreIdPaths = &v } func (x *Config) SetIgnoreUnstablePackages(v bool) { - x.IgnoreUnstablePackages = v + x.xxx_hidden_IgnoreUnstablePackages = v } type Config_builder struct { @@ -186,22 +173,22 @@ func (b0 Config_builder) Build() *Config { m0 := &Config{} b, x := &b0, m0 _, _ = b, x - x.Version = b.Version - x.UseIds = b.UseIds - x.ExceptIds = b.ExceptIds - x.IgnorePaths = b.IgnorePaths - x.IgnoreIdPaths = b.IgnoreIdPaths - x.IgnoreUnstablePackages = b.IgnoreUnstablePackages + x.xxx_hidden_Version = b.Version + x.xxx_hidden_UseIds = b.UseIds + x.xxx_hidden_ExceptIds = b.ExceptIds + x.xxx_hidden_IgnorePaths = b.IgnorePaths + x.xxx_hidden_IgnoreIdPaths = &b.IgnoreIdPaths + x.xxx_hidden_IgnoreUnstablePackages = b.IgnoreUnstablePackages return m0 } // 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 `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IDPaths) Reset() { @@ -231,24 +218,24 @@ func (x *IDPaths) ProtoReflect() protoreflect.Message { func (x *IDPaths) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *IDPaths) GetPaths() []string { if x != nil { - return x.Paths + return x.xxx_hidden_Paths } return nil } func (x *IDPaths) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *IDPaths) SetPaths(v []string) { - x.Paths = v + x.xxx_hidden_Paths = v } type IDPaths_builder struct { @@ -262,8 +249,8 @@ func (b0 IDPaths_builder) Build() *IDPaths { m0 := &IDPaths{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.Paths = b.Paths + x.xxx_hidden_Id = b.Id + x.xxx_hidden_Paths = b.Paths return m0 } diff --git a/private/gen/proto/go/buf/alpha/breaking/v1/config_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/breaking/v1/config_protoopaque.pb.go deleted file mode 100644 index 4ac87bd66e..0000000000 --- a/private/gen/proto/go/buf/alpha/breaking/v1/config_protoopaque.pb.go +++ /dev/null @@ -1,340 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/breaking/v1/config.proto - -//go:build protoopaque - -package breakingv1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Config represents the breaking change configuration for a module. The rule and category IDs are defined -// by the version and apply across the config. The version is independent of the version of -// the package. The package version refers to the config shape, the version encoded in the Config message -// indicates which rule and category IDs should be used. -// -// 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 `protogen:"opaque.v1"` - xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_UseIds []string `protobuf:"bytes,2,rep,name=use_ids,json=useIds,proto3" json:"use_ids,omitempty"` - xxx_hidden_ExceptIds []string `protobuf:"bytes,3,rep,name=except_ids,json=exceptIds,proto3" json:"except_ids,omitempty"` - xxx_hidden_IgnorePaths []string `protobuf:"bytes,4,rep,name=ignore_paths,json=ignorePaths,proto3" json:"ignore_paths,omitempty"` - xxx_hidden_IgnoreIdPaths *[]*IDPaths `protobuf:"bytes,5,rep,name=ignore_id_paths,json=ignoreIdPaths,proto3" json:"ignore_id_paths,omitempty"` - xxx_hidden_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() { - *x = Config{} - mi := &file_buf_alpha_breaking_v1_config_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Config) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Config) ProtoMessage() {} - -func (x *Config) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_breaking_v1_config_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Config) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *Config) GetUseIds() []string { - if x != nil { - return x.xxx_hidden_UseIds - } - return nil -} - -func (x *Config) GetExceptIds() []string { - if x != nil { - return x.xxx_hidden_ExceptIds - } - return nil -} - -func (x *Config) GetIgnorePaths() []string { - if x != nil { - return x.xxx_hidden_IgnorePaths - } - return nil -} - -func (x *Config) GetIgnoreIdPaths() []*IDPaths { - if x != nil { - if x.xxx_hidden_IgnoreIdPaths != nil { - return *x.xxx_hidden_IgnoreIdPaths - } - } - return nil -} - -func (x *Config) GetIgnoreUnstablePackages() bool { - if x != nil { - return x.xxx_hidden_IgnoreUnstablePackages - } - return false -} - -func (x *Config) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *Config) SetUseIds(v []string) { - x.xxx_hidden_UseIds = v -} - -func (x *Config) SetExceptIds(v []string) { - x.xxx_hidden_ExceptIds = v -} - -func (x *Config) SetIgnorePaths(v []string) { - x.xxx_hidden_IgnorePaths = v -} - -func (x *Config) SetIgnoreIdPaths(v []*IDPaths) { - x.xxx_hidden_IgnoreIdPaths = &v -} - -func (x *Config) SetIgnoreUnstablePackages(v bool) { - x.xxx_hidden_IgnoreUnstablePackages = v -} - -type Config_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // version represents the version of the breaking change rule and category IDs that should be used with this config. - Version string - // use_ids lists the rule and/or category IDs that are included in the breaking change check. - UseIds []string - // except_ids lists the rule and/or category IDs that are excluded from the breaking change check. - ExceptIds []string - // ignore_paths lists the paths of directories and/or files that should be ignored by the breaking change check. - // All paths are relative to the root of the module. - IgnorePaths []string - // ignore_id_paths is a map of rule and/or category IDs to directory and/or file paths to exclude from the - // breaking change check. This corresponds with the ignore_only configuration key. - IgnoreIdPaths []*IDPaths - // ignore_unstable_packages ignores packages with a last component that is one of the unstable forms recognised - // by the PACKAGE_VERSION_SUFFIX: - // - // v\d+test.* - // v\d+(alpha|beta)\d+ - // v\d+p\d+(alpha|beta)\d+ - IgnoreUnstablePackages bool -} - -func (b0 Config_builder) Build() *Config { - m0 := &Config{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Version = b.Version - x.xxx_hidden_UseIds = b.UseIds - x.xxx_hidden_ExceptIds = b.ExceptIds - x.xxx_hidden_IgnorePaths = b.IgnorePaths - x.xxx_hidden_IgnoreIdPaths = &b.IgnoreIdPaths - x.xxx_hidden_IgnoreUnstablePackages = b.IgnoreUnstablePackages - return m0 -} - -// 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 `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *IDPaths) Reset() { - *x = IDPaths{} - mi := &file_buf_alpha_breaking_v1_config_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *IDPaths) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IDPaths) ProtoMessage() {} - -func (x *IDPaths) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_breaking_v1_config_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *IDPaths) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *IDPaths) GetPaths() []string { - if x != nil { - return x.xxx_hidden_Paths - } - return nil -} - -func (x *IDPaths) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *IDPaths) SetPaths(v []string) { - x.xxx_hidden_Paths = v -} - -type IDPaths_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string - Paths []string -} - -func (b0 IDPaths_builder) Build() *IDPaths { - m0 := &IDPaths{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_Paths = b.Paths - return m0 -} - -var File_buf_alpha_breaking_v1_config_proto protoreflect.FileDescriptor - -var file_buf_alpha_breaking_v1_config_proto_rawDesc = []byte{ - 0x0a, 0x22, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x62, 0x72, 0x65, 0x61, - 0x6b, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x62, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x22, 0xff, 0x01, 0x0a, 0x06, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x49, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x63, - 0x65, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x65, - 0x78, 0x63, 0x65, 0x70, 0x74, 0x49, 0x64, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, - 0x72, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, - 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x46, 0x0a, 0x0f, 0x69, - 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x44, 0x50, - 0x61, 0x74, 0x68, 0x73, 0x52, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x50, 0x61, - 0x74, 0x68, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x75, 0x6e, - 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x55, 0x6e, 0x73, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x22, 0x2f, 0x0a, - 0x07, 0x49, 0x44, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x42, 0xee, - 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, - 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, - 0x62, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x42, - 0xaa, 0x02, 0x15, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x42, 0x72, 0x65, - 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x42, 0x75, 0x66, 0x5c, 0x41, - 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, - 0xe2, 0x02, 0x21, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x42, 0x72, 0x65, - 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x3a, 0x3a, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_breaking_v1_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_buf_alpha_breaking_v1_config_proto_goTypes = []any{ - (*Config)(nil), // 0: buf.alpha.breaking.v1.Config - (*IDPaths)(nil), // 1: buf.alpha.breaking.v1.IDPaths -} -var file_buf_alpha_breaking_v1_config_proto_depIdxs = []int32{ - 1, // 0: buf.alpha.breaking.v1.Config.ignore_id_paths:type_name -> buf.alpha.breaking.v1.IDPaths - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_buf_alpha_breaking_v1_config_proto_init() } -func file_buf_alpha_breaking_v1_config_proto_init() { - if File_buf_alpha_breaking_v1_config_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_breaking_v1_config_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_buf_alpha_breaking_v1_config_proto_goTypes, - DependencyIndexes: file_buf_alpha_breaking_v1_config_proto_depIdxs, - MessageInfos: file_buf_alpha_breaking_v1_config_proto_msgTypes, - }.Build() - File_buf_alpha_breaking_v1_config_proto = out.File - file_buf_alpha_breaking_v1_config_proto_rawDesc = nil - file_buf_alpha_breaking_v1_config_proto_goTypes = nil - file_buf_alpha_breaking_v1_config_proto_depIdxs = nil -} 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 4881fc931d..8ea11ba864 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/image/v1/image.proto -//go:build !protoopaque - package imagev1 import ( @@ -40,10 +38,10 @@ const ( // // See https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/descriptor.proto type Image struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - File []*ImageFile `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_File *[]*ImageFile `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Image) Reset() { @@ -73,13 +71,15 @@ func (x *Image) ProtoReflect() protoreflect.Message { func (x *Image) GetFile() []*ImageFile { if x != nil { - return x.File + if x.xxx_hidden_File != nil { + return *x.xxx_hidden_File + } } return nil } func (x *Image) SetFile(v []*ImageFile) { - x.File = v + x.xxx_hidden_File = &v } type Image_builder struct { @@ -92,7 +92,7 @@ func (b0 Image_builder) Build() *Image { m0 := &Image{} b, x := &b0, m0 _, _ = b, x - x.File = b.File + x.xxx_hidden_File = &b.File return m0 } @@ -104,29 +104,25 @@ func (b0 Image_builder) Build() *Image { // // See https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/descriptor.proto type ImageFile struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - PublicDependency []int32 `protobuf:"varint,10,rep,name=public_dependency,json=publicDependency" json:"public_dependency,omitempty"` - WeakDependency []int32 `protobuf:"varint,11,rep,name=weak_dependency,json=weakDependency" json:"weak_dependency,omitempty"` - MessageType []*descriptorpb.DescriptorProto `protobuf:"bytes,4,rep,name=message_type,json=messageType" json:"message_type,omitempty"` - EnumType []*descriptorpb.EnumDescriptorProto `protobuf:"bytes,5,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"` - Service []*descriptorpb.ServiceDescriptorProto `protobuf:"bytes,6,rep,name=service" json:"service,omitempty"` - Extension []*descriptorpb.FieldDescriptorProto `protobuf:"bytes,7,rep,name=extension" json:"extension,omitempty"` - Options *descriptorpb.FileOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"` - SourceCodeInfo *descriptorpb.SourceCodeInfo `protobuf:"bytes,9,opt,name=source_code_info,json=sourceCodeInfo" json:"source_code_info,omitempty"` - Syntax *string `protobuf:"bytes,12,opt,name=syntax" json:"syntax,omitempty"` - Edition *descriptorpb.Edition `protobuf:"varint,14,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"` - // buf_extension contains buf-specific extensions to FileDescriptorProtos. - // - // The prefixed name and high tag value is used to all but guarantee there - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + xxx_hidden_Package *string `protobuf:"bytes,2,opt,name=package" json:"package,omitempty"` + xxx_hidden_Dependency []string `protobuf:"bytes,3,rep,name=dependency" json:"dependency,omitempty"` + xxx_hidden_PublicDependency []int32 `protobuf:"varint,10,rep,name=public_dependency,json=publicDependency" json:"public_dependency,omitempty"` + xxx_hidden_WeakDependency []int32 `protobuf:"varint,11,rep,name=weak_dependency,json=weakDependency" json:"weak_dependency,omitempty"` + xxx_hidden_MessageType *[]*descriptorpb.DescriptorProto `protobuf:"bytes,4,rep,name=message_type,json=messageType" json:"message_type,omitempty"` + xxx_hidden_EnumType *[]*descriptorpb.EnumDescriptorProto `protobuf:"bytes,5,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"` + xxx_hidden_Service *[]*descriptorpb.ServiceDescriptorProto `protobuf:"bytes,6,rep,name=service" json:"service,omitempty"` + xxx_hidden_Extension *[]*descriptorpb.FieldDescriptorProto `protobuf:"bytes,7,rep,name=extension" json:"extension,omitempty"` + xxx_hidden_Options *descriptorpb.FileOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"` + xxx_hidden_SourceCodeInfo *descriptorpb.SourceCodeInfo `protobuf:"bytes,9,opt,name=source_code_info,json=sourceCodeInfo" json:"source_code_info,omitempty"` + xxx_hidden_Syntax *string `protobuf:"bytes,12,opt,name=syntax" json:"syntax,omitempty"` + xxx_hidden_Edition descriptorpb.Edition `protobuf:"varint,14,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"` + xxx_hidden_BufExtension *ImageFileExtension `protobuf:"bytes,8042,opt,name=buf_extension,json=bufExtension" json:"buf_extension,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ImageFile) Reset() { @@ -155,234 +151,261 @@ func (x *ImageFile) ProtoReflect() protoreflect.Message { } func (x *ImageFile) GetName() string { - if x != nil && x.Name != nil { - return *x.Name + if x != nil { + if x.xxx_hidden_Name != nil { + return *x.xxx_hidden_Name + } + return "" } return "" } func (x *ImageFile) GetPackage() string { - if x != nil && x.Package != nil { - return *x.Package + if x != nil { + if x.xxx_hidden_Package != nil { + return *x.xxx_hidden_Package + } + return "" } return "" } func (x *ImageFile) GetDependency() []string { if x != nil { - return x.Dependency + return x.xxx_hidden_Dependency } return nil } func (x *ImageFile) GetPublicDependency() []int32 { if x != nil { - return x.PublicDependency + return x.xxx_hidden_PublicDependency } return nil } func (x *ImageFile) GetWeakDependency() []int32 { if x != nil { - return x.WeakDependency + return x.xxx_hidden_WeakDependency } return nil } func (x *ImageFile) GetMessageType() []*descriptorpb.DescriptorProto { if x != nil { - return x.MessageType + if x.xxx_hidden_MessageType != nil { + return *x.xxx_hidden_MessageType + } } return nil } func (x *ImageFile) GetEnumType() []*descriptorpb.EnumDescriptorProto { if x != nil { - return x.EnumType + if x.xxx_hidden_EnumType != nil { + return *x.xxx_hidden_EnumType + } } return nil } func (x *ImageFile) GetService() []*descriptorpb.ServiceDescriptorProto { if x != nil { - return x.Service + if x.xxx_hidden_Service != nil { + return *x.xxx_hidden_Service + } } return nil } func (x *ImageFile) GetExtension() []*descriptorpb.FieldDescriptorProto { if x != nil { - return x.Extension + if x.xxx_hidden_Extension != nil { + return *x.xxx_hidden_Extension + } } return nil } func (x *ImageFile) GetOptions() *descriptorpb.FileOptions { if x != nil { - return x.Options + return x.xxx_hidden_Options } return nil } func (x *ImageFile) GetSourceCodeInfo() *descriptorpb.SourceCodeInfo { if x != nil { - return x.SourceCodeInfo + return x.xxx_hidden_SourceCodeInfo } return nil } func (x *ImageFile) GetSyntax() string { - if x != nil && x.Syntax != nil { - return *x.Syntax + if x != nil { + if x.xxx_hidden_Syntax != nil { + return *x.xxx_hidden_Syntax + } + return "" } return "" } func (x *ImageFile) GetEdition() descriptorpb.Edition { - if x != nil && x.Edition != nil { - return *x.Edition + if x != nil { + if protoimpl.X.Present(&(x.XXX_presence[0]), 12) { + return x.xxx_hidden_Edition + } } return descriptorpb.Edition(0) } func (x *ImageFile) GetBufExtension() *ImageFileExtension { if x != nil { - return x.BufExtension + return x.xxx_hidden_BufExtension } return nil } func (x *ImageFile) SetName(v string) { - x.Name = &v + x.xxx_hidden_Name = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 0, 14) } func (x *ImageFile) SetPackage(v string) { - x.Package = &v + x.xxx_hidden_Package = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 14) } func (x *ImageFile) SetDependency(v []string) { - x.Dependency = v + x.xxx_hidden_Dependency = v } func (x *ImageFile) SetPublicDependency(v []int32) { - x.PublicDependency = v + x.xxx_hidden_PublicDependency = v } func (x *ImageFile) SetWeakDependency(v []int32) { - x.WeakDependency = v + x.xxx_hidden_WeakDependency = v } func (x *ImageFile) SetMessageType(v []*descriptorpb.DescriptorProto) { - x.MessageType = v + x.xxx_hidden_MessageType = &v } func (x *ImageFile) SetEnumType(v []*descriptorpb.EnumDescriptorProto) { - x.EnumType = v + x.xxx_hidden_EnumType = &v } func (x *ImageFile) SetService(v []*descriptorpb.ServiceDescriptorProto) { - x.Service = v + x.xxx_hidden_Service = &v } func (x *ImageFile) SetExtension(v []*descriptorpb.FieldDescriptorProto) { - x.Extension = v + x.xxx_hidden_Extension = &v } func (x *ImageFile) SetOptions(v *descriptorpb.FileOptions) { - x.Options = v + x.xxx_hidden_Options = v } func (x *ImageFile) SetSourceCodeInfo(v *descriptorpb.SourceCodeInfo) { - x.SourceCodeInfo = v + x.xxx_hidden_SourceCodeInfo = v } func (x *ImageFile) SetSyntax(v string) { - x.Syntax = &v + x.xxx_hidden_Syntax = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 11, 14) } func (x *ImageFile) SetEdition(v descriptorpb.Edition) { - x.Edition = &v + x.xxx_hidden_Edition = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 12, 14) } func (x *ImageFile) SetBufExtension(v *ImageFileExtension) { - x.BufExtension = v + x.xxx_hidden_BufExtension = v } func (x *ImageFile) HasName() bool { if x == nil { return false } - return x.Name != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 0) } func (x *ImageFile) HasPackage() bool { if x == nil { return false } - return x.Package != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 1) } func (x *ImageFile) HasOptions() bool { if x == nil { return false } - return x.Options != nil + return x.xxx_hidden_Options != nil } func (x *ImageFile) HasSourceCodeInfo() bool { if x == nil { return false } - return x.SourceCodeInfo != nil + return x.xxx_hidden_SourceCodeInfo != nil } func (x *ImageFile) HasSyntax() bool { if x == nil { return false } - return x.Syntax != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 11) } func (x *ImageFile) HasEdition() bool { if x == nil { return false } - return x.Edition != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 12) } func (x *ImageFile) HasBufExtension() bool { if x == nil { return false } - return x.BufExtension != nil + return x.xxx_hidden_BufExtension != nil } func (x *ImageFile) ClearName() { - x.Name = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 0) + x.xxx_hidden_Name = nil } func (x *ImageFile) ClearPackage() { - x.Package = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) + x.xxx_hidden_Package = nil } func (x *ImageFile) ClearOptions() { - x.Options = nil + x.xxx_hidden_Options = nil } func (x *ImageFile) ClearSourceCodeInfo() { - x.SourceCodeInfo = nil + x.xxx_hidden_SourceCodeInfo = nil } func (x *ImageFile) ClearSyntax() { - x.Syntax = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 11) + x.xxx_hidden_Syntax = nil } func (x *ImageFile) ClearEdition() { - x.Edition = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 12) + x.xxx_hidden_Edition = descriptorpb.Edition_EDITION_UNKNOWN } func (x *ImageFile) ClearBufExtension() { - x.BufExtension = nil + x.xxx_hidden_BufExtension = nil } type ImageFile_builder struct { @@ -414,20 +437,32 @@ func (b0 ImageFile_builder) Build() *ImageFile { m0 := &ImageFile{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Package = b.Package - x.Dependency = b.Dependency - x.PublicDependency = b.PublicDependency - x.WeakDependency = b.WeakDependency - x.MessageType = b.MessageType - x.EnumType = b.EnumType - x.Service = b.Service - x.Extension = b.Extension - x.Options = b.Options - x.SourceCodeInfo = b.SourceCodeInfo - x.Syntax = b.Syntax - x.Edition = b.Edition - x.BufExtension = b.BufExtension + if b.Name != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 0, 14) + x.xxx_hidden_Name = b.Name + } + if b.Package != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 14) + x.xxx_hidden_Package = b.Package + } + x.xxx_hidden_Dependency = b.Dependency + x.xxx_hidden_PublicDependency = b.PublicDependency + x.xxx_hidden_WeakDependency = b.WeakDependency + x.xxx_hidden_MessageType = &b.MessageType + x.xxx_hidden_EnumType = &b.EnumType + x.xxx_hidden_Service = &b.Service + x.xxx_hidden_Extension = &b.Extension + x.xxx_hidden_Options = b.Options + x.xxx_hidden_SourceCodeInfo = b.SourceCodeInfo + if b.Syntax != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 11, 14) + x.xxx_hidden_Syntax = b.Syntax + } + if b.Edition != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 12, 14) + x.xxx_hidden_Edition = *b.Edition + } + x.xxx_hidden_BufExtension = b.BufExtension return m0 } @@ -438,45 +473,15 @@ func (b0 ImageFile_builder) Build() *ImageFile { // 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 `protogen:"hybrid.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. - // There are two cases where this could be true: - // - // 1. A Well-Known Type included from the compiler. - // 2. A file that was included from a Buf module dependency. - // - // We use "import" as this matches with the protoc concept of - // --include_imports, however import is a bit of an overloaded term. - // - // This will always be set. - IsImport *bool `protobuf:"varint,1,opt,name=is_import,json=isImport" json:"is_import,omitempty"` - // ModuleInfo contains information about the Buf module this file belongs to. - // - // This field is optional and will not be set if the module is not known. - ModuleInfo *ModuleInfo `protobuf:"bytes,2,opt,name=module_info,json=moduleInfo" json:"module_info,omitempty"` - // is_syntax_unspecified denotes whether the file did not have a syntax - // explicitly specified. - // - // Per the FileDescriptorProto spec, it would be fine in this case to just - // leave the syntax field unset to denote this and to set the syntax field - // to "proto2" if it is specified. However, protoc does not set the syntax - // field if it was "proto2", and plugins may (incorrectly) depend on this. - // We also want to maintain consistency with protoc as much as possible. - // So instead, we have this field which will denote whether syntax was not - // specified. - // - // This will always be set. - IsSyntaxUnspecified *bool `protobuf:"varint,3,opt,name=is_syntax_unspecified,json=isSyntaxUnspecified" json:"is_syntax_unspecified,omitempty"` - // unused_dependency are the indexes within the dependency field on - // FileDescriptorProto for those dependencies that are not used. - // - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_IsImport bool `protobuf:"varint,1,opt,name=is_import,json=isImport" json:"is_import,omitempty"` + xxx_hidden_ModuleInfo *ModuleInfo `protobuf:"bytes,2,opt,name=module_info,json=moduleInfo" json:"module_info,omitempty"` + xxx_hidden_IsSyntaxUnspecified bool `protobuf:"varint,3,opt,name=is_syntax_unspecified,json=isSyntaxUnspecified" json:"is_syntax_unspecified,omitempty"` + xxx_hidden_UnusedDependency []int32 `protobuf:"varint,4,rep,name=unused_dependency,json=unusedDependency" json:"unused_dependency,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ImageFileExtension) Reset() { @@ -505,80 +510,84 @@ func (x *ImageFileExtension) ProtoReflect() protoreflect.Message { } func (x *ImageFileExtension) GetIsImport() bool { - if x != nil && x.IsImport != nil { - return *x.IsImport + if x != nil { + return x.xxx_hidden_IsImport } return false } func (x *ImageFileExtension) GetModuleInfo() *ModuleInfo { if x != nil { - return x.ModuleInfo + return x.xxx_hidden_ModuleInfo } return nil } func (x *ImageFileExtension) GetIsSyntaxUnspecified() bool { - if x != nil && x.IsSyntaxUnspecified != nil { - return *x.IsSyntaxUnspecified + if x != nil { + return x.xxx_hidden_IsSyntaxUnspecified } return false } func (x *ImageFileExtension) GetUnusedDependency() []int32 { if x != nil { - return x.UnusedDependency + return x.xxx_hidden_UnusedDependency } return nil } func (x *ImageFileExtension) SetIsImport(v bool) { - x.IsImport = &v + x.xxx_hidden_IsImport = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 0, 4) } func (x *ImageFileExtension) SetModuleInfo(v *ModuleInfo) { - x.ModuleInfo = v + x.xxx_hidden_ModuleInfo = v } func (x *ImageFileExtension) SetIsSyntaxUnspecified(v bool) { - x.IsSyntaxUnspecified = &v + x.xxx_hidden_IsSyntaxUnspecified = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 2, 4) } func (x *ImageFileExtension) SetUnusedDependency(v []int32) { - x.UnusedDependency = v + x.xxx_hidden_UnusedDependency = v } func (x *ImageFileExtension) HasIsImport() bool { if x == nil { return false } - return x.IsImport != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 0) } func (x *ImageFileExtension) HasModuleInfo() bool { if x == nil { return false } - return x.ModuleInfo != nil + return x.xxx_hidden_ModuleInfo != nil } func (x *ImageFileExtension) HasIsSyntaxUnspecified() bool { if x == nil { return false } - return x.IsSyntaxUnspecified != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 2) } func (x *ImageFileExtension) ClearIsImport() { - x.IsImport = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 0) + x.xxx_hidden_IsImport = false } func (x *ImageFileExtension) ClearModuleInfo() { - x.ModuleInfo = nil + x.xxx_hidden_ModuleInfo = nil } func (x *ImageFileExtension) ClearIsSyntaxUnspecified() { - x.IsSyntaxUnspecified = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 2) + x.xxx_hidden_IsSyntaxUnspecified = false } type ImageFileExtension_builder struct { @@ -626,27 +635,29 @@ func (b0 ImageFileExtension_builder) Build() *ImageFileExtension { m0 := &ImageFileExtension{} b, x := &b0, m0 _, _ = b, x - x.IsImport = b.IsImport - x.ModuleInfo = b.ModuleInfo - x.IsSyntaxUnspecified = b.IsSyntaxUnspecified - x.UnusedDependency = b.UnusedDependency + if b.IsImport != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 0, 4) + x.xxx_hidden_IsImport = *b.IsImport + } + x.xxx_hidden_ModuleInfo = b.ModuleInfo + if b.IsSyntaxUnspecified != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 2, 4) + x.xxx_hidden_IsSyntaxUnspecified = *b.IsSyntaxUnspecified + } + x.xxx_hidden_UnusedDependency = b.UnusedDependency return m0 } // ModuleInfo contains information about a Buf module that an ImageFile // belongs to. type ModuleInfo struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // name is the name of the Buf module. - // - // This will always be set. - Name *ModuleName `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name *ModuleName `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + xxx_hidden_Commit *string `protobuf:"bytes,2,opt,name=commit" json:"commit,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ModuleInfo) Reset() { @@ -676,46 +687,51 @@ func (x *ModuleInfo) ProtoReflect() protoreflect.Message { func (x *ModuleInfo) GetName() *ModuleName { if x != nil { - return x.Name + return x.xxx_hidden_Name } return nil } func (x *ModuleInfo) GetCommit() string { - if x != nil && x.Commit != nil { - return *x.Commit + if x != nil { + if x.xxx_hidden_Commit != nil { + return *x.xxx_hidden_Commit + } + return "" } return "" } func (x *ModuleInfo) SetName(v *ModuleName) { - x.Name = v + x.xxx_hidden_Name = v } func (x *ModuleInfo) SetCommit(v string) { - x.Commit = &v + x.xxx_hidden_Commit = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 2) } func (x *ModuleInfo) HasName() bool { if x == nil { return false } - return x.Name != nil + return x.xxx_hidden_Name != nil } func (x *ModuleInfo) HasCommit() bool { if x == nil { return false } - return x.Commit != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 1) } func (x *ModuleInfo) ClearName() { - x.Name = nil + x.xxx_hidden_Name = nil } func (x *ModuleInfo) ClearCommit() { - x.Commit = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) + x.xxx_hidden_Commit = nil } type ModuleInfo_builder struct { @@ -735,8 +751,11 @@ func (b0 ModuleInfo_builder) Build() *ModuleInfo { m0 := &ModuleInfo{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Commit = b.Commit + x.xxx_hidden_Name = b.Name + if b.Commit != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 2) + x.xxx_hidden_Commit = b.Commit + } return m0 } @@ -744,12 +763,14 @@ func (b0 ModuleInfo_builder) Build() *ModuleInfo { // // All fields will always be set. type ModuleName struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Remote *string `protobuf:"bytes,1,opt,name=remote" json:"remote,omitempty"` + xxx_hidden_Owner *string `protobuf:"bytes,2,opt,name=owner" json:"owner,omitempty"` + xxx_hidden_Repository *string `protobuf:"bytes,3,opt,name=repository" json:"repository,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ModuleName) Reset() { @@ -778,69 +799,84 @@ func (x *ModuleName) ProtoReflect() protoreflect.Message { } func (x *ModuleName) GetRemote() string { - if x != nil && x.Remote != nil { - return *x.Remote + if x != nil { + if x.xxx_hidden_Remote != nil { + return *x.xxx_hidden_Remote + } + return "" } return "" } func (x *ModuleName) GetOwner() string { - if x != nil && x.Owner != nil { - return *x.Owner + if x != nil { + if x.xxx_hidden_Owner != nil { + return *x.xxx_hidden_Owner + } + return "" } return "" } func (x *ModuleName) GetRepository() string { - if x != nil && x.Repository != nil { - return *x.Repository + if x != nil { + if x.xxx_hidden_Repository != nil { + return *x.xxx_hidden_Repository + } + return "" } return "" } func (x *ModuleName) SetRemote(v string) { - x.Remote = &v + x.xxx_hidden_Remote = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 0, 3) } func (x *ModuleName) SetOwner(v string) { - x.Owner = &v + x.xxx_hidden_Owner = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 3) } func (x *ModuleName) SetRepository(v string) { - x.Repository = &v + x.xxx_hidden_Repository = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 2, 3) } func (x *ModuleName) HasRemote() bool { if x == nil { return false } - return x.Remote != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 0) } func (x *ModuleName) HasOwner() bool { if x == nil { return false } - return x.Owner != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 1) } func (x *ModuleName) HasRepository() bool { if x == nil { return false } - return x.Repository != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 2) } func (x *ModuleName) ClearRemote() { - x.Remote = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 0) + x.xxx_hidden_Remote = nil } func (x *ModuleName) ClearOwner() { - x.Owner = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) + x.xxx_hidden_Owner = nil } func (x *ModuleName) ClearRepository() { - x.Repository = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 2) + x.xxx_hidden_Repository = nil } type ModuleName_builder struct { @@ -855,9 +891,18 @@ func (b0 ModuleName_builder) Build() *ModuleName { m0 := &ModuleName{} b, x := &b0, m0 _, _ = b, x - x.Remote = b.Remote - x.Owner = b.Owner - x.Repository = b.Repository + if b.Remote != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 0, 3) + x.xxx_hidden_Remote = b.Remote + } + if b.Owner != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 3) + x.xxx_hidden_Owner = b.Owner + } + if b.Repository != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 2, 3) + x.xxx_hidden_Repository = b.Repository + } return m0 } diff --git a/private/gen/proto/go/buf/alpha/image/v1/image_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/image/v1/image_protoopaque.pb.go deleted file mode 100644 index c2d606a8df..0000000000 --- a/private/gen/proto/go/buf/alpha/image/v1/image_protoopaque.pb.go +++ /dev/null @@ -1,1067 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/image/v1/image.proto - -//go:build protoopaque - -package imagev1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Image is an ext FileDescriptorSet. -// -// See https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/descriptor.proto -type Image struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_File *[]*ImageFile `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Image) Reset() { - *x = Image{} - mi := &file_buf_alpha_image_v1_image_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Image) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Image) ProtoMessage() {} - -func (x *Image) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_image_v1_image_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Image) GetFile() []*ImageFile { - if x != nil { - if x.xxx_hidden_File != nil { - return *x.xxx_hidden_File - } - } - return nil -} - -func (x *Image) SetFile(v []*ImageFile) { - x.xxx_hidden_File = &v -} - -type Image_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - File []*ImageFile -} - -func (b0 Image_builder) Build() *Image { - m0 := &Image{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_File = &b.File - return m0 -} - -// ImageFile is an extended FileDescriptorProto. -// -// Since FileDescriptorProto does not have extensions, we copy the fields from -// FileDescriptorProto, and then add our own extensions via the buf_extension -// field. This is compatible with a FileDescriptorProto. -// -// See https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/descriptor.proto -type ImageFile struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - xxx_hidden_Package *string `protobuf:"bytes,2,opt,name=package" json:"package,omitempty"` - xxx_hidden_Dependency []string `protobuf:"bytes,3,rep,name=dependency" json:"dependency,omitempty"` - xxx_hidden_PublicDependency []int32 `protobuf:"varint,10,rep,name=public_dependency,json=publicDependency" json:"public_dependency,omitempty"` - xxx_hidden_WeakDependency []int32 `protobuf:"varint,11,rep,name=weak_dependency,json=weakDependency" json:"weak_dependency,omitempty"` - xxx_hidden_MessageType *[]*descriptorpb.DescriptorProto `protobuf:"bytes,4,rep,name=message_type,json=messageType" json:"message_type,omitempty"` - xxx_hidden_EnumType *[]*descriptorpb.EnumDescriptorProto `protobuf:"bytes,5,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"` - xxx_hidden_Service *[]*descriptorpb.ServiceDescriptorProto `protobuf:"bytes,6,rep,name=service" json:"service,omitempty"` - xxx_hidden_Extension *[]*descriptorpb.FieldDescriptorProto `protobuf:"bytes,7,rep,name=extension" json:"extension,omitempty"` - xxx_hidden_Options *descriptorpb.FileOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"` - xxx_hidden_SourceCodeInfo *descriptorpb.SourceCodeInfo `protobuf:"bytes,9,opt,name=source_code_info,json=sourceCodeInfo" json:"source_code_info,omitempty"` - xxx_hidden_Syntax *string `protobuf:"bytes,12,opt,name=syntax" json:"syntax,omitempty"` - xxx_hidden_Edition descriptorpb.Edition `protobuf:"varint,14,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"` - xxx_hidden_BufExtension *ImageFileExtension `protobuf:"bytes,8042,opt,name=buf_extension,json=bufExtension" json:"buf_extension,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ImageFile) Reset() { - *x = ImageFile{} - mi := &file_buf_alpha_image_v1_image_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ImageFile) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ImageFile) ProtoMessage() {} - -func (x *ImageFile) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_image_v1_image_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ImageFile) GetName() string { - if x != nil { - if x.xxx_hidden_Name != nil { - return *x.xxx_hidden_Name - } - return "" - } - return "" -} - -func (x *ImageFile) GetPackage() string { - if x != nil { - if x.xxx_hidden_Package != nil { - return *x.xxx_hidden_Package - } - return "" - } - return "" -} - -func (x *ImageFile) GetDependency() []string { - if x != nil { - return x.xxx_hidden_Dependency - } - return nil -} - -func (x *ImageFile) GetPublicDependency() []int32 { - if x != nil { - return x.xxx_hidden_PublicDependency - } - return nil -} - -func (x *ImageFile) GetWeakDependency() []int32 { - if x != nil { - return x.xxx_hidden_WeakDependency - } - return nil -} - -func (x *ImageFile) GetMessageType() []*descriptorpb.DescriptorProto { - if x != nil { - if x.xxx_hidden_MessageType != nil { - return *x.xxx_hidden_MessageType - } - } - return nil -} - -func (x *ImageFile) GetEnumType() []*descriptorpb.EnumDescriptorProto { - if x != nil { - if x.xxx_hidden_EnumType != nil { - return *x.xxx_hidden_EnumType - } - } - return nil -} - -func (x *ImageFile) GetService() []*descriptorpb.ServiceDescriptorProto { - if x != nil { - if x.xxx_hidden_Service != nil { - return *x.xxx_hidden_Service - } - } - return nil -} - -func (x *ImageFile) GetExtension() []*descriptorpb.FieldDescriptorProto { - if x != nil { - if x.xxx_hidden_Extension != nil { - return *x.xxx_hidden_Extension - } - } - return nil -} - -func (x *ImageFile) GetOptions() *descriptorpb.FileOptions { - if x != nil { - return x.xxx_hidden_Options - } - return nil -} - -func (x *ImageFile) GetSourceCodeInfo() *descriptorpb.SourceCodeInfo { - if x != nil { - return x.xxx_hidden_SourceCodeInfo - } - return nil -} - -func (x *ImageFile) GetSyntax() string { - if x != nil { - if x.xxx_hidden_Syntax != nil { - return *x.xxx_hidden_Syntax - } - return "" - } - return "" -} - -func (x *ImageFile) GetEdition() descriptorpb.Edition { - if x != nil { - if protoimpl.X.Present(&(x.XXX_presence[0]), 12) { - return x.xxx_hidden_Edition - } - } - return descriptorpb.Edition(0) -} - -func (x *ImageFile) GetBufExtension() *ImageFileExtension { - if x != nil { - return x.xxx_hidden_BufExtension - } - return nil -} - -func (x *ImageFile) SetName(v string) { - x.xxx_hidden_Name = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 0, 14) -} - -func (x *ImageFile) SetPackage(v string) { - x.xxx_hidden_Package = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 14) -} - -func (x *ImageFile) SetDependency(v []string) { - x.xxx_hidden_Dependency = v -} - -func (x *ImageFile) SetPublicDependency(v []int32) { - x.xxx_hidden_PublicDependency = v -} - -func (x *ImageFile) SetWeakDependency(v []int32) { - x.xxx_hidden_WeakDependency = v -} - -func (x *ImageFile) SetMessageType(v []*descriptorpb.DescriptorProto) { - x.xxx_hidden_MessageType = &v -} - -func (x *ImageFile) SetEnumType(v []*descriptorpb.EnumDescriptorProto) { - x.xxx_hidden_EnumType = &v -} - -func (x *ImageFile) SetService(v []*descriptorpb.ServiceDescriptorProto) { - x.xxx_hidden_Service = &v -} - -func (x *ImageFile) SetExtension(v []*descriptorpb.FieldDescriptorProto) { - x.xxx_hidden_Extension = &v -} - -func (x *ImageFile) SetOptions(v *descriptorpb.FileOptions) { - x.xxx_hidden_Options = v -} - -func (x *ImageFile) SetSourceCodeInfo(v *descriptorpb.SourceCodeInfo) { - x.xxx_hidden_SourceCodeInfo = v -} - -func (x *ImageFile) SetSyntax(v string) { - x.xxx_hidden_Syntax = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 11, 14) -} - -func (x *ImageFile) SetEdition(v descriptorpb.Edition) { - x.xxx_hidden_Edition = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 12, 14) -} - -func (x *ImageFile) SetBufExtension(v *ImageFileExtension) { - x.xxx_hidden_BufExtension = v -} - -func (x *ImageFile) HasName() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 0) -} - -func (x *ImageFile) HasPackage() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 1) -} - -func (x *ImageFile) HasOptions() bool { - if x == nil { - return false - } - return x.xxx_hidden_Options != nil -} - -func (x *ImageFile) HasSourceCodeInfo() bool { - if x == nil { - return false - } - return x.xxx_hidden_SourceCodeInfo != nil -} - -func (x *ImageFile) HasSyntax() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 11) -} - -func (x *ImageFile) HasEdition() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 12) -} - -func (x *ImageFile) HasBufExtension() bool { - if x == nil { - return false - } - return x.xxx_hidden_BufExtension != nil -} - -func (x *ImageFile) ClearName() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 0) - x.xxx_hidden_Name = nil -} - -func (x *ImageFile) ClearPackage() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) - x.xxx_hidden_Package = nil -} - -func (x *ImageFile) ClearOptions() { - x.xxx_hidden_Options = nil -} - -func (x *ImageFile) ClearSourceCodeInfo() { - x.xxx_hidden_SourceCodeInfo = nil -} - -func (x *ImageFile) ClearSyntax() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 11) - x.xxx_hidden_Syntax = nil -} - -func (x *ImageFile) ClearEdition() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 12) - x.xxx_hidden_Edition = descriptorpb.Edition_EDITION_UNKNOWN -} - -func (x *ImageFile) ClearBufExtension() { - x.xxx_hidden_BufExtension = nil -} - -type ImageFile_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name *string - Package *string - Dependency []string - PublicDependency []int32 - WeakDependency []int32 - MessageType []*descriptorpb.DescriptorProto - EnumType []*descriptorpb.EnumDescriptorProto - Service []*descriptorpb.ServiceDescriptorProto - Extension []*descriptorpb.FieldDescriptorProto - Options *descriptorpb.FileOptions - SourceCodeInfo *descriptorpb.SourceCodeInfo - Syntax *string - Edition *descriptorpb.Edition - // buf_extension contains buf-specific extensions to FileDescriptorProtos. - // - // The prefixed name and high tag value is used to all but guarantee there - // 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 -} - -func (b0 ImageFile_builder) Build() *ImageFile { - m0 := &ImageFile{} - b, x := &b0, m0 - _, _ = b, x - if b.Name != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 0, 14) - x.xxx_hidden_Name = b.Name - } - if b.Package != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 14) - x.xxx_hidden_Package = b.Package - } - x.xxx_hidden_Dependency = b.Dependency - x.xxx_hidden_PublicDependency = b.PublicDependency - x.xxx_hidden_WeakDependency = b.WeakDependency - x.xxx_hidden_MessageType = &b.MessageType - x.xxx_hidden_EnumType = &b.EnumType - x.xxx_hidden_Service = &b.Service - x.xxx_hidden_Extension = &b.Extension - x.xxx_hidden_Options = b.Options - x.xxx_hidden_SourceCodeInfo = b.SourceCodeInfo - if b.Syntax != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 11, 14) - x.xxx_hidden_Syntax = b.Syntax - } - if b.Edition != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 12, 14) - x.xxx_hidden_Edition = *b.Edition - } - x.xxx_hidden_BufExtension = b.BufExtension - return m0 -} - -// ImageFileExtension contains extensions to ImageFiles. -// -// The fields are not included directly on the ImageFile so that we can both -// detect if extensions exist, which signifies this was created by buf and not -// 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 `protogen:"opaque.v1"` - xxx_hidden_IsImport bool `protobuf:"varint,1,opt,name=is_import,json=isImport" json:"is_import,omitempty"` - xxx_hidden_ModuleInfo *ModuleInfo `protobuf:"bytes,2,opt,name=module_info,json=moduleInfo" json:"module_info,omitempty"` - xxx_hidden_IsSyntaxUnspecified bool `protobuf:"varint,3,opt,name=is_syntax_unspecified,json=isSyntaxUnspecified" json:"is_syntax_unspecified,omitempty"` - xxx_hidden_UnusedDependency []int32 `protobuf:"varint,4,rep,name=unused_dependency,json=unusedDependency" json:"unused_dependency,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ImageFileExtension) Reset() { - *x = ImageFileExtension{} - mi := &file_buf_alpha_image_v1_image_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ImageFileExtension) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ImageFileExtension) ProtoMessage() {} - -func (x *ImageFileExtension) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_image_v1_image_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ImageFileExtension) GetIsImport() bool { - if x != nil { - return x.xxx_hidden_IsImport - } - return false -} - -func (x *ImageFileExtension) GetModuleInfo() *ModuleInfo { - if x != nil { - return x.xxx_hidden_ModuleInfo - } - return nil -} - -func (x *ImageFileExtension) GetIsSyntaxUnspecified() bool { - if x != nil { - return x.xxx_hidden_IsSyntaxUnspecified - } - return false -} - -func (x *ImageFileExtension) GetUnusedDependency() []int32 { - if x != nil { - return x.xxx_hidden_UnusedDependency - } - return nil -} - -func (x *ImageFileExtension) SetIsImport(v bool) { - x.xxx_hidden_IsImport = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 0, 4) -} - -func (x *ImageFileExtension) SetModuleInfo(v *ModuleInfo) { - x.xxx_hidden_ModuleInfo = v -} - -func (x *ImageFileExtension) SetIsSyntaxUnspecified(v bool) { - x.xxx_hidden_IsSyntaxUnspecified = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 2, 4) -} - -func (x *ImageFileExtension) SetUnusedDependency(v []int32) { - x.xxx_hidden_UnusedDependency = v -} - -func (x *ImageFileExtension) HasIsImport() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 0) -} - -func (x *ImageFileExtension) HasModuleInfo() bool { - if x == nil { - return false - } - return x.xxx_hidden_ModuleInfo != nil -} - -func (x *ImageFileExtension) HasIsSyntaxUnspecified() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 2) -} - -func (x *ImageFileExtension) ClearIsImport() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 0) - x.xxx_hidden_IsImport = false -} - -func (x *ImageFileExtension) ClearModuleInfo() { - x.xxx_hidden_ModuleInfo = nil -} - -func (x *ImageFileExtension) ClearIsSyntaxUnspecified() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 2) - x.xxx_hidden_IsSyntaxUnspecified = false -} - -type ImageFileExtension_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // is_import denotes whether this file is considered an "import". - // - // An import is a file which was not derived from the local source files. - // There are two cases where this could be true: - // - // 1. A Well-Known Type included from the compiler. - // 2. A file that was included from a Buf module dependency. - // - // We use "import" as this matches with the protoc concept of - // --include_imports, however import is a bit of an overloaded term. - // - // This will always be set. - IsImport *bool - // ModuleInfo contains information about the Buf module this file belongs to. - // - // This field is optional and will not be set if the module is not known. - ModuleInfo *ModuleInfo - // is_syntax_unspecified denotes whether the file did not have a syntax - // explicitly specified. - // - // Per the FileDescriptorProto spec, it would be fine in this case to just - // leave the syntax field unset to denote this and to set the syntax field - // to "proto2" if it is specified. However, protoc does not set the syntax - // field if it was "proto2", and plugins may (incorrectly) depend on this. - // We also want to maintain consistency with protoc as much as possible. - // So instead, we have this field which will denote whether syntax was not - // specified. - // - // This will always be set. - IsSyntaxUnspecified *bool - // unused_dependency are the indexes within the dependency field on - // FileDescriptorProto for those dependencies that are not used. - // - // This matches the shape of the public_dependency and weak_dependency - // fields. - UnusedDependency []int32 -} - -func (b0 ImageFileExtension_builder) Build() *ImageFileExtension { - m0 := &ImageFileExtension{} - b, x := &b0, m0 - _, _ = b, x - if b.IsImport != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 0, 4) - x.xxx_hidden_IsImport = *b.IsImport - } - x.xxx_hidden_ModuleInfo = b.ModuleInfo - if b.IsSyntaxUnspecified != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 2, 4) - x.xxx_hidden_IsSyntaxUnspecified = *b.IsSyntaxUnspecified - } - x.xxx_hidden_UnusedDependency = b.UnusedDependency - return m0 -} - -// ModuleInfo contains information about a Buf module that an ImageFile -// belongs to. -type ModuleInfo struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name *ModuleName `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - xxx_hidden_Commit *string `protobuf:"bytes,2,opt,name=commit" json:"commit,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ModuleInfo) Reset() { - *x = ModuleInfo{} - mi := &file_buf_alpha_image_v1_image_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ModuleInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ModuleInfo) ProtoMessage() {} - -func (x *ModuleInfo) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_image_v1_image_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ModuleInfo) GetName() *ModuleName { - if x != nil { - return x.xxx_hidden_Name - } - return nil -} - -func (x *ModuleInfo) GetCommit() string { - if x != nil { - if x.xxx_hidden_Commit != nil { - return *x.xxx_hidden_Commit - } - return "" - } - return "" -} - -func (x *ModuleInfo) SetName(v *ModuleName) { - x.xxx_hidden_Name = v -} - -func (x *ModuleInfo) SetCommit(v string) { - x.xxx_hidden_Commit = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 2) -} - -func (x *ModuleInfo) HasName() bool { - if x == nil { - return false - } - return x.xxx_hidden_Name != nil -} - -func (x *ModuleInfo) HasCommit() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 1) -} - -func (x *ModuleInfo) ClearName() { - x.xxx_hidden_Name = nil -} - -func (x *ModuleInfo) ClearCommit() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) - x.xxx_hidden_Commit = nil -} - -type ModuleInfo_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // name is the name of the Buf module. - // - // This will always be set. - Name *ModuleName - // commit is the repository commit. - // - // This field is optional and will not be set if the commit is not known. - Commit *string -} - -func (b0 ModuleInfo_builder) Build() *ModuleInfo { - m0 := &ModuleInfo{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - if b.Commit != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 2) - x.xxx_hidden_Commit = b.Commit - } - return m0 -} - -// ModuleName is a module name. -// -// All fields will always be set. -type ModuleName struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Remote *string `protobuf:"bytes,1,opt,name=remote" json:"remote,omitempty"` - xxx_hidden_Owner *string `protobuf:"bytes,2,opt,name=owner" json:"owner,omitempty"` - xxx_hidden_Repository *string `protobuf:"bytes,3,opt,name=repository" json:"repository,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ModuleName) Reset() { - *x = ModuleName{} - mi := &file_buf_alpha_image_v1_image_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ModuleName) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ModuleName) ProtoMessage() {} - -func (x *ModuleName) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_image_v1_image_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ModuleName) GetRemote() string { - if x != nil { - if x.xxx_hidden_Remote != nil { - return *x.xxx_hidden_Remote - } - return "" - } - return "" -} - -func (x *ModuleName) GetOwner() string { - if x != nil { - if x.xxx_hidden_Owner != nil { - return *x.xxx_hidden_Owner - } - return "" - } - return "" -} - -func (x *ModuleName) GetRepository() string { - if x != nil { - if x.xxx_hidden_Repository != nil { - return *x.xxx_hidden_Repository - } - return "" - } - return "" -} - -func (x *ModuleName) SetRemote(v string) { - x.xxx_hidden_Remote = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 0, 3) -} - -func (x *ModuleName) SetOwner(v string) { - x.xxx_hidden_Owner = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 3) -} - -func (x *ModuleName) SetRepository(v string) { - x.xxx_hidden_Repository = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 2, 3) -} - -func (x *ModuleName) HasRemote() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 0) -} - -func (x *ModuleName) HasOwner() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 1) -} - -func (x *ModuleName) HasRepository() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 2) -} - -func (x *ModuleName) ClearRemote() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 0) - x.xxx_hidden_Remote = nil -} - -func (x *ModuleName) ClearOwner() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) - x.xxx_hidden_Owner = nil -} - -func (x *ModuleName) ClearRepository() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 2) - x.xxx_hidden_Repository = nil -} - -type ModuleName_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Remote *string - Owner *string - Repository *string -} - -func (b0 ModuleName_builder) Build() *ModuleName { - m0 := &ModuleName{} - b, x := &b0, m0 - _, _ = b, x - if b.Remote != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 0, 3) - x.xxx_hidden_Remote = b.Remote - } - if b.Owner != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 3) - x.xxx_hidden_Owner = b.Owner - } - if b.Repository != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 2, 3) - x.xxx_hidden_Repository = b.Repository - } - return m0 -} - -var File_buf_alpha_image_v1_image_proto protoreflect.FileDescriptor - -var file_buf_alpha_image_v1_image_proto_rawDesc = []byte{ - 0x0a, 0x1e, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x12, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, - 0x31, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x66, 0x69, - 0x6c, 0x65, 0x22, 0xdc, 0x05, 0x0a, 0x09, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x1e, - 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x2b, - 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, - 0x6e, 0x63, 0x79, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x05, 0x52, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x77, - 0x65, 0x61, 0x6b, 0x5f, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0b, - 0x20, 0x03, 0x28, 0x05, 0x52, 0x0e, 0x77, 0x65, 0x61, 0x6b, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, - 0x65, 0x6e, 0x63, 0x79, 0x12, 0x43, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0b, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x09, 0x65, 0x6e, 0x75, - 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, - 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x07, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, - 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x43, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x10, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, - 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, - 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, - 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x12, - 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x65, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x0d, 0x62, 0x75, 0x66, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0xea, 0x3e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, - 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x62, 0x75, 0x66, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x22, 0xd3, 0x01, 0x0a, 0x12, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x69, - 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x49, - 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x3f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, - 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x73, 0x5f, 0x73, 0x79, 0x6e, - 0x74, 0x61, 0x78, 0x5f, 0x75, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x73, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x55, - 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x75, 0x6e, - 0x75, 0x73, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x05, 0x52, 0x10, 0x75, 0x6e, 0x75, 0x73, 0x65, 0x64, 0x44, 0x65, 0x70, - 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x22, 0x58, 0x0a, 0x0a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x22, 0x5a, 0x0a, 0x0a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0xdd, 0x01, - 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x01, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, - 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x76, - 0x31, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x49, 0xaa, 0x02, 0x12, 0x42, 0x75, 0x66, - 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x56, 0x31, 0xca, - 0x02, 0x12, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x49, 0x6d, 0x61, 0x67, - 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, - 0x5c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, - 0x68, 0x61, 0x3a, 0x3a, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x3a, 0x3a, 0x56, 0x31, -} - -var file_buf_alpha_image_v1_image_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_buf_alpha_image_v1_image_proto_goTypes = []any{ - (*Image)(nil), // 0: buf.alpha.image.v1.Image - (*ImageFile)(nil), // 1: buf.alpha.image.v1.ImageFile - (*ImageFileExtension)(nil), // 2: buf.alpha.image.v1.ImageFileExtension - (*ModuleInfo)(nil), // 3: buf.alpha.image.v1.ModuleInfo - (*ModuleName)(nil), // 4: buf.alpha.image.v1.ModuleName - (*descriptorpb.DescriptorProto)(nil), // 5: google.protobuf.DescriptorProto - (*descriptorpb.EnumDescriptorProto)(nil), // 6: google.protobuf.EnumDescriptorProto - (*descriptorpb.ServiceDescriptorProto)(nil), // 7: google.protobuf.ServiceDescriptorProto - (*descriptorpb.FieldDescriptorProto)(nil), // 8: google.protobuf.FieldDescriptorProto - (*descriptorpb.FileOptions)(nil), // 9: google.protobuf.FileOptions - (*descriptorpb.SourceCodeInfo)(nil), // 10: google.protobuf.SourceCodeInfo - (descriptorpb.Edition)(0), // 11: google.protobuf.Edition -} -var file_buf_alpha_image_v1_image_proto_depIdxs = []int32{ - 1, // 0: buf.alpha.image.v1.Image.file:type_name -> buf.alpha.image.v1.ImageFile - 5, // 1: buf.alpha.image.v1.ImageFile.message_type:type_name -> google.protobuf.DescriptorProto - 6, // 2: buf.alpha.image.v1.ImageFile.enum_type:type_name -> google.protobuf.EnumDescriptorProto - 7, // 3: buf.alpha.image.v1.ImageFile.service:type_name -> google.protobuf.ServiceDescriptorProto - 8, // 4: buf.alpha.image.v1.ImageFile.extension:type_name -> google.protobuf.FieldDescriptorProto - 9, // 5: buf.alpha.image.v1.ImageFile.options:type_name -> google.protobuf.FileOptions - 10, // 6: buf.alpha.image.v1.ImageFile.source_code_info:type_name -> google.protobuf.SourceCodeInfo - 11, // 7: buf.alpha.image.v1.ImageFile.edition:type_name -> google.protobuf.Edition - 2, // 8: buf.alpha.image.v1.ImageFile.buf_extension:type_name -> buf.alpha.image.v1.ImageFileExtension - 3, // 9: buf.alpha.image.v1.ImageFileExtension.module_info:type_name -> buf.alpha.image.v1.ModuleInfo - 4, // 10: buf.alpha.image.v1.ModuleInfo.name:type_name -> buf.alpha.image.v1.ModuleName - 11, // [11:11] is the sub-list for method output_type - 11, // [11:11] is the sub-list for method input_type - 11, // [11:11] is the sub-list for extension type_name - 11, // [11:11] is the sub-list for extension extendee - 0, // [0:11] is the sub-list for field type_name -} - -func init() { file_buf_alpha_image_v1_image_proto_init() } -func file_buf_alpha_image_v1_image_proto_init() { - if File_buf_alpha_image_v1_image_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_image_v1_image_proto_rawDesc, - NumEnums: 0, - NumMessages: 5, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_buf_alpha_image_v1_image_proto_goTypes, - DependencyIndexes: file_buf_alpha_image_v1_image_proto_depIdxs, - MessageInfos: file_buf_alpha_image_v1_image_proto_msgTypes, - }.Build() - File_buf_alpha_image_v1_image_proto = out.File - file_buf_alpha_image_v1_image_proto_rawDesc = nil - file_buf_alpha_image_v1_image_proto_goTypes = nil - file_buf_alpha_image_v1_image_proto_depIdxs = nil -} 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 6b3615511e..948f749b47 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/lint/v1/config.proto -//go:build !protoopaque - package lintv1 import ( @@ -43,36 +41,20 @@ 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 `protogen:"hybrid.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. - UseIds []string `protobuf:"bytes,2,rep,name=use_ids,json=useIds,proto3" json:"use_ids,omitempty"` - // except_ids lists the rule and/or category IDs that are excluded from the lint check. - ExceptIds []string `protobuf:"bytes,3,rep,name=except_ids,json=exceptIds,proto3" json:"except_ids,omitempty"` - // ignore_paths lists the paths of directories and/or files that should be ignored by the lint check. - // All paths are relative to the root of the module. - IgnorePaths []string `protobuf:"bytes,4,rep,name=ignore_paths,json=ignorePaths,proto3" json:"ignore_paths,omitempty"` - // ignore_id_paths is a map of rule and/or category IDs to directory and/or file paths to exclude from the - // lint check. This corresponds with the ignore_only configuration key. - IgnoreIdPaths []*IDPaths `protobuf:"bytes,5,rep,name=ignore_id_paths,json=ignoreIdPaths,proto3" json:"ignore_id_paths,omitempty"` - // enum_zero_value_suffix controls the behavior of the ENUM_ZERO_VALUE lint rule ID. By default, this rule - // verifies that the zero value of all enums ends in _UNSPECIFIED. This config allows the user to override - // this value with the given string. - EnumZeroValueSuffix string `protobuf:"bytes,6,opt,name=enum_zero_value_suffix,json=enumZeroValueSuffix,proto3" json:"enum_zero_value_suffix,omitempty"` - // rpc_allow_same_request_response allows the same message type for both the request and response of an RPC. - RpcAllowSameRequestResponse bool `protobuf:"varint,7,opt,name=rpc_allow_same_request_response,json=rpcAllowSameRequestResponse,proto3" json:"rpc_allow_same_request_response,omitempty"` - // rpc_allow_google_protobuf_empty_requests allows the RPC requests to use the google.protobuf.Empty message. - RpcAllowGoogleProtobufEmptyRequests bool `protobuf:"varint,8,opt,name=rpc_allow_google_protobuf_empty_requests,json=rpcAllowGoogleProtobufEmptyRequests,proto3" json:"rpc_allow_google_protobuf_empty_requests,omitempty"` - // rpc_allow_google_protobuf_empty_responses allows the RPC responses to use the google.protobuf.Empty message. - RpcAllowGoogleProtobufEmptyResponses bool `protobuf:"varint,9,opt,name=rpc_allow_google_protobuf_empty_responses,json=rpcAllowGoogleProtobufEmptyResponses,proto3" json:"rpc_allow_google_protobuf_empty_responses,omitempty"` - // service_suffix applies to the SERVICE_SUFFIX rule ID. By default, the rule verifies that all service names - // end with the suffix Service. This allows users to override the value with the given string. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_UseIds []string `protobuf:"bytes,2,rep,name=use_ids,json=useIds,proto3" json:"use_ids,omitempty"` + xxx_hidden_ExceptIds []string `protobuf:"bytes,3,rep,name=except_ids,json=exceptIds,proto3" json:"except_ids,omitempty"` + xxx_hidden_IgnorePaths []string `protobuf:"bytes,4,rep,name=ignore_paths,json=ignorePaths,proto3" json:"ignore_paths,omitempty"` + xxx_hidden_IgnoreIdPaths *[]*IDPaths `protobuf:"bytes,5,rep,name=ignore_id_paths,json=ignoreIdPaths,proto3" json:"ignore_id_paths,omitempty"` + xxx_hidden_EnumZeroValueSuffix string `protobuf:"bytes,6,opt,name=enum_zero_value_suffix,json=enumZeroValueSuffix,proto3" json:"enum_zero_value_suffix,omitempty"` + xxx_hidden_RpcAllowSameRequestResponse bool `protobuf:"varint,7,opt,name=rpc_allow_same_request_response,json=rpcAllowSameRequestResponse,proto3" json:"rpc_allow_same_request_response,omitempty"` + xxx_hidden_RpcAllowGoogleProtobufEmptyRequests bool `protobuf:"varint,8,opt,name=rpc_allow_google_protobuf_empty_requests,json=rpcAllowGoogleProtobufEmptyRequests,proto3" json:"rpc_allow_google_protobuf_empty_requests,omitempty"` + xxx_hidden_RpcAllowGoogleProtobufEmptyResponses bool `protobuf:"varint,9,opt,name=rpc_allow_google_protobuf_empty_responses,json=rpcAllowGoogleProtobufEmptyResponses,proto3" json:"rpc_allow_google_protobuf_empty_responses,omitempty"` + xxx_hidden_ServiceSuffix string `protobuf:"bytes,10,opt,name=service_suffix,json=serviceSuffix,proto3" json:"service_suffix,omitempty"` + xxx_hidden_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() { @@ -102,123 +84,125 @@ func (x *Config) ProtoReflect() protoreflect.Message { func (x *Config) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *Config) GetUseIds() []string { if x != nil { - return x.UseIds + return x.xxx_hidden_UseIds } return nil } func (x *Config) GetExceptIds() []string { if x != nil { - return x.ExceptIds + return x.xxx_hidden_ExceptIds } return nil } func (x *Config) GetIgnorePaths() []string { if x != nil { - return x.IgnorePaths + return x.xxx_hidden_IgnorePaths } return nil } func (x *Config) GetIgnoreIdPaths() []*IDPaths { if x != nil { - return x.IgnoreIdPaths + if x.xxx_hidden_IgnoreIdPaths != nil { + return *x.xxx_hidden_IgnoreIdPaths + } } return nil } func (x *Config) GetEnumZeroValueSuffix() string { if x != nil { - return x.EnumZeroValueSuffix + return x.xxx_hidden_EnumZeroValueSuffix } return "" } func (x *Config) GetRpcAllowSameRequestResponse() bool { if x != nil { - return x.RpcAllowSameRequestResponse + return x.xxx_hidden_RpcAllowSameRequestResponse } return false } func (x *Config) GetRpcAllowGoogleProtobufEmptyRequests() bool { if x != nil { - return x.RpcAllowGoogleProtobufEmptyRequests + return x.xxx_hidden_RpcAllowGoogleProtobufEmptyRequests } return false } func (x *Config) GetRpcAllowGoogleProtobufEmptyResponses() bool { if x != nil { - return x.RpcAllowGoogleProtobufEmptyResponses + return x.xxx_hidden_RpcAllowGoogleProtobufEmptyResponses } return false } func (x *Config) GetServiceSuffix() string { if x != nil { - return x.ServiceSuffix + return x.xxx_hidden_ServiceSuffix } return "" } func (x *Config) GetAllowCommentIgnores() bool { if x != nil { - return x.AllowCommentIgnores + return x.xxx_hidden_AllowCommentIgnores } return false } func (x *Config) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *Config) SetUseIds(v []string) { - x.UseIds = v + x.xxx_hidden_UseIds = v } func (x *Config) SetExceptIds(v []string) { - x.ExceptIds = v + x.xxx_hidden_ExceptIds = v } func (x *Config) SetIgnorePaths(v []string) { - x.IgnorePaths = v + x.xxx_hidden_IgnorePaths = v } func (x *Config) SetIgnoreIdPaths(v []*IDPaths) { - x.IgnoreIdPaths = v + x.xxx_hidden_IgnoreIdPaths = &v } func (x *Config) SetEnumZeroValueSuffix(v string) { - x.EnumZeroValueSuffix = v + x.xxx_hidden_EnumZeroValueSuffix = v } func (x *Config) SetRpcAllowSameRequestResponse(v bool) { - x.RpcAllowSameRequestResponse = v + x.xxx_hidden_RpcAllowSameRequestResponse = v } func (x *Config) SetRpcAllowGoogleProtobufEmptyRequests(v bool) { - x.RpcAllowGoogleProtobufEmptyRequests = v + x.xxx_hidden_RpcAllowGoogleProtobufEmptyRequests = v } func (x *Config) SetRpcAllowGoogleProtobufEmptyResponses(v bool) { - x.RpcAllowGoogleProtobufEmptyResponses = v + x.xxx_hidden_RpcAllowGoogleProtobufEmptyResponses = v } func (x *Config) SetServiceSuffix(v string) { - x.ServiceSuffix = v + x.xxx_hidden_ServiceSuffix = v } func (x *Config) SetAllowCommentIgnores(v bool) { - x.AllowCommentIgnores = v + x.xxx_hidden_AllowCommentIgnores = v } type Config_builder struct { @@ -257,27 +241,27 @@ func (b0 Config_builder) Build() *Config { m0 := &Config{} b, x := &b0, m0 _, _ = b, x - x.Version = b.Version - x.UseIds = b.UseIds - x.ExceptIds = b.ExceptIds - x.IgnorePaths = b.IgnorePaths - x.IgnoreIdPaths = b.IgnoreIdPaths - x.EnumZeroValueSuffix = b.EnumZeroValueSuffix - x.RpcAllowSameRequestResponse = b.RpcAllowSameRequestResponse - x.RpcAllowGoogleProtobufEmptyRequests = b.RpcAllowGoogleProtobufEmptyRequests - x.RpcAllowGoogleProtobufEmptyResponses = b.RpcAllowGoogleProtobufEmptyResponses - x.ServiceSuffix = b.ServiceSuffix - x.AllowCommentIgnores = b.AllowCommentIgnores + x.xxx_hidden_Version = b.Version + x.xxx_hidden_UseIds = b.UseIds + x.xxx_hidden_ExceptIds = b.ExceptIds + x.xxx_hidden_IgnorePaths = b.IgnorePaths + x.xxx_hidden_IgnoreIdPaths = &b.IgnoreIdPaths + x.xxx_hidden_EnumZeroValueSuffix = b.EnumZeroValueSuffix + x.xxx_hidden_RpcAllowSameRequestResponse = b.RpcAllowSameRequestResponse + x.xxx_hidden_RpcAllowGoogleProtobufEmptyRequests = b.RpcAllowGoogleProtobufEmptyRequests + x.xxx_hidden_RpcAllowGoogleProtobufEmptyResponses = b.RpcAllowGoogleProtobufEmptyResponses + x.xxx_hidden_ServiceSuffix = b.ServiceSuffix + x.xxx_hidden_AllowCommentIgnores = b.AllowCommentIgnores return m0 } // 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 `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IDPaths) Reset() { @@ -307,24 +291,24 @@ func (x *IDPaths) ProtoReflect() protoreflect.Message { func (x *IDPaths) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *IDPaths) GetPaths() []string { if x != nil { - return x.Paths + return x.xxx_hidden_Paths } return nil } func (x *IDPaths) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *IDPaths) SetPaths(v []string) { - x.Paths = v + x.xxx_hidden_Paths = v } type IDPaths_builder struct { @@ -338,8 +322,8 @@ func (b0 IDPaths_builder) Build() *IDPaths { m0 := &IDPaths{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.Paths = b.Paths + x.xxx_hidden_Id = b.Id + x.xxx_hidden_Paths = b.Paths return m0 } diff --git a/private/gen/proto/go/buf/alpha/lint/v1/config_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/lint/v1/config_protoopaque.pb.go deleted file mode 100644 index 0a2b7c0484..0000000000 --- a/private/gen/proto/go/buf/alpha/lint/v1/config_protoopaque.pb.go +++ /dev/null @@ -1,431 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/lint/v1/config.proto - -//go:build protoopaque - -package lintv1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Config represents the lint configuration for a module. The rule and category IDs are defined -// by the version and apply across the config. The version is independent of the version of -// the package. The package version refers to the config shape, the version encoded in the Config message -// indicates which rule and category IDs should be used. -// -// 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 `protogen:"opaque.v1"` - xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_UseIds []string `protobuf:"bytes,2,rep,name=use_ids,json=useIds,proto3" json:"use_ids,omitempty"` - xxx_hidden_ExceptIds []string `protobuf:"bytes,3,rep,name=except_ids,json=exceptIds,proto3" json:"except_ids,omitempty"` - xxx_hidden_IgnorePaths []string `protobuf:"bytes,4,rep,name=ignore_paths,json=ignorePaths,proto3" json:"ignore_paths,omitempty"` - xxx_hidden_IgnoreIdPaths *[]*IDPaths `protobuf:"bytes,5,rep,name=ignore_id_paths,json=ignoreIdPaths,proto3" json:"ignore_id_paths,omitempty"` - xxx_hidden_EnumZeroValueSuffix string `protobuf:"bytes,6,opt,name=enum_zero_value_suffix,json=enumZeroValueSuffix,proto3" json:"enum_zero_value_suffix,omitempty"` - xxx_hidden_RpcAllowSameRequestResponse bool `protobuf:"varint,7,opt,name=rpc_allow_same_request_response,json=rpcAllowSameRequestResponse,proto3" json:"rpc_allow_same_request_response,omitempty"` - xxx_hidden_RpcAllowGoogleProtobufEmptyRequests bool `protobuf:"varint,8,opt,name=rpc_allow_google_protobuf_empty_requests,json=rpcAllowGoogleProtobufEmptyRequests,proto3" json:"rpc_allow_google_protobuf_empty_requests,omitempty"` - xxx_hidden_RpcAllowGoogleProtobufEmptyResponses bool `protobuf:"varint,9,opt,name=rpc_allow_google_protobuf_empty_responses,json=rpcAllowGoogleProtobufEmptyResponses,proto3" json:"rpc_allow_google_protobuf_empty_responses,omitempty"` - xxx_hidden_ServiceSuffix string `protobuf:"bytes,10,opt,name=service_suffix,json=serviceSuffix,proto3" json:"service_suffix,omitempty"` - xxx_hidden_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() { - *x = Config{} - mi := &file_buf_alpha_lint_v1_config_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Config) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Config) ProtoMessage() {} - -func (x *Config) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_lint_v1_config_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Config) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *Config) GetUseIds() []string { - if x != nil { - return x.xxx_hidden_UseIds - } - return nil -} - -func (x *Config) GetExceptIds() []string { - if x != nil { - return x.xxx_hidden_ExceptIds - } - return nil -} - -func (x *Config) GetIgnorePaths() []string { - if x != nil { - return x.xxx_hidden_IgnorePaths - } - return nil -} - -func (x *Config) GetIgnoreIdPaths() []*IDPaths { - if x != nil { - if x.xxx_hidden_IgnoreIdPaths != nil { - return *x.xxx_hidden_IgnoreIdPaths - } - } - return nil -} - -func (x *Config) GetEnumZeroValueSuffix() string { - if x != nil { - return x.xxx_hidden_EnumZeroValueSuffix - } - return "" -} - -func (x *Config) GetRpcAllowSameRequestResponse() bool { - if x != nil { - return x.xxx_hidden_RpcAllowSameRequestResponse - } - return false -} - -func (x *Config) GetRpcAllowGoogleProtobufEmptyRequests() bool { - if x != nil { - return x.xxx_hidden_RpcAllowGoogleProtobufEmptyRequests - } - return false -} - -func (x *Config) GetRpcAllowGoogleProtobufEmptyResponses() bool { - if x != nil { - return x.xxx_hidden_RpcAllowGoogleProtobufEmptyResponses - } - return false -} - -func (x *Config) GetServiceSuffix() string { - if x != nil { - return x.xxx_hidden_ServiceSuffix - } - return "" -} - -func (x *Config) GetAllowCommentIgnores() bool { - if x != nil { - return x.xxx_hidden_AllowCommentIgnores - } - return false -} - -func (x *Config) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *Config) SetUseIds(v []string) { - x.xxx_hidden_UseIds = v -} - -func (x *Config) SetExceptIds(v []string) { - x.xxx_hidden_ExceptIds = v -} - -func (x *Config) SetIgnorePaths(v []string) { - x.xxx_hidden_IgnorePaths = v -} - -func (x *Config) SetIgnoreIdPaths(v []*IDPaths) { - x.xxx_hidden_IgnoreIdPaths = &v -} - -func (x *Config) SetEnumZeroValueSuffix(v string) { - x.xxx_hidden_EnumZeroValueSuffix = v -} - -func (x *Config) SetRpcAllowSameRequestResponse(v bool) { - x.xxx_hidden_RpcAllowSameRequestResponse = v -} - -func (x *Config) SetRpcAllowGoogleProtobufEmptyRequests(v bool) { - x.xxx_hidden_RpcAllowGoogleProtobufEmptyRequests = v -} - -func (x *Config) SetRpcAllowGoogleProtobufEmptyResponses(v bool) { - x.xxx_hidden_RpcAllowGoogleProtobufEmptyResponses = v -} - -func (x *Config) SetServiceSuffix(v string) { - x.xxx_hidden_ServiceSuffix = v -} - -func (x *Config) SetAllowCommentIgnores(v bool) { - x.xxx_hidden_AllowCommentIgnores = v -} - -type Config_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // version represents the version of the lint rule and category IDs that should be used with this config. - Version string - // use_ids lists the rule and/or category IDs that are included in the lint check. - UseIds []string - // except_ids lists the rule and/or category IDs that are excluded from the lint check. - ExceptIds []string - // ignore_paths lists the paths of directories and/or files that should be ignored by the lint check. - // All paths are relative to the root of the module. - IgnorePaths []string - // ignore_id_paths is a map of rule and/or category IDs to directory and/or file paths to exclude from the - // lint check. This corresponds with the ignore_only configuration key. - IgnoreIdPaths []*IDPaths - // enum_zero_value_suffix controls the behavior of the ENUM_ZERO_VALUE lint rule ID. By default, this rule - // verifies that the zero value of all enums ends in _UNSPECIFIED. This config allows the user to override - // this value with the given string. - EnumZeroValueSuffix string - // rpc_allow_same_request_response allows the same message type for both the request and response of an RPC. - RpcAllowSameRequestResponse bool - // rpc_allow_google_protobuf_empty_requests allows the RPC requests to use the google.protobuf.Empty message. - RpcAllowGoogleProtobufEmptyRequests bool - // rpc_allow_google_protobuf_empty_responses allows the RPC responses to use the google.protobuf.Empty message. - RpcAllowGoogleProtobufEmptyResponses bool - // service_suffix applies to the SERVICE_SUFFIX rule ID. By default, the rule verifies that all service names - // end with the suffix Service. This allows users to override the value with the given string. - ServiceSuffix string - // allow_comment_ignores turns on comment-driven ignores. - AllowCommentIgnores bool -} - -func (b0 Config_builder) Build() *Config { - m0 := &Config{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Version = b.Version - x.xxx_hidden_UseIds = b.UseIds - x.xxx_hidden_ExceptIds = b.ExceptIds - x.xxx_hidden_IgnorePaths = b.IgnorePaths - x.xxx_hidden_IgnoreIdPaths = &b.IgnoreIdPaths - x.xxx_hidden_EnumZeroValueSuffix = b.EnumZeroValueSuffix - x.xxx_hidden_RpcAllowSameRequestResponse = b.RpcAllowSameRequestResponse - x.xxx_hidden_RpcAllowGoogleProtobufEmptyRequests = b.RpcAllowGoogleProtobufEmptyRequests - x.xxx_hidden_RpcAllowGoogleProtobufEmptyResponses = b.RpcAllowGoogleProtobufEmptyResponses - x.xxx_hidden_ServiceSuffix = b.ServiceSuffix - x.xxx_hidden_AllowCommentIgnores = b.AllowCommentIgnores - return m0 -} - -// 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 `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *IDPaths) Reset() { - *x = IDPaths{} - mi := &file_buf_alpha_lint_v1_config_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *IDPaths) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IDPaths) ProtoMessage() {} - -func (x *IDPaths) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_lint_v1_config_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *IDPaths) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *IDPaths) GetPaths() []string { - if x != nil { - return x.xxx_hidden_Paths - } - return nil -} - -func (x *IDPaths) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *IDPaths) SetPaths(v []string) { - x.xxx_hidden_Paths = v -} - -type IDPaths_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string - Paths []string -} - -func (b0 IDPaths_builder) Build() *IDPaths { - m0 := &IDPaths{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_Paths = b.Paths - return m0 -} - -var File_buf_alpha_lint_v1_config_proto protoreflect.FileDescriptor - -var file_buf_alpha_lint_v1_config_proto_rawDesc = []byte{ - 0x0a, 0x1e, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6c, 0x69, 0x6e, 0x74, - 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x11, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6c, 0x69, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 0x22, 0xc7, 0x04, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x5f, - 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x49, 0x64, - 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x49, 0x64, 0x73, - 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, - 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x50, 0x61, - 0x74, 0x68, 0x73, 0x12, 0x42, 0x0a, 0x0f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x69, 0x64, - 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x49, 0x44, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, - 0x49, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x33, 0x0a, 0x16, 0x65, 0x6e, 0x75, 0x6d, 0x5f, - 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, - 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x65, 0x6e, 0x75, 0x6d, 0x5a, 0x65, 0x72, - 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x44, 0x0a, 0x1f, - 0x72, 0x70, 0x63, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x61, 0x6d, 0x65, 0x5f, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x72, 0x70, 0x63, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x53, - 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x55, 0x0a, 0x28, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x5f, - 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x23, 0x72, 0x70, 0x63, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x47, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x57, 0x0a, 0x29, 0x72, 0x70, 0x63, - 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x24, 0x72, 0x70, - 0x63, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x75, - 0x66, 0x66, 0x69, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x6c, 0x6c, - 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x67, 0x6e, 0x6f, 0x72, - 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, - 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x73, 0x22, 0x2f, 0x0a, - 0x07, 0x49, 0x44, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x42, 0xd2, - 0x01, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, - 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, - 0x6c, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x6c, 0x69, 0x6e, 0x74, 0x76, 0x31, 0xa2, 0x02, - 0x03, 0x42, 0x41, 0x4c, 0xaa, 0x02, 0x11, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x4c, 0x69, 0x6e, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x11, 0x42, 0x75, 0x66, 0x5c, 0x41, - 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x4c, 0x69, 0x6e, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1d, 0x42, - 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x4c, 0x69, 0x6e, 0x74, 0x5c, 0x56, 0x31, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x42, - 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x4c, 0x69, 0x6e, 0x74, 0x3a, - 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_lint_v1_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_buf_alpha_lint_v1_config_proto_goTypes = []any{ - (*Config)(nil), // 0: buf.alpha.lint.v1.Config - (*IDPaths)(nil), // 1: buf.alpha.lint.v1.IDPaths -} -var file_buf_alpha_lint_v1_config_proto_depIdxs = []int32{ - 1, // 0: buf.alpha.lint.v1.Config.ignore_id_paths:type_name -> buf.alpha.lint.v1.IDPaths - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_buf_alpha_lint_v1_config_proto_init() } -func file_buf_alpha_lint_v1_config_proto_init() { - if File_buf_alpha_lint_v1_config_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_lint_v1_config_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_buf_alpha_lint_v1_config_proto_goTypes, - DependencyIndexes: file_buf_alpha_lint_v1_config_proto_depIdxs, - MessageInfos: file_buf_alpha_lint_v1_config_proto_msgTypes, - }.Build() - File_buf_alpha_lint_v1_config_proto = out.File - file_buf_alpha_lint_v1_config_proto_rawDesc = nil - file_buf_alpha_lint_v1_config_proto_goTypes = nil - file_buf_alpha_lint_v1_config_proto_depIdxs = nil -} 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 d119890871..2d7e7f2e4d 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/module/v1alpha1/module.proto -//go:build !protoopaque - package modulev1alpha1 import ( @@ -80,13 +78,11 @@ func (x DigestType) Number() protoreflect.EnumNumber { // Digest represents a hash function's value. type Digest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_DigestType DigestType `protobuf:"varint,1,opt,name=digest_type,json=digestType,proto3,enum=buf.alpha.module.v1alpha1.DigestType" json:"digest_type,omitempty"` + xxx_hidden_Digest []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Digest) Reset() { @@ -116,27 +112,27 @@ func (x *Digest) ProtoReflect() protoreflect.Message { func (x *Digest) GetDigestType() DigestType { if x != nil { - return x.DigestType + return x.xxx_hidden_DigestType } return DigestType_DIGEST_TYPE_UNSPECIFIED } func (x *Digest) GetDigest() []byte { if x != nil { - return x.Digest + return x.xxx_hidden_Digest } return nil } func (x *Digest) SetDigestType(v DigestType) { - x.DigestType = v + x.xxx_hidden_DigestType = v } func (x *Digest) SetDigest(v []byte) { if v == nil { v = []byte{} } - x.Digest = v + x.xxx_hidden_Digest = v } type Digest_builder struct { @@ -152,20 +148,18 @@ func (b0 Digest_builder) Build() *Digest { m0 := &Digest{} b, x := &b0, m0 _, _ = b, x - x.DigestType = b.DigestType - x.Digest = b.Digest + x.xxx_hidden_DigestType = b.DigestType + x.xxx_hidden_Digest = b.Digest return m0 } // Blob represents some module content with an associated digest. type Blob struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Digest *Digest `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` + xxx_hidden_Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Blob) Reset() { @@ -195,38 +189,38 @@ func (x *Blob) ProtoReflect() protoreflect.Message { func (x *Blob) GetDigest() *Digest { if x != nil { - return x.Digest + return x.xxx_hidden_Digest } return nil } func (x *Blob) GetContent() []byte { if x != nil { - return x.Content + return x.xxx_hidden_Content } return nil } func (x *Blob) SetDigest(v *Digest) { - x.Digest = v + x.xxx_hidden_Digest = v } func (x *Blob) SetContent(v []byte) { if v == nil { v = []byte{} } - x.Content = v + x.xxx_hidden_Content = v } func (x *Blob) HasDigest() bool { if x == nil { return false } - return x.Digest != nil + return x.xxx_hidden_Digest != nil } func (x *Blob) ClearDigest() { - x.Digest = nil + x.xxx_hidden_Digest = nil } type Blob_builder struct { @@ -242,43 +236,23 @@ func (b0 Blob_builder) Build() *Blob { m0 := &Blob{} b, x := &b0, m0 _, _ = b, x - x.Digest = b.Digest - x.Content = b.Content + x.xxx_hidden_Digest = b.Digest + x.xxx_hidden_Content = b.Content return m0 } // Module is a module. type Module struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // files are the files that make up the set. - // - // Sorted by path. - // Path must be unique. - // Only the target files. No imports. - // - // Maximum total size of all content: 32MB. - Files []*ModuleFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` - // dependencies are the dependencies. - Dependencies []*ModulePin `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` - // documentation is the string representation of the contents of the file at documentation_path. - // - // string is used to enforce UTF-8 encoding or 7-bit ASCII text. - Documentation string `protobuf:"bytes,3,opt,name=documentation,proto3" json:"documentation,omitempty"` - // breaking_config is the breaking change detection configuration set for the module. - BreakingConfig *v1.Config `protobuf:"bytes,4,opt,name=breaking_config,json=breakingConfig,proto3" json:"breaking_config,omitempty"` - // lint_config is the lint configuration set for the module. - LintConfig *v11.Config `protobuf:"bytes,5,opt,name=lint_config,json=lintConfig,proto3" json:"lint_config,omitempty"` - // license is the string representation of the contents of the `LICENSE` file. - // - // string is used to enforce UTF-8 encoding or 7-bit ASCII text. - License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"` - // documentation_path is the path of the file which contains the module documentation. - // - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Files *[]*ModuleFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` + xxx_hidden_Dependencies *[]*ModulePin `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` + xxx_hidden_Documentation string `protobuf:"bytes,3,opt,name=documentation,proto3" json:"documentation,omitempty"` + xxx_hidden_BreakingConfig *v1.Config `protobuf:"bytes,4,opt,name=breaking_config,json=breakingConfig,proto3" json:"breaking_config,omitempty"` + xxx_hidden_LintConfig *v11.Config `protobuf:"bytes,5,opt,name=lint_config,json=lintConfig,proto3" json:"lint_config,omitempty"` + xxx_hidden_License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"` + xxx_hidden_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() { @@ -308,101 +282,105 @@ func (x *Module) ProtoReflect() protoreflect.Message { func (x *Module) GetFiles() []*ModuleFile { if x != nil { - return x.Files + if x.xxx_hidden_Files != nil { + return *x.xxx_hidden_Files + } } return nil } func (x *Module) GetDependencies() []*ModulePin { if x != nil { - return x.Dependencies + if x.xxx_hidden_Dependencies != nil { + return *x.xxx_hidden_Dependencies + } } return nil } func (x *Module) GetDocumentation() string { if x != nil { - return x.Documentation + return x.xxx_hidden_Documentation } return "" } func (x *Module) GetBreakingConfig() *v1.Config { if x != nil { - return x.BreakingConfig + return x.xxx_hidden_BreakingConfig } return nil } func (x *Module) GetLintConfig() *v11.Config { if x != nil { - return x.LintConfig + return x.xxx_hidden_LintConfig } return nil } func (x *Module) GetLicense() string { if x != nil { - return x.License + return x.xxx_hidden_License } return "" } func (x *Module) GetDocumentationPath() string { if x != nil { - return x.DocumentationPath + return x.xxx_hidden_DocumentationPath } return "" } func (x *Module) SetFiles(v []*ModuleFile) { - x.Files = v + x.xxx_hidden_Files = &v } func (x *Module) SetDependencies(v []*ModulePin) { - x.Dependencies = v + x.xxx_hidden_Dependencies = &v } func (x *Module) SetDocumentation(v string) { - x.Documentation = v + x.xxx_hidden_Documentation = v } func (x *Module) SetBreakingConfig(v *v1.Config) { - x.BreakingConfig = v + x.xxx_hidden_BreakingConfig = v } func (x *Module) SetLintConfig(v *v11.Config) { - x.LintConfig = v + x.xxx_hidden_LintConfig = v } func (x *Module) SetLicense(v string) { - x.License = v + x.xxx_hidden_License = v } func (x *Module) SetDocumentationPath(v string) { - x.DocumentationPath = v + x.xxx_hidden_DocumentationPath = v } func (x *Module) HasBreakingConfig() bool { if x == nil { return false } - return x.BreakingConfig != nil + return x.xxx_hidden_BreakingConfig != nil } func (x *Module) HasLintConfig() bool { if x == nil { return false } - return x.LintConfig != nil + return x.xxx_hidden_LintConfig != nil } func (x *Module) ClearBreakingConfig() { - x.BreakingConfig = nil + x.xxx_hidden_BreakingConfig = nil } func (x *Module) ClearLintConfig() { - x.LintConfig = nil + x.xxx_hidden_LintConfig = nil } type Module_builder struct { @@ -441,26 +419,23 @@ func (b0 Module_builder) Build() *Module { m0 := &Module{} b, x := &b0, m0 _, _ = b, x - x.Files = b.Files - x.Dependencies = b.Dependencies - x.Documentation = b.Documentation - x.BreakingConfig = b.BreakingConfig - x.LintConfig = b.LintConfig - x.License = b.License - x.DocumentationPath = b.DocumentationPath + x.xxx_hidden_Files = &b.Files + x.xxx_hidden_Dependencies = &b.Dependencies + x.xxx_hidden_Documentation = b.Documentation + x.xxx_hidden_BreakingConfig = b.BreakingConfig + x.xxx_hidden_LintConfig = b.LintConfig + x.xxx_hidden_License = b.License + x.xxx_hidden_DocumentationPath = b.DocumentationPath return m0 } // ModuleFile is a file within a FileSet. type ModuleFile struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + xxx_hidden_Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ModuleFile) Reset() { @@ -490,27 +465,27 @@ func (x *ModuleFile) ProtoReflect() protoreflect.Message { func (x *ModuleFile) GetPath() string { if x != nil { - return x.Path + return x.xxx_hidden_Path } return "" } func (x *ModuleFile) GetContent() []byte { if x != nil { - return x.Content + return x.xxx_hidden_Content } return nil } func (x *ModuleFile) SetPath(v string) { - x.Path = v + x.xxx_hidden_Path = v } func (x *ModuleFile) SetContent(v []byte) { if v == nil { v = []byte{} } - x.Content = v + x.xxx_hidden_Content = v } type ModuleFile_builder struct { @@ -527,21 +502,20 @@ func (b0 ModuleFile_builder) Build() *ModuleFile { m0 := &ModuleFile{} b, x := &b0, m0 _, _ = b, x - x.Path = b.Path - x.Content = b.Content + x.xxx_hidden_Path = b.Path + x.xxx_hidden_Content = b.Content return m0 } // ModuleReference is a module reference. type ModuleReference struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` + xxx_hidden_Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ModuleReference) Reset() { @@ -571,46 +545,46 @@ func (x *ModuleReference) ProtoReflect() protoreflect.Message { func (x *ModuleReference) GetRemote() string { if x != nil { - return x.Remote + return x.xxx_hidden_Remote } return "" } func (x *ModuleReference) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *ModuleReference) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *ModuleReference) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *ModuleReference) SetRemote(v string) { - x.Remote = v + x.xxx_hidden_Remote = v } func (x *ModuleReference) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *ModuleReference) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *ModuleReference) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } type ModuleReference_builder struct { @@ -627,27 +601,23 @@ func (b0 ModuleReference_builder) Build() *ModuleReference { m0 := &ModuleReference{} b, x := &b0, m0 _, _ = b, x - x.Remote = b.Remote - x.Owner = b.Owner - x.Repository = b.Repository - x.Reference = b.Reference + x.xxx_hidden_Remote = b.Remote + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Reference = b.Reference return m0 } // ModulePin is a module pin. type ModulePin struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` + xxx_hidden_Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Commit string `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"` + xxx_hidden_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() { @@ -677,57 +647,57 @@ func (x *ModulePin) ProtoReflect() protoreflect.Message { func (x *ModulePin) GetRemote() string { if x != nil { - return x.Remote + return x.xxx_hidden_Remote } return "" } func (x *ModulePin) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *ModulePin) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *ModulePin) GetCommit() string { if x != nil { - return x.Commit + return x.xxx_hidden_Commit } return "" } func (x *ModulePin) GetManifestDigest() string { if x != nil { - return x.ManifestDigest + return x.xxx_hidden_ManifestDigest } return "" } func (x *ModulePin) SetRemote(v string) { - x.Remote = v + x.xxx_hidden_Remote = v } func (x *ModulePin) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *ModulePin) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *ModulePin) SetCommit(v string) { - x.Commit = v + x.xxx_hidden_Commit = v } func (x *ModulePin) SetManifestDigest(v string) { - x.ManifestDigest = v + x.xxx_hidden_ManifestDigest = v } type ModulePin_builder struct { @@ -748,11 +718,11 @@ func (b0 ModulePin_builder) Build() *ModulePin { m0 := &ModulePin{} b, x := &b0, m0 _, _ = b, x - x.Remote = b.Remote - x.Owner = b.Owner - x.Repository = b.Repository - x.Commit = b.Commit - x.ManifestDigest = b.ManifestDigest + x.xxx_hidden_Remote = b.Remote + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Commit = b.Commit + x.xxx_hidden_ManifestDigest = b.ManifestDigest return m0 } diff --git a/private/gen/proto/go/buf/alpha/module/v1alpha1/module_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/module/v1alpha1/module_protoopaque.pb.go deleted file mode 100644 index ebed1df1c4..0000000000 --- a/private/gen/proto/go/buf/alpha/module/v1alpha1/module_protoopaque.pb.go +++ /dev/null @@ -1,879 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/module/v1alpha1/module.proto - -//go:build protoopaque - -package modulev1alpha1 - -import ( - v1 "github.com/bufbuild/buf/private/gen/proto/go/buf/alpha/breaking/v1" - v11 "github.com/bufbuild/buf/private/gen/proto/go/buf/alpha/lint/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type DigestType int32 - -const ( - DigestType_DIGEST_TYPE_UNSPECIFIED DigestType = 0 - DigestType_DIGEST_TYPE_SHAKE256 DigestType = 1 -) - -// Enum value maps for DigestType. -var ( - DigestType_name = map[int32]string{ - 0: "DIGEST_TYPE_UNSPECIFIED", - 1: "DIGEST_TYPE_SHAKE256", - } - DigestType_value = map[string]int32{ - "DIGEST_TYPE_UNSPECIFIED": 0, - "DIGEST_TYPE_SHAKE256": 1, - } -) - -func (x DigestType) Enum() *DigestType { - p := new(DigestType) - *p = x - return p -} - -func (x DigestType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DigestType) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_module_v1alpha1_module_proto_enumTypes[0].Descriptor() -} - -func (DigestType) Type() protoreflect.EnumType { - return &file_buf_alpha_module_v1alpha1_module_proto_enumTypes[0] -} - -func (x DigestType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Digest represents a hash function's value. -type Digest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_DigestType DigestType `protobuf:"varint,1,opt,name=digest_type,json=digestType,proto3,enum=buf.alpha.module.v1alpha1.DigestType" json:"digest_type,omitempty"` - xxx_hidden_Digest []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Digest) Reset() { - *x = Digest{} - mi := &file_buf_alpha_module_v1alpha1_module_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Digest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Digest) ProtoMessage() {} - -func (x *Digest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_module_v1alpha1_module_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Digest) GetDigestType() DigestType { - if x != nil { - return x.xxx_hidden_DigestType - } - return DigestType_DIGEST_TYPE_UNSPECIFIED -} - -func (x *Digest) GetDigest() []byte { - if x != nil { - return x.xxx_hidden_Digest - } - return nil -} - -func (x *Digest) SetDigestType(v DigestType) { - x.xxx_hidden_DigestType = v -} - -func (x *Digest) SetDigest(v []byte) { - if v == nil { - v = []byte{} - } - x.xxx_hidden_Digest = v -} - -type Digest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // digest_type describes the hash algorithm. e.g. "SHAKE256" - DigestType DigestType - // digest is the hash's output without encoding. - Digest []byte -} - -func (b0 Digest_builder) Build() *Digest { - m0 := &Digest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_DigestType = b.DigestType - x.xxx_hidden_Digest = b.Digest - return m0 -} - -// Blob represents some module content with an associated digest. -type Blob struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Digest *Digest `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` - xxx_hidden_Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Blob) Reset() { - *x = Blob{} - mi := &file_buf_alpha_module_v1alpha1_module_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Blob) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Blob) ProtoMessage() {} - -func (x *Blob) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_module_v1alpha1_module_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Blob) GetDigest() *Digest { - if x != nil { - return x.xxx_hidden_Digest - } - return nil -} - -func (x *Blob) GetContent() []byte { - if x != nil { - return x.xxx_hidden_Content - } - return nil -} - -func (x *Blob) SetDigest(v *Digest) { - x.xxx_hidden_Digest = v -} - -func (x *Blob) SetContent(v []byte) { - if v == nil { - v = []byte{} - } - x.xxx_hidden_Content = v -} - -func (x *Blob) HasDigest() bool { - if x == nil { - return false - } - return x.xxx_hidden_Digest != nil -} - -func (x *Blob) ClearDigest() { - x.xxx_hidden_Digest = nil -} - -type Blob_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Digest of the content. - Digest *Digest - // Content of the blob. - Content []byte -} - -func (b0 Blob_builder) Build() *Blob { - m0 := &Blob{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Digest = b.Digest - x.xxx_hidden_Content = b.Content - return m0 -} - -// Module is a module. -type Module struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Files *[]*ModuleFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` - xxx_hidden_Dependencies *[]*ModulePin `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` - xxx_hidden_Documentation string `protobuf:"bytes,3,opt,name=documentation,proto3" json:"documentation,omitempty"` - xxx_hidden_BreakingConfig *v1.Config `protobuf:"bytes,4,opt,name=breaking_config,json=breakingConfig,proto3" json:"breaking_config,omitempty"` - xxx_hidden_LintConfig *v11.Config `protobuf:"bytes,5,opt,name=lint_config,json=lintConfig,proto3" json:"lint_config,omitempty"` - xxx_hidden_License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"` - xxx_hidden_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() { - *x = Module{} - mi := &file_buf_alpha_module_v1alpha1_module_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Module) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Module) ProtoMessage() {} - -func (x *Module) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_module_v1alpha1_module_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Module) GetFiles() []*ModuleFile { - if x != nil { - if x.xxx_hidden_Files != nil { - return *x.xxx_hidden_Files - } - } - return nil -} - -func (x *Module) GetDependencies() []*ModulePin { - if x != nil { - if x.xxx_hidden_Dependencies != nil { - return *x.xxx_hidden_Dependencies - } - } - return nil -} - -func (x *Module) GetDocumentation() string { - if x != nil { - return x.xxx_hidden_Documentation - } - return "" -} - -func (x *Module) GetBreakingConfig() *v1.Config { - if x != nil { - return x.xxx_hidden_BreakingConfig - } - return nil -} - -func (x *Module) GetLintConfig() *v11.Config { - if x != nil { - return x.xxx_hidden_LintConfig - } - return nil -} - -func (x *Module) GetLicense() string { - if x != nil { - return x.xxx_hidden_License - } - return "" -} - -func (x *Module) GetDocumentationPath() string { - if x != nil { - return x.xxx_hidden_DocumentationPath - } - return "" -} - -func (x *Module) SetFiles(v []*ModuleFile) { - x.xxx_hidden_Files = &v -} - -func (x *Module) SetDependencies(v []*ModulePin) { - x.xxx_hidden_Dependencies = &v -} - -func (x *Module) SetDocumentation(v string) { - x.xxx_hidden_Documentation = v -} - -func (x *Module) SetBreakingConfig(v *v1.Config) { - x.xxx_hidden_BreakingConfig = v -} - -func (x *Module) SetLintConfig(v *v11.Config) { - x.xxx_hidden_LintConfig = v -} - -func (x *Module) SetLicense(v string) { - x.xxx_hidden_License = v -} - -func (x *Module) SetDocumentationPath(v string) { - x.xxx_hidden_DocumentationPath = v -} - -func (x *Module) HasBreakingConfig() bool { - if x == nil { - return false - } - return x.xxx_hidden_BreakingConfig != nil -} - -func (x *Module) HasLintConfig() bool { - if x == nil { - return false - } - return x.xxx_hidden_LintConfig != nil -} - -func (x *Module) ClearBreakingConfig() { - x.xxx_hidden_BreakingConfig = nil -} - -func (x *Module) ClearLintConfig() { - x.xxx_hidden_LintConfig = nil -} - -type Module_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // files are the files that make up the set. - // - // Sorted by path. - // Path must be unique. - // Only the target files. No imports. - // - // Maximum total size of all content: 32MB. - Files []*ModuleFile - // dependencies are the dependencies. - Dependencies []*ModulePin - // documentation is the string representation of the contents of the file at documentation_path. - // - // string is used to enforce UTF-8 encoding or 7-bit ASCII text. - Documentation string - // breaking_config is the breaking change detection configuration set for the module. - BreakingConfig *v1.Config - // lint_config is the lint configuration set for the module. - LintConfig *v11.Config - // license is the string representation of the contents of the `LICENSE` file. - // - // string is used to enforce UTF-8 encoding or 7-bit ASCII text. - License string - // documentation_path is the path of the file which contains the module documentation. - // - // either `buf.md`, `README.md` or `README.markdown`. - // if empty, assumes buf.md. - DocumentationPath string -} - -func (b0 Module_builder) Build() *Module { - m0 := &Module{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Files = &b.Files - x.xxx_hidden_Dependencies = &b.Dependencies - x.xxx_hidden_Documentation = b.Documentation - x.xxx_hidden_BreakingConfig = b.BreakingConfig - x.xxx_hidden_LintConfig = b.LintConfig - x.xxx_hidden_License = b.License - x.xxx_hidden_DocumentationPath = b.DocumentationPath - return m0 -} - -// ModuleFile is a file within a FileSet. -type ModuleFile struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - xxx_hidden_Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ModuleFile) Reset() { - *x = ModuleFile{} - mi := &file_buf_alpha_module_v1alpha1_module_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ModuleFile) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ModuleFile) ProtoMessage() {} - -func (x *ModuleFile) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_module_v1alpha1_module_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ModuleFile) GetPath() string { - if x != nil { - return x.xxx_hidden_Path - } - return "" -} - -func (x *ModuleFile) GetContent() []byte { - if x != nil { - return x.xxx_hidden_Content - } - return nil -} - -func (x *ModuleFile) SetPath(v string) { - x.xxx_hidden_Path = v -} - -func (x *ModuleFile) SetContent(v []byte) { - if v == nil { - v = []byte{} - } - x.xxx_hidden_Content = v -} - -type ModuleFile_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // path is the relative path of the file. - // Path can only use '/' as the separator character, and includes no ".." components. - Path string - // content is the content of the file. - Content []byte -} - -func (b0 ModuleFile_builder) Build() *ModuleFile { - m0 := &ModuleFile{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Path = b.Path - x.xxx_hidden_Content = b.Content - return m0 -} - -// ModuleReference is a module reference. -type ModuleReference struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` - xxx_hidden_Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ModuleReference) Reset() { - *x = ModuleReference{} - mi := &file_buf_alpha_module_v1alpha1_module_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ModuleReference) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ModuleReference) ProtoMessage() {} - -func (x *ModuleReference) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_module_v1alpha1_module_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ModuleReference) GetRemote() string { - if x != nil { - return x.xxx_hidden_Remote - } - return "" -} - -func (x *ModuleReference) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *ModuleReference) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *ModuleReference) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *ModuleReference) SetRemote(v string) { - x.xxx_hidden_Remote = v -} - -func (x *ModuleReference) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *ModuleReference) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *ModuleReference) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -type ModuleReference_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Remote string - Owner string - Repository string - // either tag, or commit - Reference string -} - -func (b0 ModuleReference_builder) Build() *ModuleReference { - m0 := &ModuleReference{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Remote = b.Remote - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Reference = b.Reference - return m0 -} - -// ModulePin is a module pin. -type ModulePin struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` - xxx_hidden_Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Commit string `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"` - xxx_hidden_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() { - *x = ModulePin{} - mi := &file_buf_alpha_module_v1alpha1_module_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ModulePin) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ModulePin) ProtoMessage() {} - -func (x *ModulePin) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_module_v1alpha1_module_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ModulePin) GetRemote() string { - if x != nil { - return x.xxx_hidden_Remote - } - return "" -} - -func (x *ModulePin) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *ModulePin) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *ModulePin) GetCommit() string { - if x != nil { - return x.xxx_hidden_Commit - } - return "" -} - -func (x *ModulePin) GetManifestDigest() string { - if x != nil { - return x.xxx_hidden_ManifestDigest - } - return "" -} - -func (x *ModulePin) SetRemote(v string) { - x.xxx_hidden_Remote = v -} - -func (x *ModulePin) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *ModulePin) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *ModulePin) SetCommit(v string) { - x.xxx_hidden_Commit = v -} - -func (x *ModulePin) SetManifestDigest(v string) { - x.xxx_hidden_ManifestDigest = v -} - -type ModulePin_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Remote string - Owner string - Repository string - Commit string - // 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 -} - -func (b0 ModulePin_builder) Build() *ModulePin { - m0 := &ModulePin{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Remote = b.Remote - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Commit = b.Commit - x.xxx_hidden_ManifestDigest = b.ManifestDigest - return m0 -} - -var File_buf_alpha_module_v1alpha1_module_proto protoreflect.FileDescriptor - -var file_buf_alpha_module_v1alpha1_module_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x1a, 0x22, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x62, - 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2f, 0x6c, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x06, 0x44, 0x69, 0x67, 0x65, 0x73, - 0x74, 0x12, 0x46, 0x0a, 0x0b, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x64, - 0x69, 0x67, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x67, - 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, - 0x74, 0x22, 0x5b, 0x0a, 0x04, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x39, 0x0a, 0x06, 0x64, 0x69, 0x67, - 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x52, 0x06, 0x64, 0x69, - 0x67, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x82, - 0x03, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x66, 0x69, 0x6c, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, - 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x48, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, - 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, - 0x69, 0x6e, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, - 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x0f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x69, - 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x62, 0x72, 0x65, 0x61, - 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, - 0x62, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, - 0x0a, 0x0b, 0x6c, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, - 0x6c, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x69, - 0x63, 0x65, 0x6e, 0x73, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x69, 0x63, - 0x65, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x11, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, - 0x61, 0x74, 0x68, 0x22, 0x3a, 0x0a, 0x0a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, - 0x7d, 0x0a, 0x0f, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xc9, - 0x01, 0x0a, 0x09, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, - 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x64, - 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x61, 0x6e, - 0x69, 0x66, 0x65, 0x73, 0x74, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x4a, 0x04, 0x08, 0x04, 0x10, - 0x05, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x52, 0x06, 0x62, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x2a, 0x43, 0x0a, 0x0a, 0x44, 0x69, - 0x67, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x49, 0x47, 0x45, - 0x53, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, - 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x48, 0x41, 0x4b, 0x45, 0x32, 0x35, 0x36, 0x10, 0x01, 0x42, - 0x8a, 0x02, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x42, 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x55, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, - 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, - 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, - 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x4d, 0xaa, 0x02, 0x19, - 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x19, 0x42, 0x75, 0x66, 0x5c, - 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x25, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, - 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_module_v1alpha1_module_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_buf_alpha_module_v1alpha1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_buf_alpha_module_v1alpha1_module_proto_goTypes = []any{ - (DigestType)(0), // 0: buf.alpha.module.v1alpha1.DigestType - (*Digest)(nil), // 1: buf.alpha.module.v1alpha1.Digest - (*Blob)(nil), // 2: buf.alpha.module.v1alpha1.Blob - (*Module)(nil), // 3: buf.alpha.module.v1alpha1.Module - (*ModuleFile)(nil), // 4: buf.alpha.module.v1alpha1.ModuleFile - (*ModuleReference)(nil), // 5: buf.alpha.module.v1alpha1.ModuleReference - (*ModulePin)(nil), // 6: buf.alpha.module.v1alpha1.ModulePin - (*v1.Config)(nil), // 7: buf.alpha.breaking.v1.Config - (*v11.Config)(nil), // 8: buf.alpha.lint.v1.Config -} -var file_buf_alpha_module_v1alpha1_module_proto_depIdxs = []int32{ - 0, // 0: buf.alpha.module.v1alpha1.Digest.digest_type:type_name -> buf.alpha.module.v1alpha1.DigestType - 1, // 1: buf.alpha.module.v1alpha1.Blob.digest:type_name -> buf.alpha.module.v1alpha1.Digest - 4, // 2: buf.alpha.module.v1alpha1.Module.files:type_name -> buf.alpha.module.v1alpha1.ModuleFile - 6, // 3: buf.alpha.module.v1alpha1.Module.dependencies:type_name -> buf.alpha.module.v1alpha1.ModulePin - 7, // 4: buf.alpha.module.v1alpha1.Module.breaking_config:type_name -> buf.alpha.breaking.v1.Config - 8, // 5: buf.alpha.module.v1alpha1.Module.lint_config:type_name -> buf.alpha.lint.v1.Config - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_buf_alpha_module_v1alpha1_module_proto_init() } -func file_buf_alpha_module_v1alpha1_module_proto_init() { - if File_buf_alpha_module_v1alpha1_module_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_module_v1alpha1_module_proto_rawDesc, - NumEnums: 1, - NumMessages: 6, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_buf_alpha_module_v1alpha1_module_proto_goTypes, - DependencyIndexes: file_buf_alpha_module_v1alpha1_module_proto_depIdxs, - EnumInfos: file_buf_alpha_module_v1alpha1_module_proto_enumTypes, - MessageInfos: file_buf_alpha_module_v1alpha1_module_proto_msgTypes, - }.Build() - File_buf_alpha_module_v1alpha1_module_proto = out.File - file_buf_alpha_module_v1alpha1_module_proto_rawDesc = nil - file_buf_alpha_module_v1alpha1_module_proto_goTypes = nil - file_buf_alpha_module_v1alpha1_module_proto_depIdxs = nil -} 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 c0f2c39a0b..993f3e0338 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/admin.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -130,12 +128,14 @@ func (x CollisionType) Number() protoreflect.EnumNumber { } type BreakingChangePolicy struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` + xxx_hidden_IgnoreUnstablePackages bool `protobuf:"varint,2,opt,name=ignore_unstable_packages,json=ignoreUnstablePackages,proto3,oneof" json:"ignore_unstable_packages,omitempty"` + xxx_hidden_Category BreakingChangeCategory `protobuf:"varint,3,opt,name=category,proto3,enum=buf.alpha.registry.v1alpha1.BreakingChangeCategory" json:"category,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BreakingChangePolicy) Reset() { @@ -164,58 +164,62 @@ func (x *BreakingChangePolicy) ProtoReflect() protoreflect.Message { } func (x *BreakingChangePolicy) GetEnabled() bool { - if x != nil && x.Enabled != nil { - return *x.Enabled + if x != nil { + return x.xxx_hidden_Enabled } return false } func (x *BreakingChangePolicy) GetIgnoreUnstablePackages() bool { - if x != nil && x.IgnoreUnstablePackages != nil { - return *x.IgnoreUnstablePackages + if x != nil { + return x.xxx_hidden_IgnoreUnstablePackages } return false } func (x *BreakingChangePolicy) GetCategory() BreakingChangeCategory { if x != nil { - return x.Category + return x.xxx_hidden_Category } return BreakingChangeCategory_BREAKING_CHANGE_CATEGORY_UNSPECIFIED } func (x *BreakingChangePolicy) SetEnabled(v bool) { - x.Enabled = &v + x.xxx_hidden_Enabled = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 0, 3) } func (x *BreakingChangePolicy) SetIgnoreUnstablePackages(v bool) { - x.IgnoreUnstablePackages = &v + x.xxx_hidden_IgnoreUnstablePackages = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 3) } func (x *BreakingChangePolicy) SetCategory(v BreakingChangeCategory) { - x.Category = v + x.xxx_hidden_Category = v } func (x *BreakingChangePolicy) HasEnabled() bool { if x == nil { return false } - return x.Enabled != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 0) } func (x *BreakingChangePolicy) HasIgnoreUnstablePackages() bool { if x == nil { return false } - return x.IgnoreUnstablePackages != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 1) } func (x *BreakingChangePolicy) ClearEnabled() { - x.Enabled = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 0) + x.xxx_hidden_Enabled = false } func (x *BreakingChangePolicy) ClearIgnoreUnstablePackages() { - x.IgnoreUnstablePackages = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) + x.xxx_hidden_IgnoreUnstablePackages = false } type BreakingChangePolicy_builder struct { @@ -230,19 +234,24 @@ func (b0 BreakingChangePolicy_builder) Build() *BreakingChangePolicy { m0 := &BreakingChangePolicy{} b, x := &b0, m0 _, _ = b, x - x.Enabled = b.Enabled - x.IgnoreUnstablePackages = b.IgnoreUnstablePackages - x.Category = b.Category + if b.Enabled != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 0, 3) + x.xxx_hidden_Enabled = *b.Enabled + } + if b.IgnoreUnstablePackages != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 3) + x.xxx_hidden_IgnoreUnstablePackages = *b.IgnoreUnstablePackages + } + x.xxx_hidden_Category = b.Category return m0 } // UniquenessPolicy is the policy for uniqueness on the server. type UniquenessPolicy struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Whether uniqueness policy is enforced. - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UniquenessPolicy) Reset() { @@ -272,13 +281,13 @@ func (x *UniquenessPolicy) ProtoReflect() protoreflect.Message { func (x *UniquenessPolicy) GetEnabled() bool { if x != nil { - return x.Enabled + return x.xxx_hidden_Enabled } return false } func (x *UniquenessPolicy) SetEnabled(v bool) { - x.Enabled = v + x.xxx_hidden_Enabled = v } type UniquenessPolicy_builder struct { @@ -292,18 +301,16 @@ func (b0 UniquenessPolicy_builder) Build() *UniquenessPolicy { m0 := &UniquenessPolicy{} b, x := &b0, m0 _, _ = b, x - x.Enabled = b.Enabled + x.xxx_hidden_Enabled = b.Enabled return m0 } // ReviewFlowGracePeriodPolicy is the policy for the review flow grace period on the server. type ReviewFlowGracePeriodPolicy struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -333,13 +340,13 @@ func (x *ReviewFlowGracePeriodPolicy) ProtoReflect() protoreflect.Message { func (x *ReviewFlowGracePeriodPolicy) GetDurationSeconds() uint32 { if x != nil { - return x.DurationSeconds + return x.xxx_hidden_DurationSeconds } return 0 } func (x *ReviewFlowGracePeriodPolicy) SetDurationSeconds(v uint32) { - x.DurationSeconds = v + x.xxx_hidden_DurationSeconds = v } type ReviewFlowGracePeriodPolicy_builder struct { @@ -354,24 +361,19 @@ func (b0 ReviewFlowGracePeriodPolicy_builder) Build() *ReviewFlowGracePeriodPoli m0 := &ReviewFlowGracePeriodPolicy{} b, x := &b0, m0 _, _ = b, x - x.DurationSeconds = b.DurationSeconds + x.xxx_hidden_DurationSeconds = b.DurationSeconds return m0 } // Collision is a collision that has occurred. type Collision struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The reference that has collisions. - Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` - // The type of collision. - Type CollisionType `protobuf:"varint,2,opt,name=type,proto3,enum=buf.alpha.registry.v1alpha1.CollisionType" json:"type,omitempty"` - // The sources of the collision that the user is authorized to see. - Sources []*CollisionSource `protobuf:"bytes,3,rep,name=sources,proto3" json:"sources,omitempty"` - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` + xxx_hidden_Type CollisionType `protobuf:"varint,2,opt,name=type,proto3,enum=buf.alpha.registry.v1alpha1.CollisionType" json:"type,omitempty"` + xxx_hidden_Sources *[]*CollisionSource `protobuf:"bytes,3,rep,name=sources,proto3" json:"sources,omitempty"` + xxx_hidden_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() { @@ -401,46 +403,48 @@ func (x *Collision) ProtoReflect() protoreflect.Message { func (x *Collision) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *Collision) GetType() CollisionType { if x != nil { - return x.Type + return x.xxx_hidden_Type } return CollisionType_COLLISION_TYPE_UNSPECIFIED } func (x *Collision) GetSources() []*CollisionSource { if x != nil { - return x.Sources + if x.xxx_hidden_Sources != nil { + return *x.xxx_hidden_Sources + } } return nil } func (x *Collision) GetHasOtherCollisionSources() bool { if x != nil { - return x.HasOtherCollisionSources + return x.xxx_hidden_HasOtherCollisionSources } return false } func (x *Collision) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } func (x *Collision) SetType(v CollisionType) { - x.Type = v + x.xxx_hidden_Type = v } func (x *Collision) SetSources(v []*CollisionSource) { - x.Sources = v + x.xxx_hidden_Sources = &v } func (x *Collision) SetHasOtherCollisionSources(v bool) { - x.HasOtherCollisionSources = v + x.xxx_hidden_HasOtherCollisionSources = v } type Collision_builder struct { @@ -461,24 +465,21 @@ func (b0 Collision_builder) Build() *Collision { m0 := &Collision{} b, x := &b0, m0 _, _ = b, x - x.Reference = b.Reference - x.Type = b.Type - x.Sources = b.Sources - x.HasOtherCollisionSources = b.HasOtherCollisionSources + x.xxx_hidden_Reference = b.Reference + x.xxx_hidden_Type = b.Type + x.xxx_hidden_Sources = &b.Sources + x.xxx_hidden_HasOtherCollisionSources = b.HasOtherCollisionSources return m0 } // CollisionSource is the source of a collision type CollisionSource struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CollisionSource) Reset() { @@ -508,35 +509,35 @@ func (x *CollisionSource) ProtoReflect() protoreflect.Message { func (x *CollisionSource) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *CollisionSource) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *CollisionSource) GetPath() string { if x != nil { - return x.Path + return x.xxx_hidden_Path } return "" } func (x *CollisionSource) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *CollisionSource) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *CollisionSource) SetPath(v string) { - x.Path = v + x.xxx_hidden_Path = v } type CollisionSource_builder struct { @@ -554,9 +555,9 @@ func (b0 CollisionSource_builder) Build() *CollisionSource { m0 := &CollisionSource{} b, x := &b0, m0 _, _ = b, x - x.OwnerName = b.OwnerName - x.RepositoryName = b.RepositoryName - x.Path = b.Path + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_Path = b.Path return m0 } @@ -564,19 +565,14 @@ func (b0 CollisionSource_builder) Build() *CollisionSource { // for every organizations repositories within a single tenant BSR instance // for a given month and year. type MonthlyUsage struct { - state protoimpl.MessageState `protogen:"hybrid.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. - Year uint32 `protobuf:"varint,2,opt,name=year,proto3" json:"year,omitempty"` - // The total amount of message types for the month and year. - TotalMessageTypes uint32 `protobuf:"varint,3,opt,name=total_message_types,json=totalMessageTypes,proto3" json:"total_message_types,omitempty"` - // The total amount of enum types for the month and year. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Month uint32 `protobuf:"varint,1,opt,name=month,proto3" json:"month,omitempty"` + xxx_hidden_Year uint32 `protobuf:"varint,2,opt,name=year,proto3" json:"year,omitempty"` + xxx_hidden_TotalMessageTypes uint32 `protobuf:"varint,3,opt,name=total_message_types,json=totalMessageTypes,proto3" json:"total_message_types,omitempty"` + xxx_hidden_TotalEnumTypes uint32 `protobuf:"varint,4,opt,name=total_enum_types,json=totalEnumTypes,proto3" json:"total_enum_types,omitempty"` + xxx_hidden_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() { @@ -606,57 +602,57 @@ func (x *MonthlyUsage) ProtoReflect() protoreflect.Message { func (x *MonthlyUsage) GetMonth() uint32 { if x != nil { - return x.Month + return x.xxx_hidden_Month } return 0 } func (x *MonthlyUsage) GetYear() uint32 { if x != nil { - return x.Year + return x.xxx_hidden_Year } return 0 } func (x *MonthlyUsage) GetTotalMessageTypes() uint32 { if x != nil { - return x.TotalMessageTypes + return x.xxx_hidden_TotalMessageTypes } return 0 } func (x *MonthlyUsage) GetTotalEnumTypes() uint32 { if x != nil { - return x.TotalEnumTypes + return x.xxx_hidden_TotalEnumTypes } return 0 } func (x *MonthlyUsage) GetTotalMethodTypes() uint32 { if x != nil { - return x.TotalMethodTypes + return x.xxx_hidden_TotalMethodTypes } return 0 } func (x *MonthlyUsage) SetMonth(v uint32) { - x.Month = v + x.xxx_hidden_Month = v } func (x *MonthlyUsage) SetYear(v uint32) { - x.Year = v + x.xxx_hidden_Year = v } func (x *MonthlyUsage) SetTotalMessageTypes(v uint32) { - x.TotalMessageTypes = v + x.xxx_hidden_TotalMessageTypes = v } func (x *MonthlyUsage) SetTotalEnumTypes(v uint32) { - x.TotalEnumTypes = v + x.xxx_hidden_TotalEnumTypes = v } func (x *MonthlyUsage) SetTotalMethodTypes(v uint32) { - x.TotalMethodTypes = v + x.xxx_hidden_TotalMethodTypes = v } type MonthlyUsage_builder struct { @@ -678,19 +674,19 @@ func (b0 MonthlyUsage_builder) Build() *MonthlyUsage { m0 := &MonthlyUsage{} b, x := &b0, m0 _, _ = b, x - x.Month = b.Month - x.Year = b.Year - x.TotalMessageTypes = b.TotalMessageTypes - x.TotalEnumTypes = b.TotalEnumTypes - x.TotalMethodTypes = b.TotalMethodTypes + x.xxx_hidden_Month = b.Month + x.xxx_hidden_Year = b.Year + x.xxx_hidden_TotalMessageTypes = b.TotalMessageTypes + x.xxx_hidden_TotalEnumTypes = b.TotalEnumTypes + x.xxx_hidden_TotalMethodTypes = b.TotalMethodTypes return m0 } type ForceDeleteUserRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ForceDeleteUserRequest) Reset() { @@ -720,13 +716,13 @@ func (x *ForceDeleteUserRequest) ProtoReflect() protoreflect.Message { func (x *ForceDeleteUserRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *ForceDeleteUserRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } type ForceDeleteUserRequest_builder struct { @@ -739,20 +735,17 @@ func (b0 ForceDeleteUserRequest_builder) Build() *ForceDeleteUserRequest { m0 := &ForceDeleteUserRequest{} b, x := &b0, m0 _, _ = b, x - x.UserId = b.UserId + x.xxx_hidden_UserId = b.UserId return m0 } type ForceDeleteUserResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + xxx_hidden_Organizations *[]*Organization `protobuf:"bytes,2,rep,name=organizations,proto3" json:"organizations,omitempty"` + xxx_hidden_Repositories *[]*Repository `protobuf:"bytes,3,rep,name=repositories,proto3" json:"repositories,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ForceDeleteUserResponse) Reset() { @@ -782,46 +775,50 @@ func (x *ForceDeleteUserResponse) ProtoReflect() protoreflect.Message { func (x *ForceDeleteUserResponse) GetUser() *User { if x != nil { - return x.User + return x.xxx_hidden_User } return nil } func (x *ForceDeleteUserResponse) GetOrganizations() []*Organization { if x != nil { - return x.Organizations + if x.xxx_hidden_Organizations != nil { + return *x.xxx_hidden_Organizations + } } return nil } func (x *ForceDeleteUserResponse) GetRepositories() []*Repository { if x != nil { - return x.Repositories + if x.xxx_hidden_Repositories != nil { + return *x.xxx_hidden_Repositories + } } return nil } func (x *ForceDeleteUserResponse) SetUser(v *User) { - x.User = v + x.xxx_hidden_User = v } func (x *ForceDeleteUserResponse) SetOrganizations(v []*Organization) { - x.Organizations = v + x.xxx_hidden_Organizations = &v } func (x *ForceDeleteUserResponse) SetRepositories(v []*Repository) { - x.Repositories = v + x.xxx_hidden_Repositories = &v } func (x *ForceDeleteUserResponse) HasUser() bool { if x == nil { return false } - return x.User != nil + return x.xxx_hidden_User != nil } func (x *ForceDeleteUserResponse) ClearUser() { - x.User = nil + x.xxx_hidden_User = nil } type ForceDeleteUserResponse_builder struct { @@ -839,18 +836,18 @@ func (b0 ForceDeleteUserResponse_builder) Build() *ForceDeleteUserResponse { m0 := &ForceDeleteUserResponse{} b, x := &b0, m0 _, _ = b, x - x.User = b.User - x.Organizations = b.Organizations - x.Repositories = b.Repositories + x.xxx_hidden_User = b.User + x.xxx_hidden_Organizations = &b.Organizations + x.xxx_hidden_Repositories = &b.Repositories return m0 } type UpdateUserVerificationStatusRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + xxx_hidden_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() { @@ -880,24 +877,24 @@ func (x *UpdateUserVerificationStatusRequest) ProtoReflect() protoreflect.Messag func (x *UpdateUserVerificationStatusRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *UpdateUserVerificationStatusRequest) GetVerificationStatus() VerificationStatus { if x != nil { - return x.VerificationStatus + return x.xxx_hidden_VerificationStatus } return VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED } func (x *UpdateUserVerificationStatusRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } func (x *UpdateUserVerificationStatusRequest) SetVerificationStatus(v VerificationStatus) { - x.VerificationStatus = v + x.xxx_hidden_VerificationStatus = v } type UpdateUserVerificationStatusRequest_builder struct { @@ -911,13 +908,13 @@ func (b0 UpdateUserVerificationStatusRequest_builder) Build() *UpdateUserVerific m0 := &UpdateUserVerificationStatusRequest{} b, x := &b0, m0 _, _ = b, x - x.UserId = b.UserId - x.VerificationStatus = b.VerificationStatus + x.xxx_hidden_UserId = b.UserId + x.xxx_hidden_VerificationStatus = b.VerificationStatus return m0 } type UpdateUserVerificationStatusResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -960,11 +957,11 @@ func (b0 UpdateUserVerificationStatusResponse_builder) Build() *UpdateUserVerifi } type UpdateOrganizationVerificationStatusRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_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() { @@ -994,24 +991,24 @@ func (x *UpdateOrganizationVerificationStatusRequest) ProtoReflect() protoreflec func (x *UpdateOrganizationVerificationStatusRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *UpdateOrganizationVerificationStatusRequest) GetVerificationStatus() VerificationStatus { if x != nil { - return x.VerificationStatus + return x.xxx_hidden_VerificationStatus } return VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED } func (x *UpdateOrganizationVerificationStatusRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *UpdateOrganizationVerificationStatusRequest) SetVerificationStatus(v VerificationStatus) { - x.VerificationStatus = v + x.xxx_hidden_VerificationStatus = v } type UpdateOrganizationVerificationStatusRequest_builder struct { @@ -1025,13 +1022,13 @@ func (b0 UpdateOrganizationVerificationStatusRequest_builder) Build() *UpdateOrg m0 := &UpdateOrganizationVerificationStatusRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.VerificationStatus = b.VerificationStatus + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_VerificationStatus = b.VerificationStatus return m0 } type UpdateOrganizationVerificationStatusResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1074,10 +1071,10 @@ func (b0 UpdateOrganizationVerificationStatusResponse_builder) Build() *UpdateOr } type CreateMachineUserRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateMachineUserRequest) Reset() { @@ -1107,13 +1104,13 @@ func (x *CreateMachineUserRequest) ProtoReflect() protoreflect.Message { func (x *CreateMachineUserRequest) GetUsername() string { if x != nil { - return x.Username + return x.xxx_hidden_Username } return "" } func (x *CreateMachineUserRequest) SetUsername(v string) { - x.Username = v + x.xxx_hidden_Username = v } type CreateMachineUserRequest_builder struct { @@ -1126,15 +1123,15 @@ func (b0 CreateMachineUserRequest_builder) Build() *CreateMachineUserRequest { m0 := &CreateMachineUserRequest{} b, x := &b0, m0 _, _ = b, x - x.Username = b.Username + x.xxx_hidden_Username = b.Username return m0 } type CreateMachineUserResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateMachineUserResponse) Reset() { @@ -1164,24 +1161,24 @@ func (x *CreateMachineUserResponse) ProtoReflect() protoreflect.Message { func (x *CreateMachineUserResponse) GetUser() *User { if x != nil { - return x.User + return x.xxx_hidden_User } return nil } func (x *CreateMachineUserResponse) SetUser(v *User) { - x.User = v + x.xxx_hidden_User = v } func (x *CreateMachineUserResponse) HasUser() bool { if x == nil { return false } - return x.User != nil + return x.xxx_hidden_User != nil } func (x *CreateMachineUserResponse) ClearUser() { - x.User = nil + x.xxx_hidden_User = nil } type CreateMachineUserResponse_builder struct { @@ -1194,12 +1191,12 @@ func (b0 CreateMachineUserResponse_builder) Build() *CreateMachineUserResponse { m0 := &CreateMachineUserResponse{} b, x := &b0, m0 _, _ = b, x - x.User = b.User + x.xxx_hidden_User = b.User return m0 } type GetBreakingChangePolicyRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1242,10 +1239,10 @@ func (b0 GetBreakingChangePolicyRequest_builder) Build() *GetBreakingChangePolic } type GetBreakingChangePolicyResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Policy *BreakingChangePolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Policy *BreakingChangePolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetBreakingChangePolicyResponse) Reset() { @@ -1275,24 +1272,24 @@ func (x *GetBreakingChangePolicyResponse) ProtoReflect() protoreflect.Message { func (x *GetBreakingChangePolicyResponse) GetPolicy() *BreakingChangePolicy { if x != nil { - return x.Policy + return x.xxx_hidden_Policy } return nil } func (x *GetBreakingChangePolicyResponse) SetPolicy(v *BreakingChangePolicy) { - x.Policy = v + x.xxx_hidden_Policy = v } func (x *GetBreakingChangePolicyResponse) HasPolicy() bool { if x == nil { return false } - return x.Policy != nil + return x.xxx_hidden_Policy != nil } func (x *GetBreakingChangePolicyResponse) ClearPolicy() { - x.Policy = nil + x.xxx_hidden_Policy = nil } type GetBreakingChangePolicyResponse_builder struct { @@ -1305,15 +1302,15 @@ func (b0 GetBreakingChangePolicyResponse_builder) Build() *GetBreakingChangePoli m0 := &GetBreakingChangePolicyResponse{} b, x := &b0, m0 _, _ = b, x - x.Policy = b.Policy + x.xxx_hidden_Policy = b.Policy return m0 } type UpdateBreakingChangePolicyRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Policy *BreakingChangePolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Policy *BreakingChangePolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateBreakingChangePolicyRequest) Reset() { @@ -1343,24 +1340,24 @@ func (x *UpdateBreakingChangePolicyRequest) ProtoReflect() protoreflect.Message func (x *UpdateBreakingChangePolicyRequest) GetPolicy() *BreakingChangePolicy { if x != nil { - return x.Policy + return x.xxx_hidden_Policy } return nil } func (x *UpdateBreakingChangePolicyRequest) SetPolicy(v *BreakingChangePolicy) { - x.Policy = v + x.xxx_hidden_Policy = v } func (x *UpdateBreakingChangePolicyRequest) HasPolicy() bool { if x == nil { return false } - return x.Policy != nil + return x.xxx_hidden_Policy != nil } func (x *UpdateBreakingChangePolicyRequest) ClearPolicy() { - x.Policy = nil + x.xxx_hidden_Policy = nil } type UpdateBreakingChangePolicyRequest_builder struct { @@ -1373,12 +1370,12 @@ func (b0 UpdateBreakingChangePolicyRequest_builder) Build() *UpdateBreakingChang m0 := &UpdateBreakingChangePolicyRequest{} b, x := &b0, m0 _, _ = b, x - x.Policy = b.Policy + x.xxx_hidden_Policy = b.Policy return m0 } type UpdateBreakingChangePolicyResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1421,7 +1418,7 @@ func (b0 UpdateBreakingChangePolicyResponse_builder) Build() *UpdateBreakingChan } type GetUniquenessPolicyRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1464,14 +1461,11 @@ func (b0 GetUniquenessPolicyRequest_builder) Build() *GetUniquenessPolicyRequest } type GetUniquenessPolicyResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Policy *UniquenessPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + xxx_hidden_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() { @@ -1501,35 +1495,35 @@ func (x *GetUniquenessPolicyResponse) ProtoReflect() protoreflect.Message { func (x *GetUniquenessPolicyResponse) GetPolicy() *UniquenessPolicy { if x != nil { - return x.Policy + return x.xxx_hidden_Policy } return nil } func (x *GetUniquenessPolicyResponse) GetBackfillTaskComplete() bool { if x != nil { - return x.BackfillTaskComplete + return x.xxx_hidden_BackfillTaskComplete } return false } func (x *GetUniquenessPolicyResponse) SetPolicy(v *UniquenessPolicy) { - x.Policy = v + x.xxx_hidden_Policy = v } func (x *GetUniquenessPolicyResponse) SetBackfillTaskComplete(v bool) { - x.BackfillTaskComplete = v + x.xxx_hidden_BackfillTaskComplete = v } func (x *GetUniquenessPolicyResponse) HasPolicy() bool { if x == nil { return false } - return x.Policy != nil + return x.xxx_hidden_Policy != nil } func (x *GetUniquenessPolicyResponse) ClearPolicy() { - x.Policy = nil + x.xxx_hidden_Policy = nil } type GetUniquenessPolicyResponse_builder struct { @@ -1546,16 +1540,16 @@ func (b0 GetUniquenessPolicyResponse_builder) Build() *GetUniquenessPolicyRespon m0 := &GetUniquenessPolicyResponse{} b, x := &b0, m0 _, _ = b, x - x.Policy = b.Policy - x.BackfillTaskComplete = b.BackfillTaskComplete + x.xxx_hidden_Policy = b.Policy + x.xxx_hidden_BackfillTaskComplete = b.BackfillTaskComplete return m0 } type UpdateUniquenessPolicyRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Policy *UniquenessPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Policy *UniquenessPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUniquenessPolicyRequest) Reset() { @@ -1585,24 +1579,24 @@ func (x *UpdateUniquenessPolicyRequest) ProtoReflect() protoreflect.Message { func (x *UpdateUniquenessPolicyRequest) GetPolicy() *UniquenessPolicy { if x != nil { - return x.Policy + return x.xxx_hidden_Policy } return nil } func (x *UpdateUniquenessPolicyRequest) SetPolicy(v *UniquenessPolicy) { - x.Policy = v + x.xxx_hidden_Policy = v } func (x *UpdateUniquenessPolicyRequest) HasPolicy() bool { if x == nil { return false } - return x.Policy != nil + return x.xxx_hidden_Policy != nil } func (x *UpdateUniquenessPolicyRequest) ClearPolicy() { - x.Policy = nil + x.xxx_hidden_Policy = nil } type UpdateUniquenessPolicyRequest_builder struct { @@ -1615,12 +1609,12 @@ func (b0 UpdateUniquenessPolicyRequest_builder) Build() *UpdateUniquenessPolicyR m0 := &UpdateUniquenessPolicyRequest{} b, x := &b0, m0 _, _ = b, x - x.Policy = b.Policy + x.xxx_hidden_Policy = b.Policy return m0 } type UpdateUniquenessPolicyResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1663,22 +1657,12 @@ func (b0 UpdateUniquenessPolicyResponse_builder) Build() *UpdateUniquenessPolicy } type ListServerUniquenessCollisionsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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. - PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Number of elements to retrieve in a single page. - // When too large a page is requested, the server may decide to further - // limit the number of returned resources. - PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The desired collision type to filter by. - // This must be specified. Only collisions of the specified type will be returned, - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_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() { @@ -1708,35 +1692,35 @@ func (x *ListServerUniquenessCollisionsRequest) ProtoReflect() protoreflect.Mess func (x *ListServerUniquenessCollisionsRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListServerUniquenessCollisionsRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListServerUniquenessCollisionsRequest) GetCollisionType() CollisionType { if x != nil { - return x.CollisionType + return x.xxx_hidden_CollisionType } return CollisionType_COLLISION_TYPE_UNSPECIFIED } func (x *ListServerUniquenessCollisionsRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListServerUniquenessCollisionsRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListServerUniquenessCollisionsRequest) SetCollisionType(v CollisionType) { - x.CollisionType = v + x.xxx_hidden_CollisionType = v } type ListServerUniquenessCollisionsRequest_builder struct { @@ -1761,23 +1745,18 @@ func (b0 ListServerUniquenessCollisionsRequest_builder) Build() *ListServerUniqu m0 := &ListServerUniquenessCollisionsRequest{} b, x := &b0, m0 _, _ = b, x - x.PageToken = b.PageToken - x.PageSize = b.PageSize - x.CollisionType = b.CollisionType + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_CollisionType = b.CollisionType return m0 } type ListServerUniquenessCollisionsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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. - // Pass the content of this string as the `page_token` attribute of - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Collisions *[]*Collision `protobuf:"bytes,1,rep,name=collisions,proto3" json:"collisions,omitempty"` + xxx_hidden_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() { @@ -1807,24 +1786,26 @@ func (x *ListServerUniquenessCollisionsResponse) ProtoReflect() protoreflect.Mes func (x *ListServerUniquenessCollisionsResponse) GetCollisions() []*Collision { if x != nil { - return x.Collisions + if x.xxx_hidden_Collisions != nil { + return *x.xxx_hidden_Collisions + } } return nil } func (x *ListServerUniquenessCollisionsResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListServerUniquenessCollisionsResponse) SetCollisions(v []*Collision) { - x.Collisions = v + x.xxx_hidden_Collisions = &v } func (x *ListServerUniquenessCollisionsResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListServerUniquenessCollisionsResponse_builder struct { @@ -1843,13 +1824,13 @@ func (b0 ListServerUniquenessCollisionsResponse_builder) Build() *ListServerUniq m0 := &ListServerUniquenessCollisionsResponse{} b, x := &b0, m0 _, _ = b, x - x.Collisions = b.Collisions - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Collisions = &b.Collisions + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type RunServerUniquenessBackfillTaskRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1892,7 +1873,7 @@ func (b0 RunServerUniquenessBackfillTaskRequest_builder) Build() *RunServerUniqu } type RunServerUniquenessBackfillTaskResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1935,7 +1916,7 @@ func (b0 RunServerUniquenessBackfillTaskResponse_builder) Build() *RunServerUniq } type GetReviewFlowGracePeriodPolicyRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1978,11 +1959,10 @@ func (b0 GetReviewFlowGracePeriodPolicyRequest_builder) Build() *GetReviewFlowGr } type GetReviewFlowGracePeriodPolicyResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The current grace period policy settings. - Policy *ReviewFlowGracePeriodPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Policy *ReviewFlowGracePeriodPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetReviewFlowGracePeriodPolicyResponse) Reset() { @@ -2012,24 +1992,24 @@ func (x *GetReviewFlowGracePeriodPolicyResponse) ProtoReflect() protoreflect.Mes func (x *GetReviewFlowGracePeriodPolicyResponse) GetPolicy() *ReviewFlowGracePeriodPolicy { if x != nil { - return x.Policy + return x.xxx_hidden_Policy } return nil } func (x *GetReviewFlowGracePeriodPolicyResponse) SetPolicy(v *ReviewFlowGracePeriodPolicy) { - x.Policy = v + x.xxx_hidden_Policy = v } func (x *GetReviewFlowGracePeriodPolicyResponse) HasPolicy() bool { if x == nil { return false } - return x.Policy != nil + return x.xxx_hidden_Policy != nil } func (x *GetReviewFlowGracePeriodPolicyResponse) ClearPolicy() { - x.Policy = nil + x.xxx_hidden_Policy = nil } type GetReviewFlowGracePeriodPolicyResponse_builder struct { @@ -2043,16 +2023,15 @@ func (b0 GetReviewFlowGracePeriodPolicyResponse_builder) Build() *GetReviewFlowG m0 := &GetReviewFlowGracePeriodPolicyResponse{} b, x := &b0, m0 _, _ = b, x - x.Policy = b.Policy + x.xxx_hidden_Policy = b.Policy return m0 } type UpdateReviewFlowGracePeriodPolicyRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The new grace period policy settings. - Policy *ReviewFlowGracePeriodPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Policy *ReviewFlowGracePeriodPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateReviewFlowGracePeriodPolicyRequest) Reset() { @@ -2082,24 +2061,24 @@ func (x *UpdateReviewFlowGracePeriodPolicyRequest) ProtoReflect() protoreflect.M func (x *UpdateReviewFlowGracePeriodPolicyRequest) GetPolicy() *ReviewFlowGracePeriodPolicy { if x != nil { - return x.Policy + return x.xxx_hidden_Policy } return nil } func (x *UpdateReviewFlowGracePeriodPolicyRequest) SetPolicy(v *ReviewFlowGracePeriodPolicy) { - x.Policy = v + x.xxx_hidden_Policy = v } func (x *UpdateReviewFlowGracePeriodPolicyRequest) HasPolicy() bool { if x == nil { return false } - return x.Policy != nil + return x.xxx_hidden_Policy != nil } func (x *UpdateReviewFlowGracePeriodPolicyRequest) ClearPolicy() { - x.Policy = nil + x.xxx_hidden_Policy = nil } type UpdateReviewFlowGracePeriodPolicyRequest_builder struct { @@ -2113,12 +2092,12 @@ func (b0 UpdateReviewFlowGracePeriodPolicyRequest_builder) Build() *UpdateReview m0 := &UpdateReviewFlowGracePeriodPolicyRequest{} b, x := &b0, m0 _, _ = b, x - x.Policy = b.Policy + x.xxx_hidden_Policy = b.Policy return m0 } type UpdateReviewFlowGracePeriodPolicyResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2161,13 +2140,11 @@ func (b0 UpdateReviewFlowGracePeriodPolicyResponse_builder) Build() *UpdateRevie } type GetClusterUsageRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + xxx_hidden_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() { @@ -2197,46 +2174,46 @@ func (x *GetClusterUsageRequest) ProtoReflect() protoreflect.Message { func (x *GetClusterUsageRequest) GetStartTime() *timestamppb.Timestamp { if x != nil { - return x.StartTime + return x.xxx_hidden_StartTime } return nil } func (x *GetClusterUsageRequest) GetEndTime() *timestamppb.Timestamp { if x != nil { - return x.EndTime + return x.xxx_hidden_EndTime } return nil } func (x *GetClusterUsageRequest) SetStartTime(v *timestamppb.Timestamp) { - x.StartTime = v + x.xxx_hidden_StartTime = v } func (x *GetClusterUsageRequest) SetEndTime(v *timestamppb.Timestamp) { - x.EndTime = v + x.xxx_hidden_EndTime = v } func (x *GetClusterUsageRequest) HasStartTime() bool { if x == nil { return false } - return x.StartTime != nil + return x.xxx_hidden_StartTime != nil } func (x *GetClusterUsageRequest) HasEndTime() bool { if x == nil { return false } - return x.EndTime != nil + return x.xxx_hidden_EndTime != nil } func (x *GetClusterUsageRequest) ClearStartTime() { - x.StartTime = nil + x.xxx_hidden_StartTime = nil } func (x *GetClusterUsageRequest) ClearEndTime() { - x.EndTime = nil + x.xxx_hidden_EndTime = nil } type GetClusterUsageRequest_builder struct { @@ -2252,16 +2229,16 @@ func (b0 GetClusterUsageRequest_builder) Build() *GetClusterUsageRequest { m0 := &GetClusterUsageRequest{} b, x := &b0, m0 _, _ = b, x - x.StartTime = b.StartTime - x.EndTime = b.EndTime + x.xxx_hidden_StartTime = b.StartTime + x.xxx_hidden_EndTime = b.EndTime return m0 } type GetClusterUsageResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Usage []*MonthlyUsage `protobuf:"bytes,1,rep,name=usage,proto3" json:"usage,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Usage *[]*MonthlyUsage `protobuf:"bytes,1,rep,name=usage,proto3" json:"usage,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetClusterUsageResponse) Reset() { @@ -2291,13 +2268,15 @@ func (x *GetClusterUsageResponse) ProtoReflect() protoreflect.Message { func (x *GetClusterUsageResponse) GetUsage() []*MonthlyUsage { if x != nil { - return x.Usage + if x.xxx_hidden_Usage != nil { + return *x.xxx_hidden_Usage + } } return nil } func (x *GetClusterUsageResponse) SetUsage(v []*MonthlyUsage) { - x.Usage = v + x.xxx_hidden_Usage = &v } type GetClusterUsageResponse_builder struct { @@ -2310,7 +2289,7 @@ func (b0 GetClusterUsageResponse_builder) Build() *GetClusterUsageResponse { m0 := &GetClusterUsageResponse{} b, x := &b0, m0 _, _ = b, x - x.Usage = b.Usage + x.xxx_hidden_Usage = &b.Usage return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/admin_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/admin_protoopaque.pb.go deleted file mode 100644 index 078739b488..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/admin_protoopaque.pb.go +++ /dev/null @@ -1,2827 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/admin.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// BreakingChangeCategory is the allowed list of categories for breaking rule settings. -type BreakingChangeCategory int32 - -const ( - BreakingChangeCategory_BREAKING_CHANGE_CATEGORY_UNSPECIFIED BreakingChangeCategory = 0 - BreakingChangeCategory_BREAKING_CHANGE_CATEGORY_FILE BreakingChangeCategory = 1 - BreakingChangeCategory_BREAKING_CHANGE_CATEGORY_WIRE_JSON BreakingChangeCategory = 2 -) - -// Enum value maps for BreakingChangeCategory. -var ( - BreakingChangeCategory_name = map[int32]string{ - 0: "BREAKING_CHANGE_CATEGORY_UNSPECIFIED", - 1: "BREAKING_CHANGE_CATEGORY_FILE", - 2: "BREAKING_CHANGE_CATEGORY_WIRE_JSON", - } - BreakingChangeCategory_value = map[string]int32{ - "BREAKING_CHANGE_CATEGORY_UNSPECIFIED": 0, - "BREAKING_CHANGE_CATEGORY_FILE": 1, - "BREAKING_CHANGE_CATEGORY_WIRE_JSON": 2, - } -) - -func (x BreakingChangeCategory) Enum() *BreakingChangeCategory { - p := new(BreakingChangeCategory) - *p = x - return p -} - -func (x BreakingChangeCategory) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BreakingChangeCategory) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_admin_proto_enumTypes[0].Descriptor() -} - -func (BreakingChangeCategory) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_admin_proto_enumTypes[0] -} - -func (x BreakingChangeCategory) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// CollisionType is the type of collisions that can occur. -type CollisionType int32 - -const ( - // Unspecified collision type. - CollisionType_COLLISION_TYPE_UNSPECIFIED CollisionType = 0 - // A fully qualified proto name - CollisionType_COLLISION_TYPE_FULLY_QUALIFIED_NAME CollisionType = 1 - // A proto file path - CollisionType_COLLISION_TYPE_PATH CollisionType = 2 -) - -// Enum value maps for CollisionType. -var ( - CollisionType_name = map[int32]string{ - 0: "COLLISION_TYPE_UNSPECIFIED", - 1: "COLLISION_TYPE_FULLY_QUALIFIED_NAME", - 2: "COLLISION_TYPE_PATH", - } - CollisionType_value = map[string]int32{ - "COLLISION_TYPE_UNSPECIFIED": 0, - "COLLISION_TYPE_FULLY_QUALIFIED_NAME": 1, - "COLLISION_TYPE_PATH": 2, - } -) - -func (x CollisionType) Enum() *CollisionType { - p := new(CollisionType) - *p = x - return p -} - -func (x CollisionType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CollisionType) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_admin_proto_enumTypes[1].Descriptor() -} - -func (CollisionType) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_admin_proto_enumTypes[1] -} - -func (x CollisionType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type BreakingChangePolicy struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` - xxx_hidden_IgnoreUnstablePackages bool `protobuf:"varint,2,opt,name=ignore_unstable_packages,json=ignoreUnstablePackages,proto3,oneof" json:"ignore_unstable_packages,omitempty"` - xxx_hidden_Category BreakingChangeCategory `protobuf:"varint,3,opt,name=category,proto3,enum=buf.alpha.registry.v1alpha1.BreakingChangeCategory" json:"category,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BreakingChangePolicy) Reset() { - *x = BreakingChangePolicy{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BreakingChangePolicy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BreakingChangePolicy) ProtoMessage() {} - -func (x *BreakingChangePolicy) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *BreakingChangePolicy) GetEnabled() bool { - if x != nil { - return x.xxx_hidden_Enabled - } - return false -} - -func (x *BreakingChangePolicy) GetIgnoreUnstablePackages() bool { - if x != nil { - return x.xxx_hidden_IgnoreUnstablePackages - } - return false -} - -func (x *BreakingChangePolicy) GetCategory() BreakingChangeCategory { - if x != nil { - return x.xxx_hidden_Category - } - return BreakingChangeCategory_BREAKING_CHANGE_CATEGORY_UNSPECIFIED -} - -func (x *BreakingChangePolicy) SetEnabled(v bool) { - x.xxx_hidden_Enabled = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 0, 3) -} - -func (x *BreakingChangePolicy) SetIgnoreUnstablePackages(v bool) { - x.xxx_hidden_IgnoreUnstablePackages = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 3) -} - -func (x *BreakingChangePolicy) SetCategory(v BreakingChangeCategory) { - x.xxx_hidden_Category = v -} - -func (x *BreakingChangePolicy) HasEnabled() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 0) -} - -func (x *BreakingChangePolicy) HasIgnoreUnstablePackages() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 1) -} - -func (x *BreakingChangePolicy) ClearEnabled() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 0) - x.xxx_hidden_Enabled = false -} - -func (x *BreakingChangePolicy) ClearIgnoreUnstablePackages() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) - x.xxx_hidden_IgnoreUnstablePackages = false -} - -type BreakingChangePolicy_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Enabled *bool - IgnoreUnstablePackages *bool - Category BreakingChangeCategory -} - -func (b0 BreakingChangePolicy_builder) Build() *BreakingChangePolicy { - m0 := &BreakingChangePolicy{} - b, x := &b0, m0 - _, _ = b, x - if b.Enabled != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 0, 3) - x.xxx_hidden_Enabled = *b.Enabled - } - if b.IgnoreUnstablePackages != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 3) - x.xxx_hidden_IgnoreUnstablePackages = *b.IgnoreUnstablePackages - } - x.xxx_hidden_Category = b.Category - return m0 -} - -// UniquenessPolicy is the policy for uniqueness on the server. -type UniquenessPolicy struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UniquenessPolicy) Reset() { - *x = UniquenessPolicy{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UniquenessPolicy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UniquenessPolicy) ProtoMessage() {} - -func (x *UniquenessPolicy) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UniquenessPolicy) GetEnabled() bool { - if x != nil { - return x.xxx_hidden_Enabled - } - return false -} - -func (x *UniquenessPolicy) SetEnabled(v bool) { - x.xxx_hidden_Enabled = v -} - -type UniquenessPolicy_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Whether uniqueness policy is enforced. - Enabled bool -} - -func (b0 UniquenessPolicy_builder) Build() *UniquenessPolicy { - m0 := &UniquenessPolicy{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Enabled = b.Enabled - return m0 -} - -// ReviewFlowGracePeriodPolicy is the policy for the review flow grace period on the server. -type ReviewFlowGracePeriodPolicy struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = ReviewFlowGracePeriodPolicy{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ReviewFlowGracePeriodPolicy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReviewFlowGracePeriodPolicy) ProtoMessage() {} - -func (x *ReviewFlowGracePeriodPolicy) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ReviewFlowGracePeriodPolicy) GetDurationSeconds() uint32 { - if x != nil { - return x.xxx_hidden_DurationSeconds - } - return 0 -} - -func (x *ReviewFlowGracePeriodPolicy) SetDurationSeconds(v uint32) { - x.xxx_hidden_DurationSeconds = v -} - -type ReviewFlowGracePeriodPolicy_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The number of seconds of the grace period. - // Set to zero to disable the grace period. - DurationSeconds uint32 -} - -func (b0 ReviewFlowGracePeriodPolicy_builder) Build() *ReviewFlowGracePeriodPolicy { - m0 := &ReviewFlowGracePeriodPolicy{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_DurationSeconds = b.DurationSeconds - return m0 -} - -// Collision is a collision that has occurred. -type Collision struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` - xxx_hidden_Type CollisionType `protobuf:"varint,2,opt,name=type,proto3,enum=buf.alpha.registry.v1alpha1.CollisionType" json:"type,omitempty"` - xxx_hidden_Sources *[]*CollisionSource `protobuf:"bytes,3,rep,name=sources,proto3" json:"sources,omitempty"` - xxx_hidden_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() { - *x = Collision{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Collision) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Collision) ProtoMessage() {} - -func (x *Collision) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Collision) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *Collision) GetType() CollisionType { - if x != nil { - return x.xxx_hidden_Type - } - return CollisionType_COLLISION_TYPE_UNSPECIFIED -} - -func (x *Collision) GetSources() []*CollisionSource { - if x != nil { - if x.xxx_hidden_Sources != nil { - return *x.xxx_hidden_Sources - } - } - return nil -} - -func (x *Collision) GetHasOtherCollisionSources() bool { - if x != nil { - return x.xxx_hidden_HasOtherCollisionSources - } - return false -} - -func (x *Collision) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -func (x *Collision) SetType(v CollisionType) { - x.xxx_hidden_Type = v -} - -func (x *Collision) SetSources(v []*CollisionSource) { - x.xxx_hidden_Sources = &v -} - -func (x *Collision) SetHasOtherCollisionSources(v bool) { - x.xxx_hidden_HasOtherCollisionSources = v -} - -type Collision_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The reference that has collisions. - Reference string - // The type of collision. - Type CollisionType - // The sources of the collision that the user is authorized to see. - Sources []*CollisionSource - // 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 -} - -func (b0 Collision_builder) Build() *Collision { - m0 := &Collision{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Reference = b.Reference - x.xxx_hidden_Type = b.Type - x.xxx_hidden_Sources = &b.Sources - x.xxx_hidden_HasOtherCollisionSources = b.HasOtherCollisionSources - return m0 -} - -// CollisionSource is the source of a collision -type CollisionSource struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CollisionSource) Reset() { - *x = CollisionSource{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CollisionSource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CollisionSource) ProtoMessage() {} - -func (x *CollisionSource) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CollisionSource) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *CollisionSource) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *CollisionSource) GetPath() string { - if x != nil { - return x.xxx_hidden_Path - } - return "" -} - -func (x *CollisionSource) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *CollisionSource) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *CollisionSource) SetPath(v string) { - x.xxx_hidden_Path = v -} - -type CollisionSource_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The name of the owner of the source. - OwnerName string - // The name of the repository of the source. - RepositoryName string - // The path of the file that is the source of the collision. - Path string -} - -func (b0 CollisionSource_builder) Build() *CollisionSource { - m0 := &CollisionSource{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_Path = b.Path - return m0 -} - -// MonthlyUsage contains the total amount of message, enum and services types -// for every organizations repositories within a single tenant BSR instance -// for a given month and year. -type MonthlyUsage struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Month uint32 `protobuf:"varint,1,opt,name=month,proto3" json:"month,omitempty"` - xxx_hidden_Year uint32 `protobuf:"varint,2,opt,name=year,proto3" json:"year,omitempty"` - xxx_hidden_TotalMessageTypes uint32 `protobuf:"varint,3,opt,name=total_message_types,json=totalMessageTypes,proto3" json:"total_message_types,omitempty"` - xxx_hidden_TotalEnumTypes uint32 `protobuf:"varint,4,opt,name=total_enum_types,json=totalEnumTypes,proto3" json:"total_enum_types,omitempty"` - xxx_hidden_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() { - *x = MonthlyUsage{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MonthlyUsage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MonthlyUsage) ProtoMessage() {} - -func (x *MonthlyUsage) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MonthlyUsage) GetMonth() uint32 { - if x != nil { - return x.xxx_hidden_Month - } - return 0 -} - -func (x *MonthlyUsage) GetYear() uint32 { - if x != nil { - return x.xxx_hidden_Year - } - return 0 -} - -func (x *MonthlyUsage) GetTotalMessageTypes() uint32 { - if x != nil { - return x.xxx_hidden_TotalMessageTypes - } - return 0 -} - -func (x *MonthlyUsage) GetTotalEnumTypes() uint32 { - if x != nil { - return x.xxx_hidden_TotalEnumTypes - } - return 0 -} - -func (x *MonthlyUsage) GetTotalMethodTypes() uint32 { - if x != nil { - return x.xxx_hidden_TotalMethodTypes - } - return 0 -} - -func (x *MonthlyUsage) SetMonth(v uint32) { - x.xxx_hidden_Month = v -} - -func (x *MonthlyUsage) SetYear(v uint32) { - x.xxx_hidden_Year = v -} - -func (x *MonthlyUsage) SetTotalMessageTypes(v uint32) { - x.xxx_hidden_TotalMessageTypes = v -} - -func (x *MonthlyUsage) SetTotalEnumTypes(v uint32) { - x.xxx_hidden_TotalEnumTypes = v -} - -func (x *MonthlyUsage) SetTotalMethodTypes(v uint32) { - x.xxx_hidden_TotalMethodTypes = v -} - -type MonthlyUsage_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The month, between 1 and 12. - Month uint32 - // The year, between 2020 and the current year. - Year uint32 - // The total amount of message types for the month and year. - TotalMessageTypes uint32 - // The total amount of enum types for the month and year. - TotalEnumTypes uint32 - // The total amount of method types for the month and year. - TotalMethodTypes uint32 -} - -func (b0 MonthlyUsage_builder) Build() *MonthlyUsage { - m0 := &MonthlyUsage{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Month = b.Month - x.xxx_hidden_Year = b.Year - x.xxx_hidden_TotalMessageTypes = b.TotalMessageTypes - x.xxx_hidden_TotalEnumTypes = b.TotalEnumTypes - x.xxx_hidden_TotalMethodTypes = b.TotalMethodTypes - return m0 -} - -type ForceDeleteUserRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ForceDeleteUserRequest) Reset() { - *x = ForceDeleteUserRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ForceDeleteUserRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ForceDeleteUserRequest) ProtoMessage() {} - -func (x *ForceDeleteUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ForceDeleteUserRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *ForceDeleteUserRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -type ForceDeleteUserRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - UserId string -} - -func (b0 ForceDeleteUserRequest_builder) Build() *ForceDeleteUserRequest { - m0 := &ForceDeleteUserRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_UserId = b.UserId - return m0 -} - -type ForceDeleteUserResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - xxx_hidden_Organizations *[]*Organization `protobuf:"bytes,2,rep,name=organizations,proto3" json:"organizations,omitempty"` - xxx_hidden_Repositories *[]*Repository `protobuf:"bytes,3,rep,name=repositories,proto3" json:"repositories,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ForceDeleteUserResponse) Reset() { - *x = ForceDeleteUserResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ForceDeleteUserResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ForceDeleteUserResponse) ProtoMessage() {} - -func (x *ForceDeleteUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ForceDeleteUserResponse) GetUser() *User { - if x != nil { - return x.xxx_hidden_User - } - return nil -} - -func (x *ForceDeleteUserResponse) GetOrganizations() []*Organization { - if x != nil { - if x.xxx_hidden_Organizations != nil { - return *x.xxx_hidden_Organizations - } - } - return nil -} - -func (x *ForceDeleteUserResponse) GetRepositories() []*Repository { - if x != nil { - if x.xxx_hidden_Repositories != nil { - return *x.xxx_hidden_Repositories - } - } - return nil -} - -func (x *ForceDeleteUserResponse) SetUser(v *User) { - x.xxx_hidden_User = v -} - -func (x *ForceDeleteUserResponse) SetOrganizations(v []*Organization) { - x.xxx_hidden_Organizations = &v -} - -func (x *ForceDeleteUserResponse) SetRepositories(v []*Repository) { - x.xxx_hidden_Repositories = &v -} - -func (x *ForceDeleteUserResponse) HasUser() bool { - if x == nil { - return false - } - return x.xxx_hidden_User != nil -} - -func (x *ForceDeleteUserResponse) ClearUser() { - x.xxx_hidden_User = nil -} - -type ForceDeleteUserResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The deleted user. - User *User - // The deleted organizations. - Organizations []*Organization - // The deleted repositories. - Repositories []*Repository -} - -func (b0 ForceDeleteUserResponse_builder) Build() *ForceDeleteUserResponse { - m0 := &ForceDeleteUserResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_User = b.User - x.xxx_hidden_Organizations = &b.Organizations - x.xxx_hidden_Repositories = &b.Repositories - return m0 -} - -type UpdateUserVerificationStatusRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - xxx_hidden_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() { - *x = UpdateUserVerificationStatusRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUserVerificationStatusRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserVerificationStatusRequest) ProtoMessage() {} - -func (x *UpdateUserVerificationStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateUserVerificationStatusRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *UpdateUserVerificationStatusRequest) GetVerificationStatus() VerificationStatus { - if x != nil { - return x.xxx_hidden_VerificationStatus - } - return VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED -} - -func (x *UpdateUserVerificationStatusRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -func (x *UpdateUserVerificationStatusRequest) SetVerificationStatus(v VerificationStatus) { - x.xxx_hidden_VerificationStatus = v -} - -type UpdateUserVerificationStatusRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - UserId string - VerificationStatus VerificationStatus -} - -func (b0 UpdateUserVerificationStatusRequest_builder) Build() *UpdateUserVerificationStatusRequest { - m0 := &UpdateUserVerificationStatusRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_UserId = b.UserId - x.xxx_hidden_VerificationStatus = b.VerificationStatus - return m0 -} - -type UpdateUserVerificationStatusResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateUserVerificationStatusResponse) Reset() { - *x = UpdateUserVerificationStatusResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUserVerificationStatusResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserVerificationStatusResponse) ProtoMessage() {} - -func (x *UpdateUserVerificationStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type UpdateUserVerificationStatusResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 UpdateUserVerificationStatusResponse_builder) Build() *UpdateUserVerificationStatusResponse { - m0 := &UpdateUserVerificationStatusResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type UpdateOrganizationVerificationStatusRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_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() { - *x = UpdateOrganizationVerificationStatusRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateOrganizationVerificationStatusRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateOrganizationVerificationStatusRequest) ProtoMessage() {} - -func (x *UpdateOrganizationVerificationStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateOrganizationVerificationStatusRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *UpdateOrganizationVerificationStatusRequest) GetVerificationStatus() VerificationStatus { - if x != nil { - return x.xxx_hidden_VerificationStatus - } - return VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED -} - -func (x *UpdateOrganizationVerificationStatusRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *UpdateOrganizationVerificationStatusRequest) SetVerificationStatus(v VerificationStatus) { - x.xxx_hidden_VerificationStatus = v -} - -type UpdateOrganizationVerificationStatusRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - OrganizationId string - VerificationStatus VerificationStatus -} - -func (b0 UpdateOrganizationVerificationStatusRequest_builder) Build() *UpdateOrganizationVerificationStatusRequest { - m0 := &UpdateOrganizationVerificationStatusRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_VerificationStatus = b.VerificationStatus - return m0 -} - -type UpdateOrganizationVerificationStatusResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateOrganizationVerificationStatusResponse) Reset() { - *x = UpdateOrganizationVerificationStatusResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateOrganizationVerificationStatusResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateOrganizationVerificationStatusResponse) ProtoMessage() {} - -func (x *UpdateOrganizationVerificationStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type UpdateOrganizationVerificationStatusResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 UpdateOrganizationVerificationStatusResponse_builder) Build() *UpdateOrganizationVerificationStatusResponse { - m0 := &UpdateOrganizationVerificationStatusResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type CreateMachineUserRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateMachineUserRequest) Reset() { - *x = CreateMachineUserRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateMachineUserRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateMachineUserRequest) ProtoMessage() {} - -func (x *CreateMachineUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateMachineUserRequest) GetUsername() string { - if x != nil { - return x.xxx_hidden_Username - } - return "" -} - -func (x *CreateMachineUserRequest) SetUsername(v string) { - x.xxx_hidden_Username = v -} - -type CreateMachineUserRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Username string -} - -func (b0 CreateMachineUserRequest_builder) Build() *CreateMachineUserRequest { - m0 := &CreateMachineUserRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Username = b.Username - return m0 -} - -type CreateMachineUserResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateMachineUserResponse) Reset() { - *x = CreateMachineUserResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateMachineUserResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateMachineUserResponse) ProtoMessage() {} - -func (x *CreateMachineUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateMachineUserResponse) GetUser() *User { - if x != nil { - return x.xxx_hidden_User - } - return nil -} - -func (x *CreateMachineUserResponse) SetUser(v *User) { - x.xxx_hidden_User = v -} - -func (x *CreateMachineUserResponse) HasUser() bool { - if x == nil { - return false - } - return x.xxx_hidden_User != nil -} - -func (x *CreateMachineUserResponse) ClearUser() { - x.xxx_hidden_User = nil -} - -type CreateMachineUserResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - User *User -} - -func (b0 CreateMachineUserResponse_builder) Build() *CreateMachineUserResponse { - m0 := &CreateMachineUserResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_User = b.User - return m0 -} - -type GetBreakingChangePolicyRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetBreakingChangePolicyRequest) Reset() { - *x = GetBreakingChangePolicyRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetBreakingChangePolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBreakingChangePolicyRequest) ProtoMessage() {} - -func (x *GetBreakingChangePolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type GetBreakingChangePolicyRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 GetBreakingChangePolicyRequest_builder) Build() *GetBreakingChangePolicyRequest { - m0 := &GetBreakingChangePolicyRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetBreakingChangePolicyResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Policy *BreakingChangePolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetBreakingChangePolicyResponse) Reset() { - *x = GetBreakingChangePolicyResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetBreakingChangePolicyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBreakingChangePolicyResponse) ProtoMessage() {} - -func (x *GetBreakingChangePolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetBreakingChangePolicyResponse) GetPolicy() *BreakingChangePolicy { - if x != nil { - return x.xxx_hidden_Policy - } - return nil -} - -func (x *GetBreakingChangePolicyResponse) SetPolicy(v *BreakingChangePolicy) { - x.xxx_hidden_Policy = v -} - -func (x *GetBreakingChangePolicyResponse) HasPolicy() bool { - if x == nil { - return false - } - return x.xxx_hidden_Policy != nil -} - -func (x *GetBreakingChangePolicyResponse) ClearPolicy() { - x.xxx_hidden_Policy = nil -} - -type GetBreakingChangePolicyResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Policy *BreakingChangePolicy -} - -func (b0 GetBreakingChangePolicyResponse_builder) Build() *GetBreakingChangePolicyResponse { - m0 := &GetBreakingChangePolicyResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Policy = b.Policy - return m0 -} - -type UpdateBreakingChangePolicyRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Policy *BreakingChangePolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateBreakingChangePolicyRequest) Reset() { - *x = UpdateBreakingChangePolicyRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateBreakingChangePolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateBreakingChangePolicyRequest) ProtoMessage() {} - -func (x *UpdateBreakingChangePolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateBreakingChangePolicyRequest) GetPolicy() *BreakingChangePolicy { - if x != nil { - return x.xxx_hidden_Policy - } - return nil -} - -func (x *UpdateBreakingChangePolicyRequest) SetPolicy(v *BreakingChangePolicy) { - x.xxx_hidden_Policy = v -} - -func (x *UpdateBreakingChangePolicyRequest) HasPolicy() bool { - if x == nil { - return false - } - return x.xxx_hidden_Policy != nil -} - -func (x *UpdateBreakingChangePolicyRequest) ClearPolicy() { - x.xxx_hidden_Policy = nil -} - -type UpdateBreakingChangePolicyRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Policy *BreakingChangePolicy -} - -func (b0 UpdateBreakingChangePolicyRequest_builder) Build() *UpdateBreakingChangePolicyRequest { - m0 := &UpdateBreakingChangePolicyRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Policy = b.Policy - return m0 -} - -type UpdateBreakingChangePolicyResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateBreakingChangePolicyResponse) Reset() { - *x = UpdateBreakingChangePolicyResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateBreakingChangePolicyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateBreakingChangePolicyResponse) ProtoMessage() {} - -func (x *UpdateBreakingChangePolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type UpdateBreakingChangePolicyResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 UpdateBreakingChangePolicyResponse_builder) Build() *UpdateBreakingChangePolicyResponse { - m0 := &UpdateBreakingChangePolicyResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetUniquenessPolicyRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetUniquenessPolicyRequest) Reset() { - *x = GetUniquenessPolicyRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUniquenessPolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUniquenessPolicyRequest) ProtoMessage() {} - -func (x *GetUniquenessPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type GetUniquenessPolicyRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 GetUniquenessPolicyRequest_builder) Build() *GetUniquenessPolicyRequest { - m0 := &GetUniquenessPolicyRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetUniquenessPolicyResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Policy *UniquenessPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - xxx_hidden_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() { - *x = GetUniquenessPolicyResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUniquenessPolicyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUniquenessPolicyResponse) ProtoMessage() {} - -func (x *GetUniquenessPolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetUniquenessPolicyResponse) GetPolicy() *UniquenessPolicy { - if x != nil { - return x.xxx_hidden_Policy - } - return nil -} - -func (x *GetUniquenessPolicyResponse) GetBackfillTaskComplete() bool { - if x != nil { - return x.xxx_hidden_BackfillTaskComplete - } - return false -} - -func (x *GetUniquenessPolicyResponse) SetPolicy(v *UniquenessPolicy) { - x.xxx_hidden_Policy = v -} - -func (x *GetUniquenessPolicyResponse) SetBackfillTaskComplete(v bool) { - x.xxx_hidden_BackfillTaskComplete = v -} - -func (x *GetUniquenessPolicyResponse) HasPolicy() bool { - if x == nil { - return false - } - return x.xxx_hidden_Policy != nil -} - -func (x *GetUniquenessPolicyResponse) ClearPolicy() { - x.xxx_hidden_Policy = nil -} - -type GetUniquenessPolicyResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The current uniqueness policy settings. - Policy *UniquenessPolicy - // Reports the status of the backfill task, which can be executed by the server admin with the - // RunServerUniquenessBackfillTask RPC. - BackfillTaskComplete bool -} - -func (b0 GetUniquenessPolicyResponse_builder) Build() *GetUniquenessPolicyResponse { - m0 := &GetUniquenessPolicyResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Policy = b.Policy - x.xxx_hidden_BackfillTaskComplete = b.BackfillTaskComplete - return m0 -} - -type UpdateUniquenessPolicyRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Policy *UniquenessPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateUniquenessPolicyRequest) Reset() { - *x = UpdateUniquenessPolicyRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUniquenessPolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUniquenessPolicyRequest) ProtoMessage() {} - -func (x *UpdateUniquenessPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateUniquenessPolicyRequest) GetPolicy() *UniquenessPolicy { - if x != nil { - return x.xxx_hidden_Policy - } - return nil -} - -func (x *UpdateUniquenessPolicyRequest) SetPolicy(v *UniquenessPolicy) { - x.xxx_hidden_Policy = v -} - -func (x *UpdateUniquenessPolicyRequest) HasPolicy() bool { - if x == nil { - return false - } - return x.xxx_hidden_Policy != nil -} - -func (x *UpdateUniquenessPolicyRequest) ClearPolicy() { - x.xxx_hidden_Policy = nil -} - -type UpdateUniquenessPolicyRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Policy *UniquenessPolicy -} - -func (b0 UpdateUniquenessPolicyRequest_builder) Build() *UpdateUniquenessPolicyRequest { - m0 := &UpdateUniquenessPolicyRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Policy = b.Policy - return m0 -} - -type UpdateUniquenessPolicyResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateUniquenessPolicyResponse) Reset() { - *x = UpdateUniquenessPolicyResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUniquenessPolicyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUniquenessPolicyResponse) ProtoMessage() {} - -func (x *UpdateUniquenessPolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type UpdateUniquenessPolicyResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 UpdateUniquenessPolicyResponse_builder) Build() *UpdateUniquenessPolicyResponse { - m0 := &UpdateUniquenessPolicyResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type ListServerUniquenessCollisionsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_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() { - *x = ListServerUniquenessCollisionsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListServerUniquenessCollisionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListServerUniquenessCollisionsRequest) ProtoMessage() {} - -func (x *ListServerUniquenessCollisionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListServerUniquenessCollisionsRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListServerUniquenessCollisionsRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListServerUniquenessCollisionsRequest) GetCollisionType() CollisionType { - if x != nil { - return x.xxx_hidden_CollisionType - } - return CollisionType_COLLISION_TYPE_UNSPECIFIED -} - -func (x *ListServerUniquenessCollisionsRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListServerUniquenessCollisionsRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListServerUniquenessCollisionsRequest) SetCollisionType(v CollisionType) { - x.xxx_hidden_CollisionType = v -} - -type ListServerUniquenessCollisionsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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. - PageToken string - // Number of elements to retrieve in a single page. - // When too large a page is requested, the server may decide to further - // limit the number of returned resources. - PageSize uint32 - // The desired collision type to filter by. - // This must be specified. Only collisions of the specified type will be returned, - // continue to page through results until no more collisions of the specified - // type are returned. - CollisionType CollisionType -} - -func (b0 ListServerUniquenessCollisionsRequest_builder) Build() *ListServerUniquenessCollisionsRequest { - m0 := &ListServerUniquenessCollisionsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_CollisionType = b.CollisionType - return m0 -} - -type ListServerUniquenessCollisionsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Collisions *[]*Collision `protobuf:"bytes,1,rep,name=collisions,proto3" json:"collisions,omitempty"` - xxx_hidden_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() { - *x = ListServerUniquenessCollisionsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListServerUniquenessCollisionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListServerUniquenessCollisionsResponse) ProtoMessage() {} - -func (x *ListServerUniquenessCollisionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListServerUniquenessCollisionsResponse) GetCollisions() []*Collision { - if x != nil { - if x.xxx_hidden_Collisions != nil { - return *x.xxx_hidden_Collisions - } - } - return nil -} - -func (x *ListServerUniquenessCollisionsResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListServerUniquenessCollisionsResponse) SetCollisions(v []*Collision) { - x.xxx_hidden_Collisions = &v -} - -func (x *ListServerUniquenessCollisionsResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListServerUniquenessCollisionsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The collisions. - Collisions []*Collision - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - NextPageToken string -} - -func (b0 ListServerUniquenessCollisionsResponse_builder) Build() *ListServerUniquenessCollisionsResponse { - m0 := &ListServerUniquenessCollisionsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Collisions = &b.Collisions - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type RunServerUniquenessBackfillTaskRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RunServerUniquenessBackfillTaskRequest) Reset() { - *x = RunServerUniquenessBackfillTaskRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RunServerUniquenessBackfillTaskRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RunServerUniquenessBackfillTaskRequest) ProtoMessage() {} - -func (x *RunServerUniquenessBackfillTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type RunServerUniquenessBackfillTaskRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 RunServerUniquenessBackfillTaskRequest_builder) Build() *RunServerUniquenessBackfillTaskRequest { - m0 := &RunServerUniquenessBackfillTaskRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type RunServerUniquenessBackfillTaskResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RunServerUniquenessBackfillTaskResponse) Reset() { - *x = RunServerUniquenessBackfillTaskResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RunServerUniquenessBackfillTaskResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RunServerUniquenessBackfillTaskResponse) ProtoMessage() {} - -func (x *RunServerUniquenessBackfillTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type RunServerUniquenessBackfillTaskResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 RunServerUniquenessBackfillTaskResponse_builder) Build() *RunServerUniquenessBackfillTaskResponse { - m0 := &RunServerUniquenessBackfillTaskResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetReviewFlowGracePeriodPolicyRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetReviewFlowGracePeriodPolicyRequest) Reset() { - *x = GetReviewFlowGracePeriodPolicyRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetReviewFlowGracePeriodPolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetReviewFlowGracePeriodPolicyRequest) ProtoMessage() {} - -func (x *GetReviewFlowGracePeriodPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type GetReviewFlowGracePeriodPolicyRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 GetReviewFlowGracePeriodPolicyRequest_builder) Build() *GetReviewFlowGracePeriodPolicyRequest { - m0 := &GetReviewFlowGracePeriodPolicyRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetReviewFlowGracePeriodPolicyResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Policy *ReviewFlowGracePeriodPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetReviewFlowGracePeriodPolicyResponse) Reset() { - *x = GetReviewFlowGracePeriodPolicyResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetReviewFlowGracePeriodPolicyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetReviewFlowGracePeriodPolicyResponse) ProtoMessage() {} - -func (x *GetReviewFlowGracePeriodPolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetReviewFlowGracePeriodPolicyResponse) GetPolicy() *ReviewFlowGracePeriodPolicy { - if x != nil { - return x.xxx_hidden_Policy - } - return nil -} - -func (x *GetReviewFlowGracePeriodPolicyResponse) SetPolicy(v *ReviewFlowGracePeriodPolicy) { - x.xxx_hidden_Policy = v -} - -func (x *GetReviewFlowGracePeriodPolicyResponse) HasPolicy() bool { - if x == nil { - return false - } - return x.xxx_hidden_Policy != nil -} - -func (x *GetReviewFlowGracePeriodPolicyResponse) ClearPolicy() { - x.xxx_hidden_Policy = nil -} - -type GetReviewFlowGracePeriodPolicyResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The current grace period policy settings. - Policy *ReviewFlowGracePeriodPolicy -} - -func (b0 GetReviewFlowGracePeriodPolicyResponse_builder) Build() *GetReviewFlowGracePeriodPolicyResponse { - m0 := &GetReviewFlowGracePeriodPolicyResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Policy = b.Policy - return m0 -} - -type UpdateReviewFlowGracePeriodPolicyRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Policy *ReviewFlowGracePeriodPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateReviewFlowGracePeriodPolicyRequest) Reset() { - *x = UpdateReviewFlowGracePeriodPolicyRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateReviewFlowGracePeriodPolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateReviewFlowGracePeriodPolicyRequest) ProtoMessage() {} - -func (x *UpdateReviewFlowGracePeriodPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateReviewFlowGracePeriodPolicyRequest) GetPolicy() *ReviewFlowGracePeriodPolicy { - if x != nil { - return x.xxx_hidden_Policy - } - return nil -} - -func (x *UpdateReviewFlowGracePeriodPolicyRequest) SetPolicy(v *ReviewFlowGracePeriodPolicy) { - x.xxx_hidden_Policy = v -} - -func (x *UpdateReviewFlowGracePeriodPolicyRequest) HasPolicy() bool { - if x == nil { - return false - } - return x.xxx_hidden_Policy != nil -} - -func (x *UpdateReviewFlowGracePeriodPolicyRequest) ClearPolicy() { - x.xxx_hidden_Policy = nil -} - -type UpdateReviewFlowGracePeriodPolicyRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The new grace period policy settings. - Policy *ReviewFlowGracePeriodPolicy -} - -func (b0 UpdateReviewFlowGracePeriodPolicyRequest_builder) Build() *UpdateReviewFlowGracePeriodPolicyRequest { - m0 := &UpdateReviewFlowGracePeriodPolicyRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Policy = b.Policy - return m0 -} - -type UpdateReviewFlowGracePeriodPolicyResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateReviewFlowGracePeriodPolicyResponse) Reset() { - *x = UpdateReviewFlowGracePeriodPolicyResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateReviewFlowGracePeriodPolicyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateReviewFlowGracePeriodPolicyResponse) ProtoMessage() {} - -func (x *UpdateReviewFlowGracePeriodPolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type UpdateReviewFlowGracePeriodPolicyResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 UpdateReviewFlowGracePeriodPolicyResponse_builder) Build() *UpdateReviewFlowGracePeriodPolicyResponse { - m0 := &UpdateReviewFlowGracePeriodPolicyResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetClusterUsageRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - xxx_hidden_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() { - *x = GetClusterUsageRequest{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetClusterUsageRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetClusterUsageRequest) ProtoMessage() {} - -func (x *GetClusterUsageRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetClusterUsageRequest) GetStartTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_StartTime - } - return nil -} - -func (x *GetClusterUsageRequest) GetEndTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_EndTime - } - return nil -} - -func (x *GetClusterUsageRequest) SetStartTime(v *timestamppb.Timestamp) { - x.xxx_hidden_StartTime = v -} - -func (x *GetClusterUsageRequest) SetEndTime(v *timestamppb.Timestamp) { - x.xxx_hidden_EndTime = v -} - -func (x *GetClusterUsageRequest) HasStartTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_StartTime != nil -} - -func (x *GetClusterUsageRequest) HasEndTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_EndTime != nil -} - -func (x *GetClusterUsageRequest) ClearStartTime() { - x.xxx_hidden_StartTime = nil -} - -func (x *GetClusterUsageRequest) ClearEndTime() { - x.xxx_hidden_EndTime = nil -} - -type GetClusterUsageRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The timestamp of the beginning time of a date range. - StartTime *timestamppb.Timestamp - // The timestamp of the ending time of a date range. - EndTime *timestamppb.Timestamp -} - -func (b0 GetClusterUsageRequest_builder) Build() *GetClusterUsageRequest { - m0 := &GetClusterUsageRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_StartTime = b.StartTime - x.xxx_hidden_EndTime = b.EndTime - return m0 -} - -type GetClusterUsageResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Usage *[]*MonthlyUsage `protobuf:"bytes,1,rep,name=usage,proto3" json:"usage,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetClusterUsageResponse) Reset() { - *x = GetClusterUsageResponse{} - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetClusterUsageResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetClusterUsageResponse) ProtoMessage() {} - -func (x *GetClusterUsageResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetClusterUsageResponse) GetUsage() []*MonthlyUsage { - if x != nil { - if x.xxx_hidden_Usage != nil { - return *x.xxx_hidden_Usage - } - } - return nil -} - -func (x *GetClusterUsageResponse) SetUsage(v []*MonthlyUsage) { - x.xxx_hidden_Usage = &v -} - -type GetClusterUsageResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Usage []*MonthlyUsage -} - -func (b0 GetClusterUsageResponse_builder) Build() *GetClusterUsageResponse { - m0 := &GetClusterUsageResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Usage = &b.Usage - return m0 -} - -var File_buf_alpha_registry_v1alpha1_admin_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_admin_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x2e, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x62, 0x75, - 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xee, 0x01, 0x0a, 0x14, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, - 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1d, 0x0a, - 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, - 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3d, 0x0a, 0x18, - 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x75, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, - 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x01, - 0x52, 0x16, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x55, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x88, 0x01, 0x01, 0x12, 0x4f, 0x0a, 0x08, 0x63, - 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x72, 0x65, 0x61, - 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, - 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, 0x0a, 0x0a, 0x08, - 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42, 0x1b, 0x0a, 0x19, 0x5f, 0x69, 0x67, 0x6e, - 0x6f, 0x72, 0x65, 0x5f, 0x75, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x63, - 0x6b, 0x61, 0x67, 0x65, 0x73, 0x22, 0x2c, 0x0a, 0x10, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, - 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x22, 0x48, 0x0a, 0x1b, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x46, 0x6c, 0x6f, - 0x77, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, - 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x64, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0xf0, 0x01, - 0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x46, 0x0a, 0x07, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x73, 0x12, 0x3d, 0x0a, 0x1b, 0x68, 0x61, 0x73, 0x5f, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x63, - 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x68, 0x61, 0x73, 0x4f, 0x74, 0x68, 0x65, 0x72, - 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, - 0x22, 0x6d, 0x0a, 0x0f, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, - 0xc0, 0x01, 0x0a, 0x0c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x79, 0x65, 0x61, 0x72, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x79, 0x65, 0x61, 0x72, 0x12, 0x2e, 0x0a, 0x13, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x75, 0x6d, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6d, 0x65, - 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, - 0x65, 0x73, 0x22, 0x31, 0x0a, 0x16, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8e, 0x02, 0x0a, 0x17, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x35, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4b, 0x0a, 0x0c, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, - 0x10, 0x06, 0x52, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x09, 0x74, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x22, 0xa0, 0x01, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x55, 0x73, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, - 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x60, 0x0a, 0x13, 0x76, 0x65, 0x72, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x12, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x26, 0x0a, 0x24, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0xb8, 0x01, 0x0a, 0x2b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x60, 0x0a, 0x13, 0x76, 0x65, - 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x12, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x2e, 0x0a, 0x2c, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x18, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, - 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x52, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, - 0x63, 0x68, 0x69, 0x6e, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x35, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x20, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x42, - 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x6c, 0x0a, 0x1f, 0x47, 0x65, - 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, - 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x72, 0x65, 0x61, - 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x6e, 0x0a, 0x21, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, - 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x72, 0x65, 0x61, - 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x24, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, - 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x9a, 0x01, 0x0a, - 0x1b, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x6e, 0x69, 0x71, 0x75, - 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x12, 0x34, 0x0a, 0x16, 0x62, 0x61, 0x63, 0x6b, 0x66, 0x69, 0x6c, 0x6c, 0x5f, - 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x14, 0x62, 0x61, 0x63, 0x6b, 0x66, 0x69, 0x6c, 0x6c, 0x54, 0x61, 0x73, - 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x22, 0x66, 0x0a, 0x1d, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x06, 0x70, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, - 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x22, 0x20, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x71, 0x75, - 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0xb6, 0x01, 0x0a, 0x25, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6c, 0x6c, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, - 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x51, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, - 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x63, - 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x98, 0x01, 0x0a, - 0x26, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x71, 0x75, - 0x65, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, - 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, - 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x28, 0x0a, 0x26, 0x52, 0x75, 0x6e, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x42, 0x61, - 0x63, 0x6b, 0x66, 0x69, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x29, 0x0a, 0x27, 0x52, 0x75, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, - 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x66, 0x69, 0x6c, 0x6c, - 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x0a, 0x25, - 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x46, 0x6c, 0x6f, 0x77, 0x47, 0x72, 0x61, - 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x7a, 0x0a, 0x26, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, - 0x65, 0x77, 0x46, 0x6c, 0x6f, 0x77, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, - 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x50, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, - 0x76, 0x69, 0x65, 0x77, 0x46, 0x6c, 0x6f, 0x77, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, - 0x69, 0x6f, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x22, 0x7c, 0x0a, 0x28, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, - 0x77, 0x46, 0x6c, 0x6f, 0x77, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, - 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, - 0x65, 0x77, 0x46, 0x6c, 0x6f, 0x77, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, - 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, - 0x2b, 0x0a, 0x29, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x46, - 0x6c, 0x6f, 0x77, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8a, 0x01, 0x0a, - 0x16, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, 0x73, 0x61, 0x67, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, - 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x5a, 0x0a, 0x17, 0x47, 0x65, 0x74, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, - 0x75, 0x73, 0x61, 0x67, 0x65, 0x2a, 0x8d, 0x01, 0x0a, 0x16, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, - 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, - 0x12, 0x28, 0x0a, 0x24, 0x42, 0x52, 0x45, 0x41, 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x48, 0x41, - 0x4e, 0x47, 0x45, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x42, 0x52, - 0x45, 0x41, 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x43, 0x41, - 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x26, 0x0a, - 0x22, 0x42, 0x52, 0x45, 0x41, 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, - 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x57, 0x49, 0x52, 0x45, 0x5f, 0x4a, - 0x53, 0x4f, 0x4e, 0x10, 0x02, 0x2a, 0x71, 0x0a, 0x0d, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x53, - 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, - 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x27, 0x0a, 0x23, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x53, - 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x59, 0x5f, 0x51, - 0x55, 0x41, 0x4c, 0x49, 0x46, 0x49, 0x45, 0x44, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x01, 0x12, - 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x50, 0x41, 0x54, 0x48, 0x10, 0x02, 0x32, 0xa4, 0x10, 0x0a, 0x0c, 0x41, 0x64, 0x6d, - 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x46, 0x6f, - 0x72, 0x63, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x33, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x63, - 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0xa3, 0x01, - 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x40, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x41, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0xbb, 0x01, 0x0a, 0x24, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x48, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x49, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x87, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x63, 0x68, - 0x69, 0x6e, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x63, 0x68, - 0x69, 0x6e, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0x99, 0x01, 0x0a, 0x17, - 0x47, 0x65, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, - 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x9d, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, - 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x65, 0x61, 0x6b, - 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, - 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, - 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, - 0x6e, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x91, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x12, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, - 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xae, 0x01, 0x0a, 0x1e, - 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, - 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x42, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, - 0x73, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x71, 0x75, - 0x65, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6c, 0x6c, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xb1, 0x01, 0x0a, - 0x1f, 0x52, 0x75, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, - 0x6e, 0x65, 0x73, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x66, 0x69, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, - 0x12, 0x43, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, - 0x75, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x6e, 0x65, - 0x73, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x66, 0x69, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x44, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, - 0x71, 0x75, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x66, 0x69, 0x6c, 0x6c, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, - 0x12, 0xa9, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x46, 0x6c, - 0x6f, 0x77, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x12, 0x42, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x46, 0x6c, 0x6f, 0x77, 0x47, - 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x46, - 0x6c, 0x6f, 0x77, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xb2, 0x01, 0x0a, - 0x21, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x46, 0x6c, 0x6f, - 0x77, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x12, 0x45, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x46, 0x6c, 0x6f, - 0x77, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x46, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x76, 0x69, 0x65, 0x77, 0x46, 0x6c, 0x6f, 0x77, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, - 0x69, 0x6f, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x7c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, 0x73, 0x61, - 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, - 0x97, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x42, 0x0a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, - 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, - 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, - 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, - 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, - 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, - 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, - 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var file_buf_alpha_registry_v1alpha1_admin_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes = make([]protoimpl.MessageInfo, 32) -var file_buf_alpha_registry_v1alpha1_admin_proto_goTypes = []any{ - (BreakingChangeCategory)(0), // 0: buf.alpha.registry.v1alpha1.BreakingChangeCategory - (CollisionType)(0), // 1: buf.alpha.registry.v1alpha1.CollisionType - (*BreakingChangePolicy)(nil), // 2: buf.alpha.registry.v1alpha1.BreakingChangePolicy - (*UniquenessPolicy)(nil), // 3: buf.alpha.registry.v1alpha1.UniquenessPolicy - (*ReviewFlowGracePeriodPolicy)(nil), // 4: buf.alpha.registry.v1alpha1.ReviewFlowGracePeriodPolicy - (*Collision)(nil), // 5: buf.alpha.registry.v1alpha1.Collision - (*CollisionSource)(nil), // 6: buf.alpha.registry.v1alpha1.CollisionSource - (*MonthlyUsage)(nil), // 7: buf.alpha.registry.v1alpha1.MonthlyUsage - (*ForceDeleteUserRequest)(nil), // 8: buf.alpha.registry.v1alpha1.ForceDeleteUserRequest - (*ForceDeleteUserResponse)(nil), // 9: buf.alpha.registry.v1alpha1.ForceDeleteUserResponse - (*UpdateUserVerificationStatusRequest)(nil), // 10: buf.alpha.registry.v1alpha1.UpdateUserVerificationStatusRequest - (*UpdateUserVerificationStatusResponse)(nil), // 11: buf.alpha.registry.v1alpha1.UpdateUserVerificationStatusResponse - (*UpdateOrganizationVerificationStatusRequest)(nil), // 12: buf.alpha.registry.v1alpha1.UpdateOrganizationVerificationStatusRequest - (*UpdateOrganizationVerificationStatusResponse)(nil), // 13: buf.alpha.registry.v1alpha1.UpdateOrganizationVerificationStatusResponse - (*CreateMachineUserRequest)(nil), // 14: buf.alpha.registry.v1alpha1.CreateMachineUserRequest - (*CreateMachineUserResponse)(nil), // 15: buf.alpha.registry.v1alpha1.CreateMachineUserResponse - (*GetBreakingChangePolicyRequest)(nil), // 16: buf.alpha.registry.v1alpha1.GetBreakingChangePolicyRequest - (*GetBreakingChangePolicyResponse)(nil), // 17: buf.alpha.registry.v1alpha1.GetBreakingChangePolicyResponse - (*UpdateBreakingChangePolicyRequest)(nil), // 18: buf.alpha.registry.v1alpha1.UpdateBreakingChangePolicyRequest - (*UpdateBreakingChangePolicyResponse)(nil), // 19: buf.alpha.registry.v1alpha1.UpdateBreakingChangePolicyResponse - (*GetUniquenessPolicyRequest)(nil), // 20: buf.alpha.registry.v1alpha1.GetUniquenessPolicyRequest - (*GetUniquenessPolicyResponse)(nil), // 21: buf.alpha.registry.v1alpha1.GetUniquenessPolicyResponse - (*UpdateUniquenessPolicyRequest)(nil), // 22: buf.alpha.registry.v1alpha1.UpdateUniquenessPolicyRequest - (*UpdateUniquenessPolicyResponse)(nil), // 23: buf.alpha.registry.v1alpha1.UpdateUniquenessPolicyResponse - (*ListServerUniquenessCollisionsRequest)(nil), // 24: buf.alpha.registry.v1alpha1.ListServerUniquenessCollisionsRequest - (*ListServerUniquenessCollisionsResponse)(nil), // 25: buf.alpha.registry.v1alpha1.ListServerUniquenessCollisionsResponse - (*RunServerUniquenessBackfillTaskRequest)(nil), // 26: buf.alpha.registry.v1alpha1.RunServerUniquenessBackfillTaskRequest - (*RunServerUniquenessBackfillTaskResponse)(nil), // 27: buf.alpha.registry.v1alpha1.RunServerUniquenessBackfillTaskResponse - (*GetReviewFlowGracePeriodPolicyRequest)(nil), // 28: buf.alpha.registry.v1alpha1.GetReviewFlowGracePeriodPolicyRequest - (*GetReviewFlowGracePeriodPolicyResponse)(nil), // 29: buf.alpha.registry.v1alpha1.GetReviewFlowGracePeriodPolicyResponse - (*UpdateReviewFlowGracePeriodPolicyRequest)(nil), // 30: buf.alpha.registry.v1alpha1.UpdateReviewFlowGracePeriodPolicyRequest - (*UpdateReviewFlowGracePeriodPolicyResponse)(nil), // 31: buf.alpha.registry.v1alpha1.UpdateReviewFlowGracePeriodPolicyResponse - (*GetClusterUsageRequest)(nil), // 32: buf.alpha.registry.v1alpha1.GetClusterUsageRequest - (*GetClusterUsageResponse)(nil), // 33: buf.alpha.registry.v1alpha1.GetClusterUsageResponse - (*User)(nil), // 34: buf.alpha.registry.v1alpha1.User - (*Organization)(nil), // 35: buf.alpha.registry.v1alpha1.Organization - (*Repository)(nil), // 36: buf.alpha.registry.v1alpha1.Repository - (VerificationStatus)(0), // 37: buf.alpha.registry.v1alpha1.VerificationStatus - (*timestamppb.Timestamp)(nil), // 38: google.protobuf.Timestamp -} -var file_buf_alpha_registry_v1alpha1_admin_proto_depIdxs = []int32{ - 0, // 0: buf.alpha.registry.v1alpha1.BreakingChangePolicy.category:type_name -> buf.alpha.registry.v1alpha1.BreakingChangeCategory - 1, // 1: buf.alpha.registry.v1alpha1.Collision.type:type_name -> buf.alpha.registry.v1alpha1.CollisionType - 6, // 2: buf.alpha.registry.v1alpha1.Collision.sources:type_name -> buf.alpha.registry.v1alpha1.CollisionSource - 34, // 3: buf.alpha.registry.v1alpha1.ForceDeleteUserResponse.user:type_name -> buf.alpha.registry.v1alpha1.User - 35, // 4: buf.alpha.registry.v1alpha1.ForceDeleteUserResponse.organizations:type_name -> buf.alpha.registry.v1alpha1.Organization - 36, // 5: buf.alpha.registry.v1alpha1.ForceDeleteUserResponse.repositories:type_name -> buf.alpha.registry.v1alpha1.Repository - 37, // 6: buf.alpha.registry.v1alpha1.UpdateUserVerificationStatusRequest.verification_status:type_name -> buf.alpha.registry.v1alpha1.VerificationStatus - 37, // 7: buf.alpha.registry.v1alpha1.UpdateOrganizationVerificationStatusRequest.verification_status:type_name -> buf.alpha.registry.v1alpha1.VerificationStatus - 34, // 8: buf.alpha.registry.v1alpha1.CreateMachineUserResponse.user:type_name -> buf.alpha.registry.v1alpha1.User - 2, // 9: buf.alpha.registry.v1alpha1.GetBreakingChangePolicyResponse.policy:type_name -> buf.alpha.registry.v1alpha1.BreakingChangePolicy - 2, // 10: buf.alpha.registry.v1alpha1.UpdateBreakingChangePolicyRequest.policy:type_name -> buf.alpha.registry.v1alpha1.BreakingChangePolicy - 3, // 11: buf.alpha.registry.v1alpha1.GetUniquenessPolicyResponse.policy:type_name -> buf.alpha.registry.v1alpha1.UniquenessPolicy - 3, // 12: buf.alpha.registry.v1alpha1.UpdateUniquenessPolicyRequest.policy:type_name -> buf.alpha.registry.v1alpha1.UniquenessPolicy - 1, // 13: buf.alpha.registry.v1alpha1.ListServerUniquenessCollisionsRequest.collision_type:type_name -> buf.alpha.registry.v1alpha1.CollisionType - 5, // 14: buf.alpha.registry.v1alpha1.ListServerUniquenessCollisionsResponse.collisions:type_name -> buf.alpha.registry.v1alpha1.Collision - 4, // 15: buf.alpha.registry.v1alpha1.GetReviewFlowGracePeriodPolicyResponse.policy:type_name -> buf.alpha.registry.v1alpha1.ReviewFlowGracePeriodPolicy - 4, // 16: buf.alpha.registry.v1alpha1.UpdateReviewFlowGracePeriodPolicyRequest.policy:type_name -> buf.alpha.registry.v1alpha1.ReviewFlowGracePeriodPolicy - 38, // 17: buf.alpha.registry.v1alpha1.GetClusterUsageRequest.start_time:type_name -> google.protobuf.Timestamp - 38, // 18: buf.alpha.registry.v1alpha1.GetClusterUsageRequest.end_time:type_name -> google.protobuf.Timestamp - 7, // 19: buf.alpha.registry.v1alpha1.GetClusterUsageResponse.usage:type_name -> buf.alpha.registry.v1alpha1.MonthlyUsage - 8, // 20: buf.alpha.registry.v1alpha1.AdminService.ForceDeleteUser:input_type -> buf.alpha.registry.v1alpha1.ForceDeleteUserRequest - 10, // 21: buf.alpha.registry.v1alpha1.AdminService.UpdateUserVerificationStatus:input_type -> buf.alpha.registry.v1alpha1.UpdateUserVerificationStatusRequest - 12, // 22: buf.alpha.registry.v1alpha1.AdminService.UpdateOrganizationVerificationStatus:input_type -> buf.alpha.registry.v1alpha1.UpdateOrganizationVerificationStatusRequest - 14, // 23: buf.alpha.registry.v1alpha1.AdminService.CreateMachineUser:input_type -> buf.alpha.registry.v1alpha1.CreateMachineUserRequest - 16, // 24: buf.alpha.registry.v1alpha1.AdminService.GetBreakingChangePolicy:input_type -> buf.alpha.registry.v1alpha1.GetBreakingChangePolicyRequest - 18, // 25: buf.alpha.registry.v1alpha1.AdminService.UpdateBreakingChangePolicy:input_type -> buf.alpha.registry.v1alpha1.UpdateBreakingChangePolicyRequest - 20, // 26: buf.alpha.registry.v1alpha1.AdminService.GetUniquenessPolicy:input_type -> buf.alpha.registry.v1alpha1.GetUniquenessPolicyRequest - 22, // 27: buf.alpha.registry.v1alpha1.AdminService.UpdateUniquenessPolicy:input_type -> buf.alpha.registry.v1alpha1.UpdateUniquenessPolicyRequest - 24, // 28: buf.alpha.registry.v1alpha1.AdminService.ListServerUniquenessCollisions:input_type -> buf.alpha.registry.v1alpha1.ListServerUniquenessCollisionsRequest - 26, // 29: buf.alpha.registry.v1alpha1.AdminService.RunServerUniquenessBackfillTask:input_type -> buf.alpha.registry.v1alpha1.RunServerUniquenessBackfillTaskRequest - 28, // 30: buf.alpha.registry.v1alpha1.AdminService.GetReviewFlowGracePeriodPolicy:input_type -> buf.alpha.registry.v1alpha1.GetReviewFlowGracePeriodPolicyRequest - 30, // 31: buf.alpha.registry.v1alpha1.AdminService.UpdateReviewFlowGracePeriodPolicy:input_type -> buf.alpha.registry.v1alpha1.UpdateReviewFlowGracePeriodPolicyRequest - 32, // 32: buf.alpha.registry.v1alpha1.AdminService.GetClusterUsage:input_type -> buf.alpha.registry.v1alpha1.GetClusterUsageRequest - 9, // 33: buf.alpha.registry.v1alpha1.AdminService.ForceDeleteUser:output_type -> buf.alpha.registry.v1alpha1.ForceDeleteUserResponse - 11, // 34: buf.alpha.registry.v1alpha1.AdminService.UpdateUserVerificationStatus:output_type -> buf.alpha.registry.v1alpha1.UpdateUserVerificationStatusResponse - 13, // 35: buf.alpha.registry.v1alpha1.AdminService.UpdateOrganizationVerificationStatus:output_type -> buf.alpha.registry.v1alpha1.UpdateOrganizationVerificationStatusResponse - 15, // 36: buf.alpha.registry.v1alpha1.AdminService.CreateMachineUser:output_type -> buf.alpha.registry.v1alpha1.CreateMachineUserResponse - 17, // 37: buf.alpha.registry.v1alpha1.AdminService.GetBreakingChangePolicy:output_type -> buf.alpha.registry.v1alpha1.GetBreakingChangePolicyResponse - 19, // 38: buf.alpha.registry.v1alpha1.AdminService.UpdateBreakingChangePolicy:output_type -> buf.alpha.registry.v1alpha1.UpdateBreakingChangePolicyResponse - 21, // 39: buf.alpha.registry.v1alpha1.AdminService.GetUniquenessPolicy:output_type -> buf.alpha.registry.v1alpha1.GetUniquenessPolicyResponse - 23, // 40: buf.alpha.registry.v1alpha1.AdminService.UpdateUniquenessPolicy:output_type -> buf.alpha.registry.v1alpha1.UpdateUniquenessPolicyResponse - 25, // 41: buf.alpha.registry.v1alpha1.AdminService.ListServerUniquenessCollisions:output_type -> buf.alpha.registry.v1alpha1.ListServerUniquenessCollisionsResponse - 27, // 42: buf.alpha.registry.v1alpha1.AdminService.RunServerUniquenessBackfillTask:output_type -> buf.alpha.registry.v1alpha1.RunServerUniquenessBackfillTaskResponse - 29, // 43: buf.alpha.registry.v1alpha1.AdminService.GetReviewFlowGracePeriodPolicy:output_type -> buf.alpha.registry.v1alpha1.GetReviewFlowGracePeriodPolicyResponse - 31, // 44: buf.alpha.registry.v1alpha1.AdminService.UpdateReviewFlowGracePeriodPolicy:output_type -> buf.alpha.registry.v1alpha1.UpdateReviewFlowGracePeriodPolicyResponse - 33, // 45: buf.alpha.registry.v1alpha1.AdminService.GetClusterUsage:output_type -> buf.alpha.registry.v1alpha1.GetClusterUsageResponse - 33, // [33:46] is the sub-list for method output_type - 20, // [20:33] is the sub-list for method input_type - 20, // [20:20] is the sub-list for extension type_name - 20, // [20:20] is the sub-list for extension extendee - 0, // [0:20] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_admin_proto_init() } -func file_buf_alpha_registry_v1alpha1_admin_proto_init() { - if File_buf_alpha_registry_v1alpha1_admin_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_organization_proto_init() - file_buf_alpha_registry_v1alpha1_repository_proto_init() - file_buf_alpha_registry_v1alpha1_user_proto_init() - file_buf_alpha_registry_v1alpha1_verification_status_proto_init() - file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes[0].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_admin_proto_rawDesc, - NumEnums: 2, - NumMessages: 32, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_admin_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_admin_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_admin_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_admin_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_admin_proto = out.File - file_buf_alpha_registry_v1alpha1_admin_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_admin_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_admin_proto_depIdxs = nil -} 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 9132bafab5..e3f2714aa5 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/authn.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -36,7 +34,7 @@ const ( ) type GetCurrentUserRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -79,10 +77,10 @@ func (b0 GetCurrentUserRequest_builder) Build() *GetCurrentUserRequest { } type GetCurrentUserResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCurrentUserResponse) Reset() { @@ -112,24 +110,24 @@ func (x *GetCurrentUserResponse) ProtoReflect() protoreflect.Message { func (x *GetCurrentUserResponse) GetUser() *User { if x != nil { - return x.User + return x.xxx_hidden_User } return nil } func (x *GetCurrentUserResponse) SetUser(v *User) { - x.User = v + x.xxx_hidden_User = v } func (x *GetCurrentUserResponse) HasUser() bool { if x == nil { return false } - return x.User != nil + return x.xxx_hidden_User != nil } func (x *GetCurrentUserResponse) ClearUser() { - x.User = nil + x.xxx_hidden_User = nil } type GetCurrentUserResponse_builder struct { @@ -142,12 +140,12 @@ func (b0 GetCurrentUserResponse_builder) Build() *GetCurrentUserResponse { m0 := &GetCurrentUserResponse{} b, x := &b0, m0 _, _ = b, x - x.User = b.User + x.xxx_hidden_User = b.User return m0 } type GetCurrentUserSubjectRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -190,14 +188,10 @@ func (b0 GetCurrentUserSubjectRequest_builder) Build() *GetCurrentUserSubjectReq } type GetCurrentUserSubjectResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCurrentUserSubjectResponse) Reset() { @@ -227,13 +221,13 @@ func (x *GetCurrentUserSubjectResponse) ProtoReflect() protoreflect.Message { func (x *GetCurrentUserSubjectResponse) GetSubject() string { if x != nil { - return x.Subject + return x.xxx_hidden_Subject } return "" } func (x *GetCurrentUserSubjectResponse) SetSubject(v string) { - x.Subject = v + x.xxx_hidden_Subject = v } type GetCurrentUserSubjectResponse_builder struct { @@ -250,7 +244,7 @@ func (b0 GetCurrentUserSubjectResponse_builder) Build() *GetCurrentUserSubjectRe m0 := &GetCurrentUserSubjectResponse{} b, x := &b0, m0 _, _ = b, x - x.Subject = b.Subject + x.xxx_hidden_Subject = b.Subject return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/authn_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/authn_protoopaque.pb.go deleted file mode 100644 index 629963f4fe..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/authn_protoopaque.pb.go +++ /dev/null @@ -1,359 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/authn.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type GetCurrentUserRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetCurrentUserRequest) Reset() { - *x = GetCurrentUserRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authn_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetCurrentUserRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCurrentUserRequest) ProtoMessage() {} - -func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authn_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type GetCurrentUserRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 GetCurrentUserRequest_builder) Build() *GetCurrentUserRequest { - m0 := &GetCurrentUserRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetCurrentUserResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetCurrentUserResponse) Reset() { - *x = GetCurrentUserResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authn_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetCurrentUserResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCurrentUserResponse) ProtoMessage() {} - -func (x *GetCurrentUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authn_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetCurrentUserResponse) GetUser() *User { - if x != nil { - return x.xxx_hidden_User - } - return nil -} - -func (x *GetCurrentUserResponse) SetUser(v *User) { - x.xxx_hidden_User = v -} - -func (x *GetCurrentUserResponse) HasUser() bool { - if x == nil { - return false - } - return x.xxx_hidden_User != nil -} - -func (x *GetCurrentUserResponse) ClearUser() { - x.xxx_hidden_User = nil -} - -type GetCurrentUserResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - User *User -} - -func (b0 GetCurrentUserResponse_builder) Build() *GetCurrentUserResponse { - m0 := &GetCurrentUserResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_User = b.User - return m0 -} - -type GetCurrentUserSubjectRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetCurrentUserSubjectRequest) Reset() { - *x = GetCurrentUserSubjectRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authn_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetCurrentUserSubjectRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCurrentUserSubjectRequest) ProtoMessage() {} - -func (x *GetCurrentUserSubjectRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authn_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type GetCurrentUserSubjectRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 GetCurrentUserSubjectRequest_builder) Build() *GetCurrentUserSubjectRequest { - m0 := &GetCurrentUserSubjectRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetCurrentUserSubjectResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetCurrentUserSubjectResponse) Reset() { - *x = GetCurrentUserSubjectResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authn_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetCurrentUserSubjectResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCurrentUserSubjectResponse) ProtoMessage() {} - -func (x *GetCurrentUserSubjectResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authn_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetCurrentUserSubjectResponse) GetSubject() string { - if x != nil { - return x.xxx_hidden_Subject - } - return "" -} - -func (x *GetCurrentUserSubjectResponse) SetSubject(v string) { - x.xxx_hidden_Subject = v -} - -type GetCurrentUserSubjectResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 -} - -func (b0 GetCurrentUserSubjectResponse_builder) Build() *GetCurrentUserSubjectResponse { - m0 := &GetCurrentUserSubjectResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Subject = b.Subject - return m0 -} - -var File_buf_alpha_registry_v1alpha1_authn_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_authn_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x75, - 0x74, 0x68, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, - 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x75, - 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x35, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x1e, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, - 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x39, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x43, - 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x32, 0xa4, 0x02, 0x0a, 0x0c, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x7e, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, - 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, - 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x03, 0x90, 0x02, 0x01, 0x12, 0x93, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, - 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x39, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x75, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, - 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x97, 0x02, 0x0a, 0x1f, 0x63, - 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0a, - 0x41, 0x75, 0x74, 0x68, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, - 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, - 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, - 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, - 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, - 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, - 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_authn_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_buf_alpha_registry_v1alpha1_authn_proto_goTypes = []any{ - (*GetCurrentUserRequest)(nil), // 0: buf.alpha.registry.v1alpha1.GetCurrentUserRequest - (*GetCurrentUserResponse)(nil), // 1: buf.alpha.registry.v1alpha1.GetCurrentUserResponse - (*GetCurrentUserSubjectRequest)(nil), // 2: buf.alpha.registry.v1alpha1.GetCurrentUserSubjectRequest - (*GetCurrentUserSubjectResponse)(nil), // 3: buf.alpha.registry.v1alpha1.GetCurrentUserSubjectResponse - (*User)(nil), // 4: buf.alpha.registry.v1alpha1.User -} -var file_buf_alpha_registry_v1alpha1_authn_proto_depIdxs = []int32{ - 4, // 0: buf.alpha.registry.v1alpha1.GetCurrentUserResponse.user:type_name -> buf.alpha.registry.v1alpha1.User - 0, // 1: buf.alpha.registry.v1alpha1.AuthnService.GetCurrentUser:input_type -> buf.alpha.registry.v1alpha1.GetCurrentUserRequest - 2, // 2: buf.alpha.registry.v1alpha1.AuthnService.GetCurrentUserSubject:input_type -> buf.alpha.registry.v1alpha1.GetCurrentUserSubjectRequest - 1, // 3: buf.alpha.registry.v1alpha1.AuthnService.GetCurrentUser:output_type -> buf.alpha.registry.v1alpha1.GetCurrentUserResponse - 3, // 4: buf.alpha.registry.v1alpha1.AuthnService.GetCurrentUserSubject:output_type -> buf.alpha.registry.v1alpha1.GetCurrentUserSubjectResponse - 3, // [3:5] is the sub-list for method output_type - 1, // [1:3] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_authn_proto_init() } -func file_buf_alpha_registry_v1alpha1_authn_proto_init() { - if File_buf_alpha_registry_v1alpha1_authn_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_user_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_authn_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_authn_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_authn_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_authn_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_authn_proto = out.File - file_buf_alpha_registry_v1alpha1_authn_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_authn_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_authn_proto_depIdxs = nil -} 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 cce0f1136e..cea9df569e 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/authz.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -36,12 +34,10 @@ const ( ) type UserCanCreateOrganizationRepositoryRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -71,13 +67,13 @@ func (x *UserCanCreateOrganizationRepositoryRequest) ProtoReflect() protoreflect func (x *UserCanCreateOrganizationRepositoryRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *UserCanCreateOrganizationRepositoryRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } type UserCanCreateOrganizationRepositoryRequest_builder struct { @@ -92,15 +88,15 @@ func (b0 UserCanCreateOrganizationRepositoryRequest_builder) Build() *UserCanCre m0 := &UserCanCreateOrganizationRepositoryRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationId = b.OrganizationId return m0 } type UserCanCreateOrganizationRepositoryResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanCreateOrganizationRepositoryResponse) Reset() { @@ -130,13 +126,13 @@ func (x *UserCanCreateOrganizationRepositoryResponse) ProtoReflect() protoreflec func (x *UserCanCreateOrganizationRepositoryResponse) GetAuthorized() bool { if x != nil { - return x.Authorized + return x.xxx_hidden_Authorized } return false } func (x *UserCanCreateOrganizationRepositoryResponse) SetAuthorized(v bool) { - x.Authorized = v + x.xxx_hidden_Authorized = v } type UserCanCreateOrganizationRepositoryResponse_builder struct { @@ -149,17 +145,15 @@ func (b0 UserCanCreateOrganizationRepositoryResponse_builder) Build() *UserCanCr m0 := &UserCanCreateOrganizationRepositoryResponse{} b, x := &b0, m0 _, _ = b, x - x.Authorized = b.Authorized + x.xxx_hidden_Authorized = b.Authorized return m0 } type UserCanSeeRepositorySettingsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -189,13 +183,13 @@ func (x *UserCanSeeRepositorySettingsRequest) ProtoReflect() protoreflect.Messag func (x *UserCanSeeRepositorySettingsRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *UserCanSeeRepositorySettingsRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } type UserCanSeeRepositorySettingsRequest_builder struct { @@ -210,15 +204,15 @@ func (b0 UserCanSeeRepositorySettingsRequest_builder) Build() *UserCanSeeReposit m0 := &UserCanSeeRepositorySettingsRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryId = b.RepositoryId return m0 } type UserCanSeeRepositorySettingsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanSeeRepositorySettingsResponse) Reset() { @@ -248,13 +242,13 @@ func (x *UserCanSeeRepositorySettingsResponse) ProtoReflect() protoreflect.Messa func (x *UserCanSeeRepositorySettingsResponse) GetAuthorized() bool { if x != nil { - return x.Authorized + return x.xxx_hidden_Authorized } return false } func (x *UserCanSeeRepositorySettingsResponse) SetAuthorized(v bool) { - x.Authorized = v + x.xxx_hidden_Authorized = v } type UserCanSeeRepositorySettingsResponse_builder struct { @@ -267,17 +261,15 @@ func (b0 UserCanSeeRepositorySettingsResponse_builder) Build() *UserCanSeeReposi m0 := &UserCanSeeRepositorySettingsResponse{} b, x := &b0, m0 _, _ = b, x - x.Authorized = b.Authorized + x.xxx_hidden_Authorized = b.Authorized return m0 } type UserCanSeeOrganizationSettingsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -307,13 +299,13 @@ func (x *UserCanSeeOrganizationSettingsRequest) ProtoReflect() protoreflect.Mess func (x *UserCanSeeOrganizationSettingsRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *UserCanSeeOrganizationSettingsRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } type UserCanSeeOrganizationSettingsRequest_builder struct { @@ -328,15 +320,15 @@ func (b0 UserCanSeeOrganizationSettingsRequest_builder) Build() *UserCanSeeOrgan m0 := &UserCanSeeOrganizationSettingsRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationId = b.OrganizationId return m0 } type UserCanSeeOrganizationSettingsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanSeeOrganizationSettingsResponse) Reset() { @@ -366,13 +358,13 @@ func (x *UserCanSeeOrganizationSettingsResponse) ProtoReflect() protoreflect.Mes func (x *UserCanSeeOrganizationSettingsResponse) GetAuthorized() bool { if x != nil { - return x.Authorized + return x.xxx_hidden_Authorized } return false } func (x *UserCanSeeOrganizationSettingsResponse) SetAuthorized(v bool) { - x.Authorized = v + x.xxx_hidden_Authorized = v } type UserCanSeeOrganizationSettingsResponse_builder struct { @@ -385,17 +377,15 @@ func (b0 UserCanSeeOrganizationSettingsResponse_builder) Build() *UserCanSeeOrga m0 := &UserCanSeeOrganizationSettingsResponse{} b, x := &b0, m0 _, _ = b, x - x.Authorized = b.Authorized + x.xxx_hidden_Authorized = b.Authorized return m0 } type UserCanAddOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -425,13 +415,13 @@ func (x *UserCanAddOrganizationMemberRequest) ProtoReflect() protoreflect.Messag func (x *UserCanAddOrganizationMemberRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *UserCanAddOrganizationMemberRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } type UserCanAddOrganizationMemberRequest_builder struct { @@ -446,17 +436,15 @@ func (b0 UserCanAddOrganizationMemberRequest_builder) Build() *UserCanAddOrganiz m0 := &UserCanAddOrganizationMemberRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationId = b.OrganizationId return m0 } type UserCanAddOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -486,13 +474,13 @@ func (x *UserCanAddOrganizationMemberResponse) ProtoReflect() protoreflect.Messa func (x *UserCanAddOrganizationMemberResponse) GetAuthorizedRoles() []OrganizationRole { if x != nil { - return x.AuthorizedRoles + return x.xxx_hidden_AuthorizedRoles } return nil } func (x *UserCanAddOrganizationMemberResponse) SetAuthorizedRoles(v []OrganizationRole) { - x.AuthorizedRoles = v + x.xxx_hidden_AuthorizedRoles = v } type UserCanAddOrganizationMemberResponse_builder struct { @@ -507,17 +495,15 @@ func (b0 UserCanAddOrganizationMemberResponse_builder) Build() *UserCanAddOrgani m0 := &UserCanAddOrganizationMemberResponse{} b, x := &b0, m0 _, _ = b, x - x.AuthorizedRoles = b.AuthorizedRoles + x.xxx_hidden_AuthorizedRoles = b.AuthorizedRoles return m0 } type UserCanUpdateOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -547,13 +533,13 @@ func (x *UserCanUpdateOrganizationMemberRequest) ProtoReflect() protoreflect.Mes func (x *UserCanUpdateOrganizationMemberRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *UserCanUpdateOrganizationMemberRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } type UserCanUpdateOrganizationMemberRequest_builder struct { @@ -568,17 +554,15 @@ func (b0 UserCanUpdateOrganizationMemberRequest_builder) Build() *UserCanUpdateO m0 := &UserCanUpdateOrganizationMemberRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationId = b.OrganizationId return m0 } type UserCanUpdateOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -608,13 +592,13 @@ func (x *UserCanUpdateOrganizationMemberResponse) ProtoReflect() protoreflect.Me func (x *UserCanUpdateOrganizationMemberResponse) GetAuthorizedRoles() []OrganizationRole { if x != nil { - return x.AuthorizedRoles + return x.xxx_hidden_AuthorizedRoles } return nil } func (x *UserCanUpdateOrganizationMemberResponse) SetAuthorizedRoles(v []OrganizationRole) { - x.AuthorizedRoles = v + x.xxx_hidden_AuthorizedRoles = v } type UserCanUpdateOrganizationMemberResponse_builder struct { @@ -629,17 +613,15 @@ func (b0 UserCanUpdateOrganizationMemberResponse_builder) Build() *UserCanUpdate m0 := &UserCanUpdateOrganizationMemberResponse{} b, x := &b0, m0 _, _ = b, x - x.AuthorizedRoles = b.AuthorizedRoles + x.xxx_hidden_AuthorizedRoles = b.AuthorizedRoles return m0 } type UserCanRemoveOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -669,13 +651,13 @@ func (x *UserCanRemoveOrganizationMemberRequest) ProtoReflect() protoreflect.Mes func (x *UserCanRemoveOrganizationMemberRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *UserCanRemoveOrganizationMemberRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } type UserCanRemoveOrganizationMemberRequest_builder struct { @@ -690,17 +672,15 @@ func (b0 UserCanRemoveOrganizationMemberRequest_builder) Build() *UserCanRemoveO m0 := &UserCanRemoveOrganizationMemberRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationId = b.OrganizationId return m0 } type UserCanRemoveOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -730,13 +710,13 @@ func (x *UserCanRemoveOrganizationMemberResponse) ProtoReflect() protoreflect.Me func (x *UserCanRemoveOrganizationMemberResponse) GetAuthorizedRoles() []OrganizationRole { if x != nil { - return x.AuthorizedRoles + return x.xxx_hidden_AuthorizedRoles } return nil } func (x *UserCanRemoveOrganizationMemberResponse) SetAuthorizedRoles(v []OrganizationRole) { - x.AuthorizedRoles = v + x.xxx_hidden_AuthorizedRoles = v } type UserCanRemoveOrganizationMemberResponse_builder struct { @@ -751,17 +731,15 @@ func (b0 UserCanRemoveOrganizationMemberResponse_builder) Build() *UserCanRemove m0 := &UserCanRemoveOrganizationMemberResponse{} b, x := &b0, m0 _, _ = b, x - x.AuthorizedRoles = b.AuthorizedRoles + x.xxx_hidden_AuthorizedRoles = b.AuthorizedRoles return m0 } type UserCanDeleteOrganizationRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -791,13 +769,13 @@ func (x *UserCanDeleteOrganizationRequest) ProtoReflect() protoreflect.Message { func (x *UserCanDeleteOrganizationRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *UserCanDeleteOrganizationRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } type UserCanDeleteOrganizationRequest_builder struct { @@ -812,15 +790,15 @@ func (b0 UserCanDeleteOrganizationRequest_builder) Build() *UserCanDeleteOrganiz m0 := &UserCanDeleteOrganizationRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationId = b.OrganizationId return m0 } type UserCanDeleteOrganizationResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanDeleteOrganizationResponse) Reset() { @@ -850,13 +828,13 @@ func (x *UserCanDeleteOrganizationResponse) ProtoReflect() protoreflect.Message func (x *UserCanDeleteOrganizationResponse) GetAuthorized() bool { if x != nil { - return x.Authorized + return x.xxx_hidden_Authorized } return false } func (x *UserCanDeleteOrganizationResponse) SetAuthorized(v bool) { - x.Authorized = v + x.xxx_hidden_Authorized = v } type UserCanDeleteOrganizationResponse_builder struct { @@ -869,17 +847,15 @@ func (b0 UserCanDeleteOrganizationResponse_builder) Build() *UserCanDeleteOrgani m0 := &UserCanDeleteOrganizationResponse{} b, x := &b0, m0 _, _ = b, x - x.Authorized = b.Authorized + x.xxx_hidden_Authorized = b.Authorized return m0 } type UserCanDeleteRepositoryRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -909,13 +885,13 @@ func (x *UserCanDeleteRepositoryRequest) ProtoReflect() protoreflect.Message { func (x *UserCanDeleteRepositoryRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *UserCanDeleteRepositoryRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } type UserCanDeleteRepositoryRequest_builder struct { @@ -930,15 +906,15 @@ func (b0 UserCanDeleteRepositoryRequest_builder) Build() *UserCanDeleteRepositor m0 := &UserCanDeleteRepositoryRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryId = b.RepositoryId return m0 } type UserCanDeleteRepositoryResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanDeleteRepositoryResponse) Reset() { @@ -968,13 +944,13 @@ func (x *UserCanDeleteRepositoryResponse) ProtoReflect() protoreflect.Message { func (x *UserCanDeleteRepositoryResponse) GetAuthorized() bool { if x != nil { - return x.Authorized + return x.xxx_hidden_Authorized } return false } func (x *UserCanDeleteRepositoryResponse) SetAuthorized(v bool) { - x.Authorized = v + x.xxx_hidden_Authorized = v } type UserCanDeleteRepositoryResponse_builder struct { @@ -987,12 +963,12 @@ func (b0 UserCanDeleteRepositoryResponse_builder) Build() *UserCanDeleteReposito m0 := &UserCanDeleteRepositoryResponse{} b, x := &b0, m0 _, _ = b, x - x.Authorized = b.Authorized + x.xxx_hidden_Authorized = b.Authorized return m0 } type UserCanDeleteUserRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1035,10 +1011,10 @@ func (b0 UserCanDeleteUserRequest_builder) Build() *UserCanDeleteUserRequest { } type UserCanDeleteUserResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanDeleteUserResponse) Reset() { @@ -1068,13 +1044,13 @@ func (x *UserCanDeleteUserResponse) ProtoReflect() protoreflect.Message { func (x *UserCanDeleteUserResponse) GetAuthorized() bool { if x != nil { - return x.Authorized + return x.xxx_hidden_Authorized } return false } func (x *UserCanDeleteUserResponse) SetAuthorized(v bool) { - x.Authorized = v + x.xxx_hidden_Authorized = v } type UserCanDeleteUserResponse_builder struct { @@ -1087,12 +1063,12 @@ func (b0 UserCanDeleteUserResponse_builder) Build() *UserCanDeleteUserResponse { m0 := &UserCanDeleteUserResponse{} b, x := &b0, m0 _, _ = b, x - x.Authorized = b.Authorized + x.xxx_hidden_Authorized = b.Authorized return m0 } type UserCanSeeServerAdminPanelRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1135,10 +1111,10 @@ func (b0 UserCanSeeServerAdminPanelRequest_builder) Build() *UserCanSeeServerAdm } type UserCanSeeServerAdminPanelResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanSeeServerAdminPanelResponse) Reset() { @@ -1168,13 +1144,13 @@ func (x *UserCanSeeServerAdminPanelResponse) ProtoReflect() protoreflect.Message func (x *UserCanSeeServerAdminPanelResponse) GetAuthorized() bool { if x != nil { - return x.Authorized + return x.xxx_hidden_Authorized } return false } func (x *UserCanSeeServerAdminPanelResponse) SetAuthorized(v bool) { - x.Authorized = v + x.xxx_hidden_Authorized = v } type UserCanSeeServerAdminPanelResponse_builder struct { @@ -1187,17 +1163,15 @@ func (b0 UserCanSeeServerAdminPanelResponse_builder) Build() *UserCanSeeServerAd m0 := &UserCanSeeServerAdminPanelResponse{} b, x := &b0, m0 _, _ = b, x - x.Authorized = b.Authorized + x.xxx_hidden_Authorized = b.Authorized return m0 } type UserCanManageRepositoryContributorsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -1227,13 +1201,13 @@ func (x *UserCanManageRepositoryContributorsRequest) ProtoReflect() protoreflect func (x *UserCanManageRepositoryContributorsRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *UserCanManageRepositoryContributorsRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } type UserCanManageRepositoryContributorsRequest_builder struct { @@ -1248,17 +1222,15 @@ func (b0 UserCanManageRepositoryContributorsRequest_builder) Build() *UserCanMan m0 := &UserCanManageRepositoryContributorsRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryId = b.RepositoryId return m0 } type UserCanManageRepositoryContributorsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -1288,13 +1260,13 @@ func (x *UserCanManageRepositoryContributorsResponse) ProtoReflect() protoreflec func (x *UserCanManageRepositoryContributorsResponse) GetAuthorizedRoles() []RepositoryRole { if x != nil { - return x.AuthorizedRoles + return x.xxx_hidden_AuthorizedRoles } return nil } func (x *UserCanManageRepositoryContributorsResponse) SetAuthorizedRoles(v []RepositoryRole) { - x.AuthorizedRoles = v + x.xxx_hidden_AuthorizedRoles = v } type UserCanManageRepositoryContributorsResponse_builder struct { @@ -1309,17 +1281,15 @@ func (b0 UserCanManageRepositoryContributorsResponse_builder) Build() *UserCanMa m0 := &UserCanManageRepositoryContributorsResponse{} b, x := &b0, m0 _, _ = b, x - x.AuthorizedRoles = b.AuthorizedRoles + x.xxx_hidden_AuthorizedRoles = b.AuthorizedRoles return m0 } type UserCanReviewCommitsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -1349,13 +1319,13 @@ func (x *UserCanReviewCommitsRequest) ProtoReflect() protoreflect.Message { func (x *UserCanReviewCommitsRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *UserCanReviewCommitsRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } type UserCanReviewCommitsRequest_builder struct { @@ -1370,15 +1340,15 @@ func (b0 UserCanReviewCommitsRequest_builder) Build() *UserCanReviewCommitsReque m0 := &UserCanReviewCommitsRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryId = b.RepositoryId return m0 } type UserCanReviewCommitsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserCanReviewCommitsResponse) Reset() { @@ -1408,13 +1378,13 @@ func (x *UserCanReviewCommitsResponse) ProtoReflect() protoreflect.Message { func (x *UserCanReviewCommitsResponse) GetAuthorized() bool { if x != nil { - return x.Authorized + return x.xxx_hidden_Authorized } return false } func (x *UserCanReviewCommitsResponse) SetAuthorized(v bool) { - x.Authorized = v + x.xxx_hidden_Authorized = v } type UserCanReviewCommitsResponse_builder struct { @@ -1427,7 +1397,7 @@ func (b0 UserCanReviewCommitsResponse_builder) Build() *UserCanReviewCommitsResp m0 := &UserCanReviewCommitsResponse{} b, x := &b0, m0 _, _ = b, x - x.Authorized = b.Authorized + x.xxx_hidden_Authorized = b.Authorized return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/authz_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/authz_protoopaque.pb.go deleted file mode 100644 index 6d8e90fcd4..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/authz_protoopaque.pb.go +++ /dev/null @@ -1,1775 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/authz.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type UserCanCreateOrganizationRepositoryRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanCreateOrganizationRepositoryRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanCreateOrganizationRepositoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanCreateOrganizationRepositoryRequest) ProtoMessage() {} - -func (x *UserCanCreateOrganizationRepositoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanCreateOrganizationRepositoryRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *UserCanCreateOrganizationRepositoryRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -type UserCanCreateOrganizationRepositoryRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which to check - // whether the user is authorized. - OrganizationId string -} - -func (b0 UserCanCreateOrganizationRepositoryRequest_builder) Build() *UserCanCreateOrganizationRepositoryRequest { - m0 := &UserCanCreateOrganizationRepositoryRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - return m0 -} - -type UserCanCreateOrganizationRepositoryResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserCanCreateOrganizationRepositoryResponse) Reset() { - *x = UserCanCreateOrganizationRepositoryResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanCreateOrganizationRepositoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanCreateOrganizationRepositoryResponse) ProtoMessage() {} - -func (x *UserCanCreateOrganizationRepositoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanCreateOrganizationRepositoryResponse) GetAuthorized() bool { - if x != nil { - return x.xxx_hidden_Authorized - } - return false -} - -func (x *UserCanCreateOrganizationRepositoryResponse) SetAuthorized(v bool) { - x.xxx_hidden_Authorized = v -} - -type UserCanCreateOrganizationRepositoryResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Authorized bool -} - -func (b0 UserCanCreateOrganizationRepositoryResponse_builder) Build() *UserCanCreateOrganizationRepositoryResponse { - m0 := &UserCanCreateOrganizationRepositoryResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Authorized = b.Authorized - return m0 -} - -type UserCanSeeRepositorySettingsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanSeeRepositorySettingsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanSeeRepositorySettingsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanSeeRepositorySettingsRequest) ProtoMessage() {} - -func (x *UserCanSeeRepositorySettingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanSeeRepositorySettingsRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *UserCanSeeRepositorySettingsRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -type UserCanSeeRepositorySettingsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository for which to check - // whether the user is authorized. - RepositoryId string -} - -func (b0 UserCanSeeRepositorySettingsRequest_builder) Build() *UserCanSeeRepositorySettingsRequest { - m0 := &UserCanSeeRepositorySettingsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - return m0 -} - -type UserCanSeeRepositorySettingsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserCanSeeRepositorySettingsResponse) Reset() { - *x = UserCanSeeRepositorySettingsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanSeeRepositorySettingsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanSeeRepositorySettingsResponse) ProtoMessage() {} - -func (x *UserCanSeeRepositorySettingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanSeeRepositorySettingsResponse) GetAuthorized() bool { - if x != nil { - return x.xxx_hidden_Authorized - } - return false -} - -func (x *UserCanSeeRepositorySettingsResponse) SetAuthorized(v bool) { - x.xxx_hidden_Authorized = v -} - -type UserCanSeeRepositorySettingsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Authorized bool -} - -func (b0 UserCanSeeRepositorySettingsResponse_builder) Build() *UserCanSeeRepositorySettingsResponse { - m0 := &UserCanSeeRepositorySettingsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Authorized = b.Authorized - return m0 -} - -type UserCanSeeOrganizationSettingsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanSeeOrganizationSettingsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanSeeOrganizationSettingsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanSeeOrganizationSettingsRequest) ProtoMessage() {} - -func (x *UserCanSeeOrganizationSettingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanSeeOrganizationSettingsRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *UserCanSeeOrganizationSettingsRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -type UserCanSeeOrganizationSettingsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which to check - // whether the user is authorized. - OrganizationId string -} - -func (b0 UserCanSeeOrganizationSettingsRequest_builder) Build() *UserCanSeeOrganizationSettingsRequest { - m0 := &UserCanSeeOrganizationSettingsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - return m0 -} - -type UserCanSeeOrganizationSettingsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserCanSeeOrganizationSettingsResponse) Reset() { - *x = UserCanSeeOrganizationSettingsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanSeeOrganizationSettingsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanSeeOrganizationSettingsResponse) ProtoMessage() {} - -func (x *UserCanSeeOrganizationSettingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanSeeOrganizationSettingsResponse) GetAuthorized() bool { - if x != nil { - return x.xxx_hidden_Authorized - } - return false -} - -func (x *UserCanSeeOrganizationSettingsResponse) SetAuthorized(v bool) { - x.xxx_hidden_Authorized = v -} - -type UserCanSeeOrganizationSettingsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Authorized bool -} - -func (b0 UserCanSeeOrganizationSettingsResponse_builder) Build() *UserCanSeeOrganizationSettingsResponse { - m0 := &UserCanSeeOrganizationSettingsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Authorized = b.Authorized - return m0 -} - -type UserCanAddOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanAddOrganizationMemberRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanAddOrganizationMemberRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanAddOrganizationMemberRequest) ProtoMessage() {} - -func (x *UserCanAddOrganizationMemberRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanAddOrganizationMemberRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *UserCanAddOrganizationMemberRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -type UserCanAddOrganizationMemberRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which to check - // whether the user is authorized. - OrganizationId string -} - -func (b0 UserCanAddOrganizationMemberRequest_builder) Build() *UserCanAddOrganizationMemberRequest { - m0 := &UserCanAddOrganizationMemberRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - return m0 -} - -type UserCanAddOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanAddOrganizationMemberResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanAddOrganizationMemberResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanAddOrganizationMemberResponse) ProtoMessage() {} - -func (x *UserCanAddOrganizationMemberResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanAddOrganizationMemberResponse) GetAuthorizedRoles() []OrganizationRole { - if x != nil { - return x.xxx_hidden_AuthorizedRoles - } - return nil -} - -func (x *UserCanAddOrganizationMemberResponse) SetAuthorizedRoles(v []OrganizationRole) { - x.xxx_hidden_AuthorizedRoles = v -} - -type UserCanAddOrganizationMemberResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 -} - -func (b0 UserCanAddOrganizationMemberResponse_builder) Build() *UserCanAddOrganizationMemberResponse { - m0 := &UserCanAddOrganizationMemberResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_AuthorizedRoles = b.AuthorizedRoles - return m0 -} - -type UserCanUpdateOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanUpdateOrganizationMemberRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanUpdateOrganizationMemberRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanUpdateOrganizationMemberRequest) ProtoMessage() {} - -func (x *UserCanUpdateOrganizationMemberRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanUpdateOrganizationMemberRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *UserCanUpdateOrganizationMemberRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -type UserCanUpdateOrganizationMemberRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which to check - // whether the user is authorized. - OrganizationId string -} - -func (b0 UserCanUpdateOrganizationMemberRequest_builder) Build() *UserCanUpdateOrganizationMemberRequest { - m0 := &UserCanUpdateOrganizationMemberRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - return m0 -} - -type UserCanUpdateOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanUpdateOrganizationMemberResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanUpdateOrganizationMemberResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanUpdateOrganizationMemberResponse) ProtoMessage() {} - -func (x *UserCanUpdateOrganizationMemberResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanUpdateOrganizationMemberResponse) GetAuthorizedRoles() []OrganizationRole { - if x != nil { - return x.xxx_hidden_AuthorizedRoles - } - return nil -} - -func (x *UserCanUpdateOrganizationMemberResponse) SetAuthorizedRoles(v []OrganizationRole) { - x.xxx_hidden_AuthorizedRoles = v -} - -type UserCanUpdateOrganizationMemberResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 -} - -func (b0 UserCanUpdateOrganizationMemberResponse_builder) Build() *UserCanUpdateOrganizationMemberResponse { - m0 := &UserCanUpdateOrganizationMemberResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_AuthorizedRoles = b.AuthorizedRoles - return m0 -} - -type UserCanRemoveOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanRemoveOrganizationMemberRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanRemoveOrganizationMemberRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanRemoveOrganizationMemberRequest) ProtoMessage() {} - -func (x *UserCanRemoveOrganizationMemberRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanRemoveOrganizationMemberRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *UserCanRemoveOrganizationMemberRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -type UserCanRemoveOrganizationMemberRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which to check - // whether the user is authorized. - OrganizationId string -} - -func (b0 UserCanRemoveOrganizationMemberRequest_builder) Build() *UserCanRemoveOrganizationMemberRequest { - m0 := &UserCanRemoveOrganizationMemberRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - return m0 -} - -type UserCanRemoveOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanRemoveOrganizationMemberResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanRemoveOrganizationMemberResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanRemoveOrganizationMemberResponse) ProtoMessage() {} - -func (x *UserCanRemoveOrganizationMemberResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanRemoveOrganizationMemberResponse) GetAuthorizedRoles() []OrganizationRole { - if x != nil { - return x.xxx_hidden_AuthorizedRoles - } - return nil -} - -func (x *UserCanRemoveOrganizationMemberResponse) SetAuthorizedRoles(v []OrganizationRole) { - x.xxx_hidden_AuthorizedRoles = v -} - -type UserCanRemoveOrganizationMemberResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 -} - -func (b0 UserCanRemoveOrganizationMemberResponse_builder) Build() *UserCanRemoveOrganizationMemberResponse { - m0 := &UserCanRemoveOrganizationMemberResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_AuthorizedRoles = b.AuthorizedRoles - return m0 -} - -type UserCanDeleteOrganizationRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanDeleteOrganizationRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanDeleteOrganizationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanDeleteOrganizationRequest) ProtoMessage() {} - -func (x *UserCanDeleteOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanDeleteOrganizationRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *UserCanDeleteOrganizationRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -type UserCanDeleteOrganizationRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which to check - // whether the user is authorized. - OrganizationId string -} - -func (b0 UserCanDeleteOrganizationRequest_builder) Build() *UserCanDeleteOrganizationRequest { - m0 := &UserCanDeleteOrganizationRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - return m0 -} - -type UserCanDeleteOrganizationResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserCanDeleteOrganizationResponse) Reset() { - *x = UserCanDeleteOrganizationResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanDeleteOrganizationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanDeleteOrganizationResponse) ProtoMessage() {} - -func (x *UserCanDeleteOrganizationResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanDeleteOrganizationResponse) GetAuthorized() bool { - if x != nil { - return x.xxx_hidden_Authorized - } - return false -} - -func (x *UserCanDeleteOrganizationResponse) SetAuthorized(v bool) { - x.xxx_hidden_Authorized = v -} - -type UserCanDeleteOrganizationResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Authorized bool -} - -func (b0 UserCanDeleteOrganizationResponse_builder) Build() *UserCanDeleteOrganizationResponse { - m0 := &UserCanDeleteOrganizationResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Authorized = b.Authorized - return m0 -} - -type UserCanDeleteRepositoryRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanDeleteRepositoryRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanDeleteRepositoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanDeleteRepositoryRequest) ProtoMessage() {} - -func (x *UserCanDeleteRepositoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanDeleteRepositoryRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *UserCanDeleteRepositoryRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -type UserCanDeleteRepositoryRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository for which to check - // whether the user is authorized. - RepositoryId string -} - -func (b0 UserCanDeleteRepositoryRequest_builder) Build() *UserCanDeleteRepositoryRequest { - m0 := &UserCanDeleteRepositoryRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - return m0 -} - -type UserCanDeleteRepositoryResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserCanDeleteRepositoryResponse) Reset() { - *x = UserCanDeleteRepositoryResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanDeleteRepositoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanDeleteRepositoryResponse) ProtoMessage() {} - -func (x *UserCanDeleteRepositoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanDeleteRepositoryResponse) GetAuthorized() bool { - if x != nil { - return x.xxx_hidden_Authorized - } - return false -} - -func (x *UserCanDeleteRepositoryResponse) SetAuthorized(v bool) { - x.xxx_hidden_Authorized = v -} - -type UserCanDeleteRepositoryResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Authorized bool -} - -func (b0 UserCanDeleteRepositoryResponse_builder) Build() *UserCanDeleteRepositoryResponse { - m0 := &UserCanDeleteRepositoryResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Authorized = b.Authorized - return m0 -} - -type UserCanDeleteUserRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserCanDeleteUserRequest) Reset() { - *x = UserCanDeleteUserRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanDeleteUserRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanDeleteUserRequest) ProtoMessage() {} - -func (x *UserCanDeleteUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type UserCanDeleteUserRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 UserCanDeleteUserRequest_builder) Build() *UserCanDeleteUserRequest { - m0 := &UserCanDeleteUserRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type UserCanDeleteUserResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserCanDeleteUserResponse) Reset() { - *x = UserCanDeleteUserResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanDeleteUserResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanDeleteUserResponse) ProtoMessage() {} - -func (x *UserCanDeleteUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanDeleteUserResponse) GetAuthorized() bool { - if x != nil { - return x.xxx_hidden_Authorized - } - return false -} - -func (x *UserCanDeleteUserResponse) SetAuthorized(v bool) { - x.xxx_hidden_Authorized = v -} - -type UserCanDeleteUserResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Authorized bool -} - -func (b0 UserCanDeleteUserResponse_builder) Build() *UserCanDeleteUserResponse { - m0 := &UserCanDeleteUserResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Authorized = b.Authorized - return m0 -} - -type UserCanSeeServerAdminPanelRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserCanSeeServerAdminPanelRequest) Reset() { - *x = UserCanSeeServerAdminPanelRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanSeeServerAdminPanelRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanSeeServerAdminPanelRequest) ProtoMessage() {} - -func (x *UserCanSeeServerAdminPanelRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type UserCanSeeServerAdminPanelRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 UserCanSeeServerAdminPanelRequest_builder) Build() *UserCanSeeServerAdminPanelRequest { - m0 := &UserCanSeeServerAdminPanelRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type UserCanSeeServerAdminPanelResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserCanSeeServerAdminPanelResponse) Reset() { - *x = UserCanSeeServerAdminPanelResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanSeeServerAdminPanelResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanSeeServerAdminPanelResponse) ProtoMessage() {} - -func (x *UserCanSeeServerAdminPanelResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanSeeServerAdminPanelResponse) GetAuthorized() bool { - if x != nil { - return x.xxx_hidden_Authorized - } - return false -} - -func (x *UserCanSeeServerAdminPanelResponse) SetAuthorized(v bool) { - x.xxx_hidden_Authorized = v -} - -type UserCanSeeServerAdminPanelResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Authorized bool -} - -func (b0 UserCanSeeServerAdminPanelResponse_builder) Build() *UserCanSeeServerAdminPanelResponse { - m0 := &UserCanSeeServerAdminPanelResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Authorized = b.Authorized - return m0 -} - -type UserCanManageRepositoryContributorsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanManageRepositoryContributorsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanManageRepositoryContributorsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanManageRepositoryContributorsRequest) ProtoMessage() {} - -func (x *UserCanManageRepositoryContributorsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanManageRepositoryContributorsRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *UserCanManageRepositoryContributorsRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -type UserCanManageRepositoryContributorsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository for which to check - // whether the user is authorized. - RepositoryId string -} - -func (b0 UserCanManageRepositoryContributorsRequest_builder) Build() *UserCanManageRepositoryContributorsRequest { - m0 := &UserCanManageRepositoryContributorsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - return m0 -} - -type UserCanManageRepositoryContributorsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanManageRepositoryContributorsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanManageRepositoryContributorsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanManageRepositoryContributorsResponse) ProtoMessage() {} - -func (x *UserCanManageRepositoryContributorsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanManageRepositoryContributorsResponse) GetAuthorizedRoles() []RepositoryRole { - if x != nil { - return x.xxx_hidden_AuthorizedRoles - } - return nil -} - -func (x *UserCanManageRepositoryContributorsResponse) SetAuthorizedRoles(v []RepositoryRole) { - x.xxx_hidden_AuthorizedRoles = v -} - -type UserCanManageRepositoryContributorsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 -} - -func (b0 UserCanManageRepositoryContributorsResponse_builder) Build() *UserCanManageRepositoryContributorsResponse { - m0 := &UserCanManageRepositoryContributorsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_AuthorizedRoles = b.AuthorizedRoles - return m0 -} - -type UserCanReviewCommitsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = UserCanReviewCommitsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanReviewCommitsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanReviewCommitsRequest) ProtoMessage() {} - -func (x *UserCanReviewCommitsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanReviewCommitsRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *UserCanReviewCommitsRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -type UserCanReviewCommitsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository for which to check - // whether the user is authorized. - RepositoryId string -} - -func (b0 UserCanReviewCommitsRequest_builder) Build() *UserCanReviewCommitsRequest { - m0 := &UserCanReviewCommitsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - return m0 -} - -type UserCanReviewCommitsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserCanReviewCommitsResponse) Reset() { - *x = UserCanReviewCommitsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserCanReviewCommitsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCanReviewCommitsResponse) ProtoMessage() {} - -func (x *UserCanReviewCommitsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserCanReviewCommitsResponse) GetAuthorized() bool { - if x != nil { - return x.xxx_hidden_Authorized - } - return false -} - -func (x *UserCanReviewCommitsResponse) SetAuthorized(v bool) { - x.xxx_hidden_Authorized = v -} - -type UserCanReviewCommitsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Authorized bool -} - -func (b0 UserCanReviewCommitsResponse_builder) Build() *UserCanReviewCommitsResponse { - m0 := &UserCanReviewCommitsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Authorized = b.Authorized - return m0 -} - -var File_buf_alpha_registry_v1alpha1_authz_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_authz_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x61, 0x75, - 0x74, 0x68, 0x7a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, - 0x0a, 0x2a, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x2b, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x65, 0x64, 0x22, 0x4a, 0x0a, 0x23, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x53, - 0x65, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, - 0x22, 0x46, 0x0a, 0x24, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x53, 0x65, 0x65, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x22, 0x50, 0x0a, 0x25, 0x55, 0x73, 0x65, 0x72, - 0x43, 0x61, 0x6e, 0x53, 0x65, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x26, 0x55, 0x73, - 0x65, 0x72, 0x43, 0x61, 0x6e, 0x53, 0x65, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x65, 0x64, 0x22, 0x4e, 0x0a, 0x23, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x41, - 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x80, 0x01, 0x0a, 0x24, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, - 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, - 0x10, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6c, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x51, 0x0a, 0x26, 0x55, 0x73, 0x65, 0x72, 0x43, - 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x27, 0x55, - 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, - 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, - 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, - 0x22, 0x51, 0x0a, 0x26, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x27, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x58, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x72, 0x6f, - 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x4b, 0x0a, 0x20, 0x55, 0x73, 0x65, - 0x72, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, - 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x43, 0x0a, 0x21, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, - 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x22, 0x45, 0x0a, 0x1e, 0x55, - 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, - 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x49, 0x64, 0x22, 0x41, 0x0a, 0x1f, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x7a, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x3b, 0x0a, 0x19, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, - 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x22, 0x23, - 0x0a, 0x21, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x53, 0x65, 0x65, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0x44, 0x0a, 0x22, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x53, 0x65, - 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x6e, 0x65, - 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x22, 0x51, 0x0a, 0x2a, 0x55, 0x73, 0x65, - 0x72, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, 0x85, 0x01, 0x0a, - 0x2b, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, - 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x10, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, - 0x6f, 0x6c, 0x65, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x52, - 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x42, 0x0a, 0x1b, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x52, - 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x1c, 0x55, 0x73, 0x65, 0x72, - 0x43, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x32, 0xfd, 0x0f, 0x0a, 0x0c, 0x41, 0x75, 0x74, - 0x68, 0x7a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xbd, 0x01, 0x0a, 0x23, 0x55, 0x73, - 0x65, 0x72, 0x43, 0x61, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x47, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x48, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xa8, 0x01, 0x0a, 0x1c, 0x55, 0x73, - 0x65, 0x72, 0x43, 0x61, 0x6e, 0x53, 0x65, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x40, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, - 0x53, 0x65, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, - 0x61, 0x6e, 0x53, 0x65, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x03, 0x90, 0x02, 0x01, 0x12, 0xae, 0x01, 0x0a, 0x1e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, - 0x53, 0x65, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x42, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x53, 0x65, 0x65, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, - 0x6e, 0x53, 0x65, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xa8, 0x01, 0x0a, 0x1c, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, - 0x6e, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x40, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x41, 0x64, 0x64, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x41, 0x64, - 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, - 0x12, 0xb1, 0x01, 0x0a, 0x1f, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x12, 0x43, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x44, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x03, 0x90, 0x02, 0x01, 0x12, 0xb1, 0x01, 0x0a, 0x1f, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, - 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x43, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x52, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x44, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x43, 0x61, 0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x9f, 0x01, 0x0a, 0x19, 0x55, 0x73, 0x65, - 0x72, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x99, 0x01, 0x0a, 0x17, 0x55, - 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x87, 0x01, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x43, - 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, - 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, - 0x12, 0xa2, 0x01, 0x0a, 0x1a, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x53, 0x65, 0x65, 0x53, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x6e, 0x65, 0x6c, 0x12, - 0x3e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x43, 0x61, 0x6e, 0x53, 0x65, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, - 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x3f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x43, 0x61, 0x6e, 0x53, 0x65, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, - 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xbd, 0x01, 0x0a, 0x23, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, - 0x6e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x47, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x48, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x90, 0x01, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, - 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x38, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x43, 0x61, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x52, 0x65, - 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x97, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0a, 0x41, 0x75, - 0x74, 0x68, 0x7a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, - 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, - 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, - 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes = make([]protoimpl.MessageInfo, 24) -var file_buf_alpha_registry_v1alpha1_authz_proto_goTypes = []any{ - (*UserCanCreateOrganizationRepositoryRequest)(nil), // 0: buf.alpha.registry.v1alpha1.UserCanCreateOrganizationRepositoryRequest - (*UserCanCreateOrganizationRepositoryResponse)(nil), // 1: buf.alpha.registry.v1alpha1.UserCanCreateOrganizationRepositoryResponse - (*UserCanSeeRepositorySettingsRequest)(nil), // 2: buf.alpha.registry.v1alpha1.UserCanSeeRepositorySettingsRequest - (*UserCanSeeRepositorySettingsResponse)(nil), // 3: buf.alpha.registry.v1alpha1.UserCanSeeRepositorySettingsResponse - (*UserCanSeeOrganizationSettingsRequest)(nil), // 4: buf.alpha.registry.v1alpha1.UserCanSeeOrganizationSettingsRequest - (*UserCanSeeOrganizationSettingsResponse)(nil), // 5: buf.alpha.registry.v1alpha1.UserCanSeeOrganizationSettingsResponse - (*UserCanAddOrganizationMemberRequest)(nil), // 6: buf.alpha.registry.v1alpha1.UserCanAddOrganizationMemberRequest - (*UserCanAddOrganizationMemberResponse)(nil), // 7: buf.alpha.registry.v1alpha1.UserCanAddOrganizationMemberResponse - (*UserCanUpdateOrganizationMemberRequest)(nil), // 8: buf.alpha.registry.v1alpha1.UserCanUpdateOrganizationMemberRequest - (*UserCanUpdateOrganizationMemberResponse)(nil), // 9: buf.alpha.registry.v1alpha1.UserCanUpdateOrganizationMemberResponse - (*UserCanRemoveOrganizationMemberRequest)(nil), // 10: buf.alpha.registry.v1alpha1.UserCanRemoveOrganizationMemberRequest - (*UserCanRemoveOrganizationMemberResponse)(nil), // 11: buf.alpha.registry.v1alpha1.UserCanRemoveOrganizationMemberResponse - (*UserCanDeleteOrganizationRequest)(nil), // 12: buf.alpha.registry.v1alpha1.UserCanDeleteOrganizationRequest - (*UserCanDeleteOrganizationResponse)(nil), // 13: buf.alpha.registry.v1alpha1.UserCanDeleteOrganizationResponse - (*UserCanDeleteRepositoryRequest)(nil), // 14: buf.alpha.registry.v1alpha1.UserCanDeleteRepositoryRequest - (*UserCanDeleteRepositoryResponse)(nil), // 15: buf.alpha.registry.v1alpha1.UserCanDeleteRepositoryResponse - (*UserCanDeleteUserRequest)(nil), // 16: buf.alpha.registry.v1alpha1.UserCanDeleteUserRequest - (*UserCanDeleteUserResponse)(nil), // 17: buf.alpha.registry.v1alpha1.UserCanDeleteUserResponse - (*UserCanSeeServerAdminPanelRequest)(nil), // 18: buf.alpha.registry.v1alpha1.UserCanSeeServerAdminPanelRequest - (*UserCanSeeServerAdminPanelResponse)(nil), // 19: buf.alpha.registry.v1alpha1.UserCanSeeServerAdminPanelResponse - (*UserCanManageRepositoryContributorsRequest)(nil), // 20: buf.alpha.registry.v1alpha1.UserCanManageRepositoryContributorsRequest - (*UserCanManageRepositoryContributorsResponse)(nil), // 21: buf.alpha.registry.v1alpha1.UserCanManageRepositoryContributorsResponse - (*UserCanReviewCommitsRequest)(nil), // 22: buf.alpha.registry.v1alpha1.UserCanReviewCommitsRequest - (*UserCanReviewCommitsResponse)(nil), // 23: buf.alpha.registry.v1alpha1.UserCanReviewCommitsResponse - (OrganizationRole)(0), // 24: buf.alpha.registry.v1alpha1.OrganizationRole - (RepositoryRole)(0), // 25: buf.alpha.registry.v1alpha1.RepositoryRole -} -var file_buf_alpha_registry_v1alpha1_authz_proto_depIdxs = []int32{ - 24, // 0: buf.alpha.registry.v1alpha1.UserCanAddOrganizationMemberResponse.authorized_roles:type_name -> buf.alpha.registry.v1alpha1.OrganizationRole - 24, // 1: buf.alpha.registry.v1alpha1.UserCanUpdateOrganizationMemberResponse.authorized_roles:type_name -> buf.alpha.registry.v1alpha1.OrganizationRole - 24, // 2: buf.alpha.registry.v1alpha1.UserCanRemoveOrganizationMemberResponse.authorized_roles:type_name -> buf.alpha.registry.v1alpha1.OrganizationRole - 25, // 3: buf.alpha.registry.v1alpha1.UserCanManageRepositoryContributorsResponse.authorized_roles:type_name -> buf.alpha.registry.v1alpha1.RepositoryRole - 0, // 4: buf.alpha.registry.v1alpha1.AuthzService.UserCanCreateOrganizationRepository:input_type -> buf.alpha.registry.v1alpha1.UserCanCreateOrganizationRepositoryRequest - 2, // 5: buf.alpha.registry.v1alpha1.AuthzService.UserCanSeeRepositorySettings:input_type -> buf.alpha.registry.v1alpha1.UserCanSeeRepositorySettingsRequest - 4, // 6: buf.alpha.registry.v1alpha1.AuthzService.UserCanSeeOrganizationSettings:input_type -> buf.alpha.registry.v1alpha1.UserCanSeeOrganizationSettingsRequest - 6, // 7: buf.alpha.registry.v1alpha1.AuthzService.UserCanAddOrganizationMember:input_type -> buf.alpha.registry.v1alpha1.UserCanAddOrganizationMemberRequest - 8, // 8: buf.alpha.registry.v1alpha1.AuthzService.UserCanUpdateOrganizationMember:input_type -> buf.alpha.registry.v1alpha1.UserCanUpdateOrganizationMemberRequest - 10, // 9: buf.alpha.registry.v1alpha1.AuthzService.UserCanRemoveOrganizationMember:input_type -> buf.alpha.registry.v1alpha1.UserCanRemoveOrganizationMemberRequest - 12, // 10: buf.alpha.registry.v1alpha1.AuthzService.UserCanDeleteOrganization:input_type -> buf.alpha.registry.v1alpha1.UserCanDeleteOrganizationRequest - 14, // 11: buf.alpha.registry.v1alpha1.AuthzService.UserCanDeleteRepository:input_type -> buf.alpha.registry.v1alpha1.UserCanDeleteRepositoryRequest - 16, // 12: buf.alpha.registry.v1alpha1.AuthzService.UserCanDeleteUser:input_type -> buf.alpha.registry.v1alpha1.UserCanDeleteUserRequest - 18, // 13: buf.alpha.registry.v1alpha1.AuthzService.UserCanSeeServerAdminPanel:input_type -> buf.alpha.registry.v1alpha1.UserCanSeeServerAdminPanelRequest - 20, // 14: buf.alpha.registry.v1alpha1.AuthzService.UserCanManageRepositoryContributors:input_type -> buf.alpha.registry.v1alpha1.UserCanManageRepositoryContributorsRequest - 22, // 15: buf.alpha.registry.v1alpha1.AuthzService.UserCanReviewCommits:input_type -> buf.alpha.registry.v1alpha1.UserCanReviewCommitsRequest - 1, // 16: buf.alpha.registry.v1alpha1.AuthzService.UserCanCreateOrganizationRepository:output_type -> buf.alpha.registry.v1alpha1.UserCanCreateOrganizationRepositoryResponse - 3, // 17: buf.alpha.registry.v1alpha1.AuthzService.UserCanSeeRepositorySettings:output_type -> buf.alpha.registry.v1alpha1.UserCanSeeRepositorySettingsResponse - 5, // 18: buf.alpha.registry.v1alpha1.AuthzService.UserCanSeeOrganizationSettings:output_type -> buf.alpha.registry.v1alpha1.UserCanSeeOrganizationSettingsResponse - 7, // 19: buf.alpha.registry.v1alpha1.AuthzService.UserCanAddOrganizationMember:output_type -> buf.alpha.registry.v1alpha1.UserCanAddOrganizationMemberResponse - 9, // 20: buf.alpha.registry.v1alpha1.AuthzService.UserCanUpdateOrganizationMember:output_type -> buf.alpha.registry.v1alpha1.UserCanUpdateOrganizationMemberResponse - 11, // 21: buf.alpha.registry.v1alpha1.AuthzService.UserCanRemoveOrganizationMember:output_type -> buf.alpha.registry.v1alpha1.UserCanRemoveOrganizationMemberResponse - 13, // 22: buf.alpha.registry.v1alpha1.AuthzService.UserCanDeleteOrganization:output_type -> buf.alpha.registry.v1alpha1.UserCanDeleteOrganizationResponse - 15, // 23: buf.alpha.registry.v1alpha1.AuthzService.UserCanDeleteRepository:output_type -> buf.alpha.registry.v1alpha1.UserCanDeleteRepositoryResponse - 17, // 24: buf.alpha.registry.v1alpha1.AuthzService.UserCanDeleteUser:output_type -> buf.alpha.registry.v1alpha1.UserCanDeleteUserResponse - 19, // 25: buf.alpha.registry.v1alpha1.AuthzService.UserCanSeeServerAdminPanel:output_type -> buf.alpha.registry.v1alpha1.UserCanSeeServerAdminPanelResponse - 21, // 26: buf.alpha.registry.v1alpha1.AuthzService.UserCanManageRepositoryContributors:output_type -> buf.alpha.registry.v1alpha1.UserCanManageRepositoryContributorsResponse - 23, // 27: buf.alpha.registry.v1alpha1.AuthzService.UserCanReviewCommits:output_type -> buf.alpha.registry.v1alpha1.UserCanReviewCommitsResponse - 16, // [16:28] is the sub-list for method output_type - 4, // [4:16] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_authz_proto_init() } -func file_buf_alpha_registry_v1alpha1_authz_proto_init() { - if File_buf_alpha_registry_v1alpha1_authz_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_role_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_authz_proto_rawDesc, - NumEnums: 0, - NumMessages: 24, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_authz_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_authz_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_authz_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_authz_proto = out.File - file_buf_alpha_registry_v1alpha1_authz_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_authz_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_authz_proto_depIdxs = nil -} 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 f54dedd5cb..c19e1d4307 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/convert.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -82,19 +80,14 @@ func (x ConvertFormat) Number() protoreflect.EnumNumber { } type ConvertRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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. - Image *v1.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` - // payload is the serialized Protobuf message. - Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - // request_format is the format of the payload. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` + xxx_hidden_Image *v1.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` + xxx_hidden_Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` + xxx_hidden_RequestFormat ConvertFormat `protobuf:"varint,4,opt,name=request_format,json=requestFormat,proto3,enum=buf.alpha.registry.v1alpha1.ConvertFormat" json:"request_format,omitempty"` + xxx_hidden_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() { @@ -124,71 +117,71 @@ func (x *ConvertRequest) ProtoReflect() protoreflect.Message { func (x *ConvertRequest) GetTypeName() string { if x != nil { - return x.TypeName + return x.xxx_hidden_TypeName } return "" } func (x *ConvertRequest) GetImage() *v1.Image { if x != nil { - return x.Image + return x.xxx_hidden_Image } return nil } func (x *ConvertRequest) GetPayload() []byte { if x != nil { - return x.Payload + return x.xxx_hidden_Payload } return nil } func (x *ConvertRequest) GetRequestFormat() ConvertFormat { if x != nil { - return x.RequestFormat + return x.xxx_hidden_RequestFormat } return ConvertFormat_CONVERT_FORMAT_UNSPECIFIED } func (x *ConvertRequest) GetResponseFormat() ConvertFormat { if x != nil { - return x.ResponseFormat + return x.xxx_hidden_ResponseFormat } return ConvertFormat_CONVERT_FORMAT_UNSPECIFIED } func (x *ConvertRequest) SetTypeName(v string) { - x.TypeName = v + x.xxx_hidden_TypeName = v } func (x *ConvertRequest) SetImage(v *v1.Image) { - x.Image = v + x.xxx_hidden_Image = v } func (x *ConvertRequest) SetPayload(v []byte) { if v == nil { v = []byte{} } - x.Payload = v + x.xxx_hidden_Payload = v } func (x *ConvertRequest) SetRequestFormat(v ConvertFormat) { - x.RequestFormat = v + x.xxx_hidden_RequestFormat = v } func (x *ConvertRequest) SetResponseFormat(v ConvertFormat) { - x.ResponseFormat = v + x.xxx_hidden_ResponseFormat = v } func (x *ConvertRequest) HasImage() bool { if x == nil { return false } - return x.Image != nil + return x.xxx_hidden_Image != nil } func (x *ConvertRequest) ClearImage() { - x.Image = nil + x.xxx_hidden_Image = nil } type ConvertRequest_builder struct { @@ -210,20 +203,19 @@ func (b0 ConvertRequest_builder) Build() *ConvertRequest { m0 := &ConvertRequest{} b, x := &b0, m0 _, _ = b, x - x.TypeName = b.TypeName - x.Image = b.Image - x.Payload = b.Payload - x.RequestFormat = b.RequestFormat - x.ResponseFormat = b.ResponseFormat + x.xxx_hidden_TypeName = b.TypeName + x.xxx_hidden_Image = b.Image + x.xxx_hidden_Payload = b.Payload + x.xxx_hidden_RequestFormat = b.RequestFormat + x.xxx_hidden_ResponseFormat = b.ResponseFormat return m0 } type ConvertResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConvertResponse) Reset() { @@ -253,7 +245,7 @@ func (x *ConvertResponse) ProtoReflect() protoreflect.Message { func (x *ConvertResponse) GetPayload() []byte { if x != nil { - return x.Payload + return x.xxx_hidden_Payload } return nil } @@ -262,7 +254,7 @@ func (x *ConvertResponse) SetPayload(v []byte) { if v == nil { v = []byte{} } - x.Payload = v + x.xxx_hidden_Payload = v } type ConvertResponse_builder struct { @@ -276,7 +268,7 @@ func (b0 ConvertResponse_builder) Build() *ConvertResponse { m0 := &ConvertResponse{} b, x := &b0, m0 _, _ = b, x - x.Payload = b.Payload + x.xxx_hidden_Payload = b.Payload return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/convert_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/convert_protoopaque.pb.go deleted file mode 100644 index b9079aa8d9..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/convert_protoopaque.pb.go +++ /dev/null @@ -1,387 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/convert.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - v1 "github.com/bufbuild/buf/private/gen/proto/go/buf/alpha/image/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// The supported formats for the serialized message conversion. -type ConvertFormat int32 - -const ( - ConvertFormat_CONVERT_FORMAT_UNSPECIFIED ConvertFormat = 0 - ConvertFormat_CONVERT_FORMAT_BIN ConvertFormat = 1 - ConvertFormat_CONVERT_FORMAT_JSON ConvertFormat = 2 -) - -// Enum value maps for ConvertFormat. -var ( - ConvertFormat_name = map[int32]string{ - 0: "CONVERT_FORMAT_UNSPECIFIED", - 1: "CONVERT_FORMAT_BIN", - 2: "CONVERT_FORMAT_JSON", - } - ConvertFormat_value = map[string]int32{ - "CONVERT_FORMAT_UNSPECIFIED": 0, - "CONVERT_FORMAT_BIN": 1, - "CONVERT_FORMAT_JSON": 2, - } -) - -func (x ConvertFormat) Enum() *ConvertFormat { - p := new(ConvertFormat) - *p = x - return p -} - -func (x ConvertFormat) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ConvertFormat) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_convert_proto_enumTypes[0].Descriptor() -} - -func (ConvertFormat) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_convert_proto_enumTypes[0] -} - -func (x ConvertFormat) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type ConvertRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` - xxx_hidden_Image *v1.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` - xxx_hidden_Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - xxx_hidden_RequestFormat ConvertFormat `protobuf:"varint,4,opt,name=request_format,json=requestFormat,proto3,enum=buf.alpha.registry.v1alpha1.ConvertFormat" json:"request_format,omitempty"` - xxx_hidden_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() { - *x = ConvertRequest{} - mi := &file_buf_alpha_registry_v1alpha1_convert_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConvertRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConvertRequest) ProtoMessage() {} - -func (x *ConvertRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_convert_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ConvertRequest) GetTypeName() string { - if x != nil { - return x.xxx_hidden_TypeName - } - return "" -} - -func (x *ConvertRequest) GetImage() *v1.Image { - if x != nil { - return x.xxx_hidden_Image - } - return nil -} - -func (x *ConvertRequest) GetPayload() []byte { - if x != nil { - return x.xxx_hidden_Payload - } - return nil -} - -func (x *ConvertRequest) GetRequestFormat() ConvertFormat { - if x != nil { - return x.xxx_hidden_RequestFormat - } - return ConvertFormat_CONVERT_FORMAT_UNSPECIFIED -} - -func (x *ConvertRequest) GetResponseFormat() ConvertFormat { - if x != nil { - return x.xxx_hidden_ResponseFormat - } - return ConvertFormat_CONVERT_FORMAT_UNSPECIFIED -} - -func (x *ConvertRequest) SetTypeName(v string) { - x.xxx_hidden_TypeName = v -} - -func (x *ConvertRequest) SetImage(v *v1.Image) { - x.xxx_hidden_Image = v -} - -func (x *ConvertRequest) SetPayload(v []byte) { - if v == nil { - v = []byte{} - } - x.xxx_hidden_Payload = v -} - -func (x *ConvertRequest) SetRequestFormat(v ConvertFormat) { - x.xxx_hidden_RequestFormat = v -} - -func (x *ConvertRequest) SetResponseFormat(v ConvertFormat) { - x.xxx_hidden_ResponseFormat = v -} - -func (x *ConvertRequest) HasImage() bool { - if x == nil { - return false - } - return x.xxx_hidden_Image != nil -} - -func (x *ConvertRequest) ClearImage() { - x.xxx_hidden_Image = nil -} - -type ConvertRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // type_name is the full type name of the serialized message (like acme.weather.v1.Units). - TypeName string - // image is the image source that defines the serialized message. - Image *v1.Image - // payload is the serialized Protobuf message. - Payload []byte - // request_format is the format of the payload. - RequestFormat ConvertFormat - // response_format is the desired format of the output result. - ResponseFormat ConvertFormat -} - -func (b0 ConvertRequest_builder) Build() *ConvertRequest { - m0 := &ConvertRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_TypeName = b.TypeName - x.xxx_hidden_Image = b.Image - x.xxx_hidden_Payload = b.Payload - x.xxx_hidden_RequestFormat = b.RequestFormat - x.xxx_hidden_ResponseFormat = b.ResponseFormat - return m0 -} - -type ConvertResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConvertResponse) Reset() { - *x = ConvertResponse{} - mi := &file_buf_alpha_registry_v1alpha1_convert_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConvertResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConvertResponse) ProtoMessage() {} - -func (x *ConvertResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_convert_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ConvertResponse) GetPayload() []byte { - if x != nil { - return x.xxx_hidden_Payload - } - return nil -} - -func (x *ConvertResponse) SetPayload(v []byte) { - if v == nil { - v = []byte{} - } - x.xxx_hidden_Payload = v -} - -type ConvertResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // payload is the converted serialized message in one of the supported formats. - Payload []byte -} - -func (b0 ConvertResponse_builder) Build() *ConvertResponse { - m0 := &ConvertResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Payload = b.Payload - return m0 -} - -var File_buf_alpha_registry_v1alpha1_convert_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_convert_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x63, 0x6f, - 0x6e, 0x76, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1e, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6d, 0x61, - 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x02, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, - 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, - 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x61, - 0x67, 0x65, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x12, 0x51, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, - 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x53, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, - 0x6e, 0x76, 0x65, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x2b, 0x0a, 0x0f, 0x43, - 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2a, 0x60, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x76, - 0x65, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x4f, 0x4e, - 0x56, 0x45, 0x52, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4e, - 0x56, 0x45, 0x52, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x42, 0x49, 0x4e, 0x10, - 0x01, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x4e, 0x56, 0x45, 0x52, 0x54, 0x5f, 0x46, 0x4f, 0x52, - 0x4d, 0x41, 0x54, 0x5f, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x02, 0x32, 0x76, 0x0a, 0x0e, 0x43, 0x6f, - 0x6e, 0x76, 0x65, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x64, 0x0a, 0x07, - 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x12, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x42, 0x99, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, - 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, - 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_convert_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_buf_alpha_registry_v1alpha1_convert_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_buf_alpha_registry_v1alpha1_convert_proto_goTypes = []any{ - (ConvertFormat)(0), // 0: buf.alpha.registry.v1alpha1.ConvertFormat - (*ConvertRequest)(nil), // 1: buf.alpha.registry.v1alpha1.ConvertRequest - (*ConvertResponse)(nil), // 2: buf.alpha.registry.v1alpha1.ConvertResponse - (*v1.Image)(nil), // 3: buf.alpha.image.v1.Image -} -var file_buf_alpha_registry_v1alpha1_convert_proto_depIdxs = []int32{ - 3, // 0: buf.alpha.registry.v1alpha1.ConvertRequest.image:type_name -> buf.alpha.image.v1.Image - 0, // 1: buf.alpha.registry.v1alpha1.ConvertRequest.request_format:type_name -> buf.alpha.registry.v1alpha1.ConvertFormat - 0, // 2: buf.alpha.registry.v1alpha1.ConvertRequest.response_format:type_name -> buf.alpha.registry.v1alpha1.ConvertFormat - 1, // 3: buf.alpha.registry.v1alpha1.ConvertService.Convert:input_type -> buf.alpha.registry.v1alpha1.ConvertRequest - 2, // 4: buf.alpha.registry.v1alpha1.ConvertService.Convert:output_type -> buf.alpha.registry.v1alpha1.ConvertResponse - 4, // [4:5] is the sub-list for method output_type - 3, // [3:4] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_convert_proto_init() } -func file_buf_alpha_registry_v1alpha1_convert_proto_init() { - if File_buf_alpha_registry_v1alpha1_convert_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_convert_proto_rawDesc, - NumEnums: 1, - NumMessages: 2, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_convert_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_convert_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_convert_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_convert_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_convert_proto = out.File - file_buf_alpha_registry_v1alpha1_convert_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_convert_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_convert_proto_depIdxs = nil -} 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 a33116bc25..8b4abcf690 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/display.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -36,12 +34,10 @@ const ( ) type DisplayOrganizationElementsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -71,13 +67,13 @@ func (x *DisplayOrganizationElementsRequest) ProtoReflect() protoreflect.Message func (x *DisplayOrganizationElementsRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *DisplayOrganizationElementsRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } type DisplayOrganizationElementsRequest_builder struct { @@ -92,22 +88,18 @@ func (b0 DisplayOrganizationElementsRequest_builder) Build() *DisplayOrganizatio m0 := &DisplayOrganizationElementsRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationId = b.OrganizationId return m0 } type DisplayOrganizationElementsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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. - Settings bool `protobuf:"varint,4,opt,name=settings,proto3" json:"settings,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_CreateRepository bool `protobuf:"varint,1,opt,name=create_repository,json=createRepository,proto3" json:"create_repository,omitempty"` + xxx_hidden_Settings bool `protobuf:"varint,4,opt,name=settings,proto3" json:"settings,omitempty"` + xxx_hidden_UpdateSettings bool `protobuf:"varint,5,opt,name=update_settings,json=updateSettings,proto3" json:"update_settings,omitempty"` + xxx_hidden_Delete bool `protobuf:"varint,6,opt,name=delete,proto3" json:"delete,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayOrganizationElementsResponse) Reset() { @@ -137,46 +129,46 @@ func (x *DisplayOrganizationElementsResponse) ProtoReflect() protoreflect.Messag func (x *DisplayOrganizationElementsResponse) GetCreateRepository() bool { if x != nil { - return x.CreateRepository + return x.xxx_hidden_CreateRepository } return false } func (x *DisplayOrganizationElementsResponse) GetSettings() bool { if x != nil { - return x.Settings + return x.xxx_hidden_Settings } return false } func (x *DisplayOrganizationElementsResponse) GetUpdateSettings() bool { if x != nil { - return x.UpdateSettings + return x.xxx_hidden_UpdateSettings } return false } func (x *DisplayOrganizationElementsResponse) GetDelete() bool { if x != nil { - return x.Delete + return x.xxx_hidden_Delete } return false } func (x *DisplayOrganizationElementsResponse) SetCreateRepository(v bool) { - x.CreateRepository = v + x.xxx_hidden_CreateRepository = v } func (x *DisplayOrganizationElementsResponse) SetSettings(v bool) { - x.Settings = v + x.xxx_hidden_Settings = v } func (x *DisplayOrganizationElementsResponse) SetUpdateSettings(v bool) { - x.UpdateSettings = v + x.xxx_hidden_UpdateSettings = v } func (x *DisplayOrganizationElementsResponse) SetDelete(v bool) { - x.Delete = v + x.xxx_hidden_Delete = v } type DisplayOrganizationElementsResponse_builder struct { @@ -196,20 +188,18 @@ func (b0 DisplayOrganizationElementsResponse_builder) Build() *DisplayOrganizati m0 := &DisplayOrganizationElementsResponse{} b, x := &b0, m0 _, _ = b, x - x.CreateRepository = b.CreateRepository - x.Settings = b.Settings - x.UpdateSettings = b.UpdateSettings - x.Delete = b.Delete + x.xxx_hidden_CreateRepository = b.CreateRepository + x.xxx_hidden_Settings = b.Settings + x.xxx_hidden_UpdateSettings = b.UpdateSettings + x.xxx_hidden_Delete = b.Delete return m0 } type DisplayRepositoryElementsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -239,13 +229,13 @@ func (x *DisplayRepositoryElementsRequest) ProtoReflect() protoreflect.Message { func (x *DisplayRepositoryElementsRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *DisplayRepositoryElementsRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } type DisplayRepositoryElementsRequest_builder struct { @@ -260,22 +250,18 @@ func (b0 DisplayRepositoryElementsRequest_builder) Build() *DisplayRepositoryEle m0 := &DisplayRepositoryElementsRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryId = b.RepositoryId return m0 } type DisplayRepositoryElementsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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. - Delete bool `protobuf:"varint,2,opt,name=delete,proto3" json:"delete,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Settings bool `protobuf:"varint,1,opt,name=settings,proto3" json:"settings,omitempty"` + xxx_hidden_Delete bool `protobuf:"varint,2,opt,name=delete,proto3" json:"delete,omitempty"` + xxx_hidden_Write bool `protobuf:"varint,3,opt,name=write,proto3" json:"write,omitempty"` + xxx_hidden_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() { @@ -305,46 +291,46 @@ func (x *DisplayRepositoryElementsResponse) ProtoReflect() protoreflect.Message func (x *DisplayRepositoryElementsResponse) GetSettings() bool { if x != nil { - return x.Settings + return x.xxx_hidden_Settings } return false } func (x *DisplayRepositoryElementsResponse) GetDelete() bool { if x != nil { - return x.Delete + return x.xxx_hidden_Delete } return false } func (x *DisplayRepositoryElementsResponse) GetWrite() bool { if x != nil { - return x.Write + return x.xxx_hidden_Write } return false } func (x *DisplayRepositoryElementsResponse) GetLimitedWrite() bool { if x != nil { - return x.LimitedWrite + return x.xxx_hidden_LimitedWrite } return false } func (x *DisplayRepositoryElementsResponse) SetSettings(v bool) { - x.Settings = v + x.xxx_hidden_Settings = v } func (x *DisplayRepositoryElementsResponse) SetDelete(v bool) { - x.Delete = v + x.xxx_hidden_Delete = v } func (x *DisplayRepositoryElementsResponse) SetWrite(v bool) { - x.Write = v + x.xxx_hidden_Write = v } func (x *DisplayRepositoryElementsResponse) SetLimitedWrite(v bool) { - x.LimitedWrite = v + x.xxx_hidden_LimitedWrite = v } type DisplayRepositoryElementsResponse_builder struct { @@ -364,20 +350,18 @@ func (b0 DisplayRepositoryElementsResponse_builder) Build() *DisplayRepositoryEl m0 := &DisplayRepositoryElementsResponse{} b, x := &b0, m0 _, _ = b, x - x.Settings = b.Settings - x.Delete = b.Delete - x.Write = b.Write - x.LimitedWrite = b.LimitedWrite + x.xxx_hidden_Settings = b.Settings + x.xxx_hidden_Delete = b.Delete + x.xxx_hidden_Write = b.Write + x.xxx_hidden_LimitedWrite = b.LimitedWrite return m0 } type DisplayPluginElementsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -407,13 +391,13 @@ func (x *DisplayPluginElementsRequest) ProtoReflect() protoreflect.Message { func (x *DisplayPluginElementsRequest) GetPluginId() string { if x != nil { - return x.PluginId + return x.xxx_hidden_PluginId } return "" } func (x *DisplayPluginElementsRequest) SetPluginId(v string) { - x.PluginId = v + x.xxx_hidden_PluginId = v } type DisplayPluginElementsRequest_builder struct { @@ -428,18 +412,16 @@ func (b0 DisplayPluginElementsRequest_builder) Build() *DisplayPluginElementsReq m0 := &DisplayPluginElementsRequest{} b, x := &b0, m0 _, _ = b, x - x.PluginId = b.PluginId + x.xxx_hidden_PluginId = b.PluginId return m0 } type DisplayPluginElementsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Settings bool `protobuf:"varint,1,opt,name=settings,proto3" json:"settings,omitempty"` + xxx_hidden_Delete bool `protobuf:"varint,2,opt,name=delete,proto3" json:"delete,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayPluginElementsResponse) Reset() { @@ -469,24 +451,24 @@ func (x *DisplayPluginElementsResponse) ProtoReflect() protoreflect.Message { func (x *DisplayPluginElementsResponse) GetSettings() bool { if x != nil { - return x.Settings + return x.xxx_hidden_Settings } return false } func (x *DisplayPluginElementsResponse) GetDelete() bool { if x != nil { - return x.Delete + return x.xxx_hidden_Delete } return false } func (x *DisplayPluginElementsResponse) SetSettings(v bool) { - x.Settings = v + x.xxx_hidden_Settings = v } func (x *DisplayPluginElementsResponse) SetDelete(v bool) { - x.Delete = v + x.xxx_hidden_Delete = v } type DisplayPluginElementsResponse_builder struct { @@ -502,13 +484,13 @@ func (b0 DisplayPluginElementsResponse_builder) Build() *DisplayPluginElementsRe m0 := &DisplayPluginElementsResponse{} b, x := &b0, m0 _, _ = b, x - x.Settings = b.Settings - x.Delete = b.Delete + x.xxx_hidden_Settings = b.Settings + x.xxx_hidden_Delete = b.Delete return m0 } type DisplayUserElementsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -551,11 +533,10 @@ func (b0 DisplayUserElementsRequest_builder) Build() *DisplayUserElementsRequest } type DisplayUserElementsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Display delete user element if true. - Delete bool `protobuf:"varint,1,opt,name=delete,proto3" json:"delete,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Delete bool `protobuf:"varint,1,opt,name=delete,proto3" json:"delete,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisplayUserElementsResponse) Reset() { @@ -585,13 +566,13 @@ func (x *DisplayUserElementsResponse) ProtoReflect() protoreflect.Message { func (x *DisplayUserElementsResponse) GetDelete() bool { if x != nil { - return x.Delete + return x.xxx_hidden_Delete } return false } func (x *DisplayUserElementsResponse) SetDelete(v bool) { - x.Delete = v + x.xxx_hidden_Delete = v } type DisplayUserElementsResponse_builder struct { @@ -605,12 +586,12 @@ func (b0 DisplayUserElementsResponse_builder) Build() *DisplayUserElementsRespon m0 := &DisplayUserElementsResponse{} b, x := &b0, m0 _, _ = b, x - x.Delete = b.Delete + x.xxx_hidden_Delete = b.Delete return m0 } type DisplayServerElementsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -653,11 +634,10 @@ func (b0 DisplayServerElementsRequest_builder) Build() *DisplayServerElementsReq } type DisplayServerElementsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Display server admin panel element if true. - AdminPanel bool `protobuf:"varint,1,opt,name=admin_panel,json=adminPanel,proto3" json:"admin_panel,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -687,13 +667,13 @@ func (x *DisplayServerElementsResponse) ProtoReflect() protoreflect.Message { func (x *DisplayServerElementsResponse) GetAdminPanel() bool { if x != nil { - return x.AdminPanel + return x.xxx_hidden_AdminPanel } return false } func (x *DisplayServerElementsResponse) SetAdminPanel(v bool) { - x.AdminPanel = v + x.xxx_hidden_AdminPanel = v } type DisplayServerElementsResponse_builder struct { @@ -707,17 +687,15 @@ func (b0 DisplayServerElementsResponse_builder) Build() *DisplayServerElementsRe m0 := &DisplayServerElementsResponse{} b, x := &b0, m0 _, _ = b, x - x.AdminPanel = b.AdminPanel + x.xxx_hidden_AdminPanel = b.AdminPanel return m0 } type DisplayOwnerEntitledElementsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -747,13 +725,13 @@ func (x *DisplayOwnerEntitledElementsRequest) ProtoReflect() protoreflect.Messag func (x *DisplayOwnerEntitledElementsRequest) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *DisplayOwnerEntitledElementsRequest) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } type DisplayOwnerEntitledElementsRequest_builder struct { @@ -768,16 +746,15 @@ func (b0 DisplayOwnerEntitledElementsRequest_builder) Build() *DisplayOwnerEntit m0 := &DisplayOwnerEntitledElementsRequest{} b, x := &b0, m0 _, _ = b, x - x.OwnerName = b.OwnerName + x.xxx_hidden_OwnerName = b.OwnerName return m0 } type DisplayOwnerEntitledElementsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -807,13 +784,13 @@ func (x *DisplayOwnerEntitledElementsResponse) ProtoReflect() protoreflect.Messa func (x *DisplayOwnerEntitledElementsResponse) GetCreatePrivateRepository() bool { if x != nil { - return x.CreatePrivateRepository + return x.xxx_hidden_CreatePrivateRepository } return false } func (x *DisplayOwnerEntitledElementsResponse) SetCreatePrivateRepository(v bool) { - x.CreatePrivateRepository = v + x.xxx_hidden_CreatePrivateRepository = v } type DisplayOwnerEntitledElementsResponse_builder struct { @@ -827,17 +804,15 @@ func (b0 DisplayOwnerEntitledElementsResponse_builder) Build() *DisplayOwnerEnti m0 := &DisplayOwnerEntitledElementsResponse{} b, x := &b0, m0 _, _ = b, x - x.CreatePrivateRepository = b.CreatePrivateRepository + x.xxx_hidden_CreatePrivateRepository = b.CreatePrivateRepository return m0 } type DisplayRepositoryEntitledElementsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -867,13 +842,13 @@ func (x *DisplayRepositoryEntitledElementsRequest) ProtoReflect() protoreflect.M func (x *DisplayRepositoryEntitledElementsRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *DisplayRepositoryEntitledElementsRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } type DisplayRepositoryEntitledElementsRequest_builder struct { @@ -888,16 +863,15 @@ func (b0 DisplayRepositoryEntitledElementsRequest_builder) Build() *DisplayRepos m0 := &DisplayRepositoryEntitledElementsRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryId = b.RepositoryId return m0 } type DisplayRepositoryEntitledElementsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -927,13 +901,13 @@ func (x *DisplayRepositoryEntitledElementsResponse) ProtoReflect() protoreflect. func (x *DisplayRepositoryEntitledElementsResponse) GetSetPrivate() bool { if x != nil { - return x.SetPrivate + return x.xxx_hidden_SetPrivate } return false } func (x *DisplayRepositoryEntitledElementsResponse) SetSetPrivate(v bool) { - x.SetPrivate = v + x.xxx_hidden_SetPrivate = v } type DisplayRepositoryEntitledElementsResponse_builder struct { @@ -947,17 +921,15 @@ func (b0 DisplayRepositoryEntitledElementsResponse_builder) Build() *DisplayRepo m0 := &DisplayRepositoryEntitledElementsResponse{} b, x := &b0, m0 _, _ = b, x - x.SetPrivate = b.SetPrivate + x.xxx_hidden_SetPrivate = b.SetPrivate return m0 } type ListManageableRepositoryRolesRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -987,13 +959,13 @@ func (x *ListManageableRepositoryRolesRequest) ProtoReflect() protoreflect.Messa func (x *ListManageableRepositoryRolesRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *ListManageableRepositoryRolesRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } type ListManageableRepositoryRolesRequest_builder struct { @@ -1008,17 +980,15 @@ func (b0 ListManageableRepositoryRolesRequest_builder) Build() *ListManageableRe m0 := &ListManageableRepositoryRolesRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryId = b.RepositoryId return m0 } type ListManageableRepositoryRolesResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -1048,13 +1018,13 @@ func (x *ListManageableRepositoryRolesResponse) ProtoReflect() protoreflect.Mess func (x *ListManageableRepositoryRolesResponse) GetRoles() []RepositoryRole { if x != nil { - return x.Roles + return x.xxx_hidden_Roles } return nil } func (x *ListManageableRepositoryRolesResponse) SetRoles(v []RepositoryRole) { - x.Roles = v + x.xxx_hidden_Roles = v } type ListManageableRepositoryRolesResponse_builder struct { @@ -1069,20 +1039,16 @@ func (b0 ListManageableRepositoryRolesResponse_builder) Build() *ListManageableR m0 := &ListManageableRepositoryRolesResponse{} b, x := &b0, m0 _, _ = b, x - x.Roles = b.Roles + x.xxx_hidden_Roles = b.Roles return m0 } type ListManageableUserRepositoryRolesRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_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() { @@ -1112,24 +1078,24 @@ func (x *ListManageableUserRepositoryRolesRequest) ProtoReflect() protoreflect.M func (x *ListManageableUserRepositoryRolesRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *ListManageableUserRepositoryRolesRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *ListManageableUserRepositoryRolesRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *ListManageableUserRepositoryRolesRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } type ListManageableUserRepositoryRolesRequest_builder struct { @@ -1147,18 +1113,16 @@ func (b0 ListManageableUserRepositoryRolesRequest_builder) Build() *ListManageab m0 := &ListManageableUserRepositoryRolesRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.UserId = b.UserId + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_UserId = b.UserId return m0 } type ListManageableUserRepositoryRolesResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -1188,13 +1152,13 @@ func (x *ListManageableUserRepositoryRolesResponse) ProtoReflect() protoreflect. func (x *ListManageableUserRepositoryRolesResponse) GetRoles() []RepositoryRole { if x != nil { - return x.Roles + return x.xxx_hidden_Roles } return nil } func (x *ListManageableUserRepositoryRolesResponse) SetRoles(v []RepositoryRole) { - x.Roles = v + x.xxx_hidden_Roles = v } type ListManageableUserRepositoryRolesResponse_builder struct { @@ -1209,7 +1173,7 @@ func (b0 ListManageableUserRepositoryRolesResponse_builder) Build() *ListManagea m0 := &ListManageableUserRepositoryRolesResponse{} b, x := &b0, m0 _, _ = b, x - x.Roles = b.Roles + x.xxx_hidden_Roles = b.Roles return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/display_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/display_protoopaque.pb.go deleted file mode 100644 index e334f39218..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/display_protoopaque.pb.go +++ /dev/null @@ -1,1480 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/display.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type DisplayOrganizationElementsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = DisplayOrganizationElementsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayOrganizationElementsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayOrganizationElementsRequest) ProtoMessage() {} - -func (x *DisplayOrganizationElementsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DisplayOrganizationElementsRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *DisplayOrganizationElementsRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -type DisplayOrganizationElementsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which to check - // which elements should be displayed. - OrganizationId string -} - -func (b0 DisplayOrganizationElementsRequest_builder) Build() *DisplayOrganizationElementsRequest { - m0 := &DisplayOrganizationElementsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - return m0 -} - -type DisplayOrganizationElementsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_CreateRepository bool `protobuf:"varint,1,opt,name=create_repository,json=createRepository,proto3" json:"create_repository,omitempty"` - xxx_hidden_Settings bool `protobuf:"varint,4,opt,name=settings,proto3" json:"settings,omitempty"` - xxx_hidden_UpdateSettings bool `protobuf:"varint,5,opt,name=update_settings,json=updateSettings,proto3" json:"update_settings,omitempty"` - xxx_hidden_Delete bool `protobuf:"varint,6,opt,name=delete,proto3" json:"delete,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DisplayOrganizationElementsResponse) Reset() { - *x = DisplayOrganizationElementsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayOrganizationElementsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayOrganizationElementsResponse) ProtoMessage() {} - -func (x *DisplayOrganizationElementsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DisplayOrganizationElementsResponse) GetCreateRepository() bool { - if x != nil { - return x.xxx_hidden_CreateRepository - } - return false -} - -func (x *DisplayOrganizationElementsResponse) GetSettings() bool { - if x != nil { - return x.xxx_hidden_Settings - } - return false -} - -func (x *DisplayOrganizationElementsResponse) GetUpdateSettings() bool { - if x != nil { - return x.xxx_hidden_UpdateSettings - } - return false -} - -func (x *DisplayOrganizationElementsResponse) GetDelete() bool { - if x != nil { - return x.xxx_hidden_Delete - } - return false -} - -func (x *DisplayOrganizationElementsResponse) SetCreateRepository(v bool) { - x.xxx_hidden_CreateRepository = v -} - -func (x *DisplayOrganizationElementsResponse) SetSettings(v bool) { - x.xxx_hidden_Settings = v -} - -func (x *DisplayOrganizationElementsResponse) SetUpdateSettings(v bool) { - x.xxx_hidden_UpdateSettings = v -} - -func (x *DisplayOrganizationElementsResponse) SetDelete(v bool) { - x.xxx_hidden_Delete = v -} - -type DisplayOrganizationElementsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Display create organization repository element if true. - CreateRepository bool - // Display organization settings element if true. - Settings bool - // Display update organization settings element if true. - UpdateSettings bool - // Display delete organization element if true. - Delete bool -} - -func (b0 DisplayOrganizationElementsResponse_builder) Build() *DisplayOrganizationElementsResponse { - m0 := &DisplayOrganizationElementsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_CreateRepository = b.CreateRepository - x.xxx_hidden_Settings = b.Settings - x.xxx_hidden_UpdateSettings = b.UpdateSettings - x.xxx_hidden_Delete = b.Delete - return m0 -} - -type DisplayRepositoryElementsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = DisplayRepositoryElementsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayRepositoryElementsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayRepositoryElementsRequest) ProtoMessage() {} - -func (x *DisplayRepositoryElementsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DisplayRepositoryElementsRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *DisplayRepositoryElementsRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -type DisplayRepositoryElementsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository for which to check - // which elements should be displayed. - RepositoryId string -} - -func (b0 DisplayRepositoryElementsRequest_builder) Build() *DisplayRepositoryElementsRequest { - m0 := &DisplayRepositoryElementsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - return m0 -} - -type DisplayRepositoryElementsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Settings bool `protobuf:"varint,1,opt,name=settings,proto3" json:"settings,omitempty"` - xxx_hidden_Delete bool `protobuf:"varint,2,opt,name=delete,proto3" json:"delete,omitempty"` - xxx_hidden_Write bool `protobuf:"varint,3,opt,name=write,proto3" json:"write,omitempty"` - xxx_hidden_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() { - *x = DisplayRepositoryElementsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayRepositoryElementsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayRepositoryElementsResponse) ProtoMessage() {} - -func (x *DisplayRepositoryElementsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DisplayRepositoryElementsResponse) GetSettings() bool { - if x != nil { - return x.xxx_hidden_Settings - } - return false -} - -func (x *DisplayRepositoryElementsResponse) GetDelete() bool { - if x != nil { - return x.xxx_hidden_Delete - } - return false -} - -func (x *DisplayRepositoryElementsResponse) GetWrite() bool { - if x != nil { - return x.xxx_hidden_Write - } - return false -} - -func (x *DisplayRepositoryElementsResponse) GetLimitedWrite() bool { - if x != nil { - return x.xxx_hidden_LimitedWrite - } - return false -} - -func (x *DisplayRepositoryElementsResponse) SetSettings(v bool) { - x.xxx_hidden_Settings = v -} - -func (x *DisplayRepositoryElementsResponse) SetDelete(v bool) { - x.xxx_hidden_Delete = v -} - -func (x *DisplayRepositoryElementsResponse) SetWrite(v bool) { - x.xxx_hidden_Write = v -} - -func (x *DisplayRepositoryElementsResponse) SetLimitedWrite(v bool) { - x.xxx_hidden_LimitedWrite = v -} - -type DisplayRepositoryElementsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Display repository settings element if true. - Settings bool - // Display delete repository element if true. - Delete bool - // Display write repository elements if true. It includes all elements from limited_write. - Write bool - // Display limited_write repository elements if true. This is a subset of write elements. - LimitedWrite bool -} - -func (b0 DisplayRepositoryElementsResponse_builder) Build() *DisplayRepositoryElementsResponse { - m0 := &DisplayRepositoryElementsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Settings = b.Settings - x.xxx_hidden_Delete = b.Delete - x.xxx_hidden_Write = b.Write - x.xxx_hidden_LimitedWrite = b.LimitedWrite - return m0 -} - -type DisplayPluginElementsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = DisplayPluginElementsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayPluginElementsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayPluginElementsRequest) ProtoMessage() {} - -func (x *DisplayPluginElementsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DisplayPluginElementsRequest) GetPluginId() string { - if x != nil { - return x.xxx_hidden_PluginId - } - return "" -} - -func (x *DisplayPluginElementsRequest) SetPluginId(v string) { - x.xxx_hidden_PluginId = v -} - -type DisplayPluginElementsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the plugin for which to check - // which elements should be displayed. - PluginId string -} - -func (b0 DisplayPluginElementsRequest_builder) Build() *DisplayPluginElementsRequest { - m0 := &DisplayPluginElementsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PluginId = b.PluginId - return m0 -} - -type DisplayPluginElementsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Settings bool `protobuf:"varint,1,opt,name=settings,proto3" json:"settings,omitempty"` - xxx_hidden_Delete bool `protobuf:"varint,2,opt,name=delete,proto3" json:"delete,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DisplayPluginElementsResponse) Reset() { - *x = DisplayPluginElementsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayPluginElementsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayPluginElementsResponse) ProtoMessage() {} - -func (x *DisplayPluginElementsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DisplayPluginElementsResponse) GetSettings() bool { - if x != nil { - return x.xxx_hidden_Settings - } - return false -} - -func (x *DisplayPluginElementsResponse) GetDelete() bool { - if x != nil { - return x.xxx_hidden_Delete - } - return false -} - -func (x *DisplayPluginElementsResponse) SetSettings(v bool) { - x.xxx_hidden_Settings = v -} - -func (x *DisplayPluginElementsResponse) SetDelete(v bool) { - x.xxx_hidden_Delete = v -} - -type DisplayPluginElementsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Display plugin settings element if true. - Settings bool - // Display delete plugin element if true. - Delete bool -} - -func (b0 DisplayPluginElementsResponse_builder) Build() *DisplayPluginElementsResponse { - m0 := &DisplayPluginElementsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Settings = b.Settings - x.xxx_hidden_Delete = b.Delete - return m0 -} - -type DisplayUserElementsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DisplayUserElementsRequest) Reset() { - *x = DisplayUserElementsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayUserElementsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayUserElementsRequest) ProtoMessage() {} - -func (x *DisplayUserElementsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DisplayUserElementsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DisplayUserElementsRequest_builder) Build() *DisplayUserElementsRequest { - m0 := &DisplayUserElementsRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type DisplayUserElementsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Delete bool `protobuf:"varint,1,opt,name=delete,proto3" json:"delete,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DisplayUserElementsResponse) Reset() { - *x = DisplayUserElementsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayUserElementsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayUserElementsResponse) ProtoMessage() {} - -func (x *DisplayUserElementsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DisplayUserElementsResponse) GetDelete() bool { - if x != nil { - return x.xxx_hidden_Delete - } - return false -} - -func (x *DisplayUserElementsResponse) SetDelete(v bool) { - x.xxx_hidden_Delete = v -} - -type DisplayUserElementsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Display delete user element if true. - Delete bool -} - -func (b0 DisplayUserElementsResponse_builder) Build() *DisplayUserElementsResponse { - m0 := &DisplayUserElementsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Delete = b.Delete - return m0 -} - -type DisplayServerElementsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DisplayServerElementsRequest) Reset() { - *x = DisplayServerElementsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayServerElementsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayServerElementsRequest) ProtoMessage() {} - -func (x *DisplayServerElementsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DisplayServerElementsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DisplayServerElementsRequest_builder) Build() *DisplayServerElementsRequest { - m0 := &DisplayServerElementsRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type DisplayServerElementsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = DisplayServerElementsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayServerElementsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayServerElementsResponse) ProtoMessage() {} - -func (x *DisplayServerElementsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DisplayServerElementsResponse) GetAdminPanel() bool { - if x != nil { - return x.xxx_hidden_AdminPanel - } - return false -} - -func (x *DisplayServerElementsResponse) SetAdminPanel(v bool) { - x.xxx_hidden_AdminPanel = v -} - -type DisplayServerElementsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Display server admin panel element if true. - AdminPanel bool -} - -func (b0 DisplayServerElementsResponse_builder) Build() *DisplayServerElementsResponse { - m0 := &DisplayServerElementsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_AdminPanel = b.AdminPanel - return m0 -} - -type DisplayOwnerEntitledElementsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = DisplayOwnerEntitledElementsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayOwnerEntitledElementsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayOwnerEntitledElementsRequest) ProtoMessage() {} - -func (x *DisplayOwnerEntitledElementsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DisplayOwnerEntitledElementsRequest) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *DisplayOwnerEntitledElementsRequest) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -type DisplayOwnerEntitledElementsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The name of the owner for which to check - // which elements are entitled to be displayed. - OwnerName string -} - -func (b0 DisplayOwnerEntitledElementsRequest_builder) Build() *DisplayOwnerEntitledElementsRequest { - m0 := &DisplayOwnerEntitledElementsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerName = b.OwnerName - return m0 -} - -type DisplayOwnerEntitledElementsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = DisplayOwnerEntitledElementsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayOwnerEntitledElementsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayOwnerEntitledElementsResponse) ProtoMessage() {} - -func (x *DisplayOwnerEntitledElementsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DisplayOwnerEntitledElementsResponse) GetCreatePrivateRepository() bool { - if x != nil { - return x.xxx_hidden_CreatePrivateRepository - } - return false -} - -func (x *DisplayOwnerEntitledElementsResponse) SetCreatePrivateRepository(v bool) { - x.xxx_hidden_CreatePrivateRepository = v -} - -type DisplayOwnerEntitledElementsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Display create private repository element if true. - CreatePrivateRepository bool -} - -func (b0 DisplayOwnerEntitledElementsResponse_builder) Build() *DisplayOwnerEntitledElementsResponse { - m0 := &DisplayOwnerEntitledElementsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_CreatePrivateRepository = b.CreatePrivateRepository - return m0 -} - -type DisplayRepositoryEntitledElementsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = DisplayRepositoryEntitledElementsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayRepositoryEntitledElementsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayRepositoryEntitledElementsRequest) ProtoMessage() {} - -func (x *DisplayRepositoryEntitledElementsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DisplayRepositoryEntitledElementsRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *DisplayRepositoryEntitledElementsRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -type DisplayRepositoryEntitledElementsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository for which to check - // which elements are entitled to be displayed. - RepositoryId string -} - -func (b0 DisplayRepositoryEntitledElementsRequest_builder) Build() *DisplayRepositoryEntitledElementsRequest { - m0 := &DisplayRepositoryEntitledElementsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - return m0 -} - -type DisplayRepositoryEntitledElementsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = DisplayRepositoryEntitledElementsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DisplayRepositoryEntitledElementsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisplayRepositoryEntitledElementsResponse) ProtoMessage() {} - -func (x *DisplayRepositoryEntitledElementsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DisplayRepositoryEntitledElementsResponse) GetSetPrivate() bool { - if x != nil { - return x.xxx_hidden_SetPrivate - } - return false -} - -func (x *DisplayRepositoryEntitledElementsResponse) SetSetPrivate(v bool) { - x.xxx_hidden_SetPrivate = v -} - -type DisplayRepositoryEntitledElementsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Display repository change to private setting element if true. - SetPrivate bool -} - -func (b0 DisplayRepositoryEntitledElementsResponse_builder) Build() *DisplayRepositoryEntitledElementsResponse { - m0 := &DisplayRepositoryEntitledElementsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_SetPrivate = b.SetPrivate - return m0 -} - -type ListManageableRepositoryRolesRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = ListManageableRepositoryRolesRequest{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListManageableRepositoryRolesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListManageableRepositoryRolesRequest) ProtoMessage() {} - -func (x *ListManageableRepositoryRolesRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListManageableRepositoryRolesRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *ListManageableRepositoryRolesRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -type ListManageableRepositoryRolesRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository for which to check - // which roles should be displayed as manageable. - RepositoryId string -} - -func (b0 ListManageableRepositoryRolesRequest_builder) Build() *ListManageableRepositoryRolesRequest { - m0 := &ListManageableRepositoryRolesRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - return m0 -} - -type ListManageableRepositoryRolesResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = ListManageableRepositoryRolesResponse{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListManageableRepositoryRolesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListManageableRepositoryRolesResponse) ProtoMessage() {} - -func (x *ListManageableRepositoryRolesResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListManageableRepositoryRolesResponse) GetRoles() []RepositoryRole { - if x != nil { - return x.xxx_hidden_Roles - } - return nil -} - -func (x *ListManageableRepositoryRolesResponse) SetRoles(v []RepositoryRole) { - x.xxx_hidden_Roles = v -} - -type ListManageableRepositoryRolesResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The list of roles that should be displayed - // to the user as manageable. - Roles []RepositoryRole -} - -func (b0 ListManageableRepositoryRolesResponse_builder) Build() *ListManageableRepositoryRolesResponse { - m0 := &ListManageableRepositoryRolesResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Roles = b.Roles - return m0 -} - -type ListManageableUserRepositoryRolesRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_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() { - *x = ListManageableUserRepositoryRolesRequest{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListManageableUserRepositoryRolesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListManageableUserRepositoryRolesRequest) ProtoMessage() {} - -func (x *ListManageableUserRepositoryRolesRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListManageableUserRepositoryRolesRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *ListManageableUserRepositoryRolesRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *ListManageableUserRepositoryRolesRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *ListManageableUserRepositoryRolesRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -type ListManageableUserRepositoryRolesRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository for which to check - // which roles should be displayed as manageable. - RepositoryId string - // The ID of the target user for which to check - // which roles are manageable. - UserId string -} - -func (b0 ListManageableUserRepositoryRolesRequest_builder) Build() *ListManageableUserRepositoryRolesRequest { - m0 := &ListManageableUserRepositoryRolesRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_UserId = b.UserId - return m0 -} - -type ListManageableUserRepositoryRolesResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = ListManageableUserRepositoryRolesResponse{} - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListManageableUserRepositoryRolesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListManageableUserRepositoryRolesResponse) ProtoMessage() {} - -func (x *ListManageableUserRepositoryRolesResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_display_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListManageableUserRepositoryRolesResponse) GetRoles() []RepositoryRole { - if x != nil { - return x.xxx_hidden_Roles - } - return nil -} - -func (x *ListManageableUserRepositoryRolesResponse) SetRoles(v []RepositoryRole) { - x.xxx_hidden_Roles = v -} - -type ListManageableUserRepositoryRolesResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The list of roles that should be displayed - // to the user as manageable. - Roles []RepositoryRole -} - -func (b0 ListManageableUserRepositoryRolesResponse_builder) Build() *ListManageableUserRepositoryRolesResponse { - m0 := &ListManageableUserRepositoryRolesResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Roles = b.Roles - return m0 -} - -var File_buf_alpha_registry_v1alpha1_display_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_display_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x64, 0x69, - 0x73, 0x70, 0x6c, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x4d, 0x0a, 0x22, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, - 0xdb, 0x01, 0x0a, 0x23, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x0d, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x0f, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x47, 0x0a, - 0x20, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, 0x92, 0x01, 0x0a, 0x21, 0x44, 0x69, 0x73, 0x70, 0x6c, - 0x61, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6c, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, - 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x05, 0x77, 0x72, 0x69, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, - 0x64, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x22, 0x3b, 0x0a, 0x1c, 0x44, - 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x6c, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1d, 0x44, 0x69, 0x73, 0x70, - 0x6c, 0x61, 0x79, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x22, 0x1c, 0x0a, - 0x1a, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6c, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x35, 0x0a, 0x1b, 0x44, - 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x22, 0x1e, 0x0a, 0x1c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x40, 0x0a, 0x1d, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x61, 0x6e, - 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x50, - 0x61, 0x6e, 0x65, 0x6c, 0x22, 0x44, 0x0a, 0x23, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, - 0x77, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x64, 0x45, 0x6c, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x62, 0x0a, 0x24, 0x44, 0x69, - 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, - 0x65, 0x64, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x72, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x4f, - 0x0a, 0x28, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x64, 0x45, 0x6c, 0x65, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, - 0x4c, 0x0a, 0x29, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x64, 0x45, 0x6c, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x73, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0x4b, 0x0a, - 0x24, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, 0x6a, 0x0a, 0x25, 0x4c, 0x69, - 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x52, - 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x68, 0x0a, 0x28, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, - 0x22, 0x6e, 0x0a, 0x29, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x61, 0x62, - 0x6c, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, - 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, - 0x32, 0xe3, 0x0b, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0xa5, 0x01, 0x0a, 0x1b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x12, 0x3f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x9f, 0x01, 0x0a, 0x19, - 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3d, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x93, 0x01, - 0x0a, 0x15, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, - 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x39, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x50, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x6c, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, - 0x90, 0x02, 0x01, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x55, - 0x73, 0x65, 0x72, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x37, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, - 0x79, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6c, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, - 0x90, 0x02, 0x01, 0x12, 0x93, 0x01, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x53, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x39, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x70, - 0x6c, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xa8, 0x01, 0x0a, 0x1c, 0x44, 0x69, - 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, - 0x65, 0x64, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x40, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, - 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x64, 0x45, 0x6c, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, - 0x61, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x64, 0x45, - 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x03, 0x90, 0x02, 0x01, 0x12, 0xb7, 0x01, 0x0a, 0x21, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, - 0x65, 0x64, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x45, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, - 0x65, 0x64, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x46, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x64, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xab, - 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x61, 0x62, 0x6c, - 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x73, - 0x12, 0x41, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x61, 0x62, 0x6c, 0x65, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xb7, 0x01, 0x0a, - 0x21, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, - 0x65, 0x73, 0x12, 0x45, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x46, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x99, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0c, 0x44, 0x69, 0x73, 0x70, - 0x6c, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, - 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, - 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, - 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_display_proto_msgTypes = make([]protoimpl.MessageInfo, 18) -var file_buf_alpha_registry_v1alpha1_display_proto_goTypes = []any{ - (*DisplayOrganizationElementsRequest)(nil), // 0: buf.alpha.registry.v1alpha1.DisplayOrganizationElementsRequest - (*DisplayOrganizationElementsResponse)(nil), // 1: buf.alpha.registry.v1alpha1.DisplayOrganizationElementsResponse - (*DisplayRepositoryElementsRequest)(nil), // 2: buf.alpha.registry.v1alpha1.DisplayRepositoryElementsRequest - (*DisplayRepositoryElementsResponse)(nil), // 3: buf.alpha.registry.v1alpha1.DisplayRepositoryElementsResponse - (*DisplayPluginElementsRequest)(nil), // 4: buf.alpha.registry.v1alpha1.DisplayPluginElementsRequest - (*DisplayPluginElementsResponse)(nil), // 5: buf.alpha.registry.v1alpha1.DisplayPluginElementsResponse - (*DisplayUserElementsRequest)(nil), // 6: buf.alpha.registry.v1alpha1.DisplayUserElementsRequest - (*DisplayUserElementsResponse)(nil), // 7: buf.alpha.registry.v1alpha1.DisplayUserElementsResponse - (*DisplayServerElementsRequest)(nil), // 8: buf.alpha.registry.v1alpha1.DisplayServerElementsRequest - (*DisplayServerElementsResponse)(nil), // 9: buf.alpha.registry.v1alpha1.DisplayServerElementsResponse - (*DisplayOwnerEntitledElementsRequest)(nil), // 10: buf.alpha.registry.v1alpha1.DisplayOwnerEntitledElementsRequest - (*DisplayOwnerEntitledElementsResponse)(nil), // 11: buf.alpha.registry.v1alpha1.DisplayOwnerEntitledElementsResponse - (*DisplayRepositoryEntitledElementsRequest)(nil), // 12: buf.alpha.registry.v1alpha1.DisplayRepositoryEntitledElementsRequest - (*DisplayRepositoryEntitledElementsResponse)(nil), // 13: buf.alpha.registry.v1alpha1.DisplayRepositoryEntitledElementsResponse - (*ListManageableRepositoryRolesRequest)(nil), // 14: buf.alpha.registry.v1alpha1.ListManageableRepositoryRolesRequest - (*ListManageableRepositoryRolesResponse)(nil), // 15: buf.alpha.registry.v1alpha1.ListManageableRepositoryRolesResponse - (*ListManageableUserRepositoryRolesRequest)(nil), // 16: buf.alpha.registry.v1alpha1.ListManageableUserRepositoryRolesRequest - (*ListManageableUserRepositoryRolesResponse)(nil), // 17: buf.alpha.registry.v1alpha1.ListManageableUserRepositoryRolesResponse - (RepositoryRole)(0), // 18: buf.alpha.registry.v1alpha1.RepositoryRole -} -var file_buf_alpha_registry_v1alpha1_display_proto_depIdxs = []int32{ - 18, // 0: buf.alpha.registry.v1alpha1.ListManageableRepositoryRolesResponse.roles:type_name -> buf.alpha.registry.v1alpha1.RepositoryRole - 18, // 1: buf.alpha.registry.v1alpha1.ListManageableUserRepositoryRolesResponse.roles:type_name -> buf.alpha.registry.v1alpha1.RepositoryRole - 0, // 2: buf.alpha.registry.v1alpha1.DisplayService.DisplayOrganizationElements:input_type -> buf.alpha.registry.v1alpha1.DisplayOrganizationElementsRequest - 2, // 3: buf.alpha.registry.v1alpha1.DisplayService.DisplayRepositoryElements:input_type -> buf.alpha.registry.v1alpha1.DisplayRepositoryElementsRequest - 4, // 4: buf.alpha.registry.v1alpha1.DisplayService.DisplayPluginElements:input_type -> buf.alpha.registry.v1alpha1.DisplayPluginElementsRequest - 6, // 5: buf.alpha.registry.v1alpha1.DisplayService.DisplayUserElements:input_type -> buf.alpha.registry.v1alpha1.DisplayUserElementsRequest - 8, // 6: buf.alpha.registry.v1alpha1.DisplayService.DisplayServerElements:input_type -> buf.alpha.registry.v1alpha1.DisplayServerElementsRequest - 10, // 7: buf.alpha.registry.v1alpha1.DisplayService.DisplayOwnerEntitledElements:input_type -> buf.alpha.registry.v1alpha1.DisplayOwnerEntitledElementsRequest - 12, // 8: buf.alpha.registry.v1alpha1.DisplayService.DisplayRepositoryEntitledElements:input_type -> buf.alpha.registry.v1alpha1.DisplayRepositoryEntitledElementsRequest - 14, // 9: buf.alpha.registry.v1alpha1.DisplayService.ListManageableRepositoryRoles:input_type -> buf.alpha.registry.v1alpha1.ListManageableRepositoryRolesRequest - 16, // 10: buf.alpha.registry.v1alpha1.DisplayService.ListManageableUserRepositoryRoles:input_type -> buf.alpha.registry.v1alpha1.ListManageableUserRepositoryRolesRequest - 1, // 11: buf.alpha.registry.v1alpha1.DisplayService.DisplayOrganizationElements:output_type -> buf.alpha.registry.v1alpha1.DisplayOrganizationElementsResponse - 3, // 12: buf.alpha.registry.v1alpha1.DisplayService.DisplayRepositoryElements:output_type -> buf.alpha.registry.v1alpha1.DisplayRepositoryElementsResponse - 5, // 13: buf.alpha.registry.v1alpha1.DisplayService.DisplayPluginElements:output_type -> buf.alpha.registry.v1alpha1.DisplayPluginElementsResponse - 7, // 14: buf.alpha.registry.v1alpha1.DisplayService.DisplayUserElements:output_type -> buf.alpha.registry.v1alpha1.DisplayUserElementsResponse - 9, // 15: buf.alpha.registry.v1alpha1.DisplayService.DisplayServerElements:output_type -> buf.alpha.registry.v1alpha1.DisplayServerElementsResponse - 11, // 16: buf.alpha.registry.v1alpha1.DisplayService.DisplayOwnerEntitledElements:output_type -> buf.alpha.registry.v1alpha1.DisplayOwnerEntitledElementsResponse - 13, // 17: buf.alpha.registry.v1alpha1.DisplayService.DisplayRepositoryEntitledElements:output_type -> buf.alpha.registry.v1alpha1.DisplayRepositoryEntitledElementsResponse - 15, // 18: buf.alpha.registry.v1alpha1.DisplayService.ListManageableRepositoryRoles:output_type -> buf.alpha.registry.v1alpha1.ListManageableRepositoryRolesResponse - 17, // 19: buf.alpha.registry.v1alpha1.DisplayService.ListManageableUserRepositoryRoles:output_type -> buf.alpha.registry.v1alpha1.ListManageableUserRepositoryRolesResponse - 11, // [11:20] is the sub-list for method output_type - 2, // [2:11] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_display_proto_init() } -func file_buf_alpha_registry_v1alpha1_display_proto_init() { - if File_buf_alpha_registry_v1alpha1_display_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_role_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_display_proto_rawDesc, - NumEnums: 0, - NumMessages: 18, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_display_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_display_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_display_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_display_proto = out.File - file_buf_alpha_registry_v1alpha1_display_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_display_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_display_proto_depIdxs = nil -} 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 60e654a0fa..6861137a23 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/doc.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -85,13 +83,12 @@ func (x FieldType) Number() protoreflect.EnumNumber { // GetSourceDirectoryInfoRequest takes an owner, repository, and reference. type GetSourceDirectoryInfoRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSourceDirectoryInfoRequest) Reset() { @@ -121,35 +118,35 @@ func (x *GetSourceDirectoryInfoRequest) ProtoReflect() protoreflect.Message { func (x *GetSourceDirectoryInfoRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetSourceDirectoryInfoRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *GetSourceDirectoryInfoRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *GetSourceDirectoryInfoRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetSourceDirectoryInfoRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *GetSourceDirectoryInfoRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } type GetSourceDirectoryInfoRequest_builder struct { @@ -165,18 +162,18 @@ func (b0 GetSourceDirectoryInfoRequest_builder) Build() *GetSourceDirectoryInfoR m0 := &GetSourceDirectoryInfoRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Reference = b.Reference + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Reference = b.Reference return m0 } // GetSourceDirectoryInfoResponse returns the root FileInfo for the requested module. type GetSourceDirectoryInfoResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Root *FileInfo `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Root *FileInfo `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSourceDirectoryInfoResponse) Reset() { @@ -206,24 +203,24 @@ func (x *GetSourceDirectoryInfoResponse) ProtoReflect() protoreflect.Message { func (x *GetSourceDirectoryInfoResponse) GetRoot() *FileInfo { if x != nil { - return x.Root + return x.xxx_hidden_Root } return nil } func (x *GetSourceDirectoryInfoResponse) SetRoot(v *FileInfo) { - x.Root = v + x.xxx_hidden_Root = v } func (x *GetSourceDirectoryInfoResponse) HasRoot() bool { if x == nil { return false } - return x.Root != nil + return x.xxx_hidden_Root != nil } func (x *GetSourceDirectoryInfoResponse) ClearRoot() { - x.Root = nil + x.xxx_hidden_Root = nil } type GetSourceDirectoryInfoResponse_builder struct { @@ -236,20 +233,19 @@ func (b0 GetSourceDirectoryInfoResponse_builder) Build() *GetSourceDirectoryInfo m0 := &GetSourceDirectoryInfoResponse{} b, x := &b0, m0 _, _ = b, x - x.Root = b.Root + x.xxx_hidden_Root = b.Root return m0 } // 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 `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + xxx_hidden_IsDir bool `protobuf:"varint,2,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"` + xxx_hidden_Children *[]*FileInfo `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FileInfo) Reset() { @@ -279,35 +275,37 @@ func (x *FileInfo) ProtoReflect() protoreflect.Message { func (x *FileInfo) GetPath() string { if x != nil { - return x.Path + return x.xxx_hidden_Path } return "" } func (x *FileInfo) GetIsDir() bool { if x != nil { - return x.IsDir + return x.xxx_hidden_IsDir } return false } func (x *FileInfo) GetChildren() []*FileInfo { if x != nil { - return x.Children + if x.xxx_hidden_Children != nil { + return *x.xxx_hidden_Children + } } return nil } func (x *FileInfo) SetPath(v string) { - x.Path = v + x.xxx_hidden_Path = v } func (x *FileInfo) SetIsDir(v bool) { - x.IsDir = v + x.xxx_hidden_IsDir = v } func (x *FileInfo) SetChildren(v []*FileInfo) { - x.Children = v + x.xxx_hidden_Children = &v } type FileInfo_builder struct { @@ -323,23 +321,21 @@ func (b0 FileInfo_builder) Build() *FileInfo { m0 := &FileInfo{} b, x := &b0, m0 _, _ = b, x - x.Path = b.Path - x.IsDir = b.IsDir - x.Children = b.Children + x.xxx_hidden_Path = b.Path + x.xxx_hidden_IsDir = b.IsDir + x.xxx_hidden_Children = &b.Children return m0 } // GetSourceFileRequest takes an owner, repository, reference, and normalized path. type GetSourceFileRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + xxx_hidden_Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSourceFileRequest) Reset() { @@ -369,46 +365,46 @@ func (x *GetSourceFileRequest) ProtoReflect() protoreflect.Message { func (x *GetSourceFileRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetSourceFileRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *GetSourceFileRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *GetSourceFileRequest) GetPath() string { if x != nil { - return x.Path + return x.xxx_hidden_Path } return "" } func (x *GetSourceFileRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetSourceFileRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *GetSourceFileRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } func (x *GetSourceFileRequest) SetPath(v string) { - x.Path = v + x.xxx_hidden_Path = v } type GetSourceFileRequest_builder struct { @@ -426,20 +422,19 @@ func (b0 GetSourceFileRequest_builder) Build() *GetSourceFileRequest { m0 := &GetSourceFileRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Reference = b.Reference - x.Path = b.Path + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Reference = b.Reference + x.xxx_hidden_Path = b.Path return m0 } // GetSourceFileResponse returns the source code contents of the requested file. type GetSourceFileResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // content is the content of the file. - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSourceFileResponse) Reset() { @@ -469,7 +464,7 @@ func (x *GetSourceFileResponse) ProtoReflect() protoreflect.Message { func (x *GetSourceFileResponse) GetContent() []byte { if x != nil { - return x.Content + return x.xxx_hidden_Content } return nil } @@ -478,7 +473,7 @@ func (x *GetSourceFileResponse) SetContent(v []byte) { if v == nil { v = []byte{} } - x.Content = v + x.xxx_hidden_Content = v } type GetSourceFileResponse_builder struct { @@ -492,19 +487,18 @@ func (b0 GetSourceFileResponse_builder) Build() *GetSourceFileResponse { m0 := &GetSourceFileResponse{} b, x := &b0, m0 _, _ = b, x - x.Content = b.Content + x.xxx_hidden_Content = b.Content return m0 } // GetModulePackagesRequest takes an owner, repository, and reference. type GetModulePackagesRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetModulePackagesRequest) Reset() { @@ -534,35 +528,35 @@ func (x *GetModulePackagesRequest) ProtoReflect() protoreflect.Message { func (x *GetModulePackagesRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetModulePackagesRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *GetModulePackagesRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *GetModulePackagesRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetModulePackagesRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *GetModulePackagesRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } type GetModulePackagesRequest_builder struct { @@ -578,19 +572,19 @@ func (b0 GetModulePackagesRequest_builder) Build() *GetModulePackagesRequest { m0 := &GetModulePackagesRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Reference = b.Reference + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Reference = b.Reference return m0 } // GetModulePackagesResponse returns the list of ModulePackages for the requested module. type GetModulePackagesResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_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() { @@ -620,24 +614,26 @@ func (x *GetModulePackagesResponse) ProtoReflect() protoreflect.Message { func (x *GetModulePackagesResponse) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *GetModulePackagesResponse) GetModulePackages() []*ModulePackage { if x != nil { - return x.ModulePackages + if x.xxx_hidden_ModulePackages != nil { + return *x.xxx_hidden_ModulePackages + } } return nil } func (x *GetModulePackagesResponse) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *GetModulePackagesResponse) SetModulePackages(v []*ModulePackage) { - x.ModulePackages = v + x.xxx_hidden_ModulePackages = &v } type GetModulePackagesResponse_builder struct { @@ -651,18 +647,18 @@ func (b0 GetModulePackagesResponse_builder) Build() *GetModulePackagesResponse { m0 := &GetModulePackagesResponse{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.ModulePackages = b.ModulePackages + x.xxx_hidden_Name = b.Name + x.xxx_hidden_ModulePackages = &b.ModulePackages return m0 } // ModulePackage provides the details about a module's associated package. type ModulePackage struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ModulePackage) Reset() { @@ -692,24 +688,24 @@ func (x *ModulePackage) ProtoReflect() protoreflect.Message { func (x *ModulePackage) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *ModulePackage) GetDescription() string { if x != nil { - return x.Description + return x.xxx_hidden_Description } return "" } func (x *ModulePackage) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *ModulePackage) SetDescription(v string) { - x.Description = v + x.xxx_hidden_Description = v } type ModulePackage_builder struct { @@ -723,20 +719,19 @@ func (b0 ModulePackage_builder) Build() *ModulePackage { m0 := &ModulePackage{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Description = b.Description + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Description = b.Description return m0 } // GetModuleDocumentationRequest takes an owner, repository, and reference. type GetModuleDocumentationRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetModuleDocumentationRequest) Reset() { @@ -766,35 +761,35 @@ func (x *GetModuleDocumentationRequest) ProtoReflect() protoreflect.Message { func (x *GetModuleDocumentationRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetModuleDocumentationRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *GetModuleDocumentationRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *GetModuleDocumentationRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetModuleDocumentationRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *GetModuleDocumentationRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } type GetModuleDocumentationRequest_builder struct { @@ -810,18 +805,18 @@ func (b0 GetModuleDocumentationRequest_builder) Build() *GetModuleDocumentationR m0 := &GetModuleDocumentationRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Reference = b.Reference + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Reference = b.Reference return m0 } // GetModuleDocumentationResponse returns the ModuleDocumentation for the requested module. type GetModuleDocumentationResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - ModuleDocumentation *ModuleDocumentation `protobuf:"bytes,1,opt,name=module_documentation,json=moduleDocumentation,proto3" json:"module_documentation,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -851,24 +846,24 @@ func (x *GetModuleDocumentationResponse) ProtoReflect() protoreflect.Message { func (x *GetModuleDocumentationResponse) GetModuleDocumentation() *ModuleDocumentation { if x != nil { - return x.ModuleDocumentation + return x.xxx_hidden_ModuleDocumentation } return nil } func (x *GetModuleDocumentationResponse) SetModuleDocumentation(v *ModuleDocumentation) { - x.ModuleDocumentation = v + x.xxx_hidden_ModuleDocumentation = v } func (x *GetModuleDocumentationResponse) HasModuleDocumentation() bool { if x == nil { return false } - return x.ModuleDocumentation != nil + return x.xxx_hidden_ModuleDocumentation != nil } func (x *GetModuleDocumentationResponse) ClearModuleDocumentation() { - x.ModuleDocumentation = nil + x.xxx_hidden_ModuleDocumentation = nil } type GetModuleDocumentationResponse_builder struct { @@ -881,31 +876,19 @@ func (b0 GetModuleDocumentationResponse_builder) Build() *GetModuleDocumentation m0 := &GetModuleDocumentationResponse{} b, x := &b0, m0 _, _ = b, x - x.ModuleDocumentation = b.ModuleDocumentation + x.xxx_hidden_ModuleDocumentation = b.ModuleDocumentation return m0 } // ModuleDocumentation provides the name of the module and associated documentations. type ModuleDocumentation struct { - state protoimpl.MessageState `protogen:"hybrid.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. - // string is used to enforce UTF-8 encoding or 7-bit ASCII text. - Documentation string `protobuf:"bytes,3,opt,name=documentation,proto3" json:"documentation,omitempty"` - // This is the string representation of the contents of the LICENSE file for module-level license. - // - // The LICENSE file is a part of the module. - // string is used to enforce UTF-8 encoding or 7-bit ASCII text. - License string `protobuf:"bytes,4,opt,name=license,proto3" json:"license,omitempty"` - // documentation_path is the path of the file which contains the module documentation. - // - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Documentation string `protobuf:"bytes,3,opt,name=documentation,proto3" json:"documentation,omitempty"` + xxx_hidden_License string `protobuf:"bytes,4,opt,name=license,proto3" json:"license,omitempty"` + xxx_hidden_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() { @@ -935,46 +918,46 @@ func (x *ModuleDocumentation) ProtoReflect() protoreflect.Message { func (x *ModuleDocumentation) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *ModuleDocumentation) GetDocumentation() string { if x != nil { - return x.Documentation + return x.xxx_hidden_Documentation } return "" } func (x *ModuleDocumentation) GetLicense() string { if x != nil { - return x.License + return x.xxx_hidden_License } return "" } func (x *ModuleDocumentation) GetDocumentationPath() string { if x != nil { - return x.DocumentationPath + return x.xxx_hidden_DocumentationPath } return "" } func (x *ModuleDocumentation) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *ModuleDocumentation) SetDocumentation(v string) { - x.Documentation = v + x.xxx_hidden_Documentation = v } func (x *ModuleDocumentation) SetLicense(v string) { - x.License = v + x.xxx_hidden_License = v } func (x *ModuleDocumentation) SetDocumentationPath(v string) { - x.DocumentationPath = v + x.xxx_hidden_DocumentationPath = v } type ModuleDocumentation_builder struct { @@ -1002,24 +985,22 @@ func (b0 ModuleDocumentation_builder) Build() *ModuleDocumentation { m0 := &ModuleDocumentation{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Documentation = b.Documentation - x.License = b.License - x.DocumentationPath = b.DocumentationPath + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Documentation = b.Documentation + x.xxx_hidden_License = b.License + x.xxx_hidden_DocumentationPath = b.DocumentationPath return m0 } // GetPackageDocumentationRequest takes an owner, repository, reference, and package name. type GetPackageDocumentationRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + xxx_hidden_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() { @@ -1049,46 +1030,46 @@ func (x *GetPackageDocumentationRequest) ProtoReflect() protoreflect.Message { func (x *GetPackageDocumentationRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetPackageDocumentationRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *GetPackageDocumentationRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *GetPackageDocumentationRequest) GetPackageName() string { if x != nil { - return x.PackageName + return x.xxx_hidden_PackageName } return "" } func (x *GetPackageDocumentationRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetPackageDocumentationRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *GetPackageDocumentationRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } func (x *GetPackageDocumentationRequest) SetPackageName(v string) { - x.PackageName = v + x.xxx_hidden_PackageName = v } type GetPackageDocumentationRequest_builder struct { @@ -1106,19 +1087,19 @@ func (b0 GetPackageDocumentationRequest_builder) Build() *GetPackageDocumentatio m0 := &GetPackageDocumentationRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Reference = b.Reference - x.PackageName = b.PackageName + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Reference = b.Reference + x.xxx_hidden_PackageName = b.PackageName return m0 } // GetPackageDocumentationReponse returns the documentation for the requested package. type GetPackageDocumentationResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - PackageDocumentation *PackageDocumentation `protobuf:"bytes,1,opt,name=package_documentation,json=packageDocumentation,proto3" json:"package_documentation,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -1148,24 +1129,24 @@ func (x *GetPackageDocumentationResponse) ProtoReflect() protoreflect.Message { func (x *GetPackageDocumentationResponse) GetPackageDocumentation() *PackageDocumentation { if x != nil { - return x.PackageDocumentation + return x.xxx_hidden_PackageDocumentation } return nil } func (x *GetPackageDocumentationResponse) SetPackageDocumentation(v *PackageDocumentation) { - x.PackageDocumentation = v + x.xxx_hidden_PackageDocumentation = v } func (x *GetPackageDocumentationResponse) HasPackageDocumentation() bool { if x == nil { return false } - return x.PackageDocumentation != nil + return x.xxx_hidden_PackageDocumentation != nil } func (x *GetPackageDocumentationResponse) ClearPackageDocumentation() { - x.PackageDocumentation = nil + x.xxx_hidden_PackageDocumentation = nil } type GetPackageDocumentationResponse_builder struct { @@ -1178,31 +1159,21 @@ func (b0 GetPackageDocumentationResponse_builder) Build() *GetPackageDocumentati m0 := &GetPackageDocumentationResponse{} b, x := &b0, m0 _, _ = b, x - x.PackageDocumentation = b.PackageDocumentation + x.xxx_hidden_PackageDocumentation = b.PackageDocumentation return m0 } // PackageDocumentation provides the name, description, and top level types defined in the package. type PackageDocumentation struct { - state protoimpl.MessageState `protogen:"hybrid.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. - // - // This is derived from the leading comments at the top level of the package. - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"` - // services contains all the services defined in the package in alphabetical order. - Services []*Service `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` - // enums contains all the enums defined in the package in alphabetical order. - Enums []*Enum `protobuf:"bytes,4,rep,name=enums,proto3" json:"enums,omitempty"` - // messages contains all the messages defined in the package in alphabetical order. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"` + xxx_hidden_Services *[]*Service `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` + xxx_hidden_Enums *[]*Enum `protobuf:"bytes,4,rep,name=enums,proto3" json:"enums,omitempty"` + xxx_hidden_Messages *[]*Message `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"` + xxx_hidden_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() { @@ -1232,68 +1203,76 @@ func (x *PackageDocumentation) ProtoReflect() protoreflect.Message { func (x *PackageDocumentation) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *PackageDocumentation) GetComments() string { if x != nil { - return x.Comments + return x.xxx_hidden_Comments } return "" } func (x *PackageDocumentation) GetServices() []*Service { if x != nil { - return x.Services + if x.xxx_hidden_Services != nil { + return *x.xxx_hidden_Services + } } return nil } func (x *PackageDocumentation) GetEnums() []*Enum { if x != nil { - return x.Enums + if x.xxx_hidden_Enums != nil { + return *x.xxx_hidden_Enums + } } return nil } func (x *PackageDocumentation) GetMessages() []*Message { if x != nil { - return x.Messages + if x.xxx_hidden_Messages != nil { + return *x.xxx_hidden_Messages + } } return nil } func (x *PackageDocumentation) GetFileExtensions() []*FileExtension { if x != nil { - return x.FileExtensions + if x.xxx_hidden_FileExtensions != nil { + return *x.xxx_hidden_FileExtensions + } } return nil } func (x *PackageDocumentation) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *PackageDocumentation) SetComments(v string) { - x.Comments = v + x.xxx_hidden_Comments = v } func (x *PackageDocumentation) SetServices(v []*Service) { - x.Services = v + x.xxx_hidden_Services = &v } func (x *PackageDocumentation) SetEnums(v []*Enum) { - x.Enums = v + x.xxx_hidden_Enums = &v } func (x *PackageDocumentation) SetMessages(v []*Message) { - x.Messages = v + x.xxx_hidden_Messages = &v } func (x *PackageDocumentation) SetFileExtensions(v []*FileExtension) { - x.FileExtensions = v + x.xxx_hidden_FileExtensions = &v } type PackageDocumentation_builder struct { @@ -1321,12 +1300,12 @@ func (b0 PackageDocumentation_builder) Build() *PackageDocumentation { m0 := &PackageDocumentation{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Comments = b.Comments - x.Services = b.Services - x.Enums = b.Enums - x.Messages = b.Messages - x.FileExtensions = b.FileExtensions + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Comments = b.Comments + x.xxx_hidden_Services = &b.Services + x.xxx_hidden_Enums = &b.Enums + x.xxx_hidden_Messages = &b.Messages + x.xxx_hidden_FileExtensions = &b.FileExtensions return m0 } @@ -1335,13 +1314,13 @@ func (b0 PackageDocumentation_builder) Build() *PackageDocumentation { // 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 `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_StartLine int32 `protobuf:"varint,1,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` + xxx_hidden_StartColumn int32 `protobuf:"varint,2,opt,name=start_column,json=startColumn,proto3" json:"start_column,omitempty"` + xxx_hidden_EndLine int32 `protobuf:"varint,3,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"` + xxx_hidden_EndColumn int32 `protobuf:"varint,4,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Location) Reset() { @@ -1371,46 +1350,46 @@ func (x *Location) ProtoReflect() protoreflect.Message { func (x *Location) GetStartLine() int32 { if x != nil { - return x.StartLine + return x.xxx_hidden_StartLine } return 0 } func (x *Location) GetStartColumn() int32 { if x != nil { - return x.StartColumn + return x.xxx_hidden_StartColumn } return 0 } func (x *Location) GetEndLine() int32 { if x != nil { - return x.EndLine + return x.xxx_hidden_EndLine } return 0 } func (x *Location) GetEndColumn() int32 { if x != nil { - return x.EndColumn + return x.xxx_hidden_EndColumn } return 0 } func (x *Location) SetStartLine(v int32) { - x.StartLine = v + x.xxx_hidden_StartLine = v } func (x *Location) SetStartColumn(v int32) { - x.StartColumn = v + x.xxx_hidden_StartColumn = v } func (x *Location) SetEndLine(v int32) { - x.EndLine = v + x.xxx_hidden_EndLine = v } func (x *Location) SetEndColumn(v int32) { - x.EndColumn = v + x.xxx_hidden_EndColumn = v } type Location_builder struct { @@ -1426,44 +1405,28 @@ func (b0 Location_builder) Build() *Location { m0 := &Location{} b, x := &b0, m0 _, _ = b, x - x.StartLine = b.StartLine - x.StartColumn = b.StartColumn - x.EndLine = b.EndLine - x.EndColumn = b.EndColumn + x.xxx_hidden_StartLine = b.StartLine + x.xxx_hidden_StartColumn = b.StartColumn + x.xxx_hidden_EndLine = b.EndLine + x.xxx_hidden_EndColumn = b.EndColumn return m0 } // Service provides information for the documentation for a given service type in a file. type Service struct { - state protoimpl.MessageState `protogen:"hybrid.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. - FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` - // comments is derived from the leading comments of a given service. - // - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string `protobuf:"bytes,4,opt,name=comments,proto3" json:"comments,omitempty"` - // file_path is the normalized path of the file containing the service. - // This is used for navigating to the source code for the service. - FilePath string `protobuf:"bytes,5,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - Location *Location `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` - Methods []*Method `protobuf:"bytes,7,rep,name=methods,proto3" json:"methods,omitempty"` - // implicitly_deprecated is true if its enclosing file is deprecated. - ImplicitlyDeprecated bool `protobuf:"varint,9,opt,name=implicitly_deprecated,json=implicitlyDeprecated,proto3" json:"implicitly_deprecated,omitempty"` - // All options that are present on the service. This is a super-set of - // service_options and uses a dynamic representation so it can also - // accommodate custom options with arbitrary types. - // This supersedes service_options. - Options []*FieldLiteral `protobuf:"bytes,10,rep,name=options,proto3" json:"options,omitempty"` - // Use options instead. - // - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_NestedName string `protobuf:"bytes,2,opt,name=nested_name,json=nestedName,proto3" json:"nested_name,omitempty"` + xxx_hidden_FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` + xxx_hidden_Comments string `protobuf:"bytes,4,opt,name=comments,proto3" json:"comments,omitempty"` + xxx_hidden_FilePath string `protobuf:"bytes,5,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` + xxx_hidden_Location *Location `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` + xxx_hidden_Methods *[]*Method `protobuf:"bytes,7,rep,name=methods,proto3" json:"methods,omitempty"` + xxx_hidden_ImplicitlyDeprecated bool `protobuf:"varint,9,opt,name=implicitly_deprecated,json=implicitlyDeprecated,proto3" json:"implicitly_deprecated,omitempty"` + xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,10,rep,name=options,proto3" json:"options,omitempty"` + xxx_hidden_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() { @@ -1493,63 +1456,67 @@ func (x *Service) ProtoReflect() protoreflect.Message { func (x *Service) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *Service) GetNestedName() string { if x != nil { - return x.NestedName + return x.xxx_hidden_NestedName } return "" } func (x *Service) GetFullName() string { if x != nil { - return x.FullName + return x.xxx_hidden_FullName } return "" } func (x *Service) GetComments() string { if x != nil { - return x.Comments + return x.xxx_hidden_Comments } return "" } func (x *Service) GetFilePath() string { if x != nil { - return x.FilePath + return x.xxx_hidden_FilePath } return "" } func (x *Service) GetLocation() *Location { if x != nil { - return x.Location + return x.xxx_hidden_Location } return nil } func (x *Service) GetMethods() []*Method { if x != nil { - return x.Methods + if x.xxx_hidden_Methods != nil { + return *x.xxx_hidden_Methods + } } return nil } func (x *Service) GetImplicitlyDeprecated() bool { if x != nil { - return x.ImplicitlyDeprecated + return x.xxx_hidden_ImplicitlyDeprecated } return false } func (x *Service) GetOptions() []*FieldLiteral { if x != nil { - return x.Options + if x.xxx_hidden_Options != nil { + return *x.xxx_hidden_Options + } } return nil } @@ -1557,57 +1524,57 @@ func (x *Service) GetOptions() []*FieldLiteral { // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Service) GetServiceOptions() *ServiceOptions { if x != nil { - return x.ServiceOptions + return x.xxx_hidden_ServiceOptions } return nil } func (x *Service) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *Service) SetNestedName(v string) { - x.NestedName = v + x.xxx_hidden_NestedName = v } func (x *Service) SetFullName(v string) { - x.FullName = v + x.xxx_hidden_FullName = v } func (x *Service) SetComments(v string) { - x.Comments = v + x.xxx_hidden_Comments = v } func (x *Service) SetFilePath(v string) { - x.FilePath = v + x.xxx_hidden_FilePath = v } func (x *Service) SetLocation(v *Location) { - x.Location = v + x.xxx_hidden_Location = v } func (x *Service) SetMethods(v []*Method) { - x.Methods = v + x.xxx_hidden_Methods = &v } func (x *Service) SetImplicitlyDeprecated(v bool) { - x.ImplicitlyDeprecated = v + x.xxx_hidden_ImplicitlyDeprecated = v } func (x *Service) SetOptions(v []*FieldLiteral) { - x.Options = v + x.xxx_hidden_Options = &v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Service) SetServiceOptions(v *ServiceOptions) { - x.ServiceOptions = v + x.xxx_hidden_ServiceOptions = v } func (x *Service) HasLocation() bool { if x == nil { return false } - return x.Location != nil + return x.xxx_hidden_Location != nil } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. @@ -1615,16 +1582,16 @@ func (x *Service) HasServiceOptions() bool { if x == nil { return false } - return x.ServiceOptions != nil + return x.xxx_hidden_ServiceOptions != nil } func (x *Service) ClearLocation() { - x.Location = nil + x.xxx_hidden_Location = nil } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Service) ClearServiceOptions() { - x.ServiceOptions = nil + x.xxx_hidden_ServiceOptions = nil } type Service_builder struct { @@ -1662,16 +1629,16 @@ func (b0 Service_builder) Build() *Service { m0 := &Service{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.NestedName = b.NestedName - x.FullName = b.FullName - x.Comments = b.Comments - x.FilePath = b.FilePath - x.Location = b.Location - x.Methods = b.Methods - x.ImplicitlyDeprecated = b.ImplicitlyDeprecated - x.Options = b.Options - x.ServiceOptions = b.ServiceOptions + x.xxx_hidden_Name = b.Name + x.xxx_hidden_NestedName = b.NestedName + x.xxx_hidden_FullName = b.FullName + x.xxx_hidden_Comments = b.Comments + x.xxx_hidden_FilePath = b.FilePath + x.xxx_hidden_Location = b.Location + x.xxx_hidden_Methods = &b.Methods + x.xxx_hidden_ImplicitlyDeprecated = b.ImplicitlyDeprecated + x.xxx_hidden_Options = &b.Options + x.xxx_hidden_ServiceOptions = b.ServiceOptions return m0 } @@ -1679,10 +1646,10 @@ func (b0 Service_builder) Build() *Service { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. type ServiceOptions struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceOptions) Reset() { @@ -1712,13 +1679,13 @@ func (x *ServiceOptions) ProtoReflect() protoreflect.Message { func (x *ServiceOptions) GetDeprecated() bool { if x != nil { - return x.Deprecated + return x.xxx_hidden_Deprecated } return false } func (x *ServiceOptions) SetDeprecated(v bool) { - x.Deprecated = v + x.xxx_hidden_Deprecated = v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. @@ -1732,34 +1699,22 @@ func (b0 ServiceOptions_builder) Build() *ServiceOptions { m0 := &ServiceOptions{} b, x := &b0, m0 _, _ = b, x - x.Deprecated = b.Deprecated + x.xxx_hidden_Deprecated = b.Deprecated return m0 } // Method provides information for the documentation for a method of a given service. type Method struct { - state protoimpl.MessageState `protogen:"hybrid.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. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"` - Request *MethodRequestResponse `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"` - Response *MethodRequestResponse `protobuf:"bytes,4,opt,name=response,proto3" json:"response,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"` - // All options that are present on the method. This is a super-set of - // method_options and uses a dynamic representation so it can also - // accommodate custom options with arbitrary types. - // This supersedes method_options. - Options []*FieldLiteral `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"` - // Use options instead. - // - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"` + xxx_hidden_Request *MethodRequestResponse `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"` + xxx_hidden_Response *MethodRequestResponse `protobuf:"bytes,4,opt,name=response,proto3" json:"response,omitempty"` + xxx_hidden_ImplicitlyDeprecated bool `protobuf:"varint,6,opt,name=implicitly_deprecated,json=implicitlyDeprecated,proto3" json:"implicitly_deprecated,omitempty"` + xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"` + xxx_hidden_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() { @@ -1789,42 +1744,44 @@ func (x *Method) ProtoReflect() protoreflect.Message { func (x *Method) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *Method) GetComments() string { if x != nil { - return x.Comments + return x.xxx_hidden_Comments } return "" } func (x *Method) GetRequest() *MethodRequestResponse { if x != nil { - return x.Request + return x.xxx_hidden_Request } return nil } func (x *Method) GetResponse() *MethodRequestResponse { if x != nil { - return x.Response + return x.xxx_hidden_Response } return nil } func (x *Method) GetImplicitlyDeprecated() bool { if x != nil { - return x.ImplicitlyDeprecated + return x.xxx_hidden_ImplicitlyDeprecated } return false } func (x *Method) GetOptions() []*FieldLiteral { if x != nil { - return x.Options + if x.xxx_hidden_Options != nil { + return *x.xxx_hidden_Options + } } return nil } @@ -1832,52 +1789,52 @@ func (x *Method) GetOptions() []*FieldLiteral { // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Method) GetMethodOptions() *MethodOptions { if x != nil { - return x.MethodOptions + return x.xxx_hidden_MethodOptions } return nil } func (x *Method) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *Method) SetComments(v string) { - x.Comments = v + x.xxx_hidden_Comments = v } func (x *Method) SetRequest(v *MethodRequestResponse) { - x.Request = v + x.xxx_hidden_Request = v } func (x *Method) SetResponse(v *MethodRequestResponse) { - x.Response = v + x.xxx_hidden_Response = v } func (x *Method) SetImplicitlyDeprecated(v bool) { - x.ImplicitlyDeprecated = v + x.xxx_hidden_ImplicitlyDeprecated = v } func (x *Method) SetOptions(v []*FieldLiteral) { - x.Options = v + x.xxx_hidden_Options = &v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Method) SetMethodOptions(v *MethodOptions) { - x.MethodOptions = v + x.xxx_hidden_MethodOptions = v } func (x *Method) HasRequest() bool { if x == nil { return false } - return x.Request != nil + return x.xxx_hidden_Request != nil } func (x *Method) HasResponse() bool { if x == nil { return false } - return x.Response != nil + return x.xxx_hidden_Response != nil } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. @@ -1885,20 +1842,20 @@ func (x *Method) HasMethodOptions() bool { if x == nil { return false } - return x.MethodOptions != nil + return x.xxx_hidden_MethodOptions != nil } func (x *Method) ClearRequest() { - x.Request = nil + x.xxx_hidden_Request = nil } func (x *Method) ClearResponse() { - x.Response = nil + x.xxx_hidden_Response = nil } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Method) ClearMethodOptions() { - x.MethodOptions = nil + x.xxx_hidden_MethodOptions = nil } type Method_builder struct { @@ -1929,13 +1886,13 @@ func (b0 Method_builder) Build() *Method { m0 := &Method{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Comments = b.Comments - x.Request = b.Request - x.Response = b.Response - x.ImplicitlyDeprecated = b.ImplicitlyDeprecated - x.Options = b.Options - x.MethodOptions = b.MethodOptions + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Comments = b.Comments + x.xxx_hidden_Request = b.Request + x.xxx_hidden_Response = b.Response + x.xxx_hidden_ImplicitlyDeprecated = b.ImplicitlyDeprecated + x.xxx_hidden_Options = &b.Options + x.xxx_hidden_MethodOptions = b.MethodOptions return m0 } @@ -1943,12 +1900,11 @@ func (b0 Method_builder) Build() *Method { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. type MethodOptions struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + xxx_hidden_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() { @@ -1978,24 +1934,24 @@ func (x *MethodOptions) ProtoReflect() protoreflect.Message { func (x *MethodOptions) GetDeprecated() bool { if x != nil { - return x.Deprecated + return x.xxx_hidden_Deprecated } return false } func (x *MethodOptions) GetIdempotencyLevel() int32 { if x != nil { - return x.IdempotencyLevel + return x.xxx_hidden_IdempotencyLevel } return 0 } func (x *MethodOptions) SetDeprecated(v bool) { - x.Deprecated = v + x.xxx_hidden_Deprecated = v } func (x *MethodOptions) SetIdempotencyLevel(v int32) { - x.IdempotencyLevel = v + x.xxx_hidden_IdempotencyLevel = v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. @@ -2011,26 +1967,21 @@ func (b0 MethodOptions_builder) Build() *MethodOptions { m0 := &MethodOptions{} b, x := &b0, m0 _, _ = b, x - x.Deprecated = b.Deprecated - x.IdempotencyLevel = b.IdempotencyLevel + x.xxx_hidden_Deprecated = b.Deprecated + x.xxx_hidden_IdempotencyLevel = b.IdempotencyLevel return m0 } // MethodRequestResponse provides information for the documentation of a Method request or response message. type MethodRequestResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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. - FullType string `protobuf:"bytes,2,opt,name=full_type,json=fullType,proto3" json:"full_type,omitempty"` - // boolean flag for whether the streaming label is set on an method request or response. - Streaming bool `protobuf:"varint,3,opt,name=streaming,proto3" json:"streaming,omitempty"` - Message *Message `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_NestedType string `protobuf:"bytes,1,opt,name=nested_type,json=nestedType,proto3" json:"nested_type,omitempty"` + xxx_hidden_FullType string `protobuf:"bytes,2,opt,name=full_type,json=fullType,proto3" json:"full_type,omitempty"` + xxx_hidden_Streaming bool `protobuf:"varint,3,opt,name=streaming,proto3" json:"streaming,omitempty"` + xxx_hidden_Message *Message `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + xxx_hidden_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() { @@ -2060,79 +2011,79 @@ func (x *MethodRequestResponse) ProtoReflect() protoreflect.Message { func (x *MethodRequestResponse) GetNestedType() string { if x != nil { - return x.NestedType + return x.xxx_hidden_NestedType } return "" } func (x *MethodRequestResponse) GetFullType() string { if x != nil { - return x.FullType + return x.xxx_hidden_FullType } return "" } func (x *MethodRequestResponse) GetStreaming() bool { if x != nil { - return x.Streaming + return x.xxx_hidden_Streaming } return false } func (x *MethodRequestResponse) GetMessage() *Message { if x != nil { - return x.Message + return x.xxx_hidden_Message } return nil } func (x *MethodRequestResponse) GetImportModuleRef() *ImportModuleRef { if x != nil { - return x.ImportModuleRef + return x.xxx_hidden_ImportModuleRef } return nil } func (x *MethodRequestResponse) SetNestedType(v string) { - x.NestedType = v + x.xxx_hidden_NestedType = v } func (x *MethodRequestResponse) SetFullType(v string) { - x.FullType = v + x.xxx_hidden_FullType = v } func (x *MethodRequestResponse) SetStreaming(v bool) { - x.Streaming = v + x.xxx_hidden_Streaming = v } func (x *MethodRequestResponse) SetMessage(v *Message) { - x.Message = v + x.xxx_hidden_Message = v } func (x *MethodRequestResponse) SetImportModuleRef(v *ImportModuleRef) { - x.ImportModuleRef = v + x.xxx_hidden_ImportModuleRef = v } func (x *MethodRequestResponse) HasMessage() bool { if x == nil { return false } - return x.Message != nil + return x.xxx_hidden_Message != nil } func (x *MethodRequestResponse) HasImportModuleRef() bool { if x == nil { return false } - return x.ImportModuleRef != nil + return x.xxx_hidden_ImportModuleRef != nil } func (x *MethodRequestResponse) ClearMessage() { - x.Message = nil + x.xxx_hidden_Message = nil } func (x *MethodRequestResponse) ClearImportModuleRef() { - x.ImportModuleRef = nil + x.xxx_hidden_ImportModuleRef = nil } type MethodRequestResponse_builder struct { @@ -2154,44 +2105,29 @@ func (b0 MethodRequestResponse_builder) Build() *MethodRequestResponse { m0 := &MethodRequestResponse{} b, x := &b0, m0 _, _ = b, x - x.NestedType = b.NestedType - x.FullType = b.FullType - x.Streaming = b.Streaming - x.Message = b.Message - x.ImportModuleRef = b.ImportModuleRef + x.xxx_hidden_NestedType = b.NestedType + x.xxx_hidden_FullType = b.FullType + x.xxx_hidden_Streaming = b.Streaming + x.xxx_hidden_Message = b.Message + x.xxx_hidden_ImportModuleRef = b.ImportModuleRef return m0 } // Enum provides information for the documentation of an enum. type Enum struct { - state protoimpl.MessageState `protogen:"hybrid.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. - FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` - // comments is derived from the leading comments of a given Enum. - // - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string `protobuf:"bytes,4,opt,name=comments,proto3" json:"comments,omitempty"` - // file_path is the normalized path of the file containing the enum. - FilePath string `protobuf:"bytes,5,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - Location *Location `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` - Values []*EnumValue `protobuf:"bytes,7,rep,name=values,proto3" json:"values,omitempty"` - // implicitly_deprecated is true if its enclosing file or parent element is deprecated. - ImplicitlyDeprecated bool `protobuf:"varint,9,opt,name=implicitly_deprecated,json=implicitlyDeprecated,proto3" json:"implicitly_deprecated,omitempty"` - // All options that are present on the enum. This is a super-set of - // enum_options and uses a dynamic representation so it can also - // accommodate custom options with arbitrary types. - // // This supersedes enum_options. - Options []*FieldLiteral `protobuf:"bytes,10,rep,name=options,proto3" json:"options,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_NestedName string `protobuf:"bytes,2,opt,name=nested_name,json=nestedName,proto3" json:"nested_name,omitempty"` + xxx_hidden_FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` + xxx_hidden_Comments string `protobuf:"bytes,4,opt,name=comments,proto3" json:"comments,omitempty"` + xxx_hidden_FilePath string `protobuf:"bytes,5,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` + xxx_hidden_Location *Location `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` + xxx_hidden_Values *[]*EnumValue `protobuf:"bytes,7,rep,name=values,proto3" json:"values,omitempty"` + xxx_hidden_ImplicitlyDeprecated bool `protobuf:"varint,9,opt,name=implicitly_deprecated,json=implicitlyDeprecated,proto3" json:"implicitly_deprecated,omitempty"` + xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,10,rep,name=options,proto3" json:"options,omitempty"` + xxx_hidden_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() { @@ -2221,63 +2157,67 @@ func (x *Enum) ProtoReflect() protoreflect.Message { func (x *Enum) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *Enum) GetNestedName() string { if x != nil { - return x.NestedName + return x.xxx_hidden_NestedName } return "" } func (x *Enum) GetFullName() string { if x != nil { - return x.FullName + return x.xxx_hidden_FullName } return "" } func (x *Enum) GetComments() string { if x != nil { - return x.Comments + return x.xxx_hidden_Comments } return "" } func (x *Enum) GetFilePath() string { if x != nil { - return x.FilePath + return x.xxx_hidden_FilePath } return "" } func (x *Enum) GetLocation() *Location { if x != nil { - return x.Location + return x.xxx_hidden_Location } return nil } func (x *Enum) GetValues() []*EnumValue { if x != nil { - return x.Values + if x.xxx_hidden_Values != nil { + return *x.xxx_hidden_Values + } } return nil } func (x *Enum) GetImplicitlyDeprecated() bool { if x != nil { - return x.ImplicitlyDeprecated + return x.xxx_hidden_ImplicitlyDeprecated } return false } func (x *Enum) GetOptions() []*FieldLiteral { if x != nil { - return x.Options + if x.xxx_hidden_Options != nil { + return *x.xxx_hidden_Options + } } return nil } @@ -2285,57 +2225,57 @@ func (x *Enum) GetOptions() []*FieldLiteral { // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Enum) GetEnumOptions() *EnumOptions { if x != nil { - return x.EnumOptions + return x.xxx_hidden_EnumOptions } return nil } func (x *Enum) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *Enum) SetNestedName(v string) { - x.NestedName = v + x.xxx_hidden_NestedName = v } func (x *Enum) SetFullName(v string) { - x.FullName = v + x.xxx_hidden_FullName = v } func (x *Enum) SetComments(v string) { - x.Comments = v + x.xxx_hidden_Comments = v } func (x *Enum) SetFilePath(v string) { - x.FilePath = v + x.xxx_hidden_FilePath = v } func (x *Enum) SetLocation(v *Location) { - x.Location = v + x.xxx_hidden_Location = v } func (x *Enum) SetValues(v []*EnumValue) { - x.Values = v + x.xxx_hidden_Values = &v } func (x *Enum) SetImplicitlyDeprecated(v bool) { - x.ImplicitlyDeprecated = v + x.xxx_hidden_ImplicitlyDeprecated = v } func (x *Enum) SetOptions(v []*FieldLiteral) { - x.Options = v + x.xxx_hidden_Options = &v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Enum) SetEnumOptions(v *EnumOptions) { - x.EnumOptions = v + x.xxx_hidden_EnumOptions = v } func (x *Enum) HasLocation() bool { if x == nil { return false } - return x.Location != nil + return x.xxx_hidden_Location != nil } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. @@ -2343,16 +2283,16 @@ func (x *Enum) HasEnumOptions() bool { if x == nil { return false } - return x.EnumOptions != nil + return x.xxx_hidden_EnumOptions != nil } func (x *Enum) ClearLocation() { - x.Location = nil + x.xxx_hidden_Location = nil } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Enum) ClearEnumOptions() { - x.EnumOptions = nil + x.xxx_hidden_EnumOptions = nil } type Enum_builder struct { @@ -2389,16 +2329,16 @@ func (b0 Enum_builder) Build() *Enum { m0 := &Enum{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.NestedName = b.NestedName - x.FullName = b.FullName - x.Comments = b.Comments - x.FilePath = b.FilePath - x.Location = b.Location - x.Values = b.Values - x.ImplicitlyDeprecated = b.ImplicitlyDeprecated - x.Options = b.Options - x.EnumOptions = b.EnumOptions + x.xxx_hidden_Name = b.Name + x.xxx_hidden_NestedName = b.NestedName + x.xxx_hidden_FullName = b.FullName + x.xxx_hidden_Comments = b.Comments + x.xxx_hidden_FilePath = b.FilePath + x.xxx_hidden_Location = b.Location + x.xxx_hidden_Values = &b.Values + x.xxx_hidden_ImplicitlyDeprecated = b.ImplicitlyDeprecated + x.xxx_hidden_Options = &b.Options + x.xxx_hidden_EnumOptions = b.EnumOptions return m0 } @@ -2406,11 +2346,11 @@ func (b0 Enum_builder) Build() *Enum { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. type EnumOptions struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + xxx_hidden_AllowAlias bool `protobuf:"varint,2,opt,name=allow_alias,json=allowAlias,proto3" json:"allow_alias,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnumOptions) Reset() { @@ -2440,24 +2380,24 @@ func (x *EnumOptions) ProtoReflect() protoreflect.Message { func (x *EnumOptions) GetDeprecated() bool { if x != nil { - return x.Deprecated + return x.xxx_hidden_Deprecated } return false } func (x *EnumOptions) GetAllowAlias() bool { if x != nil { - return x.AllowAlias + return x.xxx_hidden_AllowAlias } return false } func (x *EnumOptions) SetDeprecated(v bool) { - x.Deprecated = v + x.xxx_hidden_Deprecated = v } func (x *EnumOptions) SetAllowAlias(v bool) { - x.AllowAlias = v + x.xxx_hidden_AllowAlias = v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. @@ -2472,32 +2412,21 @@ func (b0 EnumOptions_builder) Build() *EnumOptions { m0 := &EnumOptions{} b, x := &b0, m0 _, _ = b, x - x.Deprecated = b.Deprecated - x.AllowAlias = b.AllowAlias + x.xxx_hidden_Deprecated = b.Deprecated + x.xxx_hidden_AllowAlias = b.AllowAlias return m0 } // EnumValue provides information for the documentation of an enum value. type EnumValue struct { - state protoimpl.MessageState `protogen:"hybrid.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. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string `protobuf:"bytes,3,opt,name=comments,proto3" json:"comments,omitempty"` - // All options that are present on the enum. This is a super-set of - // enum_value_options and uses a dynamic representation so it can also - // accommodate custom options with arbitrary types. - // // This supersedes enum_value_options. - Options []*FieldLiteral `protobuf:"bytes,5,rep,name=options,proto3" json:"options,omitempty"` - // Use options instead. - // - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` + xxx_hidden_Comments string `protobuf:"bytes,3,opt,name=comments,proto3" json:"comments,omitempty"` + xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,5,rep,name=options,proto3" json:"options,omitempty"` + xxx_hidden_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() { @@ -2527,28 +2456,30 @@ func (x *EnumValue) ProtoReflect() protoreflect.Message { func (x *EnumValue) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *EnumValue) GetNumber() int32 { if x != nil { - return x.Number + return x.xxx_hidden_Number } return 0 } func (x *EnumValue) GetComments() string { if x != nil { - return x.Comments + return x.xxx_hidden_Comments } return "" } func (x *EnumValue) GetOptions() []*FieldLiteral { if x != nil { - return x.Options + if x.xxx_hidden_Options != nil { + return *x.xxx_hidden_Options + } } return nil } @@ -2556,30 +2487,30 @@ func (x *EnumValue) GetOptions() []*FieldLiteral { // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *EnumValue) GetEnumValueOptions() *EnumValueOptions { if x != nil { - return x.EnumValueOptions + return x.xxx_hidden_EnumValueOptions } return nil } func (x *EnumValue) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *EnumValue) SetNumber(v int32) { - x.Number = v + x.xxx_hidden_Number = v } func (x *EnumValue) SetComments(v string) { - x.Comments = v + x.xxx_hidden_Comments = v } func (x *EnumValue) SetOptions(v []*FieldLiteral) { - x.Options = v + x.xxx_hidden_Options = &v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *EnumValue) SetEnumValueOptions(v *EnumValueOptions) { - x.EnumValueOptions = v + x.xxx_hidden_EnumValueOptions = v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. @@ -2587,12 +2518,12 @@ func (x *EnumValue) HasEnumValueOptions() bool { if x == nil { return false } - return x.EnumValueOptions != nil + return x.xxx_hidden_EnumValueOptions != nil } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *EnumValue) ClearEnumValueOptions() { - x.EnumValueOptions = nil + x.xxx_hidden_EnumValueOptions = nil } type EnumValue_builder struct { @@ -2620,11 +2551,11 @@ func (b0 EnumValue_builder) Build() *EnumValue { m0 := &EnumValue{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Number = b.Number - x.Comments = b.Comments - x.Options = b.Options - x.EnumValueOptions = b.EnumValueOptions + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Number = b.Number + x.xxx_hidden_Comments = b.Comments + x.xxx_hidden_Options = &b.Options + x.xxx_hidden_EnumValueOptions = b.EnumValueOptions return m0 } @@ -2632,10 +2563,10 @@ func (b0 EnumValue_builder) Build() *EnumValue { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. type EnumValueOptions struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnumValueOptions) Reset() { @@ -2665,13 +2596,13 @@ func (x *EnumValueOptions) ProtoReflect() protoreflect.Message { func (x *EnumValueOptions) GetDeprecated() bool { if x != nil { - return x.Deprecated + return x.xxx_hidden_Deprecated } return false } func (x *EnumValueOptions) SetDeprecated(v bool) { - x.Deprecated = v + x.xxx_hidden_Deprecated = v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. @@ -2685,22 +2616,20 @@ func (b0 EnumValueOptions_builder) Build() *EnumValueOptions { m0 := &EnumValueOptions{} b, x := &b0, m0 _, _ = b, x - x.Deprecated = b.Deprecated + x.xxx_hidden_Deprecated = b.Deprecated return m0 } // ImportRef provides the import metadata if a type is imported. type ImportModuleRef struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` + xxx_hidden_Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` + xxx_hidden_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() { @@ -2730,57 +2659,57 @@ func (x *ImportModuleRef) ProtoReflect() protoreflect.Message { func (x *ImportModuleRef) GetRemote() string { if x != nil { - return x.Remote + return x.xxx_hidden_Remote } return "" } func (x *ImportModuleRef) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *ImportModuleRef) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *ImportModuleRef) GetCommit() string { if x != nil { - return x.Commit + return x.xxx_hidden_Commit } return "" } func (x *ImportModuleRef) GetPackageName() string { if x != nil { - return x.PackageName + return x.xxx_hidden_PackageName } return "" } func (x *ImportModuleRef) SetRemote(v string) { - x.Remote = v + x.xxx_hidden_Remote = v } func (x *ImportModuleRef) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *ImportModuleRef) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *ImportModuleRef) SetCommit(v string) { - x.Commit = v + x.xxx_hidden_Commit = v } func (x *ImportModuleRef) SetPackageName(v string) { - x.PackageName = v + x.xxx_hidden_PackageName = v } type ImportModuleRef_builder struct { @@ -2799,46 +2728,31 @@ func (b0 ImportModuleRef_builder) Build() *ImportModuleRef { m0 := &ImportModuleRef{} b, x := &b0, m0 _, _ = b, x - x.Remote = b.Remote - x.Owner = b.Owner - x.Repository = b.Repository - x.Commit = b.Commit - x.PackageName = b.PackageName + x.xxx_hidden_Remote = b.Remote + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Commit = b.Commit + x.xxx_hidden_PackageName = b.PackageName return m0 } // Message provides information for the documentation of a protobuf message. type Message struct { - state protoimpl.MessageState `protogen:"hybrid.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. - FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` - // comments is derived from the leading comments of a given message. - // - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string `protobuf:"bytes,4,opt,name=comments,proto3" json:"comments,omitempty"` - // file_path is the normalized path of the file containing the message. - FilePath string `protobuf:"bytes,5,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - IsMapEntry bool `protobuf:"varint,6,opt,name=is_map_entry,json=isMapEntry,proto3" json:"is_map_entry,omitempty"` - Fields []*MessageField `protobuf:"bytes,7,rep,name=fields,proto3" json:"fields,omitempty"` - Location *Location `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"` - MessageExtensions []*Field `protobuf:"bytes,9,rep,name=message_extensions,json=messageExtensions,proto3" json:"message_extensions,omitempty"` - // implicitly_deprecated is true if its enclosing file or parent element is deprecated. - ImplicitlyDeprecated bool `protobuf:"varint,11,opt,name=implicitly_deprecated,json=implicitlyDeprecated,proto3" json:"implicitly_deprecated,omitempty"` - // All options that are present on the message. This is a super-set of - // message_options and uses a dynamic representation so it can also - // accommodate custom options with arbitrary types. - // // This supersedes message_options. - Options []*FieldLiteral `protobuf:"bytes,12,rep,name=options,proto3" json:"options,omitempty"` - // Use options instead. - // - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_NestedName string `protobuf:"bytes,2,opt,name=nested_name,json=nestedName,proto3" json:"nested_name,omitempty"` + xxx_hidden_FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` + xxx_hidden_Comments string `protobuf:"bytes,4,opt,name=comments,proto3" json:"comments,omitempty"` + xxx_hidden_FilePath string `protobuf:"bytes,5,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` + xxx_hidden_IsMapEntry bool `protobuf:"varint,6,opt,name=is_map_entry,json=isMapEntry,proto3" json:"is_map_entry,omitempty"` + xxx_hidden_Fields *[]*MessageField `protobuf:"bytes,7,rep,name=fields,proto3" json:"fields,omitempty"` + xxx_hidden_Location *Location `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"` + xxx_hidden_MessageExtensions *[]*Field `protobuf:"bytes,9,rep,name=message_extensions,json=messageExtensions,proto3" json:"message_extensions,omitempty"` + xxx_hidden_ImplicitlyDeprecated bool `protobuf:"varint,11,opt,name=implicitly_deprecated,json=implicitlyDeprecated,proto3" json:"implicitly_deprecated,omitempty"` + xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,12,rep,name=options,proto3" json:"options,omitempty"` + xxx_hidden_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() { @@ -2868,77 +2782,83 @@ func (x *Message) ProtoReflect() protoreflect.Message { func (x *Message) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *Message) GetNestedName() string { if x != nil { - return x.NestedName + return x.xxx_hidden_NestedName } return "" } func (x *Message) GetFullName() string { if x != nil { - return x.FullName + return x.xxx_hidden_FullName } return "" } func (x *Message) GetComments() string { if x != nil { - return x.Comments + return x.xxx_hidden_Comments } return "" } func (x *Message) GetFilePath() string { if x != nil { - return x.FilePath + return x.xxx_hidden_FilePath } return "" } func (x *Message) GetIsMapEntry() bool { if x != nil { - return x.IsMapEntry + return x.xxx_hidden_IsMapEntry } return false } func (x *Message) GetFields() []*MessageField { if x != nil { - return x.Fields + if x.xxx_hidden_Fields != nil { + return *x.xxx_hidden_Fields + } } return nil } func (x *Message) GetLocation() *Location { if x != nil { - return x.Location + return x.xxx_hidden_Location } return nil } func (x *Message) GetMessageExtensions() []*Field { if x != nil { - return x.MessageExtensions + if x.xxx_hidden_MessageExtensions != nil { + return *x.xxx_hidden_MessageExtensions + } } return nil } func (x *Message) GetImplicitlyDeprecated() bool { if x != nil { - return x.ImplicitlyDeprecated + return x.xxx_hidden_ImplicitlyDeprecated } return false } func (x *Message) GetOptions() []*FieldLiteral { if x != nil { - return x.Options + if x.xxx_hidden_Options != nil { + return *x.xxx_hidden_Options + } } return nil } @@ -2946,65 +2866,65 @@ func (x *Message) GetOptions() []*FieldLiteral { // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Message) GetMessageOptions() *MessageOptions { if x != nil { - return x.MessageOptions + return x.xxx_hidden_MessageOptions } return nil } func (x *Message) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *Message) SetNestedName(v string) { - x.NestedName = v + x.xxx_hidden_NestedName = v } func (x *Message) SetFullName(v string) { - x.FullName = v + x.xxx_hidden_FullName = v } func (x *Message) SetComments(v string) { - x.Comments = v + x.xxx_hidden_Comments = v } func (x *Message) SetFilePath(v string) { - x.FilePath = v + x.xxx_hidden_FilePath = v } func (x *Message) SetIsMapEntry(v bool) { - x.IsMapEntry = v + x.xxx_hidden_IsMapEntry = v } func (x *Message) SetFields(v []*MessageField) { - x.Fields = v + x.xxx_hidden_Fields = &v } func (x *Message) SetLocation(v *Location) { - x.Location = v + x.xxx_hidden_Location = v } func (x *Message) SetMessageExtensions(v []*Field) { - x.MessageExtensions = v + x.xxx_hidden_MessageExtensions = &v } func (x *Message) SetImplicitlyDeprecated(v bool) { - x.ImplicitlyDeprecated = v + x.xxx_hidden_ImplicitlyDeprecated = v } func (x *Message) SetOptions(v []*FieldLiteral) { - x.Options = v + x.xxx_hidden_Options = &v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Message) SetMessageOptions(v *MessageOptions) { - x.MessageOptions = v + x.xxx_hidden_MessageOptions = v } func (x *Message) HasLocation() bool { if x == nil { return false } - return x.Location != nil + return x.xxx_hidden_Location != nil } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. @@ -3012,16 +2932,16 @@ func (x *Message) HasMessageOptions() bool { if x == nil { return false } - return x.MessageOptions != nil + return x.xxx_hidden_MessageOptions != nil } func (x *Message) ClearLocation() { - x.Location = nil + x.xxx_hidden_Location = nil } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Message) ClearMessageOptions() { - x.MessageOptions = nil + x.xxx_hidden_MessageOptions = nil } type Message_builder struct { @@ -3060,31 +2980,27 @@ func (b0 Message_builder) Build() *Message { m0 := &Message{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.NestedName = b.NestedName - x.FullName = b.FullName - x.Comments = b.Comments - x.FilePath = b.FilePath - x.IsMapEntry = b.IsMapEntry - x.Fields = b.Fields - x.Location = b.Location - x.MessageExtensions = b.MessageExtensions - x.ImplicitlyDeprecated = b.ImplicitlyDeprecated - x.Options = b.Options - x.MessageOptions = b.MessageOptions + x.xxx_hidden_Name = b.Name + x.xxx_hidden_NestedName = b.NestedName + x.xxx_hidden_FullName = b.FullName + x.xxx_hidden_Comments = b.Comments + x.xxx_hidden_FilePath = b.FilePath + x.xxx_hidden_IsMapEntry = b.IsMapEntry + x.xxx_hidden_Fields = &b.Fields + x.xxx_hidden_Location = b.Location + x.xxx_hidden_MessageExtensions = &b.MessageExtensions + x.xxx_hidden_ImplicitlyDeprecated = b.ImplicitlyDeprecated + x.xxx_hidden_Options = &b.Options + x.xxx_hidden_MessageOptions = b.MessageOptions return m0 } // MessageField can be either a single field or a oneof set of fields. type MessageField struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Types that are valid to be assigned to MessageField: - // - // *MessageField_Field - // *MessageField_Oneof - MessageField isMessageField_MessageField `protobuf_oneof:"message_field"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_MessageField isMessageField_MessageField `protobuf_oneof:"message_field"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MessageField) Reset() { @@ -3112,16 +3028,9 @@ func (x *MessageField) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -func (x *MessageField) GetMessageField() isMessageField_MessageField { - if x != nil { - return x.MessageField - } - return nil -} - func (x *MessageField) GetField() *Field { if x != nil { - if x, ok := x.MessageField.(*MessageField_Field); ok { + if x, ok := x.xxx_hidden_MessageField.(*messageField_Field); ok { return x.Field } } @@ -3130,7 +3039,7 @@ func (x *MessageField) GetField() *Field { func (x *MessageField) GetOneof() *Oneof { if x != nil { - if x, ok := x.MessageField.(*MessageField_Oneof); ok { + if x, ok := x.xxx_hidden_MessageField.(*messageField_Oneof); ok { return x.Oneof } } @@ -3139,32 +3048,32 @@ func (x *MessageField) GetOneof() *Oneof { func (x *MessageField) SetField(v *Field) { if v == nil { - x.MessageField = nil + x.xxx_hidden_MessageField = nil return } - x.MessageField = &MessageField_Field{v} + x.xxx_hidden_MessageField = &messageField_Field{v} } func (x *MessageField) SetOneof(v *Oneof) { if v == nil { - x.MessageField = nil + x.xxx_hidden_MessageField = nil return } - x.MessageField = &MessageField_Oneof{v} + x.xxx_hidden_MessageField = &messageField_Oneof{v} } func (x *MessageField) HasMessageField() bool { if x == nil { return false } - return x.MessageField != nil + return x.xxx_hidden_MessageField != nil } func (x *MessageField) HasField() bool { if x == nil { return false } - _, ok := x.MessageField.(*MessageField_Field) + _, ok := x.xxx_hidden_MessageField.(*messageField_Field) return ok } @@ -3172,23 +3081,23 @@ func (x *MessageField) HasOneof() bool { if x == nil { return false } - _, ok := x.MessageField.(*MessageField_Oneof) + _, ok := x.xxx_hidden_MessageField.(*messageField_Oneof) return ok } func (x *MessageField) ClearMessageField() { - x.MessageField = nil + x.xxx_hidden_MessageField = nil } func (x *MessageField) ClearField() { - if _, ok := x.MessageField.(*MessageField_Field); ok { - x.MessageField = nil + if _, ok := x.xxx_hidden_MessageField.(*messageField_Field); ok { + x.xxx_hidden_MessageField = nil } } func (x *MessageField) ClearOneof() { - if _, ok := x.MessageField.(*MessageField_Oneof); ok { - x.MessageField = nil + if _, ok := x.xxx_hidden_MessageField.(*messageField_Oneof); ok { + x.xxx_hidden_MessageField = nil } } @@ -3200,10 +3109,10 @@ func (x *MessageField) WhichMessageField() case_MessageField_MessageField { if x == nil { return MessageField_MessageField_not_set_case } - switch x.MessageField.(type) { - case *MessageField_Field: + switch x.xxx_hidden_MessageField.(type) { + case *messageField_Field: return MessageField_Field_case - case *MessageField_Oneof: + case *messageField_Oneof: return MessageField_Oneof_case default: return MessageField_MessageField_not_set_case @@ -3213,10 +3122,10 @@ func (x *MessageField) WhichMessageField() case_MessageField_MessageField { type MessageField_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - // Fields of oneof MessageField: + // Fields of oneof xxx_hidden_MessageField: Field *Field Oneof *Oneof - // -- end of MessageField + // -- end of xxx_hidden_MessageField } func (b0 MessageField_builder) Build() *MessageField { @@ -3224,10 +3133,10 @@ func (b0 MessageField_builder) Build() *MessageField { b, x := &b0, m0 _, _ = b, x if b.Field != nil { - x.MessageField = &MessageField_Field{b.Field} + x.xxx_hidden_MessageField = &messageField_Field{b.Field} } if b.Oneof != nil { - x.MessageField = &MessageField_Oneof{b.Oneof} + x.xxx_hidden_MessageField = &messageField_Oneof{b.Oneof} } return m0 } @@ -3246,26 +3155,26 @@ type isMessageField_MessageField interface { isMessageField_MessageField() } -type MessageField_Field struct { +type messageField_Field struct { Field *Field `protobuf:"bytes,1,opt,name=field,proto3,oneof"` } -type MessageField_Oneof struct { +type messageField_Oneof struct { Oneof *Oneof `protobuf:"bytes,2,opt,name=oneof,proto3,oneof"` } -func (*MessageField_Field) isMessageField_MessageField() {} +func (*messageField_Field) isMessageField_MessageField() {} -func (*MessageField_Oneof) isMessageField_MessageField() {} +func (*messageField_Oneof) isMessageField_MessageField() {} // MessageOptions provides information for the documentation of options for a message. // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. type MessageOptions struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MessageOptions) Reset() { @@ -3295,13 +3204,13 @@ func (x *MessageOptions) ProtoReflect() protoreflect.Message { func (x *MessageOptions) GetDeprecated() bool { if x != nil { - return x.Deprecated + return x.xxx_hidden_Deprecated } return false } func (x *MessageOptions) SetDeprecated(v bool) { - x.Deprecated = v + x.xxx_hidden_Deprecated = v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. @@ -3315,21 +3224,18 @@ func (b0 MessageOptions_builder) Build() *MessageOptions { m0 := &MessageOptions{} b, x := &b0, m0 _, _ = b, x - x.Deprecated = b.Deprecated + x.xxx_hidden_Deprecated = b.Deprecated return m0 } // Oneof represents a oneof set of fields. type Oneof struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Fields *[]*Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` + xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Oneof) Reset() { @@ -3359,35 +3265,39 @@ func (x *Oneof) ProtoReflect() protoreflect.Message { func (x *Oneof) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *Oneof) GetFields() []*Field { if x != nil { - return x.Fields + if x.xxx_hidden_Fields != nil { + return *x.xxx_hidden_Fields + } } return nil } func (x *Oneof) GetOptions() []*FieldLiteral { if x != nil { - return x.Options + if x.xxx_hidden_Options != nil { + return *x.xxx_hidden_Options + } } return nil } func (x *Oneof) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *Oneof) SetFields(v []*Field) { - x.Fields = v + x.xxx_hidden_Fields = &v } func (x *Oneof) SetOptions(v []*FieldLiteral) { - x.Options = v + x.xxx_hidden_Options = &v } type Oneof_builder struct { @@ -3405,47 +3315,28 @@ func (b0 Oneof_builder) Build() *Oneof { m0 := &Oneof{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Fields = b.Fields - x.Options = b.Options + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Fields = &b.Fields + x.xxx_hidden_Options = &b.Options return m0 } // Field provides information for the documentation of a message field. type Field struct { - state protoimpl.MessageState `protogen:"hybrid.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. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"` - Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` - // string representation of the nested name of the field type, which includes nested definitions. - NestedType string `protobuf:"bytes,4,opt,name=nested_type,json=nestedType,proto3" json:"nested_type,omitempty"` - // string representation of the full name of the field type, which includes package name - // and nested definitions. - FullType string `protobuf:"bytes,5,opt,name=full_type,json=fullType,proto3" json:"full_type,omitempty"` - Tag uint32 `protobuf:"varint,6,opt,name=tag,proto3" json:"tag,omitempty"` - // MapEntry is present if the field is a map type. - MapEntry *MapEntry `protobuf:"bytes,7,opt,name=map_entry,json=mapEntry,proto3" json:"map_entry,omitempty"` - // import_module_ref is included if the field is an imported type. - // It contains all the metadata for the import. - ImportModuleRef *ImportModuleRef `protobuf:"bytes,8,opt,name=import_module_ref,json=importModuleRef,proto3" json:"import_module_ref,omitempty"` - // Extendee is the name of the type that is being ext if the field is an extension. - // This is an empty string for fields that are not extenions. - Extendee string `protobuf:"bytes,9,opt,name=extendee,proto3" json:"extendee,omitempty"` - // All options that are present on the field. This is a super-set of - // field_options and uses a dynamic representation so it can also - // accommodate custom options with arbitrary types. - // This supersedes field_options. - Options []*FieldLiteral `protobuf:"bytes,11,rep,name=options,proto3" json:"options,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"` + xxx_hidden_Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` + xxx_hidden_NestedType string `protobuf:"bytes,4,opt,name=nested_type,json=nestedType,proto3" json:"nested_type,omitempty"` + xxx_hidden_FullType string `protobuf:"bytes,5,opt,name=full_type,json=fullType,proto3" json:"full_type,omitempty"` + xxx_hidden_Tag uint32 `protobuf:"varint,6,opt,name=tag,proto3" json:"tag,omitempty"` + xxx_hidden_MapEntry *MapEntry `protobuf:"bytes,7,opt,name=map_entry,json=mapEntry,proto3" json:"map_entry,omitempty"` + xxx_hidden_ImportModuleRef *ImportModuleRef `protobuf:"bytes,8,opt,name=import_module_ref,json=importModuleRef,proto3" json:"import_module_ref,omitempty"` + xxx_hidden_Extendee string `protobuf:"bytes,9,opt,name=extendee,proto3" json:"extendee,omitempty"` + xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,11,rep,name=options,proto3" json:"options,omitempty"` + xxx_hidden_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() { @@ -3475,70 +3366,72 @@ func (x *Field) ProtoReflect() protoreflect.Message { func (x *Field) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *Field) GetComments() string { if x != nil { - return x.Comments + return x.xxx_hidden_Comments } return "" } func (x *Field) GetLabel() string { if x != nil { - return x.Label + return x.xxx_hidden_Label } return "" } func (x *Field) GetNestedType() string { if x != nil { - return x.NestedType + return x.xxx_hidden_NestedType } return "" } func (x *Field) GetFullType() string { if x != nil { - return x.FullType + return x.xxx_hidden_FullType } return "" } func (x *Field) GetTag() uint32 { if x != nil { - return x.Tag + return x.xxx_hidden_Tag } return 0 } func (x *Field) GetMapEntry() *MapEntry { if x != nil { - return x.MapEntry + return x.xxx_hidden_MapEntry } return nil } func (x *Field) GetImportModuleRef() *ImportModuleRef { if x != nil { - return x.ImportModuleRef + return x.xxx_hidden_ImportModuleRef } return nil } func (x *Field) GetExtendee() string { if x != nil { - return x.Extendee + return x.xxx_hidden_Extendee } return "" } func (x *Field) GetOptions() []*FieldLiteral { if x != nil { - return x.Options + if x.xxx_hidden_Options != nil { + return *x.xxx_hidden_Options + } } return nil } @@ -3546,68 +3439,68 @@ func (x *Field) GetOptions() []*FieldLiteral { // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Field) GetFieldOptions() *FieldOptions { if x != nil { - return x.FieldOptions + return x.xxx_hidden_FieldOptions } return nil } func (x *Field) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *Field) SetComments(v string) { - x.Comments = v + x.xxx_hidden_Comments = v } func (x *Field) SetLabel(v string) { - x.Label = v + x.xxx_hidden_Label = v } func (x *Field) SetNestedType(v string) { - x.NestedType = v + x.xxx_hidden_NestedType = v } func (x *Field) SetFullType(v string) { - x.FullType = v + x.xxx_hidden_FullType = v } func (x *Field) SetTag(v uint32) { - x.Tag = v + x.xxx_hidden_Tag = v } func (x *Field) SetMapEntry(v *MapEntry) { - x.MapEntry = v + x.xxx_hidden_MapEntry = v } func (x *Field) SetImportModuleRef(v *ImportModuleRef) { - x.ImportModuleRef = v + x.xxx_hidden_ImportModuleRef = v } func (x *Field) SetExtendee(v string) { - x.Extendee = v + x.xxx_hidden_Extendee = v } func (x *Field) SetOptions(v []*FieldLiteral) { - x.Options = v + x.xxx_hidden_Options = &v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Field) SetFieldOptions(v *FieldOptions) { - x.FieldOptions = v + x.xxx_hidden_FieldOptions = v } func (x *Field) HasMapEntry() bool { if x == nil { return false } - return x.MapEntry != nil + return x.xxx_hidden_MapEntry != nil } func (x *Field) HasImportModuleRef() bool { if x == nil { return false } - return x.ImportModuleRef != nil + return x.xxx_hidden_ImportModuleRef != nil } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. @@ -3615,20 +3508,20 @@ func (x *Field) HasFieldOptions() bool { if x == nil { return false } - return x.FieldOptions != nil + return x.xxx_hidden_FieldOptions != nil } func (x *Field) ClearMapEntry() { - x.MapEntry = nil + x.xxx_hidden_MapEntry = nil } func (x *Field) ClearImportModuleRef() { - x.ImportModuleRef = nil + x.xxx_hidden_ImportModuleRef = nil } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. func (x *Field) ClearFieldOptions() { - x.FieldOptions = nil + x.xxx_hidden_FieldOptions = nil } type Field_builder struct { @@ -3670,17 +3563,17 @@ func (b0 Field_builder) Build() *Field { m0 := &Field{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Comments = b.Comments - x.Label = b.Label - x.NestedType = b.NestedType - x.FullType = b.FullType - x.Tag = b.Tag - x.MapEntry = b.MapEntry - x.ImportModuleRef = b.ImportModuleRef - x.Extendee = b.Extendee - x.Options = b.Options - x.FieldOptions = b.FieldOptions + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Comments = b.Comments + x.xxx_hidden_Label = b.Label + x.xxx_hidden_NestedType = b.NestedType + x.xxx_hidden_FullType = b.FullType + x.xxx_hidden_Tag = b.Tag + x.xxx_hidden_MapEntry = b.MapEntry + x.xxx_hidden_ImportModuleRef = b.ImportModuleRef + x.xxx_hidden_Extendee = b.Extendee + x.xxx_hidden_Options = &b.Options + x.xxx_hidden_FieldOptions = b.FieldOptions return m0 } @@ -3688,15 +3581,15 @@ func (b0 Field_builder) Build() *Field { // // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. type FieldOptions struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + xxx_hidden_Packed bool `protobuf:"varint,2,opt,name=packed,proto3,oneof" json:"packed,omitempty"` + xxx_hidden_Ctype int32 `protobuf:"varint,3,opt,name=ctype,proto3" json:"ctype,omitempty"` + xxx_hidden_Jstype int32 `protobuf:"varint,4,opt,name=jstype,proto3" json:"jstype,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FieldOptions) Reset() { @@ -3726,57 +3619,59 @@ func (x *FieldOptions) ProtoReflect() protoreflect.Message { func (x *FieldOptions) GetDeprecated() bool { if x != nil { - return x.Deprecated + return x.xxx_hidden_Deprecated } return false } func (x *FieldOptions) GetPacked() bool { - if x != nil && x.Packed != nil { - return *x.Packed + if x != nil { + return x.xxx_hidden_Packed } return false } func (x *FieldOptions) GetCtype() int32 { if x != nil { - return x.Ctype + return x.xxx_hidden_Ctype } return 0 } func (x *FieldOptions) GetJstype() int32 { if x != nil { - return x.Jstype + return x.xxx_hidden_Jstype } return 0 } func (x *FieldOptions) SetDeprecated(v bool) { - x.Deprecated = v + x.xxx_hidden_Deprecated = v } func (x *FieldOptions) SetPacked(v bool) { - x.Packed = &v + x.xxx_hidden_Packed = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 4) } func (x *FieldOptions) SetCtype(v int32) { - x.Ctype = v + x.xxx_hidden_Ctype = v } func (x *FieldOptions) SetJstype(v int32) { - x.Jstype = v + x.xxx_hidden_Jstype = v } func (x *FieldOptions) HasPacked() bool { if x == nil { return false } - return x.Packed != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 1) } func (x *FieldOptions) ClearPacked() { - x.Packed = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) + x.xxx_hidden_Packed = false } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. @@ -3795,30 +3690,26 @@ func (b0 FieldOptions_builder) Build() *FieldOptions { m0 := &FieldOptions{} b, x := &b0, m0 _, _ = b, x - x.Deprecated = b.Deprecated - x.Packed = b.Packed - x.Ctype = b.Ctype - x.Jstype = b.Jstype + x.xxx_hidden_Deprecated = b.Deprecated + if b.Packed != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 4) + x.xxx_hidden_Packed = *b.Packed + } + x.xxx_hidden_Ctype = b.Ctype + x.xxx_hidden_Jstype = b.Jstype return m0 } // FieldLiteral represents a field and its value. It can be used to model descriptor options. type FieldLiteral struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // The unique field number associated with the field. - Tag int32 `protobuf:"varint,2,opt,name=tag,proto3" json:"tag,omitempty"` - // Indicates whether this is an extension or not. - FieldType FieldType `protobuf:"varint,3,opt,name=field_type,json=fieldType,proto3,enum=buf.alpha.registry.v1alpha1.FieldType" json:"field_type,omitempty"` - // The field's value. - Value *LiteralValue `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Tag int32 `protobuf:"varint,2,opt,name=tag,proto3" json:"tag,omitempty"` + xxx_hidden_FieldType FieldType `protobuf:"varint,3,opt,name=field_type,json=fieldType,proto3,enum=buf.alpha.registry.v1alpha1.FieldType" json:"field_type,omitempty"` + xxx_hidden_Value *LiteralValue `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` + xxx_hidden_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() { @@ -3848,79 +3739,79 @@ func (x *FieldLiteral) ProtoReflect() protoreflect.Message { func (x *FieldLiteral) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *FieldLiteral) GetTag() int32 { if x != nil { - return x.Tag + return x.xxx_hidden_Tag } return 0 } func (x *FieldLiteral) GetFieldType() FieldType { if x != nil { - return x.FieldType + return x.xxx_hidden_FieldType } return FieldType_FIELD_TYPE_UNSPECIFIED } func (x *FieldLiteral) GetValue() *LiteralValue { if x != nil { - return x.Value + return x.xxx_hidden_Value } return nil } func (x *FieldLiteral) GetImportModuleRef() *ImportModuleRef { if x != nil { - return x.ImportModuleRef + return x.xxx_hidden_ImportModuleRef } return nil } func (x *FieldLiteral) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *FieldLiteral) SetTag(v int32) { - x.Tag = v + x.xxx_hidden_Tag = v } func (x *FieldLiteral) SetFieldType(v FieldType) { - x.FieldType = v + x.xxx_hidden_FieldType = v } func (x *FieldLiteral) SetValue(v *LiteralValue) { - x.Value = v + x.xxx_hidden_Value = v } func (x *FieldLiteral) SetImportModuleRef(v *ImportModuleRef) { - x.ImportModuleRef = v + x.xxx_hidden_ImportModuleRef = v } func (x *FieldLiteral) HasValue() bool { if x == nil { return false } - return x.Value != nil + return x.xxx_hidden_Value != nil } func (x *FieldLiteral) HasImportModuleRef() bool { if x == nil { return false } - return x.ImportModuleRef != nil + return x.xxx_hidden_ImportModuleRef != nil } func (x *FieldLiteral) ClearValue() { - x.Value = nil + x.xxx_hidden_Value = nil } func (x *FieldLiteral) ClearImportModuleRef() { - x.ImportModuleRef = nil + x.xxx_hidden_ImportModuleRef = nil } type FieldLiteral_builder struct { @@ -3944,22 +3835,20 @@ func (b0 FieldLiteral_builder) Build() *FieldLiteral { m0 := &FieldLiteral{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Tag = b.Tag - x.FieldType = b.FieldType - x.Value = b.Value - x.ImportModuleRef = b.ImportModuleRef + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Tag = b.Tag + x.xxx_hidden_FieldType = b.FieldType + x.xxx_hidden_Value = b.Value + x.xxx_hidden_ImportModuleRef = b.ImportModuleRef return m0 } // MessageLiteral represents an option value for a type that is a message. type MessageLiteral struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Fields *[]*FieldLiteral `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MessageLiteral) Reset() { @@ -3989,13 +3878,15 @@ func (x *MessageLiteral) ProtoReflect() protoreflect.Message { func (x *MessageLiteral) GetFields() []*FieldLiteral { if x != nil { - return x.Fields + if x.xxx_hidden_Fields != nil { + return *x.xxx_hidden_Fields + } } return nil } func (x *MessageLiteral) SetFields(v []*FieldLiteral) { - x.Fields = v + x.xxx_hidden_Fields = &v } type MessageLiteral_builder struct { @@ -4010,7 +3901,7 @@ func (b0 MessageLiteral_builder) Build() *MessageLiteral { m0 := &MessageLiteral{} b, x := &b0, m0 _, _ = b, x - x.Fields = b.Fields + x.xxx_hidden_Fields = &b.Fields return m0 } @@ -4018,10 +3909,10 @@ func (b0 MessageLiteral_builder) Build() *MessageLiteral { // 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 `protogen:"hybrid.v1"` - Elements []*LiteralValue `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Elements *[]*LiteralValue `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ArrayLiteral) Reset() { @@ -4051,13 +3942,15 @@ func (x *ArrayLiteral) ProtoReflect() protoreflect.Message { func (x *ArrayLiteral) GetElements() []*LiteralValue { if x != nil { - return x.Elements + if x.xxx_hidden_Elements != nil { + return *x.xxx_hidden_Elements + } } return nil } func (x *ArrayLiteral) SetElements(v []*LiteralValue) { - x.Elements = v + x.xxx_hidden_Elements = &v } type ArrayLiteral_builder struct { @@ -4070,27 +3963,17 @@ func (b0 ArrayLiteral_builder) Build() *ArrayLiteral { m0 := &ArrayLiteral{} b, x := &b0, m0 _, _ = b, x - x.Elements = b.Elements + x.xxx_hidden_Elements = &b.Elements return m0 } // LiteralValue represents the actual value of the extension. type LiteralValue struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Types that are valid to be assigned to Value: - // - // *LiteralValue_StringValue - // *LiteralValue_IntValue - // *LiteralValue_UintValue - // *LiteralValue_DoubleValue - // *LiteralValue_BoolValue - // *LiteralValue_EnumValueNameValue - // *LiteralValue_ArrayValue - // *LiteralValue_MessageValue - Value isLiteralValue_Value `protobuf_oneof:"value"` - Comments string `protobuf:"bytes,10,opt,name=comments,proto3" json:"comments,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Value isLiteralValue_Value `protobuf_oneof:"value"` + xxx_hidden_Comments string `protobuf:"bytes,10,opt,name=comments,proto3" json:"comments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LiteralValue) Reset() { @@ -4118,16 +4001,9 @@ func (x *LiteralValue) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -func (x *LiteralValue) GetValue() isLiteralValue_Value { - if x != nil { - return x.Value - } - return nil -} - func (x *LiteralValue) GetStringValue() string { if x != nil { - if x, ok := x.Value.(*LiteralValue_StringValue); ok { + if x, ok := x.xxx_hidden_Value.(*literalValue_StringValue); ok { return x.StringValue } } @@ -4136,7 +4012,7 @@ func (x *LiteralValue) GetStringValue() string { func (x *LiteralValue) GetIntValue() int64 { if x != nil { - if x, ok := x.Value.(*LiteralValue_IntValue); ok { + if x, ok := x.xxx_hidden_Value.(*literalValue_IntValue); ok { return x.IntValue } } @@ -4145,7 +4021,7 @@ func (x *LiteralValue) GetIntValue() int64 { func (x *LiteralValue) GetUintValue() uint64 { if x != nil { - if x, ok := x.Value.(*LiteralValue_UintValue); ok { + if x, ok := x.xxx_hidden_Value.(*literalValue_UintValue); ok { return x.UintValue } } @@ -4154,7 +4030,7 @@ func (x *LiteralValue) GetUintValue() uint64 { func (x *LiteralValue) GetDoubleValue() float64 { if x != nil { - if x, ok := x.Value.(*LiteralValue_DoubleValue); ok { + if x, ok := x.xxx_hidden_Value.(*literalValue_DoubleValue); ok { return x.DoubleValue } } @@ -4163,7 +4039,7 @@ func (x *LiteralValue) GetDoubleValue() float64 { func (x *LiteralValue) GetBoolValue() bool { if x != nil { - if x, ok := x.Value.(*LiteralValue_BoolValue); ok { + if x, ok := x.xxx_hidden_Value.(*literalValue_BoolValue); ok { return x.BoolValue } } @@ -4172,7 +4048,7 @@ func (x *LiteralValue) GetBoolValue() bool { func (x *LiteralValue) GetEnumValueNameValue() string { if x != nil { - if x, ok := x.Value.(*LiteralValue_EnumValueNameValue); ok { + if x, ok := x.xxx_hidden_Value.(*literalValue_EnumValueNameValue); ok { return x.EnumValueNameValue } } @@ -4181,7 +4057,7 @@ func (x *LiteralValue) GetEnumValueNameValue() string { func (x *LiteralValue) GetArrayValue() *ArrayLiteral { if x != nil { - if x, ok := x.Value.(*LiteralValue_ArrayValue); ok { + if x, ok := x.xxx_hidden_Value.(*literalValue_ArrayValue); ok { return x.ArrayValue } } @@ -4190,7 +4066,7 @@ func (x *LiteralValue) GetArrayValue() *ArrayLiteral { func (x *LiteralValue) GetMessageValue() *MessageLiteral { if x != nil { - if x, ok := x.Value.(*LiteralValue_MessageValue); ok { + if x, ok := x.xxx_hidden_Value.(*literalValue_MessageValue); ok { return x.MessageValue } } @@ -4199,67 +4075,67 @@ func (x *LiteralValue) GetMessageValue() *MessageLiteral { func (x *LiteralValue) GetComments() string { if x != nil { - return x.Comments + return x.xxx_hidden_Comments } return "" } func (x *LiteralValue) SetStringValue(v string) { - x.Value = &LiteralValue_StringValue{v} + x.xxx_hidden_Value = &literalValue_StringValue{v} } func (x *LiteralValue) SetIntValue(v int64) { - x.Value = &LiteralValue_IntValue{v} + x.xxx_hidden_Value = &literalValue_IntValue{v} } func (x *LiteralValue) SetUintValue(v uint64) { - x.Value = &LiteralValue_UintValue{v} + x.xxx_hidden_Value = &literalValue_UintValue{v} } func (x *LiteralValue) SetDoubleValue(v float64) { - x.Value = &LiteralValue_DoubleValue{v} + x.xxx_hidden_Value = &literalValue_DoubleValue{v} } func (x *LiteralValue) SetBoolValue(v bool) { - x.Value = &LiteralValue_BoolValue{v} + x.xxx_hidden_Value = &literalValue_BoolValue{v} } func (x *LiteralValue) SetEnumValueNameValue(v string) { - x.Value = &LiteralValue_EnumValueNameValue{v} + x.xxx_hidden_Value = &literalValue_EnumValueNameValue{v} } func (x *LiteralValue) SetArrayValue(v *ArrayLiteral) { if v == nil { - x.Value = nil + x.xxx_hidden_Value = nil return } - x.Value = &LiteralValue_ArrayValue{v} + x.xxx_hidden_Value = &literalValue_ArrayValue{v} } func (x *LiteralValue) SetMessageValue(v *MessageLiteral) { if v == nil { - x.Value = nil + x.xxx_hidden_Value = nil return } - x.Value = &LiteralValue_MessageValue{v} + x.xxx_hidden_Value = &literalValue_MessageValue{v} } func (x *LiteralValue) SetComments(v string) { - x.Comments = v + x.xxx_hidden_Comments = v } func (x *LiteralValue) HasValue() bool { if x == nil { return false } - return x.Value != nil + return x.xxx_hidden_Value != nil } func (x *LiteralValue) HasStringValue() bool { if x == nil { return false } - _, ok := x.Value.(*LiteralValue_StringValue) + _, ok := x.xxx_hidden_Value.(*literalValue_StringValue) return ok } @@ -4267,7 +4143,7 @@ func (x *LiteralValue) HasIntValue() bool { if x == nil { return false } - _, ok := x.Value.(*LiteralValue_IntValue) + _, ok := x.xxx_hidden_Value.(*literalValue_IntValue) return ok } @@ -4275,7 +4151,7 @@ func (x *LiteralValue) HasUintValue() bool { if x == nil { return false } - _, ok := x.Value.(*LiteralValue_UintValue) + _, ok := x.xxx_hidden_Value.(*literalValue_UintValue) return ok } @@ -4283,7 +4159,7 @@ func (x *LiteralValue) HasDoubleValue() bool { if x == nil { return false } - _, ok := x.Value.(*LiteralValue_DoubleValue) + _, ok := x.xxx_hidden_Value.(*literalValue_DoubleValue) return ok } @@ -4291,7 +4167,7 @@ func (x *LiteralValue) HasBoolValue() bool { if x == nil { return false } - _, ok := x.Value.(*LiteralValue_BoolValue) + _, ok := x.xxx_hidden_Value.(*literalValue_BoolValue) return ok } @@ -4299,7 +4175,7 @@ func (x *LiteralValue) HasEnumValueNameValue() bool { if x == nil { return false } - _, ok := x.Value.(*LiteralValue_EnumValueNameValue) + _, ok := x.xxx_hidden_Value.(*literalValue_EnumValueNameValue) return ok } @@ -4307,7 +4183,7 @@ func (x *LiteralValue) HasArrayValue() bool { if x == nil { return false } - _, ok := x.Value.(*LiteralValue_ArrayValue) + _, ok := x.xxx_hidden_Value.(*literalValue_ArrayValue) return ok } @@ -4315,59 +4191,59 @@ func (x *LiteralValue) HasMessageValue() bool { if x == nil { return false } - _, ok := x.Value.(*LiteralValue_MessageValue) + _, ok := x.xxx_hidden_Value.(*literalValue_MessageValue) return ok } func (x *LiteralValue) ClearValue() { - x.Value = nil + x.xxx_hidden_Value = nil } func (x *LiteralValue) ClearStringValue() { - if _, ok := x.Value.(*LiteralValue_StringValue); ok { - x.Value = nil + if _, ok := x.xxx_hidden_Value.(*literalValue_StringValue); ok { + x.xxx_hidden_Value = nil } } func (x *LiteralValue) ClearIntValue() { - if _, ok := x.Value.(*LiteralValue_IntValue); ok { - x.Value = nil + if _, ok := x.xxx_hidden_Value.(*literalValue_IntValue); ok { + x.xxx_hidden_Value = nil } } func (x *LiteralValue) ClearUintValue() { - if _, ok := x.Value.(*LiteralValue_UintValue); ok { - x.Value = nil + if _, ok := x.xxx_hidden_Value.(*literalValue_UintValue); ok { + x.xxx_hidden_Value = nil } } func (x *LiteralValue) ClearDoubleValue() { - if _, ok := x.Value.(*LiteralValue_DoubleValue); ok { - x.Value = nil + if _, ok := x.xxx_hidden_Value.(*literalValue_DoubleValue); ok { + x.xxx_hidden_Value = nil } } func (x *LiteralValue) ClearBoolValue() { - if _, ok := x.Value.(*LiteralValue_BoolValue); ok { - x.Value = nil + if _, ok := x.xxx_hidden_Value.(*literalValue_BoolValue); ok { + x.xxx_hidden_Value = nil } } func (x *LiteralValue) ClearEnumValueNameValue() { - if _, ok := x.Value.(*LiteralValue_EnumValueNameValue); ok { - x.Value = nil + if _, ok := x.xxx_hidden_Value.(*literalValue_EnumValueNameValue); ok { + x.xxx_hidden_Value = nil } } func (x *LiteralValue) ClearArrayValue() { - if _, ok := x.Value.(*LiteralValue_ArrayValue); ok { - x.Value = nil + if _, ok := x.xxx_hidden_Value.(*literalValue_ArrayValue); ok { + x.xxx_hidden_Value = nil } } func (x *LiteralValue) ClearMessageValue() { - if _, ok := x.Value.(*LiteralValue_MessageValue); ok { - x.Value = nil + if _, ok := x.xxx_hidden_Value.(*literalValue_MessageValue); ok { + x.xxx_hidden_Value = nil } } @@ -4385,22 +4261,22 @@ func (x *LiteralValue) WhichValue() case_LiteralValue_Value { if x == nil { return LiteralValue_Value_not_set_case } - switch x.Value.(type) { - case *LiteralValue_StringValue: + switch x.xxx_hidden_Value.(type) { + case *literalValue_StringValue: return LiteralValue_StringValue_case - case *LiteralValue_IntValue: + case *literalValue_IntValue: return LiteralValue_IntValue_case - case *LiteralValue_UintValue: + case *literalValue_UintValue: return LiteralValue_UintValue_case - case *LiteralValue_DoubleValue: + case *literalValue_DoubleValue: return LiteralValue_DoubleValue_case - case *LiteralValue_BoolValue: + case *literalValue_BoolValue: return LiteralValue_BoolValue_case - case *LiteralValue_EnumValueNameValue: + case *literalValue_EnumValueNameValue: return LiteralValue_EnumValueNameValue_case - case *LiteralValue_ArrayValue: + case *literalValue_ArrayValue: return LiteralValue_ArrayValue_case - case *LiteralValue_MessageValue: + case *literalValue_MessageValue: return LiteralValue_MessageValue_case default: return LiteralValue_Value_not_set_case @@ -4410,7 +4286,7 @@ func (x *LiteralValue) WhichValue() case_LiteralValue_Value { type LiteralValue_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - // Fields of oneof Value: + // Fields of oneof xxx_hidden_Value: StringValue *string IntValue *int64 UintValue *uint64 @@ -4419,7 +4295,7 @@ type LiteralValue_builder struct { EnumValueNameValue *string ArrayValue *ArrayLiteral MessageValue *MessageLiteral - // -- end of Value + // -- end of xxx_hidden_Value Comments string } @@ -4428,30 +4304,30 @@ func (b0 LiteralValue_builder) Build() *LiteralValue { b, x := &b0, m0 _, _ = b, x if b.StringValue != nil { - x.Value = &LiteralValue_StringValue{*b.StringValue} + x.xxx_hidden_Value = &literalValue_StringValue{*b.StringValue} } if b.IntValue != nil { - x.Value = &LiteralValue_IntValue{*b.IntValue} + x.xxx_hidden_Value = &literalValue_IntValue{*b.IntValue} } if b.UintValue != nil { - x.Value = &LiteralValue_UintValue{*b.UintValue} + x.xxx_hidden_Value = &literalValue_UintValue{*b.UintValue} } if b.DoubleValue != nil { - x.Value = &LiteralValue_DoubleValue{*b.DoubleValue} + x.xxx_hidden_Value = &literalValue_DoubleValue{*b.DoubleValue} } if b.BoolValue != nil { - x.Value = &LiteralValue_BoolValue{*b.BoolValue} + x.xxx_hidden_Value = &literalValue_BoolValue{*b.BoolValue} } if b.EnumValueNameValue != nil { - x.Value = &LiteralValue_EnumValueNameValue{*b.EnumValueNameValue} + x.xxx_hidden_Value = &literalValue_EnumValueNameValue{*b.EnumValueNameValue} } if b.ArrayValue != nil { - x.Value = &LiteralValue_ArrayValue{b.ArrayValue} + x.xxx_hidden_Value = &literalValue_ArrayValue{b.ArrayValue} } if b.MessageValue != nil { - x.Value = &LiteralValue_MessageValue{b.MessageValue} + x.xxx_hidden_Value = &literalValue_MessageValue{b.MessageValue} } - x.Comments = b.Comments + x.xxx_hidden_Comments = b.Comments return m0 } @@ -4469,68 +4345,63 @@ type isLiteralValue_Value interface { isLiteralValue_Value() } -type LiteralValue_StringValue struct { +type literalValue_StringValue struct { StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"` } -type LiteralValue_IntValue struct { +type literalValue_IntValue struct { IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"` } -type LiteralValue_UintValue struct { +type literalValue_UintValue struct { UintValue uint64 `protobuf:"varint,4,opt,name=uint_value,json=uintValue,proto3,oneof"` } -type LiteralValue_DoubleValue struct { +type literalValue_DoubleValue struct { DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"` } -type LiteralValue_BoolValue struct { +type literalValue_BoolValue struct { BoolValue bool `protobuf:"varint,6,opt,name=bool_value,json=boolValue,proto3,oneof"` } -type LiteralValue_EnumValueNameValue struct { +type literalValue_EnumValueNameValue struct { EnumValueNameValue string `protobuf:"bytes,7,opt,name=enum_value_name_value,json=enumValueNameValue,proto3,oneof"` } -type LiteralValue_ArrayValue struct { +type literalValue_ArrayValue struct { ArrayValue *ArrayLiteral `protobuf:"bytes,8,opt,name=array_value,json=arrayValue,proto3,oneof"` } -type LiteralValue_MessageValue struct { +type literalValue_MessageValue struct { MessageValue *MessageLiteral `protobuf:"bytes,9,opt,name=message_value,json=messageValue,proto3,oneof"` } -func (*LiteralValue_StringValue) isLiteralValue_Value() {} +func (*literalValue_StringValue) isLiteralValue_Value() {} -func (*LiteralValue_IntValue) isLiteralValue_Value() {} +func (*literalValue_IntValue) isLiteralValue_Value() {} -func (*LiteralValue_UintValue) isLiteralValue_Value() {} +func (*literalValue_UintValue) isLiteralValue_Value() {} -func (*LiteralValue_DoubleValue) isLiteralValue_Value() {} +func (*literalValue_DoubleValue) isLiteralValue_Value() {} -func (*LiteralValue_BoolValue) isLiteralValue_Value() {} +func (*literalValue_BoolValue) isLiteralValue_Value() {} -func (*LiteralValue_EnumValueNameValue) isLiteralValue_Value() {} +func (*literalValue_EnumValueNameValue) isLiteralValue_Value() {} -func (*LiteralValue_ArrayValue) isLiteralValue_Value() {} +func (*literalValue_ArrayValue) isLiteralValue_Value() {} -func (*LiteralValue_MessageValue) isLiteralValue_Value() {} +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 `protogen:"hybrid.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"` - // string representation of the nested name of the type for the map value. - ValueNestedType string `protobuf:"bytes,2,opt,name=value_nested_type,json=valueNestedType,proto3" json:"value_nested_type,omitempty"` - // string representation of the full name of the type for the map value. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_KeyFullType string `protobuf:"bytes,1,opt,name=key_full_type,json=keyFullType,proto3" json:"key_full_type,omitempty"` + xxx_hidden_ValueNestedType string `protobuf:"bytes,2,opt,name=value_nested_type,json=valueNestedType,proto3" json:"value_nested_type,omitempty"` + xxx_hidden_ValueFullType string `protobuf:"bytes,3,opt,name=value_full_type,json=valueFullType,proto3" json:"value_full_type,omitempty"` + xxx_hidden_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() { @@ -4560,57 +4431,57 @@ func (x *MapEntry) ProtoReflect() protoreflect.Message { func (x *MapEntry) GetKeyFullType() string { if x != nil { - return x.KeyFullType + return x.xxx_hidden_KeyFullType } return "" } func (x *MapEntry) GetValueNestedType() string { if x != nil { - return x.ValueNestedType + return x.xxx_hidden_ValueNestedType } return "" } func (x *MapEntry) GetValueFullType() string { if x != nil { - return x.ValueFullType + return x.xxx_hidden_ValueFullType } return "" } func (x *MapEntry) GetValueImportModuleRef() *ImportModuleRef { if x != nil { - return x.ValueImportModuleRef + return x.xxx_hidden_ValueImportModuleRef } return nil } func (x *MapEntry) SetKeyFullType(v string) { - x.KeyFullType = v + x.xxx_hidden_KeyFullType = v } func (x *MapEntry) SetValueNestedType(v string) { - x.ValueNestedType = v + x.xxx_hidden_ValueNestedType = v } func (x *MapEntry) SetValueFullType(v string) { - x.ValueFullType = v + x.xxx_hidden_ValueFullType = v } func (x *MapEntry) SetValueImportModuleRef(v *ImportModuleRef) { - x.ValueImportModuleRef = v + x.xxx_hidden_ValueImportModuleRef = v } func (x *MapEntry) HasValueImportModuleRef() bool { if x == nil { return false } - return x.ValueImportModuleRef != nil + return x.xxx_hidden_ValueImportModuleRef != nil } func (x *MapEntry) ClearValueImportModuleRef() { - x.ValueImportModuleRef = nil + x.xxx_hidden_ValueImportModuleRef = nil } type MapEntry_builder struct { @@ -4631,32 +4502,24 @@ func (b0 MapEntry_builder) Build() *MapEntry { m0 := &MapEntry{} b, x := &b0, m0 _, _ = b, x - x.KeyFullType = b.KeyFullType - x.ValueNestedType = b.ValueNestedType - x.ValueFullType = b.ValueFullType - x.ValueImportModuleRef = b.ValueImportModuleRef + x.xxx_hidden_KeyFullType = b.KeyFullType + x.xxx_hidden_ValueNestedType = b.ValueNestedType + x.xxx_hidden_ValueFullType = b.ValueFullType + x.xxx_hidden_ValueImportModuleRef = b.ValueImportModuleRef return m0 } // FileExtension provides the information for the documentation of a file extension. type FileExtension struct { - state protoimpl.MessageState `protogen:"hybrid.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. - // - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"` - // file_path is the normalized path of the file containing the message. - FilePath string `protobuf:"bytes,3,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - Location *Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` - // fields are all the fields that are associated with the extension. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_ExtensionType string `protobuf:"bytes,1,opt,name=extension_type,json=extensionType,proto3" json:"extension_type,omitempty"` + xxx_hidden_Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"` + xxx_hidden_FilePath string `protobuf:"bytes,3,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` + xxx_hidden_Location *Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` + xxx_hidden_Fields *[]*Field `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty"` + xxx_hidden_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() { @@ -4686,79 +4549,81 @@ func (x *FileExtension) ProtoReflect() protoreflect.Message { func (x *FileExtension) GetExtensionType() string { if x != nil { - return x.ExtensionType + return x.xxx_hidden_ExtensionType } return "" } func (x *FileExtension) GetComments() string { if x != nil { - return x.Comments + return x.xxx_hidden_Comments } return "" } func (x *FileExtension) GetFilePath() string { if x != nil { - return x.FilePath + return x.xxx_hidden_FilePath } return "" } func (x *FileExtension) GetLocation() *Location { if x != nil { - return x.Location + return x.xxx_hidden_Location } return nil } func (x *FileExtension) GetFields() []*Field { if x != nil { - return x.Fields + if x.xxx_hidden_Fields != nil { + return *x.xxx_hidden_Fields + } } return nil } func (x *FileExtension) GetImplicitlyDeprecated() bool { if x != nil { - return x.ImplicitlyDeprecated + return x.xxx_hidden_ImplicitlyDeprecated } return false } func (x *FileExtension) SetExtensionType(v string) { - x.ExtensionType = v + x.xxx_hidden_ExtensionType = v } func (x *FileExtension) SetComments(v string) { - x.Comments = v + x.xxx_hidden_Comments = v } func (x *FileExtension) SetFilePath(v string) { - x.FilePath = v + x.xxx_hidden_FilePath = v } func (x *FileExtension) SetLocation(v *Location) { - x.Location = v + x.xxx_hidden_Location = v } func (x *FileExtension) SetFields(v []*Field) { - x.Fields = v + x.xxx_hidden_Fields = &v } func (x *FileExtension) SetImplicitlyDeprecated(v bool) { - x.ImplicitlyDeprecated = v + x.xxx_hidden_ImplicitlyDeprecated = v } func (x *FileExtension) HasLocation() bool { if x == nil { return false } - return x.Location != nil + return x.xxx_hidden_Location != nil } func (x *FileExtension) ClearLocation() { - x.Location = nil + x.xxx_hidden_Location = nil } type FileExtension_builder struct { @@ -4784,12 +4649,12 @@ func (b0 FileExtension_builder) Build() *FileExtension { m0 := &FileExtension{} b, x := &b0, m0 _, _ = b, x - x.ExtensionType = b.ExtensionType - x.Comments = b.Comments - x.FilePath = b.FilePath - x.Location = b.Location - x.Fields = b.Fields - x.ImplicitlyDeprecated = b.ImplicitlyDeprecated + x.xxx_hidden_ExtensionType = b.ExtensionType + x.xxx_hidden_Comments = b.Comments + x.xxx_hidden_FilePath = b.FilePath + x.xxx_hidden_Location = b.Location + x.xxx_hidden_Fields = &b.Fields + x.xxx_hidden_ImplicitlyDeprecated = b.ImplicitlyDeprecated return m0 } @@ -5452,19 +5317,19 @@ func file_buf_alpha_registry_v1alpha1_doc_proto_init() { return } file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[26].OneofWrappers = []any{ - (*MessageField_Field)(nil), - (*MessageField_Oneof)(nil), + (*messageField_Field)(nil), + (*messageField_Oneof)(nil), } file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[30].OneofWrappers = []any{} file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[34].OneofWrappers = []any{ - (*LiteralValue_StringValue)(nil), - (*LiteralValue_IntValue)(nil), - (*LiteralValue_UintValue)(nil), - (*LiteralValue_DoubleValue)(nil), - (*LiteralValue_BoolValue)(nil), - (*LiteralValue_EnumValueNameValue)(nil), - (*LiteralValue_ArrayValue)(nil), - (*LiteralValue_MessageValue)(nil), + (*literalValue_StringValue)(nil), + (*literalValue_IntValue)(nil), + (*literalValue_UintValue)(nil), + (*literalValue_DoubleValue)(nil), + (*literalValue_BoolValue)(nil), + (*literalValue_EnumValueNameValue)(nil), + (*literalValue_ArrayValue)(nil), + (*literalValue_MessageValue)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/doc_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/doc_protoopaque.pb.go deleted file mode 100644 index 023f8de16a..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/doc_protoopaque.pb.go +++ /dev/null @@ -1,5355 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/doc.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// FieldType indicates whether a field is a normal, an extension or an any. -type FieldType int32 - -const ( - FieldType_FIELD_TYPE_UNSPECIFIED FieldType = 0 - FieldType_FIELD_TYPE_NORMAL FieldType = 1 - FieldType_FIELD_TYPE_EXTENSION FieldType = 2 - FieldType_FIELD_TYPE_ANY FieldType = 3 -) - -// Enum value maps for FieldType. -var ( - FieldType_name = map[int32]string{ - 0: "FIELD_TYPE_UNSPECIFIED", - 1: "FIELD_TYPE_NORMAL", - 2: "FIELD_TYPE_EXTENSION", - 3: "FIELD_TYPE_ANY", - } - FieldType_value = map[string]int32{ - "FIELD_TYPE_UNSPECIFIED": 0, - "FIELD_TYPE_NORMAL": 1, - "FIELD_TYPE_EXTENSION": 2, - "FIELD_TYPE_ANY": 3, - } -) - -func (x FieldType) Enum() *FieldType { - p := new(FieldType) - *p = x - return p -} - -func (x FieldType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FieldType) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_doc_proto_enumTypes[0].Descriptor() -} - -func (FieldType) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_doc_proto_enumTypes[0] -} - -func (x FieldType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// GetSourceDirectoryInfoRequest takes an owner, repository, and reference. -type GetSourceDirectoryInfoRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSourceDirectoryInfoRequest) Reset() { - *x = GetSourceDirectoryInfoRequest{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSourceDirectoryInfoRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSourceDirectoryInfoRequest) ProtoMessage() {} - -func (x *GetSourceDirectoryInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetSourceDirectoryInfoRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetSourceDirectoryInfoRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *GetSourceDirectoryInfoRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *GetSourceDirectoryInfoRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetSourceDirectoryInfoRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *GetSourceDirectoryInfoRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -type GetSourceDirectoryInfoRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - // Optional reference (if unspecified, will use the repository's default_branch). - Reference string -} - -func (b0 GetSourceDirectoryInfoRequest_builder) Build() *GetSourceDirectoryInfoRequest { - m0 := &GetSourceDirectoryInfoRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Reference = b.Reference - return m0 -} - -// GetSourceDirectoryInfoResponse returns the root FileInfo for the requested module. -type GetSourceDirectoryInfoResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Root *FileInfo `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSourceDirectoryInfoResponse) Reset() { - *x = GetSourceDirectoryInfoResponse{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSourceDirectoryInfoResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSourceDirectoryInfoResponse) ProtoMessage() {} - -func (x *GetSourceDirectoryInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetSourceDirectoryInfoResponse) GetRoot() *FileInfo { - if x != nil { - return x.xxx_hidden_Root - } - return nil -} - -func (x *GetSourceDirectoryInfoResponse) SetRoot(v *FileInfo) { - x.xxx_hidden_Root = v -} - -func (x *GetSourceDirectoryInfoResponse) HasRoot() bool { - if x == nil { - return false - } - return x.xxx_hidden_Root != nil -} - -func (x *GetSourceDirectoryInfoResponse) ClearRoot() { - x.xxx_hidden_Root = nil -} - -type GetSourceDirectoryInfoResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Root *FileInfo -} - -func (b0 GetSourceDirectoryInfoResponse_builder) Build() *GetSourceDirectoryInfoResponse { - m0 := &GetSourceDirectoryInfoResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Root = b.Root - return m0 -} - -// 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 `protogen:"opaque.v1"` - xxx_hidden_Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - xxx_hidden_IsDir bool `protobuf:"varint,2,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"` - xxx_hidden_Children *[]*FileInfo `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FileInfo) Reset() { - *x = FileInfo{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FileInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FileInfo) ProtoMessage() {} - -func (x *FileInfo) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *FileInfo) GetPath() string { - if x != nil { - return x.xxx_hidden_Path - } - return "" -} - -func (x *FileInfo) GetIsDir() bool { - if x != nil { - return x.xxx_hidden_IsDir - } - return false -} - -func (x *FileInfo) GetChildren() []*FileInfo { - if x != nil { - if x.xxx_hidden_Children != nil { - return *x.xxx_hidden_Children - } - } - return nil -} - -func (x *FileInfo) SetPath(v string) { - x.xxx_hidden_Path = v -} - -func (x *FileInfo) SetIsDir(v bool) { - x.xxx_hidden_IsDir = v -} - -func (x *FileInfo) SetChildren(v []*FileInfo) { - x.xxx_hidden_Children = &v -} - -type FileInfo_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // the normalized path of the directory, relative to the root of the module. - Path string - IsDir bool - Children []*FileInfo -} - -func (b0 FileInfo_builder) Build() *FileInfo { - m0 := &FileInfo{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Path = b.Path - x.xxx_hidden_IsDir = b.IsDir - x.xxx_hidden_Children = &b.Children - return m0 -} - -// GetSourceFileRequest takes an owner, repository, reference, and normalized path. -type GetSourceFileRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - xxx_hidden_Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSourceFileRequest) Reset() { - *x = GetSourceFileRequest{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSourceFileRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSourceFileRequest) ProtoMessage() {} - -func (x *GetSourceFileRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetSourceFileRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetSourceFileRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *GetSourceFileRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *GetSourceFileRequest) GetPath() string { - if x != nil { - return x.xxx_hidden_Path - } - return "" -} - -func (x *GetSourceFileRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetSourceFileRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *GetSourceFileRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -func (x *GetSourceFileRequest) SetPath(v string) { - x.xxx_hidden_Path = v -} - -type GetSourceFileRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - // Optional reference (if unspecified, will use the repository's default_branch). - Reference string - // the normalized path to the requested file, relative to the root of the module. - Path string -} - -func (b0 GetSourceFileRequest_builder) Build() *GetSourceFileRequest { - m0 := &GetSourceFileRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Reference = b.Reference - x.xxx_hidden_Path = b.Path - return m0 -} - -// GetSourceFileResponse returns the source code contents of the requested file. -type GetSourceFileResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSourceFileResponse) Reset() { - *x = GetSourceFileResponse{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSourceFileResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSourceFileResponse) ProtoMessage() {} - -func (x *GetSourceFileResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetSourceFileResponse) GetContent() []byte { - if x != nil { - return x.xxx_hidden_Content - } - return nil -} - -func (x *GetSourceFileResponse) SetContent(v []byte) { - if v == nil { - v = []byte{} - } - x.xxx_hidden_Content = v -} - -type GetSourceFileResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // content is the content of the file. - Content []byte -} - -func (b0 GetSourceFileResponse_builder) Build() *GetSourceFileResponse { - m0 := &GetSourceFileResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Content = b.Content - return m0 -} - -// GetModulePackagesRequest takes an owner, repository, and reference. -type GetModulePackagesRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetModulePackagesRequest) Reset() { - *x = GetModulePackagesRequest{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetModulePackagesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetModulePackagesRequest) ProtoMessage() {} - -func (x *GetModulePackagesRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetModulePackagesRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetModulePackagesRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *GetModulePackagesRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *GetModulePackagesRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetModulePackagesRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *GetModulePackagesRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -type GetModulePackagesRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - // Optional reference (if unspecified, will use the repository's default_branch). - Reference string -} - -func (b0 GetModulePackagesRequest_builder) Build() *GetModulePackagesRequest { - m0 := &GetModulePackagesRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Reference = b.Reference - return m0 -} - -// GetModulePackagesResponse returns the list of ModulePackages for the requested module. -type GetModulePackagesResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_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() { - *x = GetModulePackagesResponse{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetModulePackagesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetModulePackagesResponse) ProtoMessage() {} - -func (x *GetModulePackagesResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetModulePackagesResponse) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *GetModulePackagesResponse) GetModulePackages() []*ModulePackage { - if x != nil { - if x.xxx_hidden_ModulePackages != nil { - return *x.xxx_hidden_ModulePackages - } - } - return nil -} - -func (x *GetModulePackagesResponse) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *GetModulePackagesResponse) SetModulePackages(v []*ModulePackage) { - x.xxx_hidden_ModulePackages = &v -} - -type GetModulePackagesResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string - ModulePackages []*ModulePackage -} - -func (b0 GetModulePackagesResponse_builder) Build() *GetModulePackagesResponse { - m0 := &GetModulePackagesResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_ModulePackages = &b.ModulePackages - return m0 -} - -// ModulePackage provides the details about a module's associated package. -type ModulePackage struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ModulePackage) Reset() { - *x = ModulePackage{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ModulePackage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ModulePackage) ProtoMessage() {} - -func (x *ModulePackage) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ModulePackage) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *ModulePackage) GetDescription() string { - if x != nil { - return x.xxx_hidden_Description - } - return "" -} - -func (x *ModulePackage) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *ModulePackage) SetDescription(v string) { - x.xxx_hidden_Description = v -} - -type ModulePackage_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string - Description string -} - -func (b0 ModulePackage_builder) Build() *ModulePackage { - m0 := &ModulePackage{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Description = b.Description - return m0 -} - -// GetModuleDocumentationRequest takes an owner, repository, and reference. -type GetModuleDocumentationRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetModuleDocumentationRequest) Reset() { - *x = GetModuleDocumentationRequest{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetModuleDocumentationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetModuleDocumentationRequest) ProtoMessage() {} - -func (x *GetModuleDocumentationRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetModuleDocumentationRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetModuleDocumentationRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *GetModuleDocumentationRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *GetModuleDocumentationRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetModuleDocumentationRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *GetModuleDocumentationRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -type GetModuleDocumentationRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - // Optional reference (if unspecified, will use the repository's default_branch). - Reference string -} - -func (b0 GetModuleDocumentationRequest_builder) Build() *GetModuleDocumentationRequest { - m0 := &GetModuleDocumentationRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Reference = b.Reference - return m0 -} - -// GetModuleDocumentationResponse returns the ModuleDocumentation for the requested module. -type GetModuleDocumentationResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetModuleDocumentationResponse{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetModuleDocumentationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetModuleDocumentationResponse) ProtoMessage() {} - -func (x *GetModuleDocumentationResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetModuleDocumentationResponse) GetModuleDocumentation() *ModuleDocumentation { - if x != nil { - return x.xxx_hidden_ModuleDocumentation - } - return nil -} - -func (x *GetModuleDocumentationResponse) SetModuleDocumentation(v *ModuleDocumentation) { - x.xxx_hidden_ModuleDocumentation = v -} - -func (x *GetModuleDocumentationResponse) HasModuleDocumentation() bool { - if x == nil { - return false - } - return x.xxx_hidden_ModuleDocumentation != nil -} - -func (x *GetModuleDocumentationResponse) ClearModuleDocumentation() { - x.xxx_hidden_ModuleDocumentation = nil -} - -type GetModuleDocumentationResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - ModuleDocumentation *ModuleDocumentation -} - -func (b0 GetModuleDocumentationResponse_builder) Build() *GetModuleDocumentationResponse { - m0 := &GetModuleDocumentationResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_ModuleDocumentation = b.ModuleDocumentation - return m0 -} - -// ModuleDocumentation provides the name of the module and associated documentations. -type ModuleDocumentation struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Documentation string `protobuf:"bytes,3,opt,name=documentation,proto3" json:"documentation,omitempty"` - xxx_hidden_License string `protobuf:"bytes,4,opt,name=license,proto3" json:"license,omitempty"` - xxx_hidden_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() { - *x = ModuleDocumentation{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ModuleDocumentation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ModuleDocumentation) ProtoMessage() {} - -func (x *ModuleDocumentation) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ModuleDocumentation) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *ModuleDocumentation) GetDocumentation() string { - if x != nil { - return x.xxx_hidden_Documentation - } - return "" -} - -func (x *ModuleDocumentation) GetLicense() string { - if x != nil { - return x.xxx_hidden_License - } - return "" -} - -func (x *ModuleDocumentation) GetDocumentationPath() string { - if x != nil { - return x.xxx_hidden_DocumentationPath - } - return "" -} - -func (x *ModuleDocumentation) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *ModuleDocumentation) SetDocumentation(v string) { - x.xxx_hidden_Documentation = v -} - -func (x *ModuleDocumentation) SetLicense(v string) { - x.xxx_hidden_License = v -} - -func (x *ModuleDocumentation) SetDocumentationPath(v string) { - x.xxx_hidden_DocumentationPath = v -} - -type ModuleDocumentation_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string - // 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. - // string is used to enforce UTF-8 encoding or 7-bit ASCII text. - Documentation string - // This is the string representation of the contents of the LICENSE file for module-level license. - // - // The LICENSE file is a part of the module. - // string is used to enforce UTF-8 encoding or 7-bit ASCII text. - License string - // documentation_path is the path of the file which contains the module documentation. - // - // either `buf.md`, `README.md` or `README.markdown`. - // if empty, assumes buf.md. - DocumentationPath string -} - -func (b0 ModuleDocumentation_builder) Build() *ModuleDocumentation { - m0 := &ModuleDocumentation{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Documentation = b.Documentation - x.xxx_hidden_License = b.License - x.xxx_hidden_DocumentationPath = b.DocumentationPath - return m0 -} - -// GetPackageDocumentationRequest takes an owner, repository, reference, and package name. -type GetPackageDocumentationRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - xxx_hidden_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() { - *x = GetPackageDocumentationRequest{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetPackageDocumentationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetPackageDocumentationRequest) ProtoMessage() {} - -func (x *GetPackageDocumentationRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetPackageDocumentationRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetPackageDocumentationRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *GetPackageDocumentationRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *GetPackageDocumentationRequest) GetPackageName() string { - if x != nil { - return x.xxx_hidden_PackageName - } - return "" -} - -func (x *GetPackageDocumentationRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetPackageDocumentationRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *GetPackageDocumentationRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -func (x *GetPackageDocumentationRequest) SetPackageName(v string) { - x.xxx_hidden_PackageName = v -} - -type GetPackageDocumentationRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - // Optional reference (if unspecified, will use the repository's default_branch). - Reference string - // this is the fully qualified package name. - PackageName string -} - -func (b0 GetPackageDocumentationRequest_builder) Build() *GetPackageDocumentationRequest { - m0 := &GetPackageDocumentationRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Reference = b.Reference - x.xxx_hidden_PackageName = b.PackageName - return m0 -} - -// GetPackageDocumentationReponse returns the documentation for the requested package. -type GetPackageDocumentationResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetPackageDocumentationResponse{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetPackageDocumentationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetPackageDocumentationResponse) ProtoMessage() {} - -func (x *GetPackageDocumentationResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetPackageDocumentationResponse) GetPackageDocumentation() *PackageDocumentation { - if x != nil { - return x.xxx_hidden_PackageDocumentation - } - return nil -} - -func (x *GetPackageDocumentationResponse) SetPackageDocumentation(v *PackageDocumentation) { - x.xxx_hidden_PackageDocumentation = v -} - -func (x *GetPackageDocumentationResponse) HasPackageDocumentation() bool { - if x == nil { - return false - } - return x.xxx_hidden_PackageDocumentation != nil -} - -func (x *GetPackageDocumentationResponse) ClearPackageDocumentation() { - x.xxx_hidden_PackageDocumentation = nil -} - -type GetPackageDocumentationResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - PackageDocumentation *PackageDocumentation -} - -func (b0 GetPackageDocumentationResponse_builder) Build() *GetPackageDocumentationResponse { - m0 := &GetPackageDocumentationResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PackageDocumentation = b.PackageDocumentation - return m0 -} - -// PackageDocumentation provides the name, description, and top level types defined in the package. -type PackageDocumentation struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"` - xxx_hidden_Services *[]*Service `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` - xxx_hidden_Enums *[]*Enum `protobuf:"bytes,4,rep,name=enums,proto3" json:"enums,omitempty"` - xxx_hidden_Messages *[]*Message `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"` - xxx_hidden_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() { - *x = PackageDocumentation{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PackageDocumentation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PackageDocumentation) ProtoMessage() {} - -func (x *PackageDocumentation) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PackageDocumentation) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *PackageDocumentation) GetComments() string { - if x != nil { - return x.xxx_hidden_Comments - } - return "" -} - -func (x *PackageDocumentation) GetServices() []*Service { - if x != nil { - if x.xxx_hidden_Services != nil { - return *x.xxx_hidden_Services - } - } - return nil -} - -func (x *PackageDocumentation) GetEnums() []*Enum { - if x != nil { - if x.xxx_hidden_Enums != nil { - return *x.xxx_hidden_Enums - } - } - return nil -} - -func (x *PackageDocumentation) GetMessages() []*Message { - if x != nil { - if x.xxx_hidden_Messages != nil { - return *x.xxx_hidden_Messages - } - } - return nil -} - -func (x *PackageDocumentation) GetFileExtensions() []*FileExtension { - if x != nil { - if x.xxx_hidden_FileExtensions != nil { - return *x.xxx_hidden_FileExtensions - } - } - return nil -} - -func (x *PackageDocumentation) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *PackageDocumentation) SetComments(v string) { - x.xxx_hidden_Comments = v -} - -func (x *PackageDocumentation) SetServices(v []*Service) { - x.xxx_hidden_Services = &v -} - -func (x *PackageDocumentation) SetEnums(v []*Enum) { - x.xxx_hidden_Enums = &v -} - -func (x *PackageDocumentation) SetMessages(v []*Message) { - x.xxx_hidden_Messages = &v -} - -func (x *PackageDocumentation) SetFileExtensions(v []*FileExtension) { - x.xxx_hidden_FileExtensions = &v -} - -type PackageDocumentation_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string - // comments contains the package-level comment documentation. - // There is currently no convention for this. - // - // This is derived from the leading comments at the top level of the package. - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string - // services contains all the services defined in the package in alphabetical order. - Services []*Service - // enums contains all the enums defined in the package in alphabetical order. - Enums []*Enum - // messages contains all the messages defined in the package in alphabetical order. - Messages []*Message - // extensions contains all the file level extensions in the package in alphabetical order. - FileExtensions []*FileExtension -} - -func (b0 PackageDocumentation_builder) Build() *PackageDocumentation { - m0 := &PackageDocumentation{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Comments = b.Comments - x.xxx_hidden_Services = &b.Services - x.xxx_hidden_Enums = &b.Enums - x.xxx_hidden_Messages = &b.Messages - x.xxx_hidden_FileExtensions = &b.FileExtensions - return m0 -} - -// Location provides the location information for the source code. -// -// 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 `protogen:"opaque.v1"` - xxx_hidden_StartLine int32 `protobuf:"varint,1,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` - xxx_hidden_StartColumn int32 `protobuf:"varint,2,opt,name=start_column,json=startColumn,proto3" json:"start_column,omitempty"` - xxx_hidden_EndLine int32 `protobuf:"varint,3,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"` - xxx_hidden_EndColumn int32 `protobuf:"varint,4,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Location) Reset() { - *x = Location{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Location) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Location) ProtoMessage() {} - -func (x *Location) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Location) GetStartLine() int32 { - if x != nil { - return x.xxx_hidden_StartLine - } - return 0 -} - -func (x *Location) GetStartColumn() int32 { - if x != nil { - return x.xxx_hidden_StartColumn - } - return 0 -} - -func (x *Location) GetEndLine() int32 { - if x != nil { - return x.xxx_hidden_EndLine - } - return 0 -} - -func (x *Location) GetEndColumn() int32 { - if x != nil { - return x.xxx_hidden_EndColumn - } - return 0 -} - -func (x *Location) SetStartLine(v int32) { - x.xxx_hidden_StartLine = v -} - -func (x *Location) SetStartColumn(v int32) { - x.xxx_hidden_StartColumn = v -} - -func (x *Location) SetEndLine(v int32) { - x.xxx_hidden_EndLine = v -} - -func (x *Location) SetEndColumn(v int32) { - x.xxx_hidden_EndColumn = v -} - -type Location_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - StartLine int32 - StartColumn int32 - EndLine int32 - EndColumn int32 -} - -func (b0 Location_builder) Build() *Location { - m0 := &Location{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_StartLine = b.StartLine - x.xxx_hidden_StartColumn = b.StartColumn - x.xxx_hidden_EndLine = b.EndLine - x.xxx_hidden_EndColumn = b.EndColumn - return m0 -} - -// Service provides information for the documentation for a given service type in a file. -type Service struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_NestedName string `protobuf:"bytes,2,opt,name=nested_name,json=nestedName,proto3" json:"nested_name,omitempty"` - xxx_hidden_FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` - xxx_hidden_Comments string `protobuf:"bytes,4,opt,name=comments,proto3" json:"comments,omitempty"` - xxx_hidden_FilePath string `protobuf:"bytes,5,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - xxx_hidden_Location *Location `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` - xxx_hidden_Methods *[]*Method `protobuf:"bytes,7,rep,name=methods,proto3" json:"methods,omitempty"` - xxx_hidden_ImplicitlyDeprecated bool `protobuf:"varint,9,opt,name=implicitly_deprecated,json=implicitlyDeprecated,proto3" json:"implicitly_deprecated,omitempty"` - xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,10,rep,name=options,proto3" json:"options,omitempty"` - xxx_hidden_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() { - *x = Service{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Service) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Service) ProtoMessage() {} - -func (x *Service) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Service) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *Service) GetNestedName() string { - if x != nil { - return x.xxx_hidden_NestedName - } - return "" -} - -func (x *Service) GetFullName() string { - if x != nil { - return x.xxx_hidden_FullName - } - return "" -} - -func (x *Service) GetComments() string { - if x != nil { - return x.xxx_hidden_Comments - } - return "" -} - -func (x *Service) GetFilePath() string { - if x != nil { - return x.xxx_hidden_FilePath - } - return "" -} - -func (x *Service) GetLocation() *Location { - if x != nil { - return x.xxx_hidden_Location - } - return nil -} - -func (x *Service) GetMethods() []*Method { - if x != nil { - if x.xxx_hidden_Methods != nil { - return *x.xxx_hidden_Methods - } - } - return nil -} - -func (x *Service) GetImplicitlyDeprecated() bool { - if x != nil { - return x.xxx_hidden_ImplicitlyDeprecated - } - return false -} - -func (x *Service) GetOptions() []*FieldLiteral { - if x != nil { - if x.xxx_hidden_Options != nil { - return *x.xxx_hidden_Options - } - } - return nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Service) GetServiceOptions() *ServiceOptions { - if x != nil { - return x.xxx_hidden_ServiceOptions - } - return nil -} - -func (x *Service) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *Service) SetNestedName(v string) { - x.xxx_hidden_NestedName = v -} - -func (x *Service) SetFullName(v string) { - x.xxx_hidden_FullName = v -} - -func (x *Service) SetComments(v string) { - x.xxx_hidden_Comments = v -} - -func (x *Service) SetFilePath(v string) { - x.xxx_hidden_FilePath = v -} - -func (x *Service) SetLocation(v *Location) { - x.xxx_hidden_Location = v -} - -func (x *Service) SetMethods(v []*Method) { - x.xxx_hidden_Methods = &v -} - -func (x *Service) SetImplicitlyDeprecated(v bool) { - x.xxx_hidden_ImplicitlyDeprecated = v -} - -func (x *Service) SetOptions(v []*FieldLiteral) { - x.xxx_hidden_Options = &v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Service) SetServiceOptions(v *ServiceOptions) { - x.xxx_hidden_ServiceOptions = v -} - -func (x *Service) HasLocation() bool { - if x == nil { - return false - } - return x.xxx_hidden_Location != nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Service) HasServiceOptions() bool { - if x == nil { - return false - } - return x.xxx_hidden_ServiceOptions != nil -} - -func (x *Service) ClearLocation() { - x.xxx_hidden_Location = nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Service) ClearServiceOptions() { - x.xxx_hidden_ServiceOptions = nil -} - -type Service_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string - // nested_name includes the nested types for a given type definition. - NestedName string - // full_name includes the package name and nested types for a given type definition. - FullName string - // comments is derived from the leading comments of a given service. - // - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string - // file_path is the normalized path of the file containing the service. - // This is used for navigating to the source code for the service. - FilePath string - Location *Location - Methods []*Method - // implicitly_deprecated is true if its enclosing file is deprecated. - ImplicitlyDeprecated bool - // All options that are present on the service. This is a super-set of - // service_options and uses a dynamic representation so it can also - // accommodate custom options with arbitrary types. - // This supersedes service_options. - Options []*FieldLiteral - // Use options instead. - // - // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. - ServiceOptions *ServiceOptions -} - -func (b0 Service_builder) Build() *Service { - m0 := &Service{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_NestedName = b.NestedName - x.xxx_hidden_FullName = b.FullName - x.xxx_hidden_Comments = b.Comments - x.xxx_hidden_FilePath = b.FilePath - x.xxx_hidden_Location = b.Location - x.xxx_hidden_Methods = &b.Methods - x.xxx_hidden_ImplicitlyDeprecated = b.ImplicitlyDeprecated - x.xxx_hidden_Options = &b.Options - x.xxx_hidden_ServiceOptions = b.ServiceOptions - return m0 -} - -// ServiceOptions provides information for the documentation of options for a given service. -// -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -type ServiceOptions struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ServiceOptions) Reset() { - *x = ServiceOptions{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ServiceOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceOptions) ProtoMessage() {} - -func (x *ServiceOptions) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ServiceOptions) GetDeprecated() bool { - if x != nil { - return x.xxx_hidden_Deprecated - } - return false -} - -func (x *ServiceOptions) SetDeprecated(v bool) { - x.xxx_hidden_Deprecated = v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -type ServiceOptions_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Deprecated bool -} - -func (b0 ServiceOptions_builder) Build() *ServiceOptions { - m0 := &ServiceOptions{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Deprecated = b.Deprecated - return m0 -} - -// Method provides information for the documentation for a method of a given service. -type Method struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"` - xxx_hidden_Request *MethodRequestResponse `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"` - xxx_hidden_Response *MethodRequestResponse `protobuf:"bytes,4,opt,name=response,proto3" json:"response,omitempty"` - xxx_hidden_ImplicitlyDeprecated bool `protobuf:"varint,6,opt,name=implicitly_deprecated,json=implicitlyDeprecated,proto3" json:"implicitly_deprecated,omitempty"` - xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"` - xxx_hidden_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() { - *x = Method{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Method) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Method) ProtoMessage() {} - -func (x *Method) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Method) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *Method) GetComments() string { - if x != nil { - return x.xxx_hidden_Comments - } - return "" -} - -func (x *Method) GetRequest() *MethodRequestResponse { - if x != nil { - return x.xxx_hidden_Request - } - return nil -} - -func (x *Method) GetResponse() *MethodRequestResponse { - if x != nil { - return x.xxx_hidden_Response - } - return nil -} - -func (x *Method) GetImplicitlyDeprecated() bool { - if x != nil { - return x.xxx_hidden_ImplicitlyDeprecated - } - return false -} - -func (x *Method) GetOptions() []*FieldLiteral { - if x != nil { - if x.xxx_hidden_Options != nil { - return *x.xxx_hidden_Options - } - } - return nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Method) GetMethodOptions() *MethodOptions { - if x != nil { - return x.xxx_hidden_MethodOptions - } - return nil -} - -func (x *Method) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *Method) SetComments(v string) { - x.xxx_hidden_Comments = v -} - -func (x *Method) SetRequest(v *MethodRequestResponse) { - x.xxx_hidden_Request = v -} - -func (x *Method) SetResponse(v *MethodRequestResponse) { - x.xxx_hidden_Response = v -} - -func (x *Method) SetImplicitlyDeprecated(v bool) { - x.xxx_hidden_ImplicitlyDeprecated = v -} - -func (x *Method) SetOptions(v []*FieldLiteral) { - x.xxx_hidden_Options = &v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Method) SetMethodOptions(v *MethodOptions) { - x.xxx_hidden_MethodOptions = v -} - -func (x *Method) HasRequest() bool { - if x == nil { - return false - } - return x.xxx_hidden_Request != nil -} - -func (x *Method) HasResponse() bool { - if x == nil { - return false - } - return x.xxx_hidden_Response != nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Method) HasMethodOptions() bool { - if x == nil { - return false - } - return x.xxx_hidden_MethodOptions != nil -} - -func (x *Method) ClearRequest() { - x.xxx_hidden_Request = nil -} - -func (x *Method) ClearResponse() { - x.xxx_hidden_Response = nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Method) ClearMethodOptions() { - x.xxx_hidden_MethodOptions = nil -} - -type Method_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string - // comments is derived from the leading comments of a given method. - // - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string - Request *MethodRequestResponse - Response *MethodRequestResponse - // implicitly_deprecated is true if its enclosing file or parent element is deprecated. - ImplicitlyDeprecated bool - // All options that are present on the method. This is a super-set of - // method_options and uses a dynamic representation so it can also - // accommodate custom options with arbitrary types. - // This supersedes method_options. - Options []*FieldLiteral - // Use options instead. - // - // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. - MethodOptions *MethodOptions -} - -func (b0 Method_builder) Build() *Method { - m0 := &Method{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Comments = b.Comments - x.xxx_hidden_Request = b.Request - x.xxx_hidden_Response = b.Response - x.xxx_hidden_ImplicitlyDeprecated = b.ImplicitlyDeprecated - x.xxx_hidden_Options = &b.Options - x.xxx_hidden_MethodOptions = b.MethodOptions - return m0 -} - -// MethodOptions provides information for the documentation of options for a method. -// -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -type MethodOptions struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - xxx_hidden_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() { - *x = MethodOptions{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MethodOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MethodOptions) ProtoMessage() {} - -func (x *MethodOptions) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MethodOptions) GetDeprecated() bool { - if x != nil { - return x.xxx_hidden_Deprecated - } - return false -} - -func (x *MethodOptions) GetIdempotencyLevel() int32 { - if x != nil { - return x.xxx_hidden_IdempotencyLevel - } - return 0 -} - -func (x *MethodOptions) SetDeprecated(v bool) { - x.xxx_hidden_Deprecated = v -} - -func (x *MethodOptions) SetIdempotencyLevel(v int32) { - x.xxx_hidden_IdempotencyLevel = v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -type MethodOptions_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Deprecated bool - // idempotency_level holds a value of the enumeration `google.protobuf.MethodOptions.IdempotencyLevel. - IdempotencyLevel int32 -} - -func (b0 MethodOptions_builder) Build() *MethodOptions { - m0 := &MethodOptions{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Deprecated = b.Deprecated - x.xxx_hidden_IdempotencyLevel = b.IdempotencyLevel - return m0 -} - -// MethodRequestResponse provides information for the documentation of a Method request or response message. -type MethodRequestResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_NestedType string `protobuf:"bytes,1,opt,name=nested_type,json=nestedType,proto3" json:"nested_type,omitempty"` - xxx_hidden_FullType string `protobuf:"bytes,2,opt,name=full_type,json=fullType,proto3" json:"full_type,omitempty"` - xxx_hidden_Streaming bool `protobuf:"varint,3,opt,name=streaming,proto3" json:"streaming,omitempty"` - xxx_hidden_Message *Message `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` - xxx_hidden_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() { - *x = MethodRequestResponse{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MethodRequestResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MethodRequestResponse) ProtoMessage() {} - -func (x *MethodRequestResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MethodRequestResponse) GetNestedType() string { - if x != nil { - return x.xxx_hidden_NestedType - } - return "" -} - -func (x *MethodRequestResponse) GetFullType() string { - if x != nil { - return x.xxx_hidden_FullType - } - return "" -} - -func (x *MethodRequestResponse) GetStreaming() bool { - if x != nil { - return x.xxx_hidden_Streaming - } - return false -} - -func (x *MethodRequestResponse) GetMessage() *Message { - if x != nil { - return x.xxx_hidden_Message - } - return nil -} - -func (x *MethodRequestResponse) GetImportModuleRef() *ImportModuleRef { - if x != nil { - return x.xxx_hidden_ImportModuleRef - } - return nil -} - -func (x *MethodRequestResponse) SetNestedType(v string) { - x.xxx_hidden_NestedType = v -} - -func (x *MethodRequestResponse) SetFullType(v string) { - x.xxx_hidden_FullType = v -} - -func (x *MethodRequestResponse) SetStreaming(v bool) { - x.xxx_hidden_Streaming = v -} - -func (x *MethodRequestResponse) SetMessage(v *Message) { - x.xxx_hidden_Message = v -} - -func (x *MethodRequestResponse) SetImportModuleRef(v *ImportModuleRef) { - x.xxx_hidden_ImportModuleRef = v -} - -func (x *MethodRequestResponse) HasMessage() bool { - if x == nil { - return false - } - return x.xxx_hidden_Message != nil -} - -func (x *MethodRequestResponse) HasImportModuleRef() bool { - if x == nil { - return false - } - return x.xxx_hidden_ImportModuleRef != nil -} - -func (x *MethodRequestResponse) ClearMessage() { - x.xxx_hidden_Message = nil -} - -func (x *MethodRequestResponse) ClearImportModuleRef() { - x.xxx_hidden_ImportModuleRef = nil -} - -type MethodRequestResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // nested_type is the nested name of the message of the request or response. This includes nested definitions. - NestedType string - // full_type is the fully qualified name of the message of the request or response. This includes package and nested definitions. - FullType string - // boolean flag for whether the streaming label is set on an method request or response. - Streaming bool - Message *Message - // import_module_ref is included if the request or response is an imported type. - // It contains all the metadata for the import. - ImportModuleRef *ImportModuleRef -} - -func (b0 MethodRequestResponse_builder) Build() *MethodRequestResponse { - m0 := &MethodRequestResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_NestedType = b.NestedType - x.xxx_hidden_FullType = b.FullType - x.xxx_hidden_Streaming = b.Streaming - x.xxx_hidden_Message = b.Message - x.xxx_hidden_ImportModuleRef = b.ImportModuleRef - return m0 -} - -// Enum provides information for the documentation of an enum. -type Enum struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_NestedName string `protobuf:"bytes,2,opt,name=nested_name,json=nestedName,proto3" json:"nested_name,omitempty"` - xxx_hidden_FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` - xxx_hidden_Comments string `protobuf:"bytes,4,opt,name=comments,proto3" json:"comments,omitempty"` - xxx_hidden_FilePath string `protobuf:"bytes,5,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - xxx_hidden_Location *Location `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` - xxx_hidden_Values *[]*EnumValue `protobuf:"bytes,7,rep,name=values,proto3" json:"values,omitempty"` - xxx_hidden_ImplicitlyDeprecated bool `protobuf:"varint,9,opt,name=implicitly_deprecated,json=implicitlyDeprecated,proto3" json:"implicitly_deprecated,omitempty"` - xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,10,rep,name=options,proto3" json:"options,omitempty"` - xxx_hidden_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() { - *x = Enum{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Enum) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Enum) ProtoMessage() {} - -func (x *Enum) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Enum) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *Enum) GetNestedName() string { - if x != nil { - return x.xxx_hidden_NestedName - } - return "" -} - -func (x *Enum) GetFullName() string { - if x != nil { - return x.xxx_hidden_FullName - } - return "" -} - -func (x *Enum) GetComments() string { - if x != nil { - return x.xxx_hidden_Comments - } - return "" -} - -func (x *Enum) GetFilePath() string { - if x != nil { - return x.xxx_hidden_FilePath - } - return "" -} - -func (x *Enum) GetLocation() *Location { - if x != nil { - return x.xxx_hidden_Location - } - return nil -} - -func (x *Enum) GetValues() []*EnumValue { - if x != nil { - if x.xxx_hidden_Values != nil { - return *x.xxx_hidden_Values - } - } - return nil -} - -func (x *Enum) GetImplicitlyDeprecated() bool { - if x != nil { - return x.xxx_hidden_ImplicitlyDeprecated - } - return false -} - -func (x *Enum) GetOptions() []*FieldLiteral { - if x != nil { - if x.xxx_hidden_Options != nil { - return *x.xxx_hidden_Options - } - } - return nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Enum) GetEnumOptions() *EnumOptions { - if x != nil { - return x.xxx_hidden_EnumOptions - } - return nil -} - -func (x *Enum) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *Enum) SetNestedName(v string) { - x.xxx_hidden_NestedName = v -} - -func (x *Enum) SetFullName(v string) { - x.xxx_hidden_FullName = v -} - -func (x *Enum) SetComments(v string) { - x.xxx_hidden_Comments = v -} - -func (x *Enum) SetFilePath(v string) { - x.xxx_hidden_FilePath = v -} - -func (x *Enum) SetLocation(v *Location) { - x.xxx_hidden_Location = v -} - -func (x *Enum) SetValues(v []*EnumValue) { - x.xxx_hidden_Values = &v -} - -func (x *Enum) SetImplicitlyDeprecated(v bool) { - x.xxx_hidden_ImplicitlyDeprecated = v -} - -func (x *Enum) SetOptions(v []*FieldLiteral) { - x.xxx_hidden_Options = &v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Enum) SetEnumOptions(v *EnumOptions) { - x.xxx_hidden_EnumOptions = v -} - -func (x *Enum) HasLocation() bool { - if x == nil { - return false - } - return x.xxx_hidden_Location != nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Enum) HasEnumOptions() bool { - if x == nil { - return false - } - return x.xxx_hidden_EnumOptions != nil -} - -func (x *Enum) ClearLocation() { - x.xxx_hidden_Location = nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Enum) ClearEnumOptions() { - x.xxx_hidden_EnumOptions = nil -} - -type Enum_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string - // nested_name includes the nested types for a given type definition. - NestedName string - // full_name includes the package name and nested types for a given type definition. - FullName string - // comments is derived from the leading comments of a given Enum. - // - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string - // file_path is the normalized path of the file containing the enum. - FilePath string - Location *Location - Values []*EnumValue - // implicitly_deprecated is true if its enclosing file or parent element is deprecated. - ImplicitlyDeprecated bool - // All options that are present on the enum. This is a super-set of - // enum_options and uses a dynamic representation so it can also - // accommodate custom options with arbitrary types. - // // This supersedes enum_options. - Options []*FieldLiteral - // Use options instead. - // - // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. - EnumOptions *EnumOptions -} - -func (b0 Enum_builder) Build() *Enum { - m0 := &Enum{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_NestedName = b.NestedName - x.xxx_hidden_FullName = b.FullName - x.xxx_hidden_Comments = b.Comments - x.xxx_hidden_FilePath = b.FilePath - x.xxx_hidden_Location = b.Location - x.xxx_hidden_Values = &b.Values - x.xxx_hidden_ImplicitlyDeprecated = b.ImplicitlyDeprecated - x.xxx_hidden_Options = &b.Options - x.xxx_hidden_EnumOptions = b.EnumOptions - return m0 -} - -// EnumOptions provides information for the documentation of options for an enum. -// -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -type EnumOptions struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - xxx_hidden_AllowAlias bool `protobuf:"varint,2,opt,name=allow_alias,json=allowAlias,proto3" json:"allow_alias,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EnumOptions) Reset() { - *x = EnumOptions{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EnumOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EnumOptions) ProtoMessage() {} - -func (x *EnumOptions) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *EnumOptions) GetDeprecated() bool { - if x != nil { - return x.xxx_hidden_Deprecated - } - return false -} - -func (x *EnumOptions) GetAllowAlias() bool { - if x != nil { - return x.xxx_hidden_AllowAlias - } - return false -} - -func (x *EnumOptions) SetDeprecated(v bool) { - x.xxx_hidden_Deprecated = v -} - -func (x *EnumOptions) SetAllowAlias(v bool) { - x.xxx_hidden_AllowAlias = v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -type EnumOptions_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Deprecated bool - AllowAlias bool -} - -func (b0 EnumOptions_builder) Build() *EnumOptions { - m0 := &EnumOptions{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Deprecated = b.Deprecated - x.xxx_hidden_AllowAlias = b.AllowAlias - return m0 -} - -// EnumValue provides information for the documentation of an enum value. -type EnumValue struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` - xxx_hidden_Comments string `protobuf:"bytes,3,opt,name=comments,proto3" json:"comments,omitempty"` - xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,5,rep,name=options,proto3" json:"options,omitempty"` - xxx_hidden_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() { - *x = EnumValue{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EnumValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EnumValue) ProtoMessage() {} - -func (x *EnumValue) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *EnumValue) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *EnumValue) GetNumber() int32 { - if x != nil { - return x.xxx_hidden_Number - } - return 0 -} - -func (x *EnumValue) GetComments() string { - if x != nil { - return x.xxx_hidden_Comments - } - return "" -} - -func (x *EnumValue) GetOptions() []*FieldLiteral { - if x != nil { - if x.xxx_hidden_Options != nil { - return *x.xxx_hidden_Options - } - } - return nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *EnumValue) GetEnumValueOptions() *EnumValueOptions { - if x != nil { - return x.xxx_hidden_EnumValueOptions - } - return nil -} - -func (x *EnumValue) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *EnumValue) SetNumber(v int32) { - x.xxx_hidden_Number = v -} - -func (x *EnumValue) SetComments(v string) { - x.xxx_hidden_Comments = v -} - -func (x *EnumValue) SetOptions(v []*FieldLiteral) { - x.xxx_hidden_Options = &v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *EnumValue) SetEnumValueOptions(v *EnumValueOptions) { - x.xxx_hidden_EnumValueOptions = v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *EnumValue) HasEnumValueOptions() bool { - if x == nil { - return false - } - return x.xxx_hidden_EnumValueOptions != nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *EnumValue) ClearEnumValueOptions() { - x.xxx_hidden_EnumValueOptions = nil -} - -type EnumValue_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string - Number int32 - // comments is derived from the leading comments of a given enum value. - // - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string - // All options that are present on the enum. This is a super-set of - // enum_value_options and uses a dynamic representation so it can also - // accommodate custom options with arbitrary types. - // // This supersedes enum_value_options. - Options []*FieldLiteral - // Use options instead. - // - // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. - EnumValueOptions *EnumValueOptions -} - -func (b0 EnumValue_builder) Build() *EnumValue { - m0 := &EnumValue{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Number = b.Number - x.xxx_hidden_Comments = b.Comments - x.xxx_hidden_Options = &b.Options - x.xxx_hidden_EnumValueOptions = b.EnumValueOptions - return m0 -} - -// EnumValueOptions provides information for the documentation of options for an enum value. -// -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -type EnumValueOptions struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EnumValueOptions) Reset() { - *x = EnumValueOptions{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EnumValueOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EnumValueOptions) ProtoMessage() {} - -func (x *EnumValueOptions) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *EnumValueOptions) GetDeprecated() bool { - if x != nil { - return x.xxx_hidden_Deprecated - } - return false -} - -func (x *EnumValueOptions) SetDeprecated(v bool) { - x.xxx_hidden_Deprecated = v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -type EnumValueOptions_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Deprecated bool -} - -func (b0 EnumValueOptions_builder) Build() *EnumValueOptions { - m0 := &EnumValueOptions{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Deprecated = b.Deprecated - return m0 -} - -// ImportRef provides the import metadata if a type is imported. -type ImportModuleRef struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` - xxx_hidden_Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` - xxx_hidden_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() { - *x = ImportModuleRef{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ImportModuleRef) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ImportModuleRef) ProtoMessage() {} - -func (x *ImportModuleRef) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ImportModuleRef) GetRemote() string { - if x != nil { - return x.xxx_hidden_Remote - } - return "" -} - -func (x *ImportModuleRef) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *ImportModuleRef) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *ImportModuleRef) GetCommit() string { - if x != nil { - return x.xxx_hidden_Commit - } - return "" -} - -func (x *ImportModuleRef) GetPackageName() string { - if x != nil { - return x.xxx_hidden_PackageName - } - return "" -} - -func (x *ImportModuleRef) SetRemote(v string) { - x.xxx_hidden_Remote = v -} - -func (x *ImportModuleRef) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *ImportModuleRef) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *ImportModuleRef) SetCommit(v string) { - x.xxx_hidden_Commit = v -} - -func (x *ImportModuleRef) SetPackageName(v string) { - x.xxx_hidden_PackageName = v -} - -type ImportModuleRef_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Remote string - Owner string - Repository string - // the commit is based on the module commit of the imported type provided - // by the image. - Commit string - PackageName string -} - -func (b0 ImportModuleRef_builder) Build() *ImportModuleRef { - m0 := &ImportModuleRef{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Remote = b.Remote - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Commit = b.Commit - x.xxx_hidden_PackageName = b.PackageName - return m0 -} - -// Message provides information for the documentation of a protobuf message. -type Message struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_NestedName string `protobuf:"bytes,2,opt,name=nested_name,json=nestedName,proto3" json:"nested_name,omitempty"` - xxx_hidden_FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` - xxx_hidden_Comments string `protobuf:"bytes,4,opt,name=comments,proto3" json:"comments,omitempty"` - xxx_hidden_FilePath string `protobuf:"bytes,5,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - xxx_hidden_IsMapEntry bool `protobuf:"varint,6,opt,name=is_map_entry,json=isMapEntry,proto3" json:"is_map_entry,omitempty"` - xxx_hidden_Fields *[]*MessageField `protobuf:"bytes,7,rep,name=fields,proto3" json:"fields,omitempty"` - xxx_hidden_Location *Location `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"` - xxx_hidden_MessageExtensions *[]*Field `protobuf:"bytes,9,rep,name=message_extensions,json=messageExtensions,proto3" json:"message_extensions,omitempty"` - xxx_hidden_ImplicitlyDeprecated bool `protobuf:"varint,11,opt,name=implicitly_deprecated,json=implicitlyDeprecated,proto3" json:"implicitly_deprecated,omitempty"` - xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,12,rep,name=options,proto3" json:"options,omitempty"` - xxx_hidden_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() { - *x = Message{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Message) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Message) ProtoMessage() {} - -func (x *Message) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Message) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *Message) GetNestedName() string { - if x != nil { - return x.xxx_hidden_NestedName - } - return "" -} - -func (x *Message) GetFullName() string { - if x != nil { - return x.xxx_hidden_FullName - } - return "" -} - -func (x *Message) GetComments() string { - if x != nil { - return x.xxx_hidden_Comments - } - return "" -} - -func (x *Message) GetFilePath() string { - if x != nil { - return x.xxx_hidden_FilePath - } - return "" -} - -func (x *Message) GetIsMapEntry() bool { - if x != nil { - return x.xxx_hidden_IsMapEntry - } - return false -} - -func (x *Message) GetFields() []*MessageField { - if x != nil { - if x.xxx_hidden_Fields != nil { - return *x.xxx_hidden_Fields - } - } - return nil -} - -func (x *Message) GetLocation() *Location { - if x != nil { - return x.xxx_hidden_Location - } - return nil -} - -func (x *Message) GetMessageExtensions() []*Field { - if x != nil { - if x.xxx_hidden_MessageExtensions != nil { - return *x.xxx_hidden_MessageExtensions - } - } - return nil -} - -func (x *Message) GetImplicitlyDeprecated() bool { - if x != nil { - return x.xxx_hidden_ImplicitlyDeprecated - } - return false -} - -func (x *Message) GetOptions() []*FieldLiteral { - if x != nil { - if x.xxx_hidden_Options != nil { - return *x.xxx_hidden_Options - } - } - return nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Message) GetMessageOptions() *MessageOptions { - if x != nil { - return x.xxx_hidden_MessageOptions - } - return nil -} - -func (x *Message) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *Message) SetNestedName(v string) { - x.xxx_hidden_NestedName = v -} - -func (x *Message) SetFullName(v string) { - x.xxx_hidden_FullName = v -} - -func (x *Message) SetComments(v string) { - x.xxx_hidden_Comments = v -} - -func (x *Message) SetFilePath(v string) { - x.xxx_hidden_FilePath = v -} - -func (x *Message) SetIsMapEntry(v bool) { - x.xxx_hidden_IsMapEntry = v -} - -func (x *Message) SetFields(v []*MessageField) { - x.xxx_hidden_Fields = &v -} - -func (x *Message) SetLocation(v *Location) { - x.xxx_hidden_Location = v -} - -func (x *Message) SetMessageExtensions(v []*Field) { - x.xxx_hidden_MessageExtensions = &v -} - -func (x *Message) SetImplicitlyDeprecated(v bool) { - x.xxx_hidden_ImplicitlyDeprecated = v -} - -func (x *Message) SetOptions(v []*FieldLiteral) { - x.xxx_hidden_Options = &v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Message) SetMessageOptions(v *MessageOptions) { - x.xxx_hidden_MessageOptions = v -} - -func (x *Message) HasLocation() bool { - if x == nil { - return false - } - return x.xxx_hidden_Location != nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Message) HasMessageOptions() bool { - if x == nil { - return false - } - return x.xxx_hidden_MessageOptions != nil -} - -func (x *Message) ClearLocation() { - x.xxx_hidden_Location = nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Message) ClearMessageOptions() { - x.xxx_hidden_MessageOptions = nil -} - -type Message_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string - // nested_name includes the nested types for a given type definition. - NestedName string - // full_name includes the package name and nested types for a given type definition. - FullName string - // comments is derived from the leading comments of a given message. - // - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string - // file_path is the normalized path of the file containing the message. - FilePath string - IsMapEntry bool - Fields []*MessageField - Location *Location - MessageExtensions []*Field - // implicitly_deprecated is true if its enclosing file or parent element is deprecated. - ImplicitlyDeprecated bool - // All options that are present on the message. This is a super-set of - // message_options and uses a dynamic representation so it can also - // accommodate custom options with arbitrary types. - // // This supersedes message_options. - Options []*FieldLiteral - // Use options instead. - // - // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. - MessageOptions *MessageOptions -} - -func (b0 Message_builder) Build() *Message { - m0 := &Message{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_NestedName = b.NestedName - x.xxx_hidden_FullName = b.FullName - x.xxx_hidden_Comments = b.Comments - x.xxx_hidden_FilePath = b.FilePath - x.xxx_hidden_IsMapEntry = b.IsMapEntry - x.xxx_hidden_Fields = &b.Fields - x.xxx_hidden_Location = b.Location - x.xxx_hidden_MessageExtensions = &b.MessageExtensions - x.xxx_hidden_ImplicitlyDeprecated = b.ImplicitlyDeprecated - x.xxx_hidden_Options = &b.Options - x.xxx_hidden_MessageOptions = b.MessageOptions - return m0 -} - -// MessageField can be either a single field or a oneof set of fields. -type MessageField struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_MessageField isMessageField_MessageField `protobuf_oneof:"message_field"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MessageField) Reset() { - *x = MessageField{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MessageField) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageField) ProtoMessage() {} - -func (x *MessageField) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MessageField) GetField() *Field { - if x != nil { - if x, ok := x.xxx_hidden_MessageField.(*messageField_Field); ok { - return x.Field - } - } - return nil -} - -func (x *MessageField) GetOneof() *Oneof { - if x != nil { - if x, ok := x.xxx_hidden_MessageField.(*messageField_Oneof); ok { - return x.Oneof - } - } - return nil -} - -func (x *MessageField) SetField(v *Field) { - if v == nil { - x.xxx_hidden_MessageField = nil - return - } - x.xxx_hidden_MessageField = &messageField_Field{v} -} - -func (x *MessageField) SetOneof(v *Oneof) { - if v == nil { - x.xxx_hidden_MessageField = nil - return - } - x.xxx_hidden_MessageField = &messageField_Oneof{v} -} - -func (x *MessageField) HasMessageField() bool { - if x == nil { - return false - } - return x.xxx_hidden_MessageField != nil -} - -func (x *MessageField) HasField() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_MessageField.(*messageField_Field) - return ok -} - -func (x *MessageField) HasOneof() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_MessageField.(*messageField_Oneof) - return ok -} - -func (x *MessageField) ClearMessageField() { - x.xxx_hidden_MessageField = nil -} - -func (x *MessageField) ClearField() { - if _, ok := x.xxx_hidden_MessageField.(*messageField_Field); ok { - x.xxx_hidden_MessageField = nil - } -} - -func (x *MessageField) ClearOneof() { - if _, ok := x.xxx_hidden_MessageField.(*messageField_Oneof); ok { - x.xxx_hidden_MessageField = nil - } -} - -const MessageField_MessageField_not_set_case case_MessageField_MessageField = 0 -const MessageField_Field_case case_MessageField_MessageField = 1 -const MessageField_Oneof_case case_MessageField_MessageField = 2 - -func (x *MessageField) WhichMessageField() case_MessageField_MessageField { - if x == nil { - return MessageField_MessageField_not_set_case - } - switch x.xxx_hidden_MessageField.(type) { - case *messageField_Field: - return MessageField_Field_case - case *messageField_Oneof: - return MessageField_Oneof_case - default: - return MessageField_MessageField_not_set_case - } -} - -type MessageField_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Fields of oneof xxx_hidden_MessageField: - Field *Field - Oneof *Oneof - // -- end of xxx_hidden_MessageField -} - -func (b0 MessageField_builder) Build() *MessageField { - m0 := &MessageField{} - b, x := &b0, m0 - _, _ = b, x - if b.Field != nil { - x.xxx_hidden_MessageField = &messageField_Field{b.Field} - } - if b.Oneof != nil { - x.xxx_hidden_MessageField = &messageField_Oneof{b.Oneof} - } - return m0 -} - -type case_MessageField_MessageField protoreflect.FieldNumber - -func (x case_MessageField_MessageField) String() string { - md := file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[26].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isMessageField_MessageField interface { - isMessageField_MessageField() -} - -type messageField_Field struct { - Field *Field `protobuf:"bytes,1,opt,name=field,proto3,oneof"` -} - -type messageField_Oneof struct { - Oneof *Oneof `protobuf:"bytes,2,opt,name=oneof,proto3,oneof"` -} - -func (*messageField_Field) isMessageField_MessageField() {} - -func (*messageField_Oneof) isMessageField_MessageField() {} - -// MessageOptions provides information for the documentation of options for a message. -// -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -type MessageOptions struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MessageOptions) Reset() { - *x = MessageOptions{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MessageOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageOptions) ProtoMessage() {} - -func (x *MessageOptions) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MessageOptions) GetDeprecated() bool { - if x != nil { - return x.xxx_hidden_Deprecated - } - return false -} - -func (x *MessageOptions) SetDeprecated(v bool) { - x.xxx_hidden_Deprecated = v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -type MessageOptions_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Deprecated bool -} - -func (b0 MessageOptions_builder) Build() *MessageOptions { - m0 := &MessageOptions{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Deprecated = b.Deprecated - return m0 -} - -// Oneof represents a oneof set of fields. -type Oneof struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Fields *[]*Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` - xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Oneof) Reset() { - *x = Oneof{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Oneof) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Oneof) ProtoMessage() {} - -func (x *Oneof) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Oneof) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *Oneof) GetFields() []*Field { - if x != nil { - if x.xxx_hidden_Fields != nil { - return *x.xxx_hidden_Fields - } - } - return nil -} - -func (x *Oneof) GetOptions() []*FieldLiteral { - if x != nil { - if x.xxx_hidden_Options != nil { - return *x.xxx_hidden_Options - } - } - return nil -} - -func (x *Oneof) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *Oneof) SetFields(v []*Field) { - x.xxx_hidden_Fields = &v -} - -func (x *Oneof) SetOptions(v []*FieldLiteral) { - x.xxx_hidden_Options = &v -} - -type Oneof_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string - Fields []*Field - // 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 -} - -func (b0 Oneof_builder) Build() *Oneof { - m0 := &Oneof{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Fields = &b.Fields - x.xxx_hidden_Options = &b.Options - return m0 -} - -// Field provides information for the documentation of a message field. -type Field struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"` - xxx_hidden_Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` - xxx_hidden_NestedType string `protobuf:"bytes,4,opt,name=nested_type,json=nestedType,proto3" json:"nested_type,omitempty"` - xxx_hidden_FullType string `protobuf:"bytes,5,opt,name=full_type,json=fullType,proto3" json:"full_type,omitempty"` - xxx_hidden_Tag uint32 `protobuf:"varint,6,opt,name=tag,proto3" json:"tag,omitempty"` - xxx_hidden_MapEntry *MapEntry `protobuf:"bytes,7,opt,name=map_entry,json=mapEntry,proto3" json:"map_entry,omitempty"` - xxx_hidden_ImportModuleRef *ImportModuleRef `protobuf:"bytes,8,opt,name=import_module_ref,json=importModuleRef,proto3" json:"import_module_ref,omitempty"` - xxx_hidden_Extendee string `protobuf:"bytes,9,opt,name=extendee,proto3" json:"extendee,omitempty"` - xxx_hidden_Options *[]*FieldLiteral `protobuf:"bytes,11,rep,name=options,proto3" json:"options,omitempty"` - xxx_hidden_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() { - *x = Field{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Field) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Field) ProtoMessage() {} - -func (x *Field) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Field) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *Field) GetComments() string { - if x != nil { - return x.xxx_hidden_Comments - } - return "" -} - -func (x *Field) GetLabel() string { - if x != nil { - return x.xxx_hidden_Label - } - return "" -} - -func (x *Field) GetNestedType() string { - if x != nil { - return x.xxx_hidden_NestedType - } - return "" -} - -func (x *Field) GetFullType() string { - if x != nil { - return x.xxx_hidden_FullType - } - return "" -} - -func (x *Field) GetTag() uint32 { - if x != nil { - return x.xxx_hidden_Tag - } - return 0 -} - -func (x *Field) GetMapEntry() *MapEntry { - if x != nil { - return x.xxx_hidden_MapEntry - } - return nil -} - -func (x *Field) GetImportModuleRef() *ImportModuleRef { - if x != nil { - return x.xxx_hidden_ImportModuleRef - } - return nil -} - -func (x *Field) GetExtendee() string { - if x != nil { - return x.xxx_hidden_Extendee - } - return "" -} - -func (x *Field) GetOptions() []*FieldLiteral { - if x != nil { - if x.xxx_hidden_Options != nil { - return *x.xxx_hidden_Options - } - } - return nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Field) GetFieldOptions() *FieldOptions { - if x != nil { - return x.xxx_hidden_FieldOptions - } - return nil -} - -func (x *Field) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *Field) SetComments(v string) { - x.xxx_hidden_Comments = v -} - -func (x *Field) SetLabel(v string) { - x.xxx_hidden_Label = v -} - -func (x *Field) SetNestedType(v string) { - x.xxx_hidden_NestedType = v -} - -func (x *Field) SetFullType(v string) { - x.xxx_hidden_FullType = v -} - -func (x *Field) SetTag(v uint32) { - x.xxx_hidden_Tag = v -} - -func (x *Field) SetMapEntry(v *MapEntry) { - x.xxx_hidden_MapEntry = v -} - -func (x *Field) SetImportModuleRef(v *ImportModuleRef) { - x.xxx_hidden_ImportModuleRef = v -} - -func (x *Field) SetExtendee(v string) { - x.xxx_hidden_Extendee = v -} - -func (x *Field) SetOptions(v []*FieldLiteral) { - x.xxx_hidden_Options = &v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Field) SetFieldOptions(v *FieldOptions) { - x.xxx_hidden_FieldOptions = v -} - -func (x *Field) HasMapEntry() bool { - if x == nil { - return false - } - return x.xxx_hidden_MapEntry != nil -} - -func (x *Field) HasImportModuleRef() bool { - if x == nil { - return false - } - return x.xxx_hidden_ImportModuleRef != nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Field) HasFieldOptions() bool { - if x == nil { - return false - } - return x.xxx_hidden_FieldOptions != nil -} - -func (x *Field) ClearMapEntry() { - x.xxx_hidden_MapEntry = nil -} - -func (x *Field) ClearImportModuleRef() { - x.xxx_hidden_ImportModuleRef = nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -func (x *Field) ClearFieldOptions() { - x.xxx_hidden_FieldOptions = nil -} - -type Field_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string - // comments is derived from the leading comments of a given message field. - // - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string - Label string - // string representation of the nested name of the field type, which includes nested definitions. - NestedType string - // string representation of the full name of the field type, which includes package name - // and nested definitions. - FullType string - Tag uint32 - // MapEntry is present if the field is a map type. - MapEntry *MapEntry - // import_module_ref is included if the field is an imported type. - // It contains all the metadata for the import. - ImportModuleRef *ImportModuleRef - // Extendee is the name of the type that is being ext if the field is an extension. - // This is an empty string for fields that are not extenions. - Extendee string - // All options that are present on the field. This is a super-set of - // field_options and uses a dynamic representation so it can also - // accommodate custom options with arbitrary types. - // This supersedes field_options. - Options []*FieldLiteral - // Use options instead. - // - // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. - FieldOptions *FieldOptions -} - -func (b0 Field_builder) Build() *Field { - m0 := &Field{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Comments = b.Comments - x.xxx_hidden_Label = b.Label - x.xxx_hidden_NestedType = b.NestedType - x.xxx_hidden_FullType = b.FullType - x.xxx_hidden_Tag = b.Tag - x.xxx_hidden_MapEntry = b.MapEntry - x.xxx_hidden_ImportModuleRef = b.ImportModuleRef - x.xxx_hidden_Extendee = b.Extendee - x.xxx_hidden_Options = &b.Options - x.xxx_hidden_FieldOptions = b.FieldOptions - return m0 -} - -// FieldOptions provides information for the documentation of options for a field. -// -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -type FieldOptions struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Deprecated bool `protobuf:"varint,1,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - xxx_hidden_Packed bool `protobuf:"varint,2,opt,name=packed,proto3,oneof" json:"packed,omitempty"` - xxx_hidden_Ctype int32 `protobuf:"varint,3,opt,name=ctype,proto3" json:"ctype,omitempty"` - xxx_hidden_Jstype int32 `protobuf:"varint,4,opt,name=jstype,proto3" json:"jstype,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FieldOptions) Reset() { - *x = FieldOptions{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FieldOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FieldOptions) ProtoMessage() {} - -func (x *FieldOptions) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *FieldOptions) GetDeprecated() bool { - if x != nil { - return x.xxx_hidden_Deprecated - } - return false -} - -func (x *FieldOptions) GetPacked() bool { - if x != nil { - return x.xxx_hidden_Packed - } - return false -} - -func (x *FieldOptions) GetCtype() int32 { - if x != nil { - return x.xxx_hidden_Ctype - } - return 0 -} - -func (x *FieldOptions) GetJstype() int32 { - if x != nil { - return x.xxx_hidden_Jstype - } - return 0 -} - -func (x *FieldOptions) SetDeprecated(v bool) { - x.xxx_hidden_Deprecated = v -} - -func (x *FieldOptions) SetPacked(v bool) { - x.xxx_hidden_Packed = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 4) -} - -func (x *FieldOptions) SetCtype(v int32) { - x.xxx_hidden_Ctype = v -} - -func (x *FieldOptions) SetJstype(v int32) { - x.xxx_hidden_Jstype = v -} - -func (x *FieldOptions) HasPacked() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 1) -} - -func (x *FieldOptions) ClearPacked() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) - x.xxx_hidden_Packed = false -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/doc.proto. -type FieldOptions_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Deprecated bool - Packed *bool - // ctype holds a value of the enumeration `google.protobuf.FieldOptions.CType. - Ctype int32 - // jstype holds a value of the enumeration `google.protobuf.FieldOptions.JSType. - Jstype int32 -} - -func (b0 FieldOptions_builder) Build() *FieldOptions { - m0 := &FieldOptions{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Deprecated = b.Deprecated - if b.Packed != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 4) - x.xxx_hidden_Packed = *b.Packed - } - x.xxx_hidden_Ctype = b.Ctype - x.xxx_hidden_Jstype = b.Jstype - return m0 -} - -// FieldLiteral represents a field and its value. It can be used to model descriptor options. -type FieldLiteral struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Tag int32 `protobuf:"varint,2,opt,name=tag,proto3" json:"tag,omitempty"` - xxx_hidden_FieldType FieldType `protobuf:"varint,3,opt,name=field_type,json=fieldType,proto3,enum=buf.alpha.registry.v1alpha1.FieldType" json:"field_type,omitempty"` - xxx_hidden_Value *LiteralValue `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` - xxx_hidden_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() { - *x = FieldLiteral{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FieldLiteral) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FieldLiteral) ProtoMessage() {} - -func (x *FieldLiteral) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *FieldLiteral) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *FieldLiteral) GetTag() int32 { - if x != nil { - return x.xxx_hidden_Tag - } - return 0 -} - -func (x *FieldLiteral) GetFieldType() FieldType { - if x != nil { - return x.xxx_hidden_FieldType - } - return FieldType_FIELD_TYPE_UNSPECIFIED -} - -func (x *FieldLiteral) GetValue() *LiteralValue { - if x != nil { - return x.xxx_hidden_Value - } - return nil -} - -func (x *FieldLiteral) GetImportModuleRef() *ImportModuleRef { - if x != nil { - return x.xxx_hidden_ImportModuleRef - } - return nil -} - -func (x *FieldLiteral) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *FieldLiteral) SetTag(v int32) { - x.xxx_hidden_Tag = v -} - -func (x *FieldLiteral) SetFieldType(v FieldType) { - x.xxx_hidden_FieldType = v -} - -func (x *FieldLiteral) SetValue(v *LiteralValue) { - x.xxx_hidden_Value = v -} - -func (x *FieldLiteral) SetImportModuleRef(v *ImportModuleRef) { - x.xxx_hidden_ImportModuleRef = v -} - -func (x *FieldLiteral) HasValue() bool { - if x == nil { - return false - } - return x.xxx_hidden_Value != nil -} - -func (x *FieldLiteral) HasImportModuleRef() bool { - if x == nil { - return false - } - return x.xxx_hidden_ImportModuleRef != nil -} - -func (x *FieldLiteral) ClearValue() { - x.xxx_hidden_Value = nil -} - -func (x *FieldLiteral) ClearImportModuleRef() { - x.xxx_hidden_ImportModuleRef = nil -} - -type FieldLiteral_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 - // The unique field number associated with the field. - Tag int32 - // Indicates whether this is an extension or not. - FieldType FieldType - // The field's value. - Value *LiteralValue - // 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 -} - -func (b0 FieldLiteral_builder) Build() *FieldLiteral { - m0 := &FieldLiteral{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Tag = b.Tag - x.xxx_hidden_FieldType = b.FieldType - x.xxx_hidden_Value = b.Value - x.xxx_hidden_ImportModuleRef = b.ImportModuleRef - return m0 -} - -// MessageLiteral represents an option value for a type that is a message. -type MessageLiteral struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Fields *[]*FieldLiteral `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MessageLiteral) Reset() { - *x = MessageLiteral{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MessageLiteral) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageLiteral) ProtoMessage() {} - -func (x *MessageLiteral) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[32] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MessageLiteral) GetFields() []*FieldLiteral { - if x != nil { - if x.xxx_hidden_Fields != nil { - return *x.xxx_hidden_Fields - } - } - return nil -} - -func (x *MessageLiteral) SetFields(v []*FieldLiteral) { - x.xxx_hidden_Fields = &v -} - -type MessageLiteral_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Map of field names to value. Extension field names will be in the form: - // [fully.qualified.extension.Name]. - Fields []*FieldLiteral -} - -func (b0 MessageLiteral_builder) Build() *MessageLiteral { - m0 := &MessageLiteral{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Fields = &b.Fields - return m0 -} - -// ArrayLiteral represents an option value for a type that is a repeated field. -// 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 `protogen:"opaque.v1"` - xxx_hidden_Elements *[]*LiteralValue `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ArrayLiteral) Reset() { - *x = ArrayLiteral{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ArrayLiteral) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ArrayLiteral) ProtoMessage() {} - -func (x *ArrayLiteral) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[33] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ArrayLiteral) GetElements() []*LiteralValue { - if x != nil { - if x.xxx_hidden_Elements != nil { - return *x.xxx_hidden_Elements - } - } - return nil -} - -func (x *ArrayLiteral) SetElements(v []*LiteralValue) { - x.xxx_hidden_Elements = &v -} - -type ArrayLiteral_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Elements []*LiteralValue -} - -func (b0 ArrayLiteral_builder) Build() *ArrayLiteral { - m0 := &ArrayLiteral{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Elements = &b.Elements - return m0 -} - -// LiteralValue represents the actual value of the extension. -type LiteralValue struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Value isLiteralValue_Value `protobuf_oneof:"value"` - xxx_hidden_Comments string `protobuf:"bytes,10,opt,name=comments,proto3" json:"comments,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *LiteralValue) Reset() { - *x = LiteralValue{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *LiteralValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LiteralValue) ProtoMessage() {} - -func (x *LiteralValue) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[34] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *LiteralValue) GetStringValue() string { - if x != nil { - if x, ok := x.xxx_hidden_Value.(*literalValue_StringValue); ok { - return x.StringValue - } - } - return "" -} - -func (x *LiteralValue) GetIntValue() int64 { - if x != nil { - if x, ok := x.xxx_hidden_Value.(*literalValue_IntValue); ok { - return x.IntValue - } - } - return 0 -} - -func (x *LiteralValue) GetUintValue() uint64 { - if x != nil { - if x, ok := x.xxx_hidden_Value.(*literalValue_UintValue); ok { - return x.UintValue - } - } - return 0 -} - -func (x *LiteralValue) GetDoubleValue() float64 { - if x != nil { - if x, ok := x.xxx_hidden_Value.(*literalValue_DoubleValue); ok { - return x.DoubleValue - } - } - return 0 -} - -func (x *LiteralValue) GetBoolValue() bool { - if x != nil { - if x, ok := x.xxx_hidden_Value.(*literalValue_BoolValue); ok { - return x.BoolValue - } - } - return false -} - -func (x *LiteralValue) GetEnumValueNameValue() string { - if x != nil { - if x, ok := x.xxx_hidden_Value.(*literalValue_EnumValueNameValue); ok { - return x.EnumValueNameValue - } - } - return "" -} - -func (x *LiteralValue) GetArrayValue() *ArrayLiteral { - if x != nil { - if x, ok := x.xxx_hidden_Value.(*literalValue_ArrayValue); ok { - return x.ArrayValue - } - } - return nil -} - -func (x *LiteralValue) GetMessageValue() *MessageLiteral { - if x != nil { - if x, ok := x.xxx_hidden_Value.(*literalValue_MessageValue); ok { - return x.MessageValue - } - } - return nil -} - -func (x *LiteralValue) GetComments() string { - if x != nil { - return x.xxx_hidden_Comments - } - return "" -} - -func (x *LiteralValue) SetStringValue(v string) { - x.xxx_hidden_Value = &literalValue_StringValue{v} -} - -func (x *LiteralValue) SetIntValue(v int64) { - x.xxx_hidden_Value = &literalValue_IntValue{v} -} - -func (x *LiteralValue) SetUintValue(v uint64) { - x.xxx_hidden_Value = &literalValue_UintValue{v} -} - -func (x *LiteralValue) SetDoubleValue(v float64) { - x.xxx_hidden_Value = &literalValue_DoubleValue{v} -} - -func (x *LiteralValue) SetBoolValue(v bool) { - x.xxx_hidden_Value = &literalValue_BoolValue{v} -} - -func (x *LiteralValue) SetEnumValueNameValue(v string) { - x.xxx_hidden_Value = &literalValue_EnumValueNameValue{v} -} - -func (x *LiteralValue) SetArrayValue(v *ArrayLiteral) { - if v == nil { - x.xxx_hidden_Value = nil - return - } - x.xxx_hidden_Value = &literalValue_ArrayValue{v} -} - -func (x *LiteralValue) SetMessageValue(v *MessageLiteral) { - if v == nil { - x.xxx_hidden_Value = nil - return - } - x.xxx_hidden_Value = &literalValue_MessageValue{v} -} - -func (x *LiteralValue) SetComments(v string) { - x.xxx_hidden_Comments = v -} - -func (x *LiteralValue) HasValue() bool { - if x == nil { - return false - } - return x.xxx_hidden_Value != nil -} - -func (x *LiteralValue) HasStringValue() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Value.(*literalValue_StringValue) - return ok -} - -func (x *LiteralValue) HasIntValue() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Value.(*literalValue_IntValue) - return ok -} - -func (x *LiteralValue) HasUintValue() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Value.(*literalValue_UintValue) - return ok -} - -func (x *LiteralValue) HasDoubleValue() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Value.(*literalValue_DoubleValue) - return ok -} - -func (x *LiteralValue) HasBoolValue() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Value.(*literalValue_BoolValue) - return ok -} - -func (x *LiteralValue) HasEnumValueNameValue() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Value.(*literalValue_EnumValueNameValue) - return ok -} - -func (x *LiteralValue) HasArrayValue() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Value.(*literalValue_ArrayValue) - return ok -} - -func (x *LiteralValue) HasMessageValue() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Value.(*literalValue_MessageValue) - return ok -} - -func (x *LiteralValue) ClearValue() { - x.xxx_hidden_Value = nil -} - -func (x *LiteralValue) ClearStringValue() { - if _, ok := x.xxx_hidden_Value.(*literalValue_StringValue); ok { - x.xxx_hidden_Value = nil - } -} - -func (x *LiteralValue) ClearIntValue() { - if _, ok := x.xxx_hidden_Value.(*literalValue_IntValue); ok { - x.xxx_hidden_Value = nil - } -} - -func (x *LiteralValue) ClearUintValue() { - if _, ok := x.xxx_hidden_Value.(*literalValue_UintValue); ok { - x.xxx_hidden_Value = nil - } -} - -func (x *LiteralValue) ClearDoubleValue() { - if _, ok := x.xxx_hidden_Value.(*literalValue_DoubleValue); ok { - x.xxx_hidden_Value = nil - } -} - -func (x *LiteralValue) ClearBoolValue() { - if _, ok := x.xxx_hidden_Value.(*literalValue_BoolValue); ok { - x.xxx_hidden_Value = nil - } -} - -func (x *LiteralValue) ClearEnumValueNameValue() { - if _, ok := x.xxx_hidden_Value.(*literalValue_EnumValueNameValue); ok { - x.xxx_hidden_Value = nil - } -} - -func (x *LiteralValue) ClearArrayValue() { - if _, ok := x.xxx_hidden_Value.(*literalValue_ArrayValue); ok { - x.xxx_hidden_Value = nil - } -} - -func (x *LiteralValue) ClearMessageValue() { - if _, ok := x.xxx_hidden_Value.(*literalValue_MessageValue); ok { - x.xxx_hidden_Value = nil - } -} - -const LiteralValue_Value_not_set_case case_LiteralValue_Value = 0 -const LiteralValue_StringValue_case case_LiteralValue_Value = 2 -const LiteralValue_IntValue_case case_LiteralValue_Value = 3 -const LiteralValue_UintValue_case case_LiteralValue_Value = 4 -const LiteralValue_DoubleValue_case case_LiteralValue_Value = 5 -const LiteralValue_BoolValue_case case_LiteralValue_Value = 6 -const LiteralValue_EnumValueNameValue_case case_LiteralValue_Value = 7 -const LiteralValue_ArrayValue_case case_LiteralValue_Value = 8 -const LiteralValue_MessageValue_case case_LiteralValue_Value = 9 - -func (x *LiteralValue) WhichValue() case_LiteralValue_Value { - if x == nil { - return LiteralValue_Value_not_set_case - } - switch x.xxx_hidden_Value.(type) { - case *literalValue_StringValue: - return LiteralValue_StringValue_case - case *literalValue_IntValue: - return LiteralValue_IntValue_case - case *literalValue_UintValue: - return LiteralValue_UintValue_case - case *literalValue_DoubleValue: - return LiteralValue_DoubleValue_case - case *literalValue_BoolValue: - return LiteralValue_BoolValue_case - case *literalValue_EnumValueNameValue: - return LiteralValue_EnumValueNameValue_case - case *literalValue_ArrayValue: - return LiteralValue_ArrayValue_case - case *literalValue_MessageValue: - return LiteralValue_MessageValue_case - default: - return LiteralValue_Value_not_set_case - } -} - -type LiteralValue_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Fields of oneof xxx_hidden_Value: - StringValue *string - IntValue *int64 - UintValue *uint64 - DoubleValue *float64 - BoolValue *bool - EnumValueNameValue *string - ArrayValue *ArrayLiteral - MessageValue *MessageLiteral - // -- end of xxx_hidden_Value - Comments string -} - -func (b0 LiteralValue_builder) Build() *LiteralValue { - m0 := &LiteralValue{} - b, x := &b0, m0 - _, _ = b, x - if b.StringValue != nil { - x.xxx_hidden_Value = &literalValue_StringValue{*b.StringValue} - } - if b.IntValue != nil { - x.xxx_hidden_Value = &literalValue_IntValue{*b.IntValue} - } - if b.UintValue != nil { - x.xxx_hidden_Value = &literalValue_UintValue{*b.UintValue} - } - if b.DoubleValue != nil { - x.xxx_hidden_Value = &literalValue_DoubleValue{*b.DoubleValue} - } - if b.BoolValue != nil { - x.xxx_hidden_Value = &literalValue_BoolValue{*b.BoolValue} - } - if b.EnumValueNameValue != nil { - x.xxx_hidden_Value = &literalValue_EnumValueNameValue{*b.EnumValueNameValue} - } - if b.ArrayValue != nil { - x.xxx_hidden_Value = &literalValue_ArrayValue{b.ArrayValue} - } - if b.MessageValue != nil { - x.xxx_hidden_Value = &literalValue_MessageValue{b.MessageValue} - } - x.xxx_hidden_Comments = b.Comments - return m0 -} - -type case_LiteralValue_Value protoreflect.FieldNumber - -func (x case_LiteralValue_Value) String() string { - md := file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[34].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isLiteralValue_Value interface { - isLiteralValue_Value() -} - -type literalValue_StringValue struct { - StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"` -} - -type literalValue_IntValue struct { - IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"` -} - -type literalValue_UintValue struct { - UintValue uint64 `protobuf:"varint,4,opt,name=uint_value,json=uintValue,proto3,oneof"` -} - -type literalValue_DoubleValue struct { - DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"` -} - -type literalValue_BoolValue struct { - BoolValue bool `protobuf:"varint,6,opt,name=bool_value,json=boolValue,proto3,oneof"` -} - -type literalValue_EnumValueNameValue struct { - EnumValueNameValue string `protobuf:"bytes,7,opt,name=enum_value_name_value,json=enumValueNameValue,proto3,oneof"` -} - -type literalValue_ArrayValue struct { - ArrayValue *ArrayLiteral `protobuf:"bytes,8,opt,name=array_value,json=arrayValue,proto3,oneof"` -} - -type literalValue_MessageValue struct { - MessageValue *MessageLiteral `protobuf:"bytes,9,opt,name=message_value,json=messageValue,proto3,oneof"` -} - -func (*literalValue_StringValue) isLiteralValue_Value() {} - -func (*literalValue_IntValue) isLiteralValue_Value() {} - -func (*literalValue_UintValue) isLiteralValue_Value() {} - -func (*literalValue_DoubleValue) isLiteralValue_Value() {} - -func (*literalValue_BoolValue) isLiteralValue_Value() {} - -func (*literalValue_EnumValueNameValue) isLiteralValue_Value() {} - -func (*literalValue_ArrayValue) isLiteralValue_Value() {} - -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 `protogen:"opaque.v1"` - xxx_hidden_KeyFullType string `protobuf:"bytes,1,opt,name=key_full_type,json=keyFullType,proto3" json:"key_full_type,omitempty"` - xxx_hidden_ValueNestedType string `protobuf:"bytes,2,opt,name=value_nested_type,json=valueNestedType,proto3" json:"value_nested_type,omitempty"` - xxx_hidden_ValueFullType string `protobuf:"bytes,3,opt,name=value_full_type,json=valueFullType,proto3" json:"value_full_type,omitempty"` - xxx_hidden_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() { - *x = MapEntry{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MapEntry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MapEntry) ProtoMessage() {} - -func (x *MapEntry) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[35] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MapEntry) GetKeyFullType() string { - if x != nil { - return x.xxx_hidden_KeyFullType - } - return "" -} - -func (x *MapEntry) GetValueNestedType() string { - if x != nil { - return x.xxx_hidden_ValueNestedType - } - return "" -} - -func (x *MapEntry) GetValueFullType() string { - if x != nil { - return x.xxx_hidden_ValueFullType - } - return "" -} - -func (x *MapEntry) GetValueImportModuleRef() *ImportModuleRef { - if x != nil { - return x.xxx_hidden_ValueImportModuleRef - } - return nil -} - -func (x *MapEntry) SetKeyFullType(v string) { - x.xxx_hidden_KeyFullType = v -} - -func (x *MapEntry) SetValueNestedType(v string) { - x.xxx_hidden_ValueNestedType = v -} - -func (x *MapEntry) SetValueFullType(v string) { - x.xxx_hidden_ValueFullType = v -} - -func (x *MapEntry) SetValueImportModuleRef(v *ImportModuleRef) { - x.xxx_hidden_ValueImportModuleRef = v -} - -func (x *MapEntry) HasValueImportModuleRef() bool { - if x == nil { - return false - } - return x.xxx_hidden_ValueImportModuleRef != nil -} - -func (x *MapEntry) ClearValueImportModuleRef() { - x.xxx_hidden_ValueImportModuleRef = nil -} - -type MapEntry_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 - // string representation of the nested name of the type for the map value. - ValueNestedType string - // string representation of the full name of the type for the map value. - ValueFullType string - // if the value is an imported type, this is the import module ref - ValueImportModuleRef *ImportModuleRef -} - -func (b0 MapEntry_builder) Build() *MapEntry { - m0 := &MapEntry{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_KeyFullType = b.KeyFullType - x.xxx_hidden_ValueNestedType = b.ValueNestedType - x.xxx_hidden_ValueFullType = b.ValueFullType - x.xxx_hidden_ValueImportModuleRef = b.ValueImportModuleRef - return m0 -} - -// FileExtension provides the information for the documentation of a file extension. -type FileExtension struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_ExtensionType string `protobuf:"bytes,1,opt,name=extension_type,json=extensionType,proto3" json:"extension_type,omitempty"` - xxx_hidden_Comments string `protobuf:"bytes,2,opt,name=comments,proto3" json:"comments,omitempty"` - xxx_hidden_FilePath string `protobuf:"bytes,3,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - xxx_hidden_Location *Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` - xxx_hidden_Fields *[]*Field `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty"` - xxx_hidden_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() { - *x = FileExtension{} - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FileExtension) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FileExtension) ProtoMessage() {} - -func (x *FileExtension) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[36] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *FileExtension) GetExtensionType() string { - if x != nil { - return x.xxx_hidden_ExtensionType - } - return "" -} - -func (x *FileExtension) GetComments() string { - if x != nil { - return x.xxx_hidden_Comments - } - return "" -} - -func (x *FileExtension) GetFilePath() string { - if x != nil { - return x.xxx_hidden_FilePath - } - return "" -} - -func (x *FileExtension) GetLocation() *Location { - if x != nil { - return x.xxx_hidden_Location - } - return nil -} - -func (x *FileExtension) GetFields() []*Field { - if x != nil { - if x.xxx_hidden_Fields != nil { - return *x.xxx_hidden_Fields - } - } - return nil -} - -func (x *FileExtension) GetImplicitlyDeprecated() bool { - if x != nil { - return x.xxx_hidden_ImplicitlyDeprecated - } - return false -} - -func (x *FileExtension) SetExtensionType(v string) { - x.xxx_hidden_ExtensionType = v -} - -func (x *FileExtension) SetComments(v string) { - x.xxx_hidden_Comments = v -} - -func (x *FileExtension) SetFilePath(v string) { - x.xxx_hidden_FilePath = v -} - -func (x *FileExtension) SetLocation(v *Location) { - x.xxx_hidden_Location = v -} - -func (x *FileExtension) SetFields(v []*Field) { - x.xxx_hidden_Fields = &v -} - -func (x *FileExtension) SetImplicitlyDeprecated(v bool) { - x.xxx_hidden_ImplicitlyDeprecated = v -} - -func (x *FileExtension) HasLocation() bool { - if x == nil { - return false - } - return x.xxx_hidden_Location != nil -} - -func (x *FileExtension) ClearLocation() { - x.xxx_hidden_Location = nil -} - -type FileExtension_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // extension_type is the string representation of the type being extended. - ExtensionType string - // comments is derived from the leading comments of a given message field. - // - // Paragraph newlines (double new lines) are respected, however single newlines are not. - // Note that any leading and trailing `//` or spaces within a `/* */` block will be stripped. - Comments string - // file_path is the normalized path of the file containing the message. - FilePath string - Location *Location - // fields are all the fields that are associated with the extension. - Fields []*Field - // implicitly_deprecated is true if its enclosing file or parent element is deprecated. - ImplicitlyDeprecated bool -} - -func (b0 FileExtension_builder) Build() *FileExtension { - m0 := &FileExtension{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_ExtensionType = b.ExtensionType - x.xxx_hidden_Comments = b.Comments - x.xxx_hidden_FilePath = b.FilePath - x.xxx_hidden_Location = b.Location - x.xxx_hidden_Fields = &b.Fields - x.xxx_hidden_ImplicitlyDeprecated = b.ImplicitlyDeprecated - return m0 -} - -var File_buf_alpha_registry_v1alpha1_doc_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_doc_proto_rawDesc = []byte{ - 0x0a, 0x25, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x64, 0x6f, - 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x22, 0x73, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x5b, 0x0a, 0x1e, 0x47, 0x65, 0x74, - 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x72, - 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x22, 0x78, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x64, 0x69, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x44, 0x69, 0x72, 0x12, 0x41, 0x0a, - 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x25, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, - 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, - 0x22, 0x7e, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, - 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, - 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x22, 0x31, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x22, 0x6e, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, - 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x22, 0x45, 0x0a, 0x0d, 0x4d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x73, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x6f, - 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x14, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x6f, 0x63, 0x75, - 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x98, - 0x01, 0x0a, 0x13, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6f, - 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x6f, - 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x22, 0x97, 0x01, 0x0a, 0x1e, 0x47, 0x65, - 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x15, 0x70, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x44, 0x6f, 0x63, 0x75, - 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0xd8, 0x02, 0x0a, 0x14, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, - 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x40, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x05, 0x65, 0x6e, - 0x75, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x65, 0x6e, - 0x75, 0x6d, 0x73, 0x12, 0x40, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, - 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x53, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x78, - 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6c, - 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x65, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x86, 0x01, 0x0a, 0x08, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, - 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, - 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x6e, 0x64, - 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x22, 0xea, 0x03, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, - 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x41, 0x0a, 0x08, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, - 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x12, 0x33, 0x0a, 0x15, - 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x6c, 0x79, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, - 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6d, 0x70, - 0x6c, 0x69, 0x63, 0x69, 0x74, 0x6c, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x12, 0x43, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x07, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x02, 0x18, 0x01, - 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x34, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, - 0x65, 0x64, 0x3a, 0x02, 0x18, 0x01, 0x22, 0xa7, 0x03, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x12, 0x4c, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x4e, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x33, 0x0a, 0x15, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x6c, 0x79, 0x5f, 0x64, 0x65, - 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, - 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x6c, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, - 0x61, 0x74, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, - 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x55, 0x0a, 0x0e, 0x6d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x02, 0x18, - 0x01, 0x52, 0x0d, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x60, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, - 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x69, 0x64, - 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x02, - 0x18, 0x01, 0x22, 0x8d, 0x02, 0x0a, 0x15, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, - 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x3e, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x58, 0x0a, 0x11, 0x69, 0x6d, 0x70, 0x6f, - 0x72, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, - 0x66, 0x52, 0x0f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, - 0x65, 0x66, 0x22, 0xdf, 0x03, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x1f, 0x0a, 0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, - 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, - 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, - 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x41, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x06, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x33, 0x0a, 0x15, 0x69, 0x6d, 0x70, - 0x6c, 0x69, 0x63, 0x69, 0x74, 0x6c, 0x79, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, - 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x63, - 0x69, 0x74, 0x6c, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x43, - 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, - 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x4f, 0x0a, 0x0c, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x52, 0x0a, 0x0b, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, - 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x6c, 0x69, - 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, - 0x6c, 0x69, 0x61, 0x73, 0x3a, 0x02, 0x18, 0x01, 0x22, 0xf9, 0x01, 0x0a, 0x09, 0x45, 0x6e, 0x75, - 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x43, - 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, - 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x5f, 0x0a, 0x12, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6e, - 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x02, - 0x18, 0x01, 0x52, 0x10, 0x65, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x36, 0x0a, 0x10, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, - 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, - 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x9a, 0x01, 0x0a, - 0x0f, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, - 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, - 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x16, - 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, - 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xe3, 0x04, 0x0a, 0x07, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x65, 0x73, - 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, - 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, - 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x6d, 0x61, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x41, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, - 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x41, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x12, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x11, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x15, 0x69, - 0x6d, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x6c, 0x79, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, - 0x61, 0x74, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6d, 0x70, 0x6c, - 0x69, 0x63, 0x69, 0x74, 0x6c, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, - 0x12, 0x43, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x07, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x02, 0x18, 0x01, 0x52, - 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, - 0x97, 0x01, 0x0a, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x12, 0x3a, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x22, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, - 0x65, 0x6c, 0x64, 0x48, 0x00, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x3a, 0x0a, 0x05, - 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x48, - 0x00, 0x52, 0x05, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x42, 0x0f, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x34, 0x0a, 0x0e, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, - 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x3a, 0x02, 0x18, 0x01, 0x22, - 0x9c, 0x01, 0x0a, 0x05, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, - 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x43, 0x0a, 0x07, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4c, 0x69, - 0x74, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xf0, - 0x03, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, - 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1f, - 0x0a, 0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x74, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x42, - 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x58, 0x0a, 0x11, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f, - 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x52, 0x0f, 0x69, 0x6d, 0x70, - 0x6f, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x12, 0x1a, 0x0a, 0x08, - 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x74, - 0x65, 0x72, 0x61, 0x6c, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x52, 0x0a, - 0x0d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, - 0x02, 0x18, 0x01, 0x52, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x22, 0x88, 0x01, 0x0a, 0x0c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, - 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x88, 0x01, 0x01, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, - 0x63, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x02, 0x18, - 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x22, 0x96, 0x02, 0x0a, - 0x0c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, - 0x74, 0x61, 0x67, 0x12, 0x45, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x58, 0x0a, 0x11, 0x69, - 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x52, 0x65, 0x66, 0x52, 0x0f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x52, 0x65, 0x66, 0x22, 0x53, 0x0a, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x12, 0x41, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4c, 0x69, 0x74, 0x65, 0x72, - 0x61, 0x6c, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x55, 0x0a, 0x0c, 0x41, 0x72, - 0x72, 0x61, 0x79, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x12, 0x45, 0x0a, 0x08, 0x65, 0x6c, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, - 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x22, 0xb5, 0x03, 0x0a, 0x0c, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, - 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x75, 0x69, 0x6e, 0x74, 0x5f, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x09, 0x75, 0x69, - 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, - 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, - 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, - 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, - 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x33, 0x0a, - 0x15, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x12, - 0x65, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x4c, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4c, 0x69, 0x74, 0x65, 0x72, - 0x61, 0x6c, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x52, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x74, - 0x65, 0x72, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, - 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xe7, 0x01, 0x0a, 0x08, 0x4d, 0x61, - 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x75, - 0x6c, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6b, - 0x65, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4e, 0x65, 0x73, 0x74, - 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, - 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x63, - 0x0a, 0x17, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6d, - 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x52, 0x14, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x66, 0x22, 0xa3, 0x02, 0x0a, 0x0d, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, - 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, - 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, - 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x41, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, - 0x65, 0x6c, 0x64, 0x73, 0x12, 0x33, 0x0a, 0x15, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, - 0x6c, 0x79, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x6c, 0x79, 0x44, - 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x2a, 0x6c, 0x0a, 0x09, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x46, 0x49, 0x45, - 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x54, 0x45, 0x4e, 0x53, 0x49, 0x4f, - 0x4e, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x41, 0x4e, 0x59, 0x10, 0x03, 0x32, 0xe1, 0x05, 0x0a, 0x0a, 0x44, 0x6f, 0x63, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x96, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, - 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, - 0x7b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, - 0x12, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x87, 0x01, 0x0a, - 0x11, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x73, 0x12, 0x35, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x96, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, - 0x99, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x44, 0x6f, - 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x63, - 0x6b, 0x61, 0x67, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x95, 0x02, 0x0a, 0x1f, - 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, - 0x08, 0x44, 0x6f, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, - 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, - 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, - 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, - 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, - 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_doc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes = make([]protoimpl.MessageInfo, 37) -var file_buf_alpha_registry_v1alpha1_doc_proto_goTypes = []any{ - (FieldType)(0), // 0: buf.alpha.registry.v1alpha1.FieldType - (*GetSourceDirectoryInfoRequest)(nil), // 1: buf.alpha.registry.v1alpha1.GetSourceDirectoryInfoRequest - (*GetSourceDirectoryInfoResponse)(nil), // 2: buf.alpha.registry.v1alpha1.GetSourceDirectoryInfoResponse - (*FileInfo)(nil), // 3: buf.alpha.registry.v1alpha1.FileInfo - (*GetSourceFileRequest)(nil), // 4: buf.alpha.registry.v1alpha1.GetSourceFileRequest - (*GetSourceFileResponse)(nil), // 5: buf.alpha.registry.v1alpha1.GetSourceFileResponse - (*GetModulePackagesRequest)(nil), // 6: buf.alpha.registry.v1alpha1.GetModulePackagesRequest - (*GetModulePackagesResponse)(nil), // 7: buf.alpha.registry.v1alpha1.GetModulePackagesResponse - (*ModulePackage)(nil), // 8: buf.alpha.registry.v1alpha1.ModulePackage - (*GetModuleDocumentationRequest)(nil), // 9: buf.alpha.registry.v1alpha1.GetModuleDocumentationRequest - (*GetModuleDocumentationResponse)(nil), // 10: buf.alpha.registry.v1alpha1.GetModuleDocumentationResponse - (*ModuleDocumentation)(nil), // 11: buf.alpha.registry.v1alpha1.ModuleDocumentation - (*GetPackageDocumentationRequest)(nil), // 12: buf.alpha.registry.v1alpha1.GetPackageDocumentationRequest - (*GetPackageDocumentationResponse)(nil), // 13: buf.alpha.registry.v1alpha1.GetPackageDocumentationResponse - (*PackageDocumentation)(nil), // 14: buf.alpha.registry.v1alpha1.PackageDocumentation - (*Location)(nil), // 15: buf.alpha.registry.v1alpha1.Location - (*Service)(nil), // 16: buf.alpha.registry.v1alpha1.Service - (*ServiceOptions)(nil), // 17: buf.alpha.registry.v1alpha1.ServiceOptions - (*Method)(nil), // 18: buf.alpha.registry.v1alpha1.Method - (*MethodOptions)(nil), // 19: buf.alpha.registry.v1alpha1.MethodOptions - (*MethodRequestResponse)(nil), // 20: buf.alpha.registry.v1alpha1.MethodRequestResponse - (*Enum)(nil), // 21: buf.alpha.registry.v1alpha1.Enum - (*EnumOptions)(nil), // 22: buf.alpha.registry.v1alpha1.EnumOptions - (*EnumValue)(nil), // 23: buf.alpha.registry.v1alpha1.EnumValue - (*EnumValueOptions)(nil), // 24: buf.alpha.registry.v1alpha1.EnumValueOptions - (*ImportModuleRef)(nil), // 25: buf.alpha.registry.v1alpha1.ImportModuleRef - (*Message)(nil), // 26: buf.alpha.registry.v1alpha1.Message - (*MessageField)(nil), // 27: buf.alpha.registry.v1alpha1.MessageField - (*MessageOptions)(nil), // 28: buf.alpha.registry.v1alpha1.MessageOptions - (*Oneof)(nil), // 29: buf.alpha.registry.v1alpha1.Oneof - (*Field)(nil), // 30: buf.alpha.registry.v1alpha1.Field - (*FieldOptions)(nil), // 31: buf.alpha.registry.v1alpha1.FieldOptions - (*FieldLiteral)(nil), // 32: buf.alpha.registry.v1alpha1.FieldLiteral - (*MessageLiteral)(nil), // 33: buf.alpha.registry.v1alpha1.MessageLiteral - (*ArrayLiteral)(nil), // 34: buf.alpha.registry.v1alpha1.ArrayLiteral - (*LiteralValue)(nil), // 35: buf.alpha.registry.v1alpha1.LiteralValue - (*MapEntry)(nil), // 36: buf.alpha.registry.v1alpha1.MapEntry - (*FileExtension)(nil), // 37: buf.alpha.registry.v1alpha1.FileExtension -} -var file_buf_alpha_registry_v1alpha1_doc_proto_depIdxs = []int32{ - 3, // 0: buf.alpha.registry.v1alpha1.GetSourceDirectoryInfoResponse.root:type_name -> buf.alpha.registry.v1alpha1.FileInfo - 3, // 1: buf.alpha.registry.v1alpha1.FileInfo.children:type_name -> buf.alpha.registry.v1alpha1.FileInfo - 8, // 2: buf.alpha.registry.v1alpha1.GetModulePackagesResponse.module_packages:type_name -> buf.alpha.registry.v1alpha1.ModulePackage - 11, // 3: buf.alpha.registry.v1alpha1.GetModuleDocumentationResponse.module_documentation:type_name -> buf.alpha.registry.v1alpha1.ModuleDocumentation - 14, // 4: buf.alpha.registry.v1alpha1.GetPackageDocumentationResponse.package_documentation:type_name -> buf.alpha.registry.v1alpha1.PackageDocumentation - 16, // 5: buf.alpha.registry.v1alpha1.PackageDocumentation.services:type_name -> buf.alpha.registry.v1alpha1.Service - 21, // 6: buf.alpha.registry.v1alpha1.PackageDocumentation.enums:type_name -> buf.alpha.registry.v1alpha1.Enum - 26, // 7: buf.alpha.registry.v1alpha1.PackageDocumentation.messages:type_name -> buf.alpha.registry.v1alpha1.Message - 37, // 8: buf.alpha.registry.v1alpha1.PackageDocumentation.file_extensions:type_name -> buf.alpha.registry.v1alpha1.FileExtension - 15, // 9: buf.alpha.registry.v1alpha1.Service.location:type_name -> buf.alpha.registry.v1alpha1.Location - 18, // 10: buf.alpha.registry.v1alpha1.Service.methods:type_name -> buf.alpha.registry.v1alpha1.Method - 32, // 11: buf.alpha.registry.v1alpha1.Service.options:type_name -> buf.alpha.registry.v1alpha1.FieldLiteral - 17, // 12: buf.alpha.registry.v1alpha1.Service.service_options:type_name -> buf.alpha.registry.v1alpha1.ServiceOptions - 20, // 13: buf.alpha.registry.v1alpha1.Method.request:type_name -> buf.alpha.registry.v1alpha1.MethodRequestResponse - 20, // 14: buf.alpha.registry.v1alpha1.Method.response:type_name -> buf.alpha.registry.v1alpha1.MethodRequestResponse - 32, // 15: buf.alpha.registry.v1alpha1.Method.options:type_name -> buf.alpha.registry.v1alpha1.FieldLiteral - 19, // 16: buf.alpha.registry.v1alpha1.Method.method_options:type_name -> buf.alpha.registry.v1alpha1.MethodOptions - 26, // 17: buf.alpha.registry.v1alpha1.MethodRequestResponse.message:type_name -> buf.alpha.registry.v1alpha1.Message - 25, // 18: buf.alpha.registry.v1alpha1.MethodRequestResponse.import_module_ref:type_name -> buf.alpha.registry.v1alpha1.ImportModuleRef - 15, // 19: buf.alpha.registry.v1alpha1.Enum.location:type_name -> buf.alpha.registry.v1alpha1.Location - 23, // 20: buf.alpha.registry.v1alpha1.Enum.values:type_name -> buf.alpha.registry.v1alpha1.EnumValue - 32, // 21: buf.alpha.registry.v1alpha1.Enum.options:type_name -> buf.alpha.registry.v1alpha1.FieldLiteral - 22, // 22: buf.alpha.registry.v1alpha1.Enum.enum_options:type_name -> buf.alpha.registry.v1alpha1.EnumOptions - 32, // 23: buf.alpha.registry.v1alpha1.EnumValue.options:type_name -> buf.alpha.registry.v1alpha1.FieldLiteral - 24, // 24: buf.alpha.registry.v1alpha1.EnumValue.enum_value_options:type_name -> buf.alpha.registry.v1alpha1.EnumValueOptions - 27, // 25: buf.alpha.registry.v1alpha1.Message.fields:type_name -> buf.alpha.registry.v1alpha1.MessageField - 15, // 26: buf.alpha.registry.v1alpha1.Message.location:type_name -> buf.alpha.registry.v1alpha1.Location - 30, // 27: buf.alpha.registry.v1alpha1.Message.message_extensions:type_name -> buf.alpha.registry.v1alpha1.Field - 32, // 28: buf.alpha.registry.v1alpha1.Message.options:type_name -> buf.alpha.registry.v1alpha1.FieldLiteral - 28, // 29: buf.alpha.registry.v1alpha1.Message.message_options:type_name -> buf.alpha.registry.v1alpha1.MessageOptions - 30, // 30: buf.alpha.registry.v1alpha1.MessageField.field:type_name -> buf.alpha.registry.v1alpha1.Field - 29, // 31: buf.alpha.registry.v1alpha1.MessageField.oneof:type_name -> buf.alpha.registry.v1alpha1.Oneof - 30, // 32: buf.alpha.registry.v1alpha1.Oneof.fields:type_name -> buf.alpha.registry.v1alpha1.Field - 32, // 33: buf.alpha.registry.v1alpha1.Oneof.options:type_name -> buf.alpha.registry.v1alpha1.FieldLiteral - 36, // 34: buf.alpha.registry.v1alpha1.Field.map_entry:type_name -> buf.alpha.registry.v1alpha1.MapEntry - 25, // 35: buf.alpha.registry.v1alpha1.Field.import_module_ref:type_name -> buf.alpha.registry.v1alpha1.ImportModuleRef - 32, // 36: buf.alpha.registry.v1alpha1.Field.options:type_name -> buf.alpha.registry.v1alpha1.FieldLiteral - 31, // 37: buf.alpha.registry.v1alpha1.Field.field_options:type_name -> buf.alpha.registry.v1alpha1.FieldOptions - 0, // 38: buf.alpha.registry.v1alpha1.FieldLiteral.field_type:type_name -> buf.alpha.registry.v1alpha1.FieldType - 35, // 39: buf.alpha.registry.v1alpha1.FieldLiteral.value:type_name -> buf.alpha.registry.v1alpha1.LiteralValue - 25, // 40: buf.alpha.registry.v1alpha1.FieldLiteral.import_module_ref:type_name -> buf.alpha.registry.v1alpha1.ImportModuleRef - 32, // 41: buf.alpha.registry.v1alpha1.MessageLiteral.fields:type_name -> buf.alpha.registry.v1alpha1.FieldLiteral - 35, // 42: buf.alpha.registry.v1alpha1.ArrayLiteral.elements:type_name -> buf.alpha.registry.v1alpha1.LiteralValue - 34, // 43: buf.alpha.registry.v1alpha1.LiteralValue.array_value:type_name -> buf.alpha.registry.v1alpha1.ArrayLiteral - 33, // 44: buf.alpha.registry.v1alpha1.LiteralValue.message_value:type_name -> buf.alpha.registry.v1alpha1.MessageLiteral - 25, // 45: buf.alpha.registry.v1alpha1.MapEntry.value_import_module_ref:type_name -> buf.alpha.registry.v1alpha1.ImportModuleRef - 15, // 46: buf.alpha.registry.v1alpha1.FileExtension.location:type_name -> buf.alpha.registry.v1alpha1.Location - 30, // 47: buf.alpha.registry.v1alpha1.FileExtension.fields:type_name -> buf.alpha.registry.v1alpha1.Field - 1, // 48: buf.alpha.registry.v1alpha1.DocService.GetSourceDirectoryInfo:input_type -> buf.alpha.registry.v1alpha1.GetSourceDirectoryInfoRequest - 4, // 49: buf.alpha.registry.v1alpha1.DocService.GetSourceFile:input_type -> buf.alpha.registry.v1alpha1.GetSourceFileRequest - 6, // 50: buf.alpha.registry.v1alpha1.DocService.GetModulePackages:input_type -> buf.alpha.registry.v1alpha1.GetModulePackagesRequest - 9, // 51: buf.alpha.registry.v1alpha1.DocService.GetModuleDocumentation:input_type -> buf.alpha.registry.v1alpha1.GetModuleDocumentationRequest - 12, // 52: buf.alpha.registry.v1alpha1.DocService.GetPackageDocumentation:input_type -> buf.alpha.registry.v1alpha1.GetPackageDocumentationRequest - 2, // 53: buf.alpha.registry.v1alpha1.DocService.GetSourceDirectoryInfo:output_type -> buf.alpha.registry.v1alpha1.GetSourceDirectoryInfoResponse - 5, // 54: buf.alpha.registry.v1alpha1.DocService.GetSourceFile:output_type -> buf.alpha.registry.v1alpha1.GetSourceFileResponse - 7, // 55: buf.alpha.registry.v1alpha1.DocService.GetModulePackages:output_type -> buf.alpha.registry.v1alpha1.GetModulePackagesResponse - 10, // 56: buf.alpha.registry.v1alpha1.DocService.GetModuleDocumentation:output_type -> buf.alpha.registry.v1alpha1.GetModuleDocumentationResponse - 13, // 57: buf.alpha.registry.v1alpha1.DocService.GetPackageDocumentation:output_type -> buf.alpha.registry.v1alpha1.GetPackageDocumentationResponse - 53, // [53:58] is the sub-list for method output_type - 48, // [48:53] is the sub-list for method input_type - 48, // [48:48] is the sub-list for extension type_name - 48, // [48:48] is the sub-list for extension extendee - 0, // [0:48] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_doc_proto_init() } -func file_buf_alpha_registry_v1alpha1_doc_proto_init() { - if File_buf_alpha_registry_v1alpha1_doc_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[26].OneofWrappers = []any{ - (*messageField_Field)(nil), - (*messageField_Oneof)(nil), - } - file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[30].OneofWrappers = []any{} - file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes[34].OneofWrappers = []any{ - (*literalValue_StringValue)(nil), - (*literalValue_IntValue)(nil), - (*literalValue_UintValue)(nil), - (*literalValue_DoubleValue)(nil), - (*literalValue_BoolValue)(nil), - (*literalValue_EnumValueNameValue)(nil), - (*literalValue_ArrayValue)(nil), - (*literalValue_MessageValue)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_doc_proto_rawDesc, - NumEnums: 1, - NumMessages: 37, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_doc_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_doc_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_doc_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_doc_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_doc_proto = out.File - file_buf_alpha_registry_v1alpha1_doc_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_doc_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_doc_proto_depIdxs = nil -} 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 a06ba9f040..02faa12108 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/download.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -38,13 +36,12 @@ const ( // DownloadRequest specifies the module to download. type DownloadRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DownloadRequest) Reset() { @@ -74,35 +71,35 @@ func (x *DownloadRequest) ProtoReflect() protoreflect.Message { func (x *DownloadRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *DownloadRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *DownloadRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *DownloadRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *DownloadRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *DownloadRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } type DownloadRequest_builder struct { @@ -118,18 +115,18 @@ func (b0 DownloadRequest_builder) Build() *DownloadRequest { m0 := &DownloadRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Reference = b.Reference + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Reference = b.Reference return m0 } // DownloadResponse contains the remote module. type DownloadResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Module *v1alpha1.Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Module *v1alpha1.Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DownloadResponse) Reset() { @@ -159,24 +156,24 @@ func (x *DownloadResponse) ProtoReflect() protoreflect.Message { func (x *DownloadResponse) GetModule() *v1alpha1.Module { if x != nil { - return x.Module + return x.xxx_hidden_Module } return nil } func (x *DownloadResponse) SetModule(v *v1alpha1.Module) { - x.Module = v + x.xxx_hidden_Module = v } func (x *DownloadResponse) HasModule() bool { if x == nil { return false } - return x.Module != nil + return x.xxx_hidden_Module != nil } func (x *DownloadResponse) ClearModule() { - x.Module = nil + x.xxx_hidden_Module = nil } type DownloadResponse_builder struct { @@ -189,19 +186,18 @@ func (b0 DownloadResponse_builder) Build() *DownloadResponse { m0 := &DownloadResponse{} b, x := &b0, m0 _, _ = b, x - x.Module = b.Module + x.xxx_hidden_Module = b.Module return m0 } // DownloadManifestAndBlobsRequest specifies the module to download. type DownloadManifestAndBlobsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DownloadManifestAndBlobsRequest) Reset() { @@ -231,35 +227,35 @@ func (x *DownloadManifestAndBlobsRequest) ProtoReflect() protoreflect.Message { func (x *DownloadManifestAndBlobsRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *DownloadManifestAndBlobsRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *DownloadManifestAndBlobsRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *DownloadManifestAndBlobsRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *DownloadManifestAndBlobsRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *DownloadManifestAndBlobsRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } type DownloadManifestAndBlobsRequest_builder struct { @@ -275,28 +271,19 @@ func (b0 DownloadManifestAndBlobsRequest_builder) Build() *DownloadManifestAndBl m0 := &DownloadManifestAndBlobsRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Reference = b.Reference + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Reference = b.Reference return m0 } // DownloadManifestAndBlobsResponse is the returned resolved remote module. type DownloadManifestAndBlobsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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: - // - // :[SP][SP][LF] - // - // The only supported digest type is 'shake256'. The shake256 digest consists of 64 bytes of lowercase hex - // encoded output of SHAKE256. - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Manifest *v1alpha1.Blob `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` + xxx_hidden_Blobs *[]*v1alpha1.Blob `protobuf:"bytes,2,rep,name=blobs,proto3" json:"blobs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DownloadManifestAndBlobsResponse) Reset() { @@ -326,35 +313,37 @@ func (x *DownloadManifestAndBlobsResponse) ProtoReflect() protoreflect.Message { func (x *DownloadManifestAndBlobsResponse) GetManifest() *v1alpha1.Blob { if x != nil { - return x.Manifest + return x.xxx_hidden_Manifest } return nil } func (x *DownloadManifestAndBlobsResponse) GetBlobs() []*v1alpha1.Blob { if x != nil { - return x.Blobs + if x.xxx_hidden_Blobs != nil { + return *x.xxx_hidden_Blobs + } } return nil } func (x *DownloadManifestAndBlobsResponse) SetManifest(v *v1alpha1.Blob) { - x.Manifest = v + x.xxx_hidden_Manifest = v } func (x *DownloadManifestAndBlobsResponse) SetBlobs(v []*v1alpha1.Blob) { - x.Blobs = v + x.xxx_hidden_Blobs = &v } func (x *DownloadManifestAndBlobsResponse) HasManifest() bool { if x == nil { return false } - return x.Manifest != nil + return x.xxx_hidden_Manifest != nil } func (x *DownloadManifestAndBlobsResponse) ClearManifest() { - x.Manifest = nil + x.xxx_hidden_Manifest = nil } type DownloadManifestAndBlobsResponse_builder struct { @@ -377,8 +366,8 @@ func (b0 DownloadManifestAndBlobsResponse_builder) Build() *DownloadManifestAndB m0 := &DownloadManifestAndBlobsResponse{} b, x := &b0, m0 _, _ = b, x - x.Manifest = b.Manifest - x.Blobs = b.Blobs + x.xxx_hidden_Manifest = b.Manifest + x.xxx_hidden_Blobs = &b.Blobs return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/download_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/download_protoopaque.pb.go deleted file mode 100644 index deacae91db..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/download_protoopaque.pb.go +++ /dev/null @@ -1,500 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/download.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - v1alpha1 "github.com/bufbuild/buf/private/gen/proto/go/buf/alpha/module/v1alpha1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// DownloadRequest specifies the module to download. -type DownloadRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DownloadRequest) Reset() { - *x = DownloadRequest{} - mi := &file_buf_alpha_registry_v1alpha1_download_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DownloadRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DownloadRequest) ProtoMessage() {} - -func (x *DownloadRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_download_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DownloadRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *DownloadRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *DownloadRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *DownloadRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *DownloadRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *DownloadRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -type DownloadRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - // Optional reference (if unspecified, will use the repository's default_branch). - Reference string -} - -func (b0 DownloadRequest_builder) Build() *DownloadRequest { - m0 := &DownloadRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Reference = b.Reference - return m0 -} - -// DownloadResponse contains the remote module. -type DownloadResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Module *v1alpha1.Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DownloadResponse) Reset() { - *x = DownloadResponse{} - mi := &file_buf_alpha_registry_v1alpha1_download_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DownloadResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DownloadResponse) ProtoMessage() {} - -func (x *DownloadResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_download_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DownloadResponse) GetModule() *v1alpha1.Module { - if x != nil { - return x.xxx_hidden_Module - } - return nil -} - -func (x *DownloadResponse) SetModule(v *v1alpha1.Module) { - x.xxx_hidden_Module = v -} - -func (x *DownloadResponse) HasModule() bool { - if x == nil { - return false - } - return x.xxx_hidden_Module != nil -} - -func (x *DownloadResponse) ClearModule() { - x.xxx_hidden_Module = nil -} - -type DownloadResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Module *v1alpha1.Module -} - -func (b0 DownloadResponse_builder) Build() *DownloadResponse { - m0 := &DownloadResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Module = b.Module - return m0 -} - -// DownloadManifestAndBlobsRequest specifies the module to download. -type DownloadManifestAndBlobsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DownloadManifestAndBlobsRequest) Reset() { - *x = DownloadManifestAndBlobsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_download_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DownloadManifestAndBlobsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DownloadManifestAndBlobsRequest) ProtoMessage() {} - -func (x *DownloadManifestAndBlobsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_download_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DownloadManifestAndBlobsRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *DownloadManifestAndBlobsRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *DownloadManifestAndBlobsRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *DownloadManifestAndBlobsRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *DownloadManifestAndBlobsRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *DownloadManifestAndBlobsRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -type DownloadManifestAndBlobsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - // Optional reference (if unspecified, will use the repository's default_branch). - Reference string -} - -func (b0 DownloadManifestAndBlobsRequest_builder) Build() *DownloadManifestAndBlobsRequest { - m0 := &DownloadManifestAndBlobsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Reference = b.Reference - return m0 -} - -// DownloadManifestAndBlobsResponse is the returned resolved remote module. -type DownloadManifestAndBlobsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Manifest *v1alpha1.Blob `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` - xxx_hidden_Blobs *[]*v1alpha1.Blob `protobuf:"bytes,2,rep,name=blobs,proto3" json:"blobs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DownloadManifestAndBlobsResponse) Reset() { - *x = DownloadManifestAndBlobsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_download_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DownloadManifestAndBlobsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DownloadManifestAndBlobsResponse) ProtoMessage() {} - -func (x *DownloadManifestAndBlobsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_download_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DownloadManifestAndBlobsResponse) GetManifest() *v1alpha1.Blob { - if x != nil { - return x.xxx_hidden_Manifest - } - return nil -} - -func (x *DownloadManifestAndBlobsResponse) GetBlobs() []*v1alpha1.Blob { - if x != nil { - if x.xxx_hidden_Blobs != nil { - return *x.xxx_hidden_Blobs - } - } - return nil -} - -func (x *DownloadManifestAndBlobsResponse) SetManifest(v *v1alpha1.Blob) { - x.xxx_hidden_Manifest = v -} - -func (x *DownloadManifestAndBlobsResponse) SetBlobs(v []*v1alpha1.Blob) { - x.xxx_hidden_Blobs = &v -} - -func (x *DownloadManifestAndBlobsResponse) HasManifest() bool { - if x == nil { - return false - } - return x.xxx_hidden_Manifest != nil -} - -func (x *DownloadManifestAndBlobsResponse) ClearManifest() { - x.xxx_hidden_Manifest = nil -} - -type DownloadManifestAndBlobsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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: - // - // :[SP][SP][LF] - // - // The only supported digest type is 'shake256'. The shake256 digest consists of 64 bytes of lowercase hex - // encoded output of SHAKE256. - Manifest *v1alpha1.Blob - // blobs is a set of blobs that closes on the module's manifest to form the - // complete module's content. - Blobs []*v1alpha1.Blob -} - -func (b0 DownloadManifestAndBlobsResponse_builder) Build() *DownloadManifestAndBlobsResponse { - m0 := &DownloadManifestAndBlobsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Manifest = b.Manifest - x.xxx_hidden_Blobs = &b.Blobs - return m0 -} - -var File_buf_alpha_registry_v1alpha1_download_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_download_proto_rawDesc = []byte{ - 0x0a, 0x2a, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x64, 0x6f, - 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x65, 0x0a, 0x0f, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x4d, 0x0a, 0x10, 0x44, 0x6f, 0x77, 0x6e, - 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x06, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, - 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x22, 0x75, 0x0a, 0x1f, 0x44, 0x6f, 0x77, 0x6e, 0x6c, - 0x6f, 0x61, 0x64, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x41, 0x6e, 0x64, 0x42, 0x6c, - 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x96, - 0x01, 0x0a, 0x20, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x61, 0x6e, 0x69, 0x66, - 0x65, 0x73, 0x74, 0x41, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, - 0x12, 0x35, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x62, - 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x32, 0x9e, 0x02, 0x0a, 0x0f, 0x44, 0x6f, 0x77, 0x6e, - 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x08, 0x44, - 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x2c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x9c, 0x01, 0x0a, 0x18, 0x44, 0x6f, - 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x41, 0x6e, - 0x64, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x61, 0x6e, - 0x69, 0x66, 0x65, 0x73, 0x74, 0x41, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x61, 0x6e, 0x69, 0x66, - 0x65, 0x73, 0x74, 0x41, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x9a, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0d, 0x44, 0x6f, - 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, - 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, - 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, - 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, - 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_download_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_buf_alpha_registry_v1alpha1_download_proto_goTypes = []any{ - (*DownloadRequest)(nil), // 0: buf.alpha.registry.v1alpha1.DownloadRequest - (*DownloadResponse)(nil), // 1: buf.alpha.registry.v1alpha1.DownloadResponse - (*DownloadManifestAndBlobsRequest)(nil), // 2: buf.alpha.registry.v1alpha1.DownloadManifestAndBlobsRequest - (*DownloadManifestAndBlobsResponse)(nil), // 3: buf.alpha.registry.v1alpha1.DownloadManifestAndBlobsResponse - (*v1alpha1.Module)(nil), // 4: buf.alpha.module.v1alpha1.Module - (*v1alpha1.Blob)(nil), // 5: buf.alpha.module.v1alpha1.Blob -} -var file_buf_alpha_registry_v1alpha1_download_proto_depIdxs = []int32{ - 4, // 0: buf.alpha.registry.v1alpha1.DownloadResponse.module:type_name -> buf.alpha.module.v1alpha1.Module - 5, // 1: buf.alpha.registry.v1alpha1.DownloadManifestAndBlobsResponse.manifest:type_name -> buf.alpha.module.v1alpha1.Blob - 5, // 2: buf.alpha.registry.v1alpha1.DownloadManifestAndBlobsResponse.blobs:type_name -> buf.alpha.module.v1alpha1.Blob - 0, // 3: buf.alpha.registry.v1alpha1.DownloadService.Download:input_type -> buf.alpha.registry.v1alpha1.DownloadRequest - 2, // 4: buf.alpha.registry.v1alpha1.DownloadService.DownloadManifestAndBlobs:input_type -> buf.alpha.registry.v1alpha1.DownloadManifestAndBlobsRequest - 1, // 5: buf.alpha.registry.v1alpha1.DownloadService.Download:output_type -> buf.alpha.registry.v1alpha1.DownloadResponse - 3, // 6: buf.alpha.registry.v1alpha1.DownloadService.DownloadManifestAndBlobs:output_type -> buf.alpha.registry.v1alpha1.DownloadManifestAndBlobsResponse - 5, // [5:7] is the sub-list for method output_type - 3, // [3:5] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_download_proto_init() } -func file_buf_alpha_registry_v1alpha1_download_proto_init() { - if File_buf_alpha_registry_v1alpha1_download_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_download_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_download_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_download_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_download_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_download_proto = out.File - file_buf_alpha_registry_v1alpha1_download_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_download_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_download_proto_depIdxs = nil -} 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 9f0c712396..8b5065ec8a 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/git_metadata.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -38,15 +36,12 @@ const ( // GitIdentity is a Git user identity, typically either an author or a committer. type GitIdentity struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + xxx_hidden_Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GitIdentity) Reset() { @@ -76,46 +71,46 @@ func (x *GitIdentity) ProtoReflect() protoreflect.Message { func (x *GitIdentity) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *GitIdentity) GetEmail() string { if x != nil { - return x.Email + return x.xxx_hidden_Email } return "" } func (x *GitIdentity) GetTime() *timestamppb.Timestamp { if x != nil { - return x.Time + return x.xxx_hidden_Time } return nil } func (x *GitIdentity) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *GitIdentity) SetEmail(v string) { - x.Email = v + x.xxx_hidden_Email = v } func (x *GitIdentity) SetTime(v *timestamppb.Timestamp) { - x.Time = v + x.xxx_hidden_Time = v } func (x *GitIdentity) HasTime() bool { if x == nil { return false } - return x.Time != nil + return x.xxx_hidden_Time != nil } func (x *GitIdentity) ClearTime() { - x.Time = nil + x.xxx_hidden_Time = nil } type GitIdentity_builder struct { @@ -133,9 +128,9 @@ func (b0 GitIdentity_builder) Build() *GitIdentity { m0 := &GitIdentity{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Email = b.Email - x.Time = b.Time + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Email = b.Email + x.xxx_hidden_Time = b.Time return m0 } @@ -143,17 +138,12 @@ func (b0 GitIdentity_builder) Build() *GitIdentity { // This always includes the hash. // The author and/or committer user identities are included when available. type GitCommitInformation struct { - state protoimpl.MessageState `protogen:"hybrid.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. - // This may not always be available, so it is not always populated. - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + xxx_hidden_Author *GitIdentity `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` + xxx_hidden_Committer *GitIdentity `protobuf:"bytes,3,opt,name=committer,proto3" json:"committer,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GitCommitInformation) Reset() { @@ -183,57 +173,57 @@ func (x *GitCommitInformation) ProtoReflect() protoreflect.Message { func (x *GitCommitInformation) GetHash() string { if x != nil { - return x.Hash + return x.xxx_hidden_Hash } return "" } func (x *GitCommitInformation) GetAuthor() *GitIdentity { if x != nil { - return x.Author + return x.xxx_hidden_Author } return nil } func (x *GitCommitInformation) GetCommitter() *GitIdentity { if x != nil { - return x.Committer + return x.xxx_hidden_Committer } return nil } func (x *GitCommitInformation) SetHash(v string) { - x.Hash = v + x.xxx_hidden_Hash = v } func (x *GitCommitInformation) SetAuthor(v *GitIdentity) { - x.Author = v + x.xxx_hidden_Author = v } func (x *GitCommitInformation) SetCommitter(v *GitIdentity) { - x.Committer = v + x.xxx_hidden_Committer = v } func (x *GitCommitInformation) HasAuthor() bool { if x == nil { return false } - return x.Author != nil + return x.xxx_hidden_Author != nil } func (x *GitCommitInformation) HasCommitter() bool { if x == nil { return false } - return x.Committer != nil + return x.xxx_hidden_Committer != nil } func (x *GitCommitInformation) ClearAuthor() { - x.Author = nil + x.xxx_hidden_Author = nil } func (x *GitCommitInformation) ClearCommitter() { - x.Committer = nil + x.xxx_hidden_Committer = nil } type GitCommitInformation_builder struct { @@ -253,9 +243,9 @@ func (b0 GitCommitInformation_builder) Build() *GitCommitInformation { m0 := &GitCommitInformation{} b, x := &b0, m0 _, _ = b, x - x.Hash = b.Hash - x.Author = b.Author - x.Committer = b.Committer + x.xxx_hidden_Hash = b.Hash + x.xxx_hidden_Author = b.Author + x.xxx_hidden_Committer = b.Committer return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/git_metadata_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/git_metadata_protoopaque.pb.go deleted file mode 100644 index a9da17b53a..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/git_metadata_protoopaque.pb.go +++ /dev/null @@ -1,343 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/git_metadata.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// GitIdentity is a Git user identity, typically either an author or a committer. -type GitIdentity struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - xxx_hidden_Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GitIdentity) Reset() { - *x = GitIdentity{} - mi := &file_buf_alpha_registry_v1alpha1_git_metadata_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GitIdentity) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GitIdentity) ProtoMessage() {} - -func (x *GitIdentity) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_git_metadata_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GitIdentity) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *GitIdentity) GetEmail() string { - if x != nil { - return x.xxx_hidden_Email - } - return "" -} - -func (x *GitIdentity) GetTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_Time - } - return nil -} - -func (x *GitIdentity) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *GitIdentity) SetEmail(v string) { - x.xxx_hidden_Email = v -} - -func (x *GitIdentity) SetTime(v *timestamppb.Timestamp) { - x.xxx_hidden_Time = v -} - -func (x *GitIdentity) HasTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_Time != nil -} - -func (x *GitIdentity) ClearTime() { - x.xxx_hidden_Time = nil -} - -type GitIdentity_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Name is the name of the Git identity. This is not the BSR user's username. - Name string - // Email is the email of the Git identity. This is not the BSR user's email. - Email string - // Time is the time at which this identity was captured. - Time *timestamppb.Timestamp -} - -func (b0 GitIdentity_builder) Build() *GitIdentity { - m0 := &GitIdentity{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Email = b.Email - x.xxx_hidden_Time = b.Time - return m0 -} - -// GitCommitInformation is the information associated with a Git commit. -// This always includes the hash. -// The author and/or committer user identities are included when available. -type GitCommitInformation struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - xxx_hidden_Author *GitIdentity `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` - xxx_hidden_Committer *GitIdentity `protobuf:"bytes,3,opt,name=committer,proto3" json:"committer,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GitCommitInformation) Reset() { - *x = GitCommitInformation{} - mi := &file_buf_alpha_registry_v1alpha1_git_metadata_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GitCommitInformation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GitCommitInformation) ProtoMessage() {} - -func (x *GitCommitInformation) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_git_metadata_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GitCommitInformation) GetHash() string { - if x != nil { - return x.xxx_hidden_Hash - } - return "" -} - -func (x *GitCommitInformation) GetAuthor() *GitIdentity { - if x != nil { - return x.xxx_hidden_Author - } - return nil -} - -func (x *GitCommitInformation) GetCommitter() *GitIdentity { - if x != nil { - return x.xxx_hidden_Committer - } - return nil -} - -func (x *GitCommitInformation) SetHash(v string) { - x.xxx_hidden_Hash = v -} - -func (x *GitCommitInformation) SetAuthor(v *GitIdentity) { - x.xxx_hidden_Author = v -} - -func (x *GitCommitInformation) SetCommitter(v *GitIdentity) { - x.xxx_hidden_Committer = v -} - -func (x *GitCommitInformation) HasAuthor() bool { - if x == nil { - return false - } - return x.xxx_hidden_Author != nil -} - -func (x *GitCommitInformation) HasCommitter() bool { - if x == nil { - return false - } - return x.xxx_hidden_Committer != nil -} - -func (x *GitCommitInformation) ClearAuthor() { - x.xxx_hidden_Author = nil -} - -func (x *GitCommitInformation) ClearCommitter() { - x.xxx_hidden_Committer = nil -} - -type GitCommitInformation_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Hash is the SHA1 hash of the git commit. - Hash string - // Author is metadata associated with the author of the git commit. - // This may not always be available, so it is not always populated. - Author *GitIdentity - // 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 -} - -func (b0 GitCommitInformation_builder) Build() *GitCommitInformation { - m0 := &GitCommitInformation{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Hash = b.Hash - x.xxx_hidden_Author = b.Author - x.xxx_hidden_Committer = b.Committer - return m0 -} - -var File_buf_alpha_registry_v1alpha1_git_metadata_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_git_metadata_proto_rawDesc = []byte{ - 0x0a, 0x2e, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x69, - 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1f, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x67, - 0x0a, 0x0b, 0x47, 0x69, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xb4, 0x01, 0x0a, 0x14, 0x47, 0x69, 0x74, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x68, 0x61, 0x73, 0x68, 0x12, 0x40, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x69, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x06, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x46, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x69, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x42, 0x9d, - 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x42, 0x10, 0x47, 0x69, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, - 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, - 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_git_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_buf_alpha_registry_v1alpha1_git_metadata_proto_goTypes = []any{ - (*GitIdentity)(nil), // 0: buf.alpha.registry.v1alpha1.GitIdentity - (*GitCommitInformation)(nil), // 1: buf.alpha.registry.v1alpha1.GitCommitInformation - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp -} -var file_buf_alpha_registry_v1alpha1_git_metadata_proto_depIdxs = []int32{ - 2, // 0: buf.alpha.registry.v1alpha1.GitIdentity.time:type_name -> google.protobuf.Timestamp - 0, // 1: buf.alpha.registry.v1alpha1.GitCommitInformation.author:type_name -> buf.alpha.registry.v1alpha1.GitIdentity - 0, // 2: buf.alpha.registry.v1alpha1.GitCommitInformation.committer:type_name -> buf.alpha.registry.v1alpha1.GitIdentity - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_git_metadata_proto_init() } -func file_buf_alpha_registry_v1alpha1_git_metadata_proto_init() { - if File_buf_alpha_registry_v1alpha1_git_metadata_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_git_metadata_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_git_metadata_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_git_metadata_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_git_metadata_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_git_metadata_proto = out.File - file_buf_alpha_registry_v1alpha1_git_metadata_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_git_metadata_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_git_metadata_proto_depIdxs = nil -} 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 bf45f0c2a9..4627d59e4f 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/github.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -36,10 +34,10 @@ const ( ) type GithubAppConfig struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GithubAppConfig) Reset() { @@ -69,13 +67,13 @@ func (x *GithubAppConfig) ProtoReflect() protoreflect.Message { func (x *GithubAppConfig) GetAppId() string { if x != nil { - return x.AppId + return x.xxx_hidden_AppId } return "" } func (x *GithubAppConfig) SetAppId(v string) { - x.AppId = v + x.xxx_hidden_AppId = v } type GithubAppConfig_builder struct { @@ -88,12 +86,12 @@ func (b0 GithubAppConfig_builder) Build() *GithubAppConfig { m0 := &GithubAppConfig{} b, x := &b0, m0 _, _ = b, x - x.AppId = b.AppId + x.xxx_hidden_AppId = b.AppId return m0 } type GetGithubAppConfigRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -136,10 +134,10 @@ func (b0 GetGithubAppConfigRequest_builder) Build() *GetGithubAppConfigRequest { } type GetGithubAppConfigResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - AppConfig *GithubAppConfig `protobuf:"bytes,1,opt,name=app_config,json=appConfig,proto3" json:"app_config,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_AppConfig *GithubAppConfig `protobuf:"bytes,1,opt,name=app_config,json=appConfig,proto3" json:"app_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetGithubAppConfigResponse) Reset() { @@ -169,24 +167,24 @@ func (x *GetGithubAppConfigResponse) ProtoReflect() protoreflect.Message { func (x *GetGithubAppConfigResponse) GetAppConfig() *GithubAppConfig { if x != nil { - return x.AppConfig + return x.xxx_hidden_AppConfig } return nil } func (x *GetGithubAppConfigResponse) SetAppConfig(v *GithubAppConfig) { - x.AppConfig = v + x.xxx_hidden_AppConfig = v } func (x *GetGithubAppConfigResponse) HasAppConfig() bool { if x == nil { return false } - return x.AppConfig != nil + return x.xxx_hidden_AppConfig != nil } func (x *GetGithubAppConfigResponse) ClearAppConfig() { - x.AppConfig = nil + x.xxx_hidden_AppConfig = nil } type GetGithubAppConfigResponse_builder struct { @@ -199,7 +197,7 @@ func (b0 GetGithubAppConfigResponse_builder) Build() *GetGithubAppConfigResponse m0 := &GetGithubAppConfigResponse{} b, x := &b0, m0 _, _ = b, x - x.AppConfig = b.AppConfig + x.xxx_hidden_AppConfig = b.AppConfig return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/github_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/github_protoopaque.pb.go deleted file mode 100644 index 999f848ef2..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/github_protoopaque.pb.go +++ /dev/null @@ -1,295 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/github.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type GithubAppConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GithubAppConfig) Reset() { - *x = GithubAppConfig{} - mi := &file_buf_alpha_registry_v1alpha1_github_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GithubAppConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GithubAppConfig) ProtoMessage() {} - -func (x *GithubAppConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_github_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GithubAppConfig) GetAppId() string { - if x != nil { - return x.xxx_hidden_AppId - } - return "" -} - -func (x *GithubAppConfig) SetAppId(v string) { - x.xxx_hidden_AppId = v -} - -type GithubAppConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - AppId string -} - -func (b0 GithubAppConfig_builder) Build() *GithubAppConfig { - m0 := &GithubAppConfig{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_AppId = b.AppId - return m0 -} - -type GetGithubAppConfigRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetGithubAppConfigRequest) Reset() { - *x = GetGithubAppConfigRequest{} - mi := &file_buf_alpha_registry_v1alpha1_github_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetGithubAppConfigRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetGithubAppConfigRequest) ProtoMessage() {} - -func (x *GetGithubAppConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_github_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type GetGithubAppConfigRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 GetGithubAppConfigRequest_builder) Build() *GetGithubAppConfigRequest { - m0 := &GetGithubAppConfigRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetGithubAppConfigResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_AppConfig *GithubAppConfig `protobuf:"bytes,1,opt,name=app_config,json=appConfig,proto3" json:"app_config,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetGithubAppConfigResponse) Reset() { - *x = GetGithubAppConfigResponse{} - mi := &file_buf_alpha_registry_v1alpha1_github_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetGithubAppConfigResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetGithubAppConfigResponse) ProtoMessage() {} - -func (x *GetGithubAppConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_github_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetGithubAppConfigResponse) GetAppConfig() *GithubAppConfig { - if x != nil { - return x.xxx_hidden_AppConfig - } - return nil -} - -func (x *GetGithubAppConfigResponse) SetAppConfig(v *GithubAppConfig) { - x.xxx_hidden_AppConfig = v -} - -func (x *GetGithubAppConfigResponse) HasAppConfig() bool { - if x == nil { - return false - } - return x.xxx_hidden_AppConfig != nil -} - -func (x *GetGithubAppConfigResponse) ClearAppConfig() { - x.xxx_hidden_AppConfig = nil -} - -type GetGithubAppConfigResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - AppConfig *GithubAppConfig -} - -func (b0 GetGithubAppConfigResponse_builder) Build() *GetGithubAppConfigResponse { - m0 := &GetGithubAppConfigResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_AppConfig = b.AppConfig - return m0 -} - -var File_buf_alpha_registry_v1alpha1_github_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_github_proto_rawDesc = []byte{ - 0x0a, 0x28, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x28, 0x0a, 0x0f, 0x47, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x41, 0x70, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x70, - 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, - 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x47, 0x69, 0x74, 0x68, 0x75, 0x62, 0x41, 0x70, - 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x69, - 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x47, 0x69, 0x74, 0x68, 0x75, 0x62, 0x41, 0x70, 0x70, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0a, - 0x61, 0x70, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x41, 0x70, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, - 0x61, 0x70, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x9c, 0x01, 0x0a, 0x0d, 0x47, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x12, - 0x47, 0x65, 0x74, 0x47, 0x69, 0x74, 0x68, 0x75, 0x62, 0x41, 0x70, 0x70, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x12, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x47, 0x69, 0x74, 0x68, 0x75, 0x62, 0x41, 0x70, 0x70, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x41, 0x70, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x98, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0b, 0x47, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, - 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, - 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, - 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, - 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, - 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_github_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_buf_alpha_registry_v1alpha1_github_proto_goTypes = []any{ - (*GithubAppConfig)(nil), // 0: buf.alpha.registry.v1alpha1.GithubAppConfig - (*GetGithubAppConfigRequest)(nil), // 1: buf.alpha.registry.v1alpha1.GetGithubAppConfigRequest - (*GetGithubAppConfigResponse)(nil), // 2: buf.alpha.registry.v1alpha1.GetGithubAppConfigResponse -} -var file_buf_alpha_registry_v1alpha1_github_proto_depIdxs = []int32{ - 0, // 0: buf.alpha.registry.v1alpha1.GetGithubAppConfigResponse.app_config:type_name -> buf.alpha.registry.v1alpha1.GithubAppConfig - 1, // 1: buf.alpha.registry.v1alpha1.GithubService.GetGithubAppConfig:input_type -> buf.alpha.registry.v1alpha1.GetGithubAppConfigRequest - 2, // 2: buf.alpha.registry.v1alpha1.GithubService.GetGithubAppConfig:output_type -> buf.alpha.registry.v1alpha1.GetGithubAppConfigResponse - 2, // [2:3] is the sub-list for method output_type - 1, // [1:2] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_github_proto_init() } -func file_buf_alpha_registry_v1alpha1_github_proto_init() { - if File_buf_alpha_registry_v1alpha1_github_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_github_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_github_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_github_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_github_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_github_proto = out.File - file_buf_alpha_registry_v1alpha1_github_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_github_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_github_proto_depIdxs = nil -} 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 af4a5f0d8b..1ed67e7769 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/image.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -92,32 +90,16 @@ func (x ImageMask) Number() protoreflect.EnumNumber { } type GetImageRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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. - ExcludeImports bool `protobuf:"varint,4,opt,name=exclude_imports,json=excludeImports,proto3" json:"exclude_imports,omitempty"` - // Exclude source_code_info fields from each ImageFile. - ExcludeSourceInfo bool `protobuf:"varint,5,opt,name=exclude_source_info,json=excludeSourceInfo,proto3" json:"exclude_source_info,omitempty"` - // When specified the returned image will only contain the necessary files and - // descriptors in those files to describe these types. Accepts messages, enums - // and services. All types must be defined in the buf module, types in - // dependencies are not accepted. - // - // At this time specifying `types` requires `exclude_source_info` to be set to - // true. - Types []string `protobuf:"bytes,6,rep,name=types,proto3" json:"types,omitempty"` - // When not empty, the returned image's files will only include - // *DescriptorProto fields for the elements specified here. The masks are - // applied without regard for dependencies between types. For example, if - // `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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + xxx_hidden_ExcludeImports bool `protobuf:"varint,4,opt,name=exclude_imports,json=excludeImports,proto3" json:"exclude_imports,omitempty"` + xxx_hidden_ExcludeSourceInfo bool `protobuf:"varint,5,opt,name=exclude_source_info,json=excludeSourceInfo,proto3" json:"exclude_source_info,omitempty"` + xxx_hidden_Types []string `protobuf:"bytes,6,rep,name=types,proto3" json:"types,omitempty"` + xxx_hidden_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() { @@ -147,79 +129,79 @@ func (x *GetImageRequest) ProtoReflect() protoreflect.Message { func (x *GetImageRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetImageRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *GetImageRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *GetImageRequest) GetExcludeImports() bool { if x != nil { - return x.ExcludeImports + return x.xxx_hidden_ExcludeImports } return false } func (x *GetImageRequest) GetExcludeSourceInfo() bool { if x != nil { - return x.ExcludeSourceInfo + return x.xxx_hidden_ExcludeSourceInfo } return false } func (x *GetImageRequest) GetTypes() []string { if x != nil { - return x.Types + return x.xxx_hidden_Types } return nil } func (x *GetImageRequest) GetIncludeMask() []ImageMask { if x != nil { - return x.IncludeMask + return x.xxx_hidden_IncludeMask } return nil } func (x *GetImageRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetImageRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *GetImageRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } func (x *GetImageRequest) SetExcludeImports(v bool) { - x.ExcludeImports = v + x.xxx_hidden_ExcludeImports = v } func (x *GetImageRequest) SetExcludeSourceInfo(v bool) { - x.ExcludeSourceInfo = v + x.xxx_hidden_ExcludeSourceInfo = v } func (x *GetImageRequest) SetTypes(v []string) { - x.Types = v + x.xxx_hidden_Types = v } func (x *GetImageRequest) SetIncludeMask(v []ImageMask) { - x.IncludeMask = v + x.xxx_hidden_IncludeMask = v } type GetImageRequest_builder struct { @@ -254,21 +236,21 @@ func (b0 GetImageRequest_builder) Build() *GetImageRequest { m0 := &GetImageRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Reference = b.Reference - x.ExcludeImports = b.ExcludeImports - x.ExcludeSourceInfo = b.ExcludeSourceInfo - x.Types = b.Types - x.IncludeMask = b.IncludeMask + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Reference = b.Reference + x.xxx_hidden_ExcludeImports = b.ExcludeImports + x.xxx_hidden_ExcludeSourceInfo = b.ExcludeSourceInfo + x.xxx_hidden_Types = b.Types + x.xxx_hidden_IncludeMask = b.IncludeMask return m0 } type GetImageResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Image *v1.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Image *v1.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetImageResponse) Reset() { @@ -298,24 +280,24 @@ func (x *GetImageResponse) ProtoReflect() protoreflect.Message { func (x *GetImageResponse) GetImage() *v1.Image { if x != nil { - return x.Image + return x.xxx_hidden_Image } return nil } func (x *GetImageResponse) SetImage(v *v1.Image) { - x.Image = v + x.xxx_hidden_Image = v } func (x *GetImageResponse) HasImage() bool { if x == nil { return false } - return x.Image != nil + return x.xxx_hidden_Image != nil } func (x *GetImageResponse) ClearImage() { - x.Image = nil + x.xxx_hidden_Image = nil } type GetImageResponse_builder struct { @@ -328,7 +310,7 @@ func (b0 GetImageResponse_builder) Build() *GetImageResponse { m0 := &GetImageResponse{} b, x := &b0, m0 _, _ = b, x - x.Image = b.Image + x.xxx_hidden_Image = b.Image return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/image_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/image_protoopaque.pb.go deleted file mode 100644 index 609fb3d9ef..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/image_protoopaque.pb.go +++ /dev/null @@ -1,430 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/image.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - v1 "github.com/bufbuild/buf/private/gen/proto/go/buf/alpha/image/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// ImageMask is used in GetImageRequest to specify which parts of an image -// should be masked in responses. -type ImageMask int32 - -const ( - ImageMask_IMAGE_MASK_UNSPECIFIED ImageMask = 0 - // IMAGE_MASK_MESSAGES refers to ImageFile's `google.protobuf.DescriptorProto - // message_type` field. - ImageMask_IMAGE_MASK_MESSAGES ImageMask = 1 - // IMAGE_MASK_ENUMS refers to ImageFile's `google.protobuf.EnumDescriptorProto - // enum_type` field. - ImageMask_IMAGE_MASK_ENUMS ImageMask = 2 - // IMAGE_MASK_SERVICES refers to ImageFile's - // `google.protobuf.ServiceDescriptorProto service` field. - ImageMask_IMAGE_MASK_SERVICES ImageMask = 3 -) - -// Enum value maps for ImageMask. -var ( - ImageMask_name = map[int32]string{ - 0: "IMAGE_MASK_UNSPECIFIED", - 1: "IMAGE_MASK_MESSAGES", - 2: "IMAGE_MASK_ENUMS", - 3: "IMAGE_MASK_SERVICES", - } - ImageMask_value = map[string]int32{ - "IMAGE_MASK_UNSPECIFIED": 0, - "IMAGE_MASK_MESSAGES": 1, - "IMAGE_MASK_ENUMS": 2, - "IMAGE_MASK_SERVICES": 3, - } -) - -func (x ImageMask) Enum() *ImageMask { - p := new(ImageMask) - *p = x - return p -} - -func (x ImageMask) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ImageMask) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_image_proto_enumTypes[0].Descriptor() -} - -func (ImageMask) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_image_proto_enumTypes[0] -} - -func (x ImageMask) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type GetImageRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - xxx_hidden_ExcludeImports bool `protobuf:"varint,4,opt,name=exclude_imports,json=excludeImports,proto3" json:"exclude_imports,omitempty"` - xxx_hidden_ExcludeSourceInfo bool `protobuf:"varint,5,opt,name=exclude_source_info,json=excludeSourceInfo,proto3" json:"exclude_source_info,omitempty"` - xxx_hidden_Types []string `protobuf:"bytes,6,rep,name=types,proto3" json:"types,omitempty"` - xxx_hidden_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() { - *x = GetImageRequest{} - mi := &file_buf_alpha_registry_v1alpha1_image_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetImageRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetImageRequest) ProtoMessage() {} - -func (x *GetImageRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_image_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetImageRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetImageRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *GetImageRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *GetImageRequest) GetExcludeImports() bool { - if x != nil { - return x.xxx_hidden_ExcludeImports - } - return false -} - -func (x *GetImageRequest) GetExcludeSourceInfo() bool { - if x != nil { - return x.xxx_hidden_ExcludeSourceInfo - } - return false -} - -func (x *GetImageRequest) GetTypes() []string { - if x != nil { - return x.xxx_hidden_Types - } - return nil -} - -func (x *GetImageRequest) GetIncludeMask() []ImageMask { - if x != nil { - return x.xxx_hidden_IncludeMask - } - return nil -} - -func (x *GetImageRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetImageRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *GetImageRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -func (x *GetImageRequest) SetExcludeImports(v bool) { - x.xxx_hidden_ExcludeImports = v -} - -func (x *GetImageRequest) SetExcludeSourceInfo(v bool) { - x.xxx_hidden_ExcludeSourceInfo = v -} - -func (x *GetImageRequest) SetTypes(v []string) { - x.xxx_hidden_Types = v -} - -func (x *GetImageRequest) SetIncludeMask(v []ImageMask) { - x.xxx_hidden_IncludeMask = v -} - -type GetImageRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - // Optional reference (if unspecified, will use the repository's default_branch). - Reference string - // Exclude files from imported buf modules in this image. - ExcludeImports bool - // Exclude source_code_info fields from each ImageFile. - ExcludeSourceInfo bool - // When specified the returned image will only contain the necessary files and - // descriptors in those files to describe these types. Accepts messages, enums - // and services. All types must be defined in the buf module, types in - // dependencies are not accepted. - // - // At this time specifying `types` requires `exclude_source_info` to be set to - // true. - Types []string - // When not empty, the returned image's files will only include - // *DescriptorProto fields for the elements specified here. The masks are - // applied without regard for dependencies between types. For example, if - // `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 -} - -func (b0 GetImageRequest_builder) Build() *GetImageRequest { - m0 := &GetImageRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Reference = b.Reference - x.xxx_hidden_ExcludeImports = b.ExcludeImports - x.xxx_hidden_ExcludeSourceInfo = b.ExcludeSourceInfo - x.xxx_hidden_Types = b.Types - x.xxx_hidden_IncludeMask = b.IncludeMask - return m0 -} - -type GetImageResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Image *v1.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetImageResponse) Reset() { - *x = GetImageResponse{} - mi := &file_buf_alpha_registry_v1alpha1_image_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetImageResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetImageResponse) ProtoMessage() {} - -func (x *GetImageResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_image_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetImageResponse) GetImage() *v1.Image { - if x != nil { - return x.xxx_hidden_Image - } - return nil -} - -func (x *GetImageResponse) SetImage(v *v1.Image) { - x.xxx_hidden_Image = v -} - -func (x *GetImageResponse) HasImage() bool { - if x == nil { - return false - } - return x.xxx_hidden_Image != nil -} - -func (x *GetImageResponse) ClearImage() { - x.xxx_hidden_Image = nil -} - -type GetImageResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Image *v1.Image -} - -func (b0 GetImageResponse_builder) Build() *GetImageResponse { - m0 := &GetImageResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Image = b.Image - return m0 -} - -var File_buf_alpha_registry_v1alpha1_image_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_image_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x69, 0x6d, - 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1e, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9f, 0x02, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, 0x6d, - 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x27, - 0x0a, 0x0f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, - 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x78, 0x63, 0x6c, 0x75, - 0x64, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x49, 0x0a, - 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x07, 0x20, - 0x03, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0b, 0x69, 0x6e, 0x63, - 0x6c, 0x75, 0x64, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x43, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x49, - 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x05, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2a, 0x6f, 0x0a, - 0x09, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x1a, 0x0a, 0x16, 0x49, 0x4d, - 0x41, 0x47, 0x45, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, - 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x5f, - 0x4d, 0x41, 0x53, 0x4b, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x53, 0x10, 0x01, 0x12, - 0x14, 0x0a, 0x10, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x5f, 0x45, 0x4e, - 0x55, 0x4d, 0x53, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x5f, 0x4d, - 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x53, 0x10, 0x03, 0x32, 0x7c, - 0x0a, 0x0c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, - 0x0a, 0x08, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x97, 0x02, 0x0a, - 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x42, 0x0a, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, - 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, - 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, - 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, - 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, - 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, - 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_image_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_buf_alpha_registry_v1alpha1_image_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_buf_alpha_registry_v1alpha1_image_proto_goTypes = []any{ - (ImageMask)(0), // 0: buf.alpha.registry.v1alpha1.ImageMask - (*GetImageRequest)(nil), // 1: buf.alpha.registry.v1alpha1.GetImageRequest - (*GetImageResponse)(nil), // 2: buf.alpha.registry.v1alpha1.GetImageResponse - (*v1.Image)(nil), // 3: buf.alpha.image.v1.Image -} -var file_buf_alpha_registry_v1alpha1_image_proto_depIdxs = []int32{ - 0, // 0: buf.alpha.registry.v1alpha1.GetImageRequest.include_mask:type_name -> buf.alpha.registry.v1alpha1.ImageMask - 3, // 1: buf.alpha.registry.v1alpha1.GetImageResponse.image:type_name -> buf.alpha.image.v1.Image - 1, // 2: buf.alpha.registry.v1alpha1.ImageService.GetImage:input_type -> buf.alpha.registry.v1alpha1.GetImageRequest - 2, // 3: buf.alpha.registry.v1alpha1.ImageService.GetImage:output_type -> buf.alpha.registry.v1alpha1.GetImageResponse - 3, // [3:4] is the sub-list for method output_type - 2, // [2:3] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_image_proto_init() } -func file_buf_alpha_registry_v1alpha1_image_proto_init() { - if File_buf_alpha_registry_v1alpha1_image_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_image_proto_rawDesc, - NumEnums: 1, - NumMessages: 2, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_image_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_image_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_image_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_image_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_image_proto = out.File - file_buf_alpha_registry_v1alpha1_image_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_image_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_image_proto_depIdxs = nil -} 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 e3fb8bdde9..c3d2099ef6 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/jsonschema.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -36,17 +34,13 @@ const ( ) type GetJSONSchemaRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + xxx_hidden_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() { @@ -76,46 +70,46 @@ func (x *GetJSONSchemaRequest) ProtoReflect() protoreflect.Message { func (x *GetJSONSchemaRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetJSONSchemaRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *GetJSONSchemaRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *GetJSONSchemaRequest) GetTypeName() string { if x != nil { - return x.TypeName + return x.xxx_hidden_TypeName } return "" } func (x *GetJSONSchemaRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetJSONSchemaRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *GetJSONSchemaRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } func (x *GetJSONSchemaRequest) SetTypeName(v string) { - x.TypeName = v + x.xxx_hidden_TypeName = v } type GetJSONSchemaRequest_builder struct { @@ -135,22 +129,18 @@ func (b0 GetJSONSchemaRequest_builder) Build() *GetJSONSchemaRequest { m0 := &GetJSONSchemaRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Reference = b.Reference - x.TypeName = b.TypeName + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Reference = b.Reference + x.xxx_hidden_TypeName = b.TypeName return m0 } type GetJSONSchemaResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -180,7 +170,7 @@ func (x *GetJSONSchemaResponse) ProtoReflect() protoreflect.Message { func (x *GetJSONSchemaResponse) GetJsonSchema() []byte { if x != nil { - return x.JsonSchema + return x.xxx_hidden_JsonSchema } return nil } @@ -189,7 +179,7 @@ func (x *GetJSONSchemaResponse) SetJsonSchema(v []byte) { if v == nil { v = []byte{} } - x.JsonSchema = v + x.xxx_hidden_JsonSchema = v } type GetJSONSchemaResponse_builder struct { @@ -206,7 +196,7 @@ func (b0 GetJSONSchemaResponse_builder) Build() *GetJSONSchemaResponse { m0 := &GetJSONSchemaResponse{} b, x := &b0, m0 _, _ = b, x - x.JsonSchema = b.JsonSchema + x.xxx_hidden_JsonSchema = b.JsonSchema return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/jsonschema_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/jsonschema_protoopaque.pb.go deleted file mode 100644 index f236033acb..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/jsonschema_protoopaque.pb.go +++ /dev/null @@ -1,293 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/jsonschema.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type GetJSONSchemaRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - xxx_hidden_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() { - *x = GetJSONSchemaRequest{} - mi := &file_buf_alpha_registry_v1alpha1_jsonschema_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetJSONSchemaRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetJSONSchemaRequest) ProtoMessage() {} - -func (x *GetJSONSchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_jsonschema_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetJSONSchemaRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetJSONSchemaRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *GetJSONSchemaRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *GetJSONSchemaRequest) GetTypeName() string { - if x != nil { - return x.xxx_hidden_TypeName - } - return "" -} - -func (x *GetJSONSchemaRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetJSONSchemaRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *GetJSONSchemaRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -func (x *GetJSONSchemaRequest) SetTypeName(v string) { - x.xxx_hidden_TypeName = v -} - -type GetJSONSchemaRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - // Optional reference (if unspecified, will use the repository's default_branch). - Reference string - // 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 -} - -func (b0 GetJSONSchemaRequest_builder) Build() *GetJSONSchemaRequest { - m0 := &GetJSONSchemaRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Reference = b.Reference - x.xxx_hidden_TypeName = b.TypeName - return m0 -} - -type GetJSONSchemaResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetJSONSchemaResponse{} - mi := &file_buf_alpha_registry_v1alpha1_jsonschema_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetJSONSchemaResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetJSONSchemaResponse) ProtoMessage() {} - -func (x *GetJSONSchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_jsonschema_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetJSONSchemaResponse) GetJsonSchema() []byte { - if x != nil { - return x.xxx_hidden_JsonSchema - } - return nil -} - -func (x *GetJSONSchemaResponse) SetJsonSchema(v []byte) { - if v == nil { - v = []byte{} - } - x.xxx_hidden_JsonSchema = v -} - -type GetJSONSchemaResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 -} - -func (b0 GetJSONSchemaResponse_builder) Build() *GetJSONSchemaResponse { - m0 := &GetJSONSchemaResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_JsonSchema = b.JsonSchema - return m0 -} - -var File_buf_alpha_registry_v1alpha1_jsonschema_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_jsonschema_proto_rawDesc = []byte{ - 0x0a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6a, 0x73, - 0x6f, 0x6e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x87, 0x01, 0x0a, 0x14, - 0x47, 0x65, 0x74, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x38, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4a, 0x53, 0x4f, 0x4e, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, - 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6a, 0x73, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x32, - 0x90, 0x01, 0x0a, 0x11, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4a, 0x53, 0x4f, 0x4e, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x53, 0x4f, 0x4e, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, - 0x02, 0x01, 0x42, 0x9c, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0f, 0x4a, 0x73, 0x6f, 0x6e, 0x73, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, - 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, - 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, - 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, - 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_jsonschema_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_buf_alpha_registry_v1alpha1_jsonschema_proto_goTypes = []any{ - (*GetJSONSchemaRequest)(nil), // 0: buf.alpha.registry.v1alpha1.GetJSONSchemaRequest - (*GetJSONSchemaResponse)(nil), // 1: buf.alpha.registry.v1alpha1.GetJSONSchemaResponse -} -var file_buf_alpha_registry_v1alpha1_jsonschema_proto_depIdxs = []int32{ - 0, // 0: buf.alpha.registry.v1alpha1.JSONSchemaService.GetJSONSchema:input_type -> buf.alpha.registry.v1alpha1.GetJSONSchemaRequest - 1, // 1: buf.alpha.registry.v1alpha1.JSONSchemaService.GetJSONSchema:output_type -> buf.alpha.registry.v1alpha1.GetJSONSchemaResponse - 1, // [1:2] is the sub-list for method output_type - 0, // [0:1] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_jsonschema_proto_init() } -func file_buf_alpha_registry_v1alpha1_jsonschema_proto_init() { - if File_buf_alpha_registry_v1alpha1_jsonschema_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_jsonschema_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_jsonschema_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_jsonschema_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_jsonschema_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_jsonschema_proto = out.File - file_buf_alpha_registry_v1alpha1_jsonschema_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_jsonschema_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_jsonschema_proto_depIdxs = nil -} 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 04255ddc45..94cc9b10a4 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/module.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -39,13 +37,12 @@ const ( // // It does not include a remote. type LocalModuleReference struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LocalModuleReference) Reset() { @@ -75,35 +72,35 @@ func (x *LocalModuleReference) ProtoReflect() protoreflect.Message { func (x *LocalModuleReference) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *LocalModuleReference) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *LocalModuleReference) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *LocalModuleReference) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *LocalModuleReference) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *LocalModuleReference) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } type LocalModuleReference_builder struct { @@ -119,9 +116,9 @@ func (b0 LocalModuleReference_builder) Build() *LocalModuleReference { m0 := &LocalModuleReference{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Reference = b.Reference + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Reference = b.Reference return m0 } @@ -129,14 +126,13 @@ func (b0 LocalModuleReference_builder) Build() *LocalModuleReference { // // It does not include a remote. type LocalModulePin struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` + xxx_hidden_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() { @@ -166,46 +162,46 @@ func (x *LocalModulePin) ProtoReflect() protoreflect.Message { func (x *LocalModulePin) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *LocalModulePin) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *LocalModulePin) GetCommit() string { if x != nil { - return x.Commit + return x.xxx_hidden_Commit } return "" } func (x *LocalModulePin) GetManifestDigest() string { if x != nil { - return x.ManifestDigest + return x.xxx_hidden_ManifestDigest } return "" } func (x *LocalModulePin) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *LocalModulePin) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *LocalModulePin) SetCommit(v string) { - x.Commit = v + x.xxx_hidden_Commit = v } func (x *LocalModulePin) SetManifestDigest(v string) { - x.ManifestDigest = v + x.xxx_hidden_ManifestDigest = v } type LocalModulePin_builder struct { @@ -222,10 +218,10 @@ func (b0 LocalModulePin_builder) Build() *LocalModulePin { m0 := &LocalModulePin{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Commit = b.Commit - x.ManifestDigest = b.ManifestDigest + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Commit = b.Commit + x.xxx_hidden_ManifestDigest = b.ManifestDigest return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/module_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/module_protoopaque.pb.go deleted file mode 100644 index 4ccf8aeb54..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/module_protoopaque.pb.go +++ /dev/null @@ -1,314 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/module.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// LocalModuleReference is a local module reference. -// -// It does not include a remote. -type LocalModuleReference struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *LocalModuleReference) Reset() { - *x = LocalModuleReference{} - mi := &file_buf_alpha_registry_v1alpha1_module_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *LocalModuleReference) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocalModuleReference) ProtoMessage() {} - -func (x *LocalModuleReference) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_module_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *LocalModuleReference) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *LocalModuleReference) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *LocalModuleReference) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *LocalModuleReference) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *LocalModuleReference) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *LocalModuleReference) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -type LocalModuleReference_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - // either branch or commit - Reference string -} - -func (b0 LocalModuleReference_builder) Build() *LocalModuleReference { - m0 := &LocalModuleReference{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Reference = b.Reference - return m0 -} - -// LocalModulePin is a local module pin. -// -// It does not include a remote. -type LocalModulePin struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` - xxx_hidden_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() { - *x = LocalModulePin{} - mi := &file_buf_alpha_registry_v1alpha1_module_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *LocalModulePin) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocalModulePin) ProtoMessage() {} - -func (x *LocalModulePin) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_module_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *LocalModulePin) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *LocalModulePin) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *LocalModulePin) GetCommit() string { - if x != nil { - return x.xxx_hidden_Commit - } - return "" -} - -func (x *LocalModulePin) GetManifestDigest() string { - if x != nil { - return x.xxx_hidden_ManifestDigest - } - return "" -} - -func (x *LocalModulePin) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *LocalModulePin) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *LocalModulePin) SetCommit(v string) { - x.xxx_hidden_Commit = v -} - -func (x *LocalModulePin) SetManifestDigest(v string) { - x.xxx_hidden_ManifestDigest = v -} - -type LocalModulePin_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - Commit string - // Module's manifest digest. Replacement for previous b1/b3 digests. - ManifestDigest string -} - -func (b0 LocalModulePin_builder) Build() *LocalModulePin { - m0 := &LocalModulePin{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Commit = b.Commit - x.xxx_hidden_ManifestDigest = b.ManifestDigest - return m0 -} - -var File_buf_alpha_registry_v1alpha1_module_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_module_proto_rawDesc = []byte{ - 0x0a, 0x28, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x6a, 0x0a, 0x14, 0x4c, 0x6f, 0x63, 0x61, 0x6c, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x0e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, - 0x5f, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, - 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x4a, 0x04, 0x08, - 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x4a, - 0x04, 0x08, 0x08, 0x10, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x0b, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, - 0x73, 0x74, 0x52, 0x0a, 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x98, - 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x42, 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, - 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, - 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, - 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, - 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, - 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, - 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, - 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var file_buf_alpha_registry_v1alpha1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_buf_alpha_registry_v1alpha1_module_proto_goTypes = []any{ - (*LocalModuleReference)(nil), // 0: buf.alpha.registry.v1alpha1.LocalModuleReference - (*LocalModulePin)(nil), // 1: buf.alpha.registry.v1alpha1.LocalModulePin -} -var file_buf_alpha_registry_v1alpha1_module_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_module_proto_init() } -func file_buf_alpha_registry_v1alpha1_module_proto_init() { - if File_buf_alpha_registry_v1alpha1_module_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_module_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_module_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_module_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_module_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_module_proto = out.File - file_buf_alpha_registry_v1alpha1_module_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_module_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_module_proto_depIdxs = nil -} 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 070e7e136e..418b6cfb6e 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/organization.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -37,24 +35,16 @@ const ( ) type Organization struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // primary key, unique, immutable - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // immutable - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // mutable - 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"` - // description is the user configurable description of the organization. - Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - // url is the user configurable URL in the description of the organization, - // always included the scheme and will not have a #fragment suffix. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + xxx_hidden_UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + xxx_hidden_Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` + xxx_hidden_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() { @@ -84,101 +74,101 @@ func (x *Organization) ProtoReflect() protoreflect.Message { func (x *Organization) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *Organization) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *Organization) GetUpdateTime() *timestamppb.Timestamp { if x != nil { - return x.UpdateTime + return x.xxx_hidden_UpdateTime } return nil } func (x *Organization) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *Organization) GetDescription() string { if x != nil { - return x.Description + return x.xxx_hidden_Description } return "" } func (x *Organization) GetUrl() string { if x != nil { - return x.Url + return x.xxx_hidden_Url } return "" } func (x *Organization) GetVerificationStatus() VerificationStatus { if x != nil { - return x.VerificationStatus + return x.xxx_hidden_VerificationStatus } return VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED } func (x *Organization) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *Organization) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *Organization) SetUpdateTime(v *timestamppb.Timestamp) { - x.UpdateTime = v + x.xxx_hidden_UpdateTime = v } func (x *Organization) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *Organization) SetDescription(v string) { - x.Description = v + x.xxx_hidden_Description = v } func (x *Organization) SetUrl(v string) { - x.Url = v + x.xxx_hidden_Url = v } func (x *Organization) SetVerificationStatus(v VerificationStatus) { - x.VerificationStatus = v + x.xxx_hidden_VerificationStatus = v } func (x *Organization) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *Organization) HasUpdateTime() bool { if x == nil { return false } - return x.UpdateTime != nil + return x.xxx_hidden_UpdateTime != nil } func (x *Organization) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } func (x *Organization) ClearUpdateTime() { - x.UpdateTime = nil + x.xxx_hidden_UpdateTime = nil } type Organization_builder struct { @@ -205,24 +195,24 @@ func (b0 Organization_builder) Build() *Organization { m0 := &Organization{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.CreateTime = b.CreateTime - x.UpdateTime = b.UpdateTime - x.Name = b.Name - x.Description = b.Description - x.Url = b.Url - x.VerificationStatus = b.VerificationStatus + x.xxx_hidden_Id = b.Id + x.xxx_hidden_CreateTime = b.CreateTime + x.xxx_hidden_UpdateTime = b.UpdateTime + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Description = b.Description + x.xxx_hidden_Url = b.Url + x.xxx_hidden_VerificationStatus = b.VerificationStatus return m0 } // OrganizationMembership is a nested structure that contains // the organization and user membership information on that organization. type OrganizationMembership struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` + xxx_hidden_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() { @@ -252,35 +242,35 @@ func (x *OrganizationMembership) ProtoReflect() protoreflect.Message { func (x *OrganizationMembership) GetOrganization() *Organization { if x != nil { - return x.Organization + return x.xxx_hidden_Organization } return nil } func (x *OrganizationMembership) GetOrganizationRole() OrganizationRole { if x != nil { - return x.OrganizationRole + return x.xxx_hidden_OrganizationRole } return OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED } func (x *OrganizationMembership) SetOrganization(v *Organization) { - x.Organization = v + x.xxx_hidden_Organization = v } func (x *OrganizationMembership) SetOrganizationRole(v OrganizationRole) { - x.OrganizationRole = v + x.xxx_hidden_OrganizationRole = v } func (x *OrganizationMembership) HasOrganization() bool { if x == nil { return false } - return x.Organization != nil + return x.xxx_hidden_Organization != nil } func (x *OrganizationMembership) ClearOrganization() { - x.Organization = nil + x.xxx_hidden_Organization = nil } type OrganizationMembership_builder struct { @@ -294,14 +284,14 @@ func (b0 OrganizationMembership_builder) Build() *OrganizationMembership { m0 := &OrganizationMembership{} b, x := &b0, m0 _, _ = b, x - x.Organization = b.Organization - x.OrganizationRole = b.OrganizationRole + x.xxx_hidden_Organization = b.Organization + x.xxx_hidden_OrganizationRole = b.OrganizationRole return m0 } type GetOrganizationRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -333,13 +323,13 @@ func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message { func (x *GetOrganizationRequest) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *GetOrganizationRequest) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } type GetOrganizationRequest_builder struct { @@ -352,15 +342,15 @@ func (b0 GetOrganizationRequest_builder) Build() *GetOrganizationRequest { m0 := &GetOrganizationRequest{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id + x.xxx_hidden_Id = b.Id return m0 } type GetOrganizationResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrganizationResponse) Reset() { @@ -390,24 +380,24 @@ func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message { func (x *GetOrganizationResponse) GetOrganization() *Organization { if x != nil { - return x.Organization + return x.xxx_hidden_Organization } return nil } func (x *GetOrganizationResponse) SetOrganization(v *Organization) { - x.Organization = v + x.xxx_hidden_Organization = v } func (x *GetOrganizationResponse) HasOrganization() bool { if x == nil { return false } - return x.Organization != nil + return x.xxx_hidden_Organization != nil } func (x *GetOrganizationResponse) ClearOrganization() { - x.Organization = nil + x.xxx_hidden_Organization = nil } type GetOrganizationResponse_builder struct { @@ -420,15 +410,15 @@ func (b0 GetOrganizationResponse_builder) Build() *GetOrganizationResponse { m0 := &GetOrganizationResponse{} b, x := &b0, m0 _, _ = b, x - x.Organization = b.Organization + x.xxx_hidden_Organization = b.Organization return m0 } type GetOrganizationByNameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrganizationByNameRequest) Reset() { @@ -458,13 +448,13 @@ func (x *GetOrganizationByNameRequest) ProtoReflect() protoreflect.Message { func (x *GetOrganizationByNameRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *GetOrganizationByNameRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } type GetOrganizationByNameRequest_builder struct { @@ -477,15 +467,15 @@ func (b0 GetOrganizationByNameRequest_builder) Build() *GetOrganizationByNameReq m0 := &GetOrganizationByNameRequest{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name + x.xxx_hidden_Name = b.Name return m0 } type GetOrganizationByNameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOrganizationByNameResponse) Reset() { @@ -515,24 +505,24 @@ func (x *GetOrganizationByNameResponse) ProtoReflect() protoreflect.Message { func (x *GetOrganizationByNameResponse) GetOrganization() *Organization { if x != nil { - return x.Organization + return x.xxx_hidden_Organization } return nil } func (x *GetOrganizationByNameResponse) SetOrganization(v *Organization) { - x.Organization = v + x.xxx_hidden_Organization = v } func (x *GetOrganizationByNameResponse) HasOrganization() bool { if x == nil { return false } - return x.Organization != nil + return x.xxx_hidden_Organization != nil } func (x *GetOrganizationByNameResponse) ClearOrganization() { - x.Organization = nil + x.xxx_hidden_Organization = nil } type GetOrganizationByNameResponse_builder struct { @@ -545,18 +535,17 @@ func (b0 GetOrganizationByNameResponse_builder) Build() *GetOrganizationByNameRe m0 := &GetOrganizationByNameResponse{} b, x := &b0, m0 _, _ = b, x - x.Organization = b.Organization + x.xxx_hidden_Organization = b.Organization return m0 } type ListOrganizationsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListOrganizationsRequest) Reset() { @@ -586,35 +575,35 @@ func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message { func (x *ListOrganizationsRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListOrganizationsRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListOrganizationsRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListOrganizationsRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListOrganizationsRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListOrganizationsRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListOrganizationsRequest_builder struct { @@ -630,19 +619,18 @@ func (b0 ListOrganizationsRequest_builder) Build() *ListOrganizationsRequest { m0 := &ListOrganizationsRequest{} b, x := &b0, m0 _, _ = b, x - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListOrganizationsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Organizations *[]*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` + xxx_hidden_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() { @@ -672,24 +660,26 @@ func (x *ListOrganizationsResponse) ProtoReflect() protoreflect.Message { func (x *ListOrganizationsResponse) GetOrganizations() []*Organization { if x != nil { - return x.Organizations + if x.xxx_hidden_Organizations != nil { + return *x.xxx_hidden_Organizations + } } return nil } func (x *ListOrganizationsResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListOrganizationsResponse) SetOrganizations(v []*Organization) { - x.Organizations = v + x.xxx_hidden_Organizations = &v } func (x *ListOrganizationsResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListOrganizationsResponse_builder struct { @@ -704,21 +694,19 @@ func (b0 ListOrganizationsResponse_builder) Build() *ListOrganizationsResponse { m0 := &ListOrganizationsResponse{} b, x := &b0, m0 _, _ = b, x - x.Organizations = b.Organizations - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Organizations = &b.Organizations + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type ListUserOrganizationsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListUserOrganizationsRequest) Reset() { @@ -748,46 +736,46 @@ func (x *ListUserOrganizationsRequest) ProtoReflect() protoreflect.Message { func (x *ListUserOrganizationsRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *ListUserOrganizationsRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListUserOrganizationsRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListUserOrganizationsRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListUserOrganizationsRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } func (x *ListUserOrganizationsRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListUserOrganizationsRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListUserOrganizationsRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListUserOrganizationsRequest_builder struct { @@ -805,20 +793,19 @@ func (b0 ListUserOrganizationsRequest_builder) Build() *ListUserOrganizationsReq m0 := &ListUserOrganizationsRequest{} b, x := &b0, m0 _, _ = b, x - x.UserId = b.UserId - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_UserId = b.UserId + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListUserOrganizationsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Organizations *[]*OrganizationMembership `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` + xxx_hidden_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() { @@ -848,24 +835,26 @@ func (x *ListUserOrganizationsResponse) ProtoReflect() protoreflect.Message { func (x *ListUserOrganizationsResponse) GetOrganizations() []*OrganizationMembership { if x != nil { - return x.Organizations + if x.xxx_hidden_Organizations != nil { + return *x.xxx_hidden_Organizations + } } return nil } func (x *ListUserOrganizationsResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListUserOrganizationsResponse) SetOrganizations(v []*OrganizationMembership) { - x.Organizations = v + x.xxx_hidden_Organizations = &v } func (x *ListUserOrganizationsResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListUserOrganizationsResponse_builder struct { @@ -880,19 +869,17 @@ func (b0 ListUserOrganizationsResponse_builder) Build() *ListUserOrganizationsRe m0 := &ListUserOrganizationsResponse{} b, x := &b0, m0 _, _ = b, x - x.Organizations = b.Organizations - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Organizations = &b.Organizations + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type GetUserOrganizationRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + xxx_hidden_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() { @@ -922,24 +909,24 @@ func (x *GetUserOrganizationRequest) ProtoReflect() protoreflect.Message { func (x *GetUserOrganizationRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *GetUserOrganizationRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *GetUserOrganizationRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } func (x *GetUserOrganizationRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } type GetUserOrganizationRequest_builder struct { @@ -955,16 +942,16 @@ func (b0 GetUserOrganizationRequest_builder) Build() *GetUserOrganizationRequest m0 := &GetUserOrganizationRequest{} b, x := &b0, m0 _, _ = b, x - x.UserId = b.UserId - x.OrganizationId = b.OrganizationId + x.xxx_hidden_UserId = b.UserId + x.xxx_hidden_OrganizationId = b.OrganizationId return m0 } type GetUserOrganizationResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - OrganizationMembership *OrganizationMembership `protobuf:"bytes,1,opt,name=organization_membership,json=organizationMembership,proto3" json:"organization_membership,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -994,24 +981,24 @@ func (x *GetUserOrganizationResponse) ProtoReflect() protoreflect.Message { func (x *GetUserOrganizationResponse) GetOrganizationMembership() *OrganizationMembership { if x != nil { - return x.OrganizationMembership + return x.xxx_hidden_OrganizationMembership } return nil } func (x *GetUserOrganizationResponse) SetOrganizationMembership(v *OrganizationMembership) { - x.OrganizationMembership = v + x.xxx_hidden_OrganizationMembership = v } func (x *GetUserOrganizationResponse) HasOrganizationMembership() bool { if x == nil { return false } - return x.OrganizationMembership != nil + return x.xxx_hidden_OrganizationMembership != nil } func (x *GetUserOrganizationResponse) ClearOrganizationMembership() { - x.OrganizationMembership = nil + x.xxx_hidden_OrganizationMembership = nil } type GetUserOrganizationResponse_builder struct { @@ -1024,16 +1011,15 @@ func (b0 GetUserOrganizationResponse_builder) Build() *GetUserOrganizationRespon m0 := &GetUserOrganizationResponse{} b, x := &b0, m0 _, _ = b, x - x.OrganizationMembership = b.OrganizationMembership + x.xxx_hidden_OrganizationMembership = b.OrganizationMembership return m0 } type CreateOrganizationRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Must be unique across organizations. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateOrganizationRequest) Reset() { @@ -1063,13 +1049,13 @@ func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message { func (x *CreateOrganizationRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *CreateOrganizationRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } type CreateOrganizationRequest_builder struct { @@ -1083,15 +1069,15 @@ func (b0 CreateOrganizationRequest_builder) Build() *CreateOrganizationRequest { m0 := &CreateOrganizationRequest{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name + x.xxx_hidden_Name = b.Name return m0 } type CreateOrganizationResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateOrganizationResponse) Reset() { @@ -1121,24 +1107,24 @@ func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message { func (x *CreateOrganizationResponse) GetOrganization() *Organization { if x != nil { - return x.Organization + return x.xxx_hidden_Organization } return nil } func (x *CreateOrganizationResponse) SetOrganization(v *Organization) { - x.Organization = v + x.xxx_hidden_Organization = v } func (x *CreateOrganizationResponse) HasOrganization() bool { if x == nil { return false } - return x.Organization != nil + return x.xxx_hidden_Organization != nil } func (x *CreateOrganizationResponse) ClearOrganization() { - x.Organization = nil + x.xxx_hidden_Organization = nil } type CreateOrganizationResponse_builder struct { @@ -1151,13 +1137,13 @@ func (b0 CreateOrganizationResponse_builder) Build() *CreateOrganizationResponse m0 := &CreateOrganizationResponse{} b, x := &b0, m0 _, _ = b, x - x.Organization = b.Organization + x.xxx_hidden_Organization = b.Organization return m0 } type DeleteOrganizationRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1189,13 +1175,13 @@ func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message { func (x *DeleteOrganizationRequest) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *DeleteOrganizationRequest) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } type DeleteOrganizationRequest_builder struct { @@ -1208,12 +1194,12 @@ func (b0 DeleteOrganizationRequest_builder) Build() *DeleteOrganizationRequest { m0 := &DeleteOrganizationRequest{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id + x.xxx_hidden_Id = b.Id return m0 } type DeleteOrganizationResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1256,10 +1242,10 @@ func (b0 DeleteOrganizationResponse_builder) Build() *DeleteOrganizationResponse } type DeleteOrganizationByNameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteOrganizationByNameRequest) Reset() { @@ -1289,13 +1275,13 @@ func (x *DeleteOrganizationByNameRequest) ProtoReflect() protoreflect.Message { func (x *DeleteOrganizationByNameRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *DeleteOrganizationByNameRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } type DeleteOrganizationByNameRequest_builder struct { @@ -1308,12 +1294,12 @@ func (b0 DeleteOrganizationByNameRequest_builder) Build() *DeleteOrganizationByN m0 := &DeleteOrganizationByNameRequest{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name + x.xxx_hidden_Name = b.Name return m0 } type DeleteOrganizationByNameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1356,15 +1342,12 @@ func (b0 DeleteOrganizationByNameResponse_builder) Build() *DeleteOrganizationBy } type AddOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + xxx_hidden_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() { @@ -1394,35 +1377,35 @@ func (x *AddOrganizationMemberRequest) ProtoReflect() protoreflect.Message { func (x *AddOrganizationMemberRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *AddOrganizationMemberRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *AddOrganizationMemberRequest) GetOrganizationRole() OrganizationRole { if x != nil { - return x.OrganizationRole + return x.xxx_hidden_OrganizationRole } return OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED } func (x *AddOrganizationMemberRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *AddOrganizationMemberRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } func (x *AddOrganizationMemberRequest) SetOrganizationRole(v OrganizationRole) { - x.OrganizationRole = v + x.xxx_hidden_OrganizationRole = v } type AddOrganizationMemberRequest_builder struct { @@ -1440,14 +1423,14 @@ func (b0 AddOrganizationMemberRequest_builder) Build() *AddOrganizationMemberReq m0 := &AddOrganizationMemberRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.UserId = b.UserId - x.OrganizationRole = b.OrganizationRole + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_UserId = b.UserId + x.xxx_hidden_OrganizationRole = b.OrganizationRole return m0 } type AddOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1490,15 +1473,12 @@ func (b0 AddOrganizationMemberResponse_builder) Build() *AddOrganizationMemberRe } type UpdateOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + xxx_hidden_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() { @@ -1528,35 +1508,35 @@ func (x *UpdateOrganizationMemberRequest) ProtoReflect() protoreflect.Message { func (x *UpdateOrganizationMemberRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *UpdateOrganizationMemberRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *UpdateOrganizationMemberRequest) GetOrganizationRole() OrganizationRole { if x != nil { - return x.OrganizationRole + return x.xxx_hidden_OrganizationRole } return OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED } func (x *UpdateOrganizationMemberRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *UpdateOrganizationMemberRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } func (x *UpdateOrganizationMemberRequest) SetOrganizationRole(v OrganizationRole) { - x.OrganizationRole = v + x.xxx_hidden_OrganizationRole = v } type UpdateOrganizationMemberRequest_builder struct { @@ -1574,14 +1554,14 @@ func (b0 UpdateOrganizationMemberRequest_builder) Build() *UpdateOrganizationMem m0 := &UpdateOrganizationMemberRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.UserId = b.UserId - x.OrganizationRole = b.OrganizationRole + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_UserId = b.UserId + x.xxx_hidden_OrganizationRole = b.OrganizationRole return m0 } type UpdateOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1624,13 +1604,11 @@ func (b0 UpdateOrganizationMemberResponse_builder) Build() *UpdateOrganizationMe } type RemoveOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_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() { @@ -1660,24 +1638,24 @@ func (x *RemoveOrganizationMemberRequest) ProtoReflect() protoreflect.Message { func (x *RemoveOrganizationMemberRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *RemoveOrganizationMemberRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *RemoveOrganizationMemberRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *RemoveOrganizationMemberRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } type RemoveOrganizationMemberRequest_builder struct { @@ -1693,13 +1671,13 @@ func (b0 RemoveOrganizationMemberRequest_builder) Build() *RemoveOrganizationMem m0 := &RemoveOrganizationMemberRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.UserId = b.UserId + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_UserId = b.UserId return m0 } type RemoveOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1742,16 +1720,12 @@ func (b0 RemoveOrganizationMemberResponse_builder) Build() *RemoveOrganizationMe } type SetOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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. - UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + xxx_hidden_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() { @@ -1781,35 +1755,35 @@ func (x *SetOrganizationMemberRequest) ProtoReflect() protoreflect.Message { func (x *SetOrganizationMemberRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *SetOrganizationMemberRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *SetOrganizationMemberRequest) GetOrganizationRole() OrganizationRole { if x != nil { - return x.OrganizationRole + return x.xxx_hidden_OrganizationRole } return OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED } func (x *SetOrganizationMemberRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *SetOrganizationMemberRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } func (x *SetOrganizationMemberRequest) SetOrganizationRole(v OrganizationRole) { - x.OrganizationRole = v + x.xxx_hidden_OrganizationRole = v } type SetOrganizationMemberRequest_builder struct { @@ -1828,14 +1802,14 @@ func (b0 SetOrganizationMemberRequest_builder) Build() *SetOrganizationMemberReq m0 := &SetOrganizationMemberRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.UserId = b.UserId - x.OrganizationRole = b.OrganizationRole + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_UserId = b.UserId + x.xxx_hidden_OrganizationRole = b.OrganizationRole return m0 } type SetOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1878,11 +1852,10 @@ func (b0 SetOrganizationMemberResponse_builder) Build() *SetOrganizationMemberRe } type GetOrganizationSettingsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -1912,13 +1885,13 @@ func (x *GetOrganizationSettingsRequest) ProtoReflect() protoreflect.Message { func (x *GetOrganizationSettingsRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *GetOrganizationSettingsRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } type GetOrganizationSettingsRequest_builder struct { @@ -1932,19 +1905,17 @@ func (b0 GetOrganizationSettingsRequest_builder) Build() *GetOrganizationSetting m0 := &GetOrganizationSettingsRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationId = b.OrganizationId return m0 } type GetOrganizationSettingsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryBaseRole RepositoryRole `protobuf:"varint,1,opt,name=repository_base_role,json=repositoryBaseRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"repository_base_role,omitempty"` + xxx_hidden_MembersCount uint32 `protobuf:"varint,4,opt,name=members_count,json=membersCount,proto3" json:"members_count,omitempty"` + xxx_hidden_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() { @@ -1974,35 +1945,35 @@ func (x *GetOrganizationSettingsResponse) ProtoReflect() protoreflect.Message { func (x *GetOrganizationSettingsResponse) GetRepositoryBaseRole() RepositoryRole { if x != nil { - return x.RepositoryBaseRole + return x.xxx_hidden_RepositoryBaseRole } return RepositoryRole_REPOSITORY_ROLE_UNSPECIFIED } func (x *GetOrganizationSettingsResponse) GetMembersCount() uint32 { if x != nil { - return x.MembersCount + return x.xxx_hidden_MembersCount } return 0 } func (x *GetOrganizationSettingsResponse) GetIdpGroups() []string { if x != nil { - return x.IdpGroups + return x.xxx_hidden_IdpGroups } return nil } func (x *GetOrganizationSettingsResponse) SetRepositoryBaseRole(v RepositoryRole) { - x.RepositoryBaseRole = v + x.xxx_hidden_RepositoryBaseRole = v } func (x *GetOrganizationSettingsResponse) SetMembersCount(v uint32) { - x.MembersCount = v + x.xxx_hidden_MembersCount = v } func (x *GetOrganizationSettingsResponse) SetIdpGroups(v []string) { - x.IdpGroups = v + x.xxx_hidden_IdpGroups = v } type GetOrganizationSettingsResponse_builder struct { @@ -2019,24 +1990,22 @@ func (b0 GetOrganizationSettingsResponse_builder) Build() *GetOrganizationSettin m0 := &GetOrganizationSettingsResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryBaseRole = b.RepositoryBaseRole - x.MembersCount = b.MembersCount - x.IdpGroups = b.IdpGroups + x.xxx_hidden_RepositoryBaseRole = b.RepositoryBaseRole + x.xxx_hidden_MembersCount = b.MembersCount + x.xxx_hidden_IdpGroups = b.IdpGroups return m0 } type UpdateOrganizationSettingsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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. - RepositoryBaseRole RepositoryRole `protobuf:"varint,2,opt,name=repository_base_role,json=repositoryBaseRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"repository_base_role,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_RepositoryBaseRole RepositoryRole `protobuf:"varint,2,opt,name=repository_base_role,json=repositoryBaseRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"repository_base_role,omitempty"` + xxx_hidden_Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` + xxx_hidden_Url *string `protobuf:"bytes,6,opt,name=url,proto3,oneof" json:"url,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateOrganizationSettingsRequest) Reset() { @@ -2066,68 +2035,78 @@ func (x *UpdateOrganizationSettingsRequest) ProtoReflect() protoreflect.Message func (x *UpdateOrganizationSettingsRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *UpdateOrganizationSettingsRequest) GetRepositoryBaseRole() RepositoryRole { if x != nil { - return x.RepositoryBaseRole + return x.xxx_hidden_RepositoryBaseRole } return RepositoryRole_REPOSITORY_ROLE_UNSPECIFIED } func (x *UpdateOrganizationSettingsRequest) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description + if x != nil { + if x.xxx_hidden_Description != nil { + return *x.xxx_hidden_Description + } + return "" } return "" } func (x *UpdateOrganizationSettingsRequest) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url + if x != nil { + if x.xxx_hidden_Url != nil { + return *x.xxx_hidden_Url + } + return "" } return "" } func (x *UpdateOrganizationSettingsRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *UpdateOrganizationSettingsRequest) SetRepositoryBaseRole(v RepositoryRole) { - x.RepositoryBaseRole = v + x.xxx_hidden_RepositoryBaseRole = v } func (x *UpdateOrganizationSettingsRequest) SetDescription(v string) { - x.Description = &v + x.xxx_hidden_Description = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 2, 4) } func (x *UpdateOrganizationSettingsRequest) SetUrl(v string) { - x.Url = &v + x.xxx_hidden_Url = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 3, 4) } func (x *UpdateOrganizationSettingsRequest) HasDescription() bool { if x == nil { return false } - return x.Description != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 2) } func (x *UpdateOrganizationSettingsRequest) HasUrl() bool { if x == nil { return false } - return x.Url != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 3) } func (x *UpdateOrganizationSettingsRequest) ClearDescription() { - x.Description = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 2) + x.xxx_hidden_Description = nil } func (x *UpdateOrganizationSettingsRequest) ClearUrl() { - x.Url = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 3) + x.xxx_hidden_Url = nil } type UpdateOrganizationSettingsRequest_builder struct { @@ -2147,15 +2126,21 @@ func (b0 UpdateOrganizationSettingsRequest_builder) Build() *UpdateOrganizationS m0 := &UpdateOrganizationSettingsRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.RepositoryBaseRole = b.RepositoryBaseRole - x.Description = b.Description - x.Url = b.Url + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_RepositoryBaseRole = b.RepositoryBaseRole + if b.Description != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 2, 4) + x.xxx_hidden_Description = b.Description + } + if b.Url != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 3, 4) + x.xxx_hidden_Url = b.Url + } return m0 } type UpdateOrganizationSettingsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2198,13 +2183,11 @@ func (b0 UpdateOrganizationSettingsResponse_builder) Build() *UpdateOrganization } type AddOrganizationGroupRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_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() { @@ -2234,24 +2217,24 @@ func (x *AddOrganizationGroupRequest) ProtoReflect() protoreflect.Message { func (x *AddOrganizationGroupRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *AddOrganizationGroupRequest) GetGroupName() string { if x != nil { - return x.GroupName + return x.xxx_hidden_GroupName } return "" } func (x *AddOrganizationGroupRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *AddOrganizationGroupRequest) SetGroupName(v string) { - x.GroupName = v + x.xxx_hidden_GroupName = v } type AddOrganizationGroupRequest_builder struct { @@ -2267,13 +2250,13 @@ func (b0 AddOrganizationGroupRequest_builder) Build() *AddOrganizationGroupReque m0 := &AddOrganizationGroupRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.GroupName = b.GroupName + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_GroupName = b.GroupName return m0 } type AddOrganizationGroupResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2316,13 +2299,11 @@ func (b0 AddOrganizationGroupResponse_builder) Build() *AddOrganizationGroupResp } type RemoveOrganizationGroupRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_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() { @@ -2352,24 +2333,24 @@ func (x *RemoveOrganizationGroupRequest) ProtoReflect() protoreflect.Message { func (x *RemoveOrganizationGroupRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *RemoveOrganizationGroupRequest) GetGroupName() string { if x != nil { - return x.GroupName + return x.xxx_hidden_GroupName } return "" } func (x *RemoveOrganizationGroupRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *RemoveOrganizationGroupRequest) SetGroupName(v string) { - x.GroupName = v + x.xxx_hidden_GroupName = v } type RemoveOrganizationGroupRequest_builder struct { @@ -2385,13 +2366,13 @@ func (b0 RemoveOrganizationGroupRequest_builder) Build() *RemoveOrganizationGrou m0 := &RemoveOrganizationGroupRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.GroupName = b.GroupName + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_GroupName = b.GroupName return m0 } type RemoveOrganizationGroupResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/organization_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/organization_protoopaque.pb.go deleted file mode 100644 index df8754b514..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/organization_protoopaque.pb.go +++ /dev/null @@ -1,2963 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/organization.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Organization struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - xxx_hidden_UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - xxx_hidden_Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` - xxx_hidden_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() { - *x = Organization{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Organization) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Organization) ProtoMessage() {} - -func (x *Organization) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Organization) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *Organization) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *Organization) GetUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_UpdateTime - } - return nil -} - -func (x *Organization) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *Organization) GetDescription() string { - if x != nil { - return x.xxx_hidden_Description - } - return "" -} - -func (x *Organization) GetUrl() string { - if x != nil { - return x.xxx_hidden_Url - } - return "" -} - -func (x *Organization) GetVerificationStatus() VerificationStatus { - if x != nil { - return x.xxx_hidden_VerificationStatus - } - return VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED -} - -func (x *Organization) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *Organization) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *Organization) SetUpdateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_UpdateTime = v -} - -func (x *Organization) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *Organization) SetDescription(v string) { - x.xxx_hidden_Description = v -} - -func (x *Organization) SetUrl(v string) { - x.xxx_hidden_Url = v -} - -func (x *Organization) SetVerificationStatus(v VerificationStatus) { - x.xxx_hidden_VerificationStatus = v -} - -func (x *Organization) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *Organization) HasUpdateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_UpdateTime != nil -} - -func (x *Organization) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -func (x *Organization) ClearUpdateTime() { - x.xxx_hidden_UpdateTime = nil -} - -type Organization_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // primary key, unique, immutable - Id string - // immutable - CreateTime *timestamppb.Timestamp - // mutable - UpdateTime *timestamppb.Timestamp - // unique, mutable - Name string - // description is the user configurable description of the organization. - Description string - // url is the user configurable URL in the description of the organization, - // always included the scheme and will not have a #fragment suffix. - Url string - // verification status of the organization, configurable by server admin. - VerificationStatus VerificationStatus -} - -func (b0 Organization_builder) Build() *Organization { - m0 := &Organization{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_CreateTime = b.CreateTime - x.xxx_hidden_UpdateTime = b.UpdateTime - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Description = b.Description - x.xxx_hidden_Url = b.Url - x.xxx_hidden_VerificationStatus = b.VerificationStatus - return m0 -} - -// OrganizationMembership is a nested structure that contains -// the organization and user membership information on that organization. -type OrganizationMembership struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` - xxx_hidden_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() { - *x = OrganizationMembership{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *OrganizationMembership) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OrganizationMembership) ProtoMessage() {} - -func (x *OrganizationMembership) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *OrganizationMembership) GetOrganization() *Organization { - if x != nil { - return x.xxx_hidden_Organization - } - return nil -} - -func (x *OrganizationMembership) GetOrganizationRole() OrganizationRole { - if x != nil { - return x.xxx_hidden_OrganizationRole - } - return OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED -} - -func (x *OrganizationMembership) SetOrganization(v *Organization) { - x.xxx_hidden_Organization = v -} - -func (x *OrganizationMembership) SetOrganizationRole(v OrganizationRole) { - x.xxx_hidden_OrganizationRole = v -} - -func (x *OrganizationMembership) HasOrganization() bool { - if x == nil { - return false - } - return x.xxx_hidden_Organization != nil -} - -func (x *OrganizationMembership) ClearOrganization() { - x.xxx_hidden_Organization = nil -} - -type OrganizationMembership_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Organization *Organization - OrganizationRole OrganizationRole -} - -func (b0 OrganizationMembership_builder) Build() *OrganizationMembership { - m0 := &OrganizationMembership{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Organization = b.Organization - x.xxx_hidden_OrganizationRole = b.OrganizationRole - return m0 -} - -type GetOrganizationRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetOrganizationRequest) Reset() { - *x = GetOrganizationRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetOrganizationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetOrganizationRequest) ProtoMessage() {} - -func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetOrganizationRequest) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *GetOrganizationRequest) SetId(v string) { - x.xxx_hidden_Id = v -} - -type GetOrganizationRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string -} - -func (b0 GetOrganizationRequest_builder) Build() *GetOrganizationRequest { - m0 := &GetOrganizationRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - return m0 -} - -type GetOrganizationResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetOrganizationResponse) Reset() { - *x = GetOrganizationResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetOrganizationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetOrganizationResponse) ProtoMessage() {} - -func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetOrganizationResponse) GetOrganization() *Organization { - if x != nil { - return x.xxx_hidden_Organization - } - return nil -} - -func (x *GetOrganizationResponse) SetOrganization(v *Organization) { - x.xxx_hidden_Organization = v -} - -func (x *GetOrganizationResponse) HasOrganization() bool { - if x == nil { - return false - } - return x.xxx_hidden_Organization != nil -} - -func (x *GetOrganizationResponse) ClearOrganization() { - x.xxx_hidden_Organization = nil -} - -type GetOrganizationResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Organization *Organization -} - -func (b0 GetOrganizationResponse_builder) Build() *GetOrganizationResponse { - m0 := &GetOrganizationResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Organization = b.Organization - return m0 -} - -type GetOrganizationByNameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetOrganizationByNameRequest) Reset() { - *x = GetOrganizationByNameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetOrganizationByNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetOrganizationByNameRequest) ProtoMessage() {} - -func (x *GetOrganizationByNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetOrganizationByNameRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *GetOrganizationByNameRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -type GetOrganizationByNameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string -} - -func (b0 GetOrganizationByNameRequest_builder) Build() *GetOrganizationByNameRequest { - m0 := &GetOrganizationByNameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - return m0 -} - -type GetOrganizationByNameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetOrganizationByNameResponse) Reset() { - *x = GetOrganizationByNameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetOrganizationByNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetOrganizationByNameResponse) ProtoMessage() {} - -func (x *GetOrganizationByNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetOrganizationByNameResponse) GetOrganization() *Organization { - if x != nil { - return x.xxx_hidden_Organization - } - return nil -} - -func (x *GetOrganizationByNameResponse) SetOrganization(v *Organization) { - x.xxx_hidden_Organization = v -} - -func (x *GetOrganizationByNameResponse) HasOrganization() bool { - if x == nil { - return false - } - return x.xxx_hidden_Organization != nil -} - -func (x *GetOrganizationByNameResponse) ClearOrganization() { - x.xxx_hidden_Organization = nil -} - -type GetOrganizationByNameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Organization *Organization -} - -func (b0 GetOrganizationByNameResponse_builder) Build() *GetOrganizationByNameResponse { - m0 := &GetOrganizationByNameResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Organization = b.Organization - return m0 -} - -type ListOrganizationsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListOrganizationsRequest) Reset() { - *x = ListOrganizationsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListOrganizationsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOrganizationsRequest) ProtoMessage() {} - -func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListOrganizationsRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListOrganizationsRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListOrganizationsRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListOrganizationsRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListOrganizationsRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListOrganizationsRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListOrganizationsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool -} - -func (b0 ListOrganizationsRequest_builder) Build() *ListOrganizationsRequest { - m0 := &ListOrganizationsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListOrganizationsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Organizations *[]*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` - xxx_hidden_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() { - *x = ListOrganizationsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListOrganizationsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOrganizationsResponse) ProtoMessage() {} - -func (x *ListOrganizationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListOrganizationsResponse) GetOrganizations() []*Organization { - if x != nil { - if x.xxx_hidden_Organizations != nil { - return *x.xxx_hidden_Organizations - } - } - return nil -} - -func (x *ListOrganizationsResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListOrganizationsResponse) SetOrganizations(v []*Organization) { - x.xxx_hidden_Organizations = &v -} - -func (x *ListOrganizationsResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListOrganizationsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Organizations []*Organization - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListOrganizationsResponse_builder) Build() *ListOrganizationsResponse { - m0 := &ListOrganizationsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Organizations = &b.Organizations - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type ListUserOrganizationsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListUserOrganizationsRequest) Reset() { - *x = ListUserOrganizationsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListUserOrganizationsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListUserOrganizationsRequest) ProtoMessage() {} - -func (x *ListUserOrganizationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListUserOrganizationsRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *ListUserOrganizationsRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListUserOrganizationsRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListUserOrganizationsRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListUserOrganizationsRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -func (x *ListUserOrganizationsRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListUserOrganizationsRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListUserOrganizationsRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListUserOrganizationsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the user whose organizations should be listed. - UserId string - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool -} - -func (b0 ListUserOrganizationsRequest_builder) Build() *ListUserOrganizationsRequest { - m0 := &ListUserOrganizationsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_UserId = b.UserId - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListUserOrganizationsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Organizations *[]*OrganizationMembership `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` - xxx_hidden_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() { - *x = ListUserOrganizationsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListUserOrganizationsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListUserOrganizationsResponse) ProtoMessage() {} - -func (x *ListUserOrganizationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListUserOrganizationsResponse) GetOrganizations() []*OrganizationMembership { - if x != nil { - if x.xxx_hidden_Organizations != nil { - return *x.xxx_hidden_Organizations - } - } - return nil -} - -func (x *ListUserOrganizationsResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListUserOrganizationsResponse) SetOrganizations(v []*OrganizationMembership) { - x.xxx_hidden_Organizations = &v -} - -func (x *ListUserOrganizationsResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListUserOrganizationsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Organizations []*OrganizationMembership - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListUserOrganizationsResponse_builder) Build() *ListUserOrganizationsResponse { - m0 := &ListUserOrganizationsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Organizations = &b.Organizations - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type GetUserOrganizationRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - xxx_hidden_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() { - *x = GetUserOrganizationRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUserOrganizationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserOrganizationRequest) ProtoMessage() {} - -func (x *GetUserOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetUserOrganizationRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *GetUserOrganizationRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *GetUserOrganizationRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -func (x *GetUserOrganizationRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -type GetUserOrganizationRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the user whose membership should be retrieved. - UserId string - // The ID of the organization. - OrganizationId string -} - -func (b0 GetUserOrganizationRequest_builder) Build() *GetUserOrganizationRequest { - m0 := &GetUserOrganizationRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_UserId = b.UserId - x.xxx_hidden_OrganizationId = b.OrganizationId - return m0 -} - -type GetUserOrganizationResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetUserOrganizationResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUserOrganizationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserOrganizationResponse) ProtoMessage() {} - -func (x *GetUserOrganizationResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetUserOrganizationResponse) GetOrganizationMembership() *OrganizationMembership { - if x != nil { - return x.xxx_hidden_OrganizationMembership - } - return nil -} - -func (x *GetUserOrganizationResponse) SetOrganizationMembership(v *OrganizationMembership) { - x.xxx_hidden_OrganizationMembership = v -} - -func (x *GetUserOrganizationResponse) HasOrganizationMembership() bool { - if x == nil { - return false - } - return x.xxx_hidden_OrganizationMembership != nil -} - -func (x *GetUserOrganizationResponse) ClearOrganizationMembership() { - x.xxx_hidden_OrganizationMembership = nil -} - -type GetUserOrganizationResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - OrganizationMembership *OrganizationMembership -} - -func (b0 GetUserOrganizationResponse_builder) Build() *GetUserOrganizationResponse { - m0 := &GetUserOrganizationResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationMembership = b.OrganizationMembership - return m0 -} - -type CreateOrganizationRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateOrganizationRequest) Reset() { - *x = CreateOrganizationRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateOrganizationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateOrganizationRequest) ProtoMessage() {} - -func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateOrganizationRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *CreateOrganizationRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -type CreateOrganizationRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Must be unique across organizations. - Name string -} - -func (b0 CreateOrganizationRequest_builder) Build() *CreateOrganizationRequest { - m0 := &CreateOrganizationRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - return m0 -} - -type CreateOrganizationResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateOrganizationResponse) Reset() { - *x = CreateOrganizationResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateOrganizationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateOrganizationResponse) ProtoMessage() {} - -func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateOrganizationResponse) GetOrganization() *Organization { - if x != nil { - return x.xxx_hidden_Organization - } - return nil -} - -func (x *CreateOrganizationResponse) SetOrganization(v *Organization) { - x.xxx_hidden_Organization = v -} - -func (x *CreateOrganizationResponse) HasOrganization() bool { - if x == nil { - return false - } - return x.xxx_hidden_Organization != nil -} - -func (x *CreateOrganizationResponse) ClearOrganization() { - x.xxx_hidden_Organization = nil -} - -type CreateOrganizationResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Organization *Organization -} - -func (b0 CreateOrganizationResponse_builder) Build() *CreateOrganizationResponse { - m0 := &CreateOrganizationResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Organization = b.Organization - return m0 -} - -type DeleteOrganizationRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteOrganizationRequest) Reset() { - *x = DeleteOrganizationRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteOrganizationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteOrganizationRequest) ProtoMessage() {} - -func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeleteOrganizationRequest) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *DeleteOrganizationRequest) SetId(v string) { - x.xxx_hidden_Id = v -} - -type DeleteOrganizationRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string -} - -func (b0 DeleteOrganizationRequest_builder) Build() *DeleteOrganizationRequest { - m0 := &DeleteOrganizationRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - return m0 -} - -type DeleteOrganizationResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteOrganizationResponse) Reset() { - *x = DeleteOrganizationResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteOrganizationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteOrganizationResponse) ProtoMessage() {} - -func (x *DeleteOrganizationResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeleteOrganizationResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeleteOrganizationResponse_builder) Build() *DeleteOrganizationResponse { - m0 := &DeleteOrganizationResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type DeleteOrganizationByNameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteOrganizationByNameRequest) Reset() { - *x = DeleteOrganizationByNameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteOrganizationByNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteOrganizationByNameRequest) ProtoMessage() {} - -func (x *DeleteOrganizationByNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeleteOrganizationByNameRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *DeleteOrganizationByNameRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -type DeleteOrganizationByNameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string -} - -func (b0 DeleteOrganizationByNameRequest_builder) Build() *DeleteOrganizationByNameRequest { - m0 := &DeleteOrganizationByNameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - return m0 -} - -type DeleteOrganizationByNameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteOrganizationByNameResponse) Reset() { - *x = DeleteOrganizationByNameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteOrganizationByNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteOrganizationByNameResponse) ProtoMessage() {} - -func (x *DeleteOrganizationByNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeleteOrganizationByNameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeleteOrganizationByNameResponse_builder) Build() *DeleteOrganizationByNameResponse { - m0 := &DeleteOrganizationByNameResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type AddOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - xxx_hidden_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() { - *x = AddOrganizationMemberRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddOrganizationMemberRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddOrganizationMemberRequest) ProtoMessage() {} - -func (x *AddOrganizationMemberRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *AddOrganizationMemberRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *AddOrganizationMemberRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *AddOrganizationMemberRequest) GetOrganizationRole() OrganizationRole { - if x != nil { - return x.xxx_hidden_OrganizationRole - } - return OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED -} - -func (x *AddOrganizationMemberRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *AddOrganizationMemberRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -func (x *AddOrganizationMemberRequest) SetOrganizationRole(v OrganizationRole) { - x.xxx_hidden_OrganizationRole = v -} - -type AddOrganizationMemberRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which the user will be added to. - OrganizationId string - // The ID of the user for which to be added to the organization. - UserId string - // The new role of the user in the organization. - OrganizationRole OrganizationRole -} - -func (b0 AddOrganizationMemberRequest_builder) Build() *AddOrganizationMemberRequest { - m0 := &AddOrganizationMemberRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_UserId = b.UserId - x.xxx_hidden_OrganizationRole = b.OrganizationRole - return m0 -} - -type AddOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddOrganizationMemberResponse) Reset() { - *x = AddOrganizationMemberResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddOrganizationMemberResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddOrganizationMemberResponse) ProtoMessage() {} - -func (x *AddOrganizationMemberResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type AddOrganizationMemberResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 AddOrganizationMemberResponse_builder) Build() *AddOrganizationMemberResponse { - m0 := &AddOrganizationMemberResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type UpdateOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - xxx_hidden_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() { - *x = UpdateOrganizationMemberRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateOrganizationMemberRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateOrganizationMemberRequest) ProtoMessage() {} - -func (x *UpdateOrganizationMemberRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateOrganizationMemberRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *UpdateOrganizationMemberRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *UpdateOrganizationMemberRequest) GetOrganizationRole() OrganizationRole { - if x != nil { - return x.xxx_hidden_OrganizationRole - } - return OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED -} - -func (x *UpdateOrganizationMemberRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *UpdateOrganizationMemberRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -func (x *UpdateOrganizationMemberRequest) SetOrganizationRole(v OrganizationRole) { - x.xxx_hidden_OrganizationRole = v -} - -type UpdateOrganizationMemberRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which the member belongs to. - OrganizationId string - // The ID of the user for which to be updated the role. - UserId string - // The new role of the user in the organization. - OrganizationRole OrganizationRole -} - -func (b0 UpdateOrganizationMemberRequest_builder) Build() *UpdateOrganizationMemberRequest { - m0 := &UpdateOrganizationMemberRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_UserId = b.UserId - x.xxx_hidden_OrganizationRole = b.OrganizationRole - return m0 -} - -type UpdateOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateOrganizationMemberResponse) Reset() { - *x = UpdateOrganizationMemberResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateOrganizationMemberResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateOrganizationMemberResponse) ProtoMessage() {} - -func (x *UpdateOrganizationMemberResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type UpdateOrganizationMemberResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 UpdateOrganizationMemberResponse_builder) Build() *UpdateOrganizationMemberResponse { - m0 := &UpdateOrganizationMemberResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type RemoveOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_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() { - *x = RemoveOrganizationMemberRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveOrganizationMemberRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveOrganizationMemberRequest) ProtoMessage() {} - -func (x *RemoveOrganizationMemberRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RemoveOrganizationMemberRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *RemoveOrganizationMemberRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *RemoveOrganizationMemberRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *RemoveOrganizationMemberRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -type RemoveOrganizationMemberRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which the member belongs to. - OrganizationId string - // The ID of the user for which to be removed the role. - UserId string -} - -func (b0 RemoveOrganizationMemberRequest_builder) Build() *RemoveOrganizationMemberRequest { - m0 := &RemoveOrganizationMemberRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_UserId = b.UserId - return m0 -} - -type RemoveOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveOrganizationMemberResponse) Reset() { - *x = RemoveOrganizationMemberResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveOrganizationMemberResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveOrganizationMemberResponse) ProtoMessage() {} - -func (x *RemoveOrganizationMemberResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type RemoveOrganizationMemberResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 RemoveOrganizationMemberResponse_builder) Build() *RemoveOrganizationMemberResponse { - m0 := &RemoveOrganizationMemberResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type SetOrganizationMemberRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - xxx_hidden_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() { - *x = SetOrganizationMemberRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetOrganizationMemberRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetOrganizationMemberRequest) ProtoMessage() {} - -func (x *SetOrganizationMemberRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SetOrganizationMemberRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *SetOrganizationMemberRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *SetOrganizationMemberRequest) GetOrganizationRole() OrganizationRole { - if x != nil { - return x.xxx_hidden_OrganizationRole - } - return OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED -} - -func (x *SetOrganizationMemberRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *SetOrganizationMemberRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -func (x *SetOrganizationMemberRequest) SetOrganizationRole(v OrganizationRole) { - x.xxx_hidden_OrganizationRole = v -} - -type SetOrganizationMemberRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which the user's role will be set. - OrganizationId string - // The ID of the user whose role will be set. - UserId string - // The role to assign to the user. - // Setting UNSPECIFIED means removing the user's role. - OrganizationRole OrganizationRole -} - -func (b0 SetOrganizationMemberRequest_builder) Build() *SetOrganizationMemberRequest { - m0 := &SetOrganizationMemberRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_UserId = b.UserId - x.xxx_hidden_OrganizationRole = b.OrganizationRole - return m0 -} - -type SetOrganizationMemberResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetOrganizationMemberResponse) Reset() { - *x = SetOrganizationMemberResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetOrganizationMemberResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetOrganizationMemberResponse) ProtoMessage() {} - -func (x *SetOrganizationMemberResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type SetOrganizationMemberResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 SetOrganizationMemberResponse_builder) Build() *SetOrganizationMemberResponse { - m0 := &SetOrganizationMemberResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetOrganizationSettingsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetOrganizationSettingsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetOrganizationSettingsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetOrganizationSettingsRequest) ProtoMessage() {} - -func (x *GetOrganizationSettingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetOrganizationSettingsRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *GetOrganizationSettingsRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -type GetOrganizationSettingsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which to get the settings. - OrganizationId string -} - -func (b0 GetOrganizationSettingsRequest_builder) Build() *GetOrganizationSettingsRequest { - m0 := &GetOrganizationSettingsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - return m0 -} - -type GetOrganizationSettingsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryBaseRole RepositoryRole `protobuf:"varint,1,opt,name=repository_base_role,json=repositoryBaseRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"repository_base_role,omitempty"` - xxx_hidden_MembersCount uint32 `protobuf:"varint,4,opt,name=members_count,json=membersCount,proto3" json:"members_count,omitempty"` - xxx_hidden_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() { - *x = GetOrganizationSettingsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetOrganizationSettingsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetOrganizationSettingsResponse) ProtoMessage() {} - -func (x *GetOrganizationSettingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetOrganizationSettingsResponse) GetRepositoryBaseRole() RepositoryRole { - if x != nil { - return x.xxx_hidden_RepositoryBaseRole - } - return RepositoryRole_REPOSITORY_ROLE_UNSPECIFIED -} - -func (x *GetOrganizationSettingsResponse) GetMembersCount() uint32 { - if x != nil { - return x.xxx_hidden_MembersCount - } - return 0 -} - -func (x *GetOrganizationSettingsResponse) GetIdpGroups() []string { - if x != nil { - return x.xxx_hidden_IdpGroups - } - return nil -} - -func (x *GetOrganizationSettingsResponse) SetRepositoryBaseRole(v RepositoryRole) { - x.xxx_hidden_RepositoryBaseRole = v -} - -func (x *GetOrganizationSettingsResponse) SetMembersCount(v uint32) { - x.xxx_hidden_MembersCount = v -} - -func (x *GetOrganizationSettingsResponse) SetIdpGroups(v []string) { - x.xxx_hidden_IdpGroups = v -} - -type GetOrganizationSettingsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryBaseRole RepositoryRole - // The number of members in the organization. - MembersCount uint32 - // The IdP groups associated with the organization. - IdpGroups []string -} - -func (b0 GetOrganizationSettingsResponse_builder) Build() *GetOrganizationSettingsResponse { - m0 := &GetOrganizationSettingsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryBaseRole = b.RepositoryBaseRole - x.xxx_hidden_MembersCount = b.MembersCount - x.xxx_hidden_IdpGroups = b.IdpGroups - return m0 -} - -type UpdateOrganizationSettingsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_RepositoryBaseRole RepositoryRole `protobuf:"varint,2,opt,name=repository_base_role,json=repositoryBaseRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"repository_base_role,omitempty"` - xxx_hidden_Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` - xxx_hidden_Url *string `protobuf:"bytes,6,opt,name=url,proto3,oneof" json:"url,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateOrganizationSettingsRequest) Reset() { - *x = UpdateOrganizationSettingsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateOrganizationSettingsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateOrganizationSettingsRequest) ProtoMessage() {} - -func (x *UpdateOrganizationSettingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateOrganizationSettingsRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *UpdateOrganizationSettingsRequest) GetRepositoryBaseRole() RepositoryRole { - if x != nil { - return x.xxx_hidden_RepositoryBaseRole - } - return RepositoryRole_REPOSITORY_ROLE_UNSPECIFIED -} - -func (x *UpdateOrganizationSettingsRequest) GetDescription() string { - if x != nil { - if x.xxx_hidden_Description != nil { - return *x.xxx_hidden_Description - } - return "" - } - return "" -} - -func (x *UpdateOrganizationSettingsRequest) GetUrl() string { - if x != nil { - if x.xxx_hidden_Url != nil { - return *x.xxx_hidden_Url - } - return "" - } - return "" -} - -func (x *UpdateOrganizationSettingsRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *UpdateOrganizationSettingsRequest) SetRepositoryBaseRole(v RepositoryRole) { - x.xxx_hidden_RepositoryBaseRole = v -} - -func (x *UpdateOrganizationSettingsRequest) SetDescription(v string) { - x.xxx_hidden_Description = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 2, 4) -} - -func (x *UpdateOrganizationSettingsRequest) SetUrl(v string) { - x.xxx_hidden_Url = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 3, 4) -} - -func (x *UpdateOrganizationSettingsRequest) HasDescription() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 2) -} - -func (x *UpdateOrganizationSettingsRequest) HasUrl() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 3) -} - -func (x *UpdateOrganizationSettingsRequest) ClearDescription() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 2) - x.xxx_hidden_Description = nil -} - -func (x *UpdateOrganizationSettingsRequest) ClearUrl() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 3) - x.xxx_hidden_Url = nil -} - -type UpdateOrganizationSettingsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which to update the base roles. - OrganizationId string - // optional, no update to this base role will be made if this is unspecified. - RepositoryBaseRole RepositoryRole - // optional, update to description will only be made when this is present - Description *string - // optional, update to url will only be made when this is present - Url *string -} - -func (b0 UpdateOrganizationSettingsRequest_builder) Build() *UpdateOrganizationSettingsRequest { - m0 := &UpdateOrganizationSettingsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_RepositoryBaseRole = b.RepositoryBaseRole - if b.Description != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 2, 4) - x.xxx_hidden_Description = b.Description - } - if b.Url != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 3, 4) - x.xxx_hidden_Url = b.Url - } - return m0 -} - -type UpdateOrganizationSettingsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateOrganizationSettingsResponse) Reset() { - *x = UpdateOrganizationSettingsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateOrganizationSettingsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateOrganizationSettingsResponse) ProtoMessage() {} - -func (x *UpdateOrganizationSettingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type UpdateOrganizationSettingsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 UpdateOrganizationSettingsResponse_builder) Build() *UpdateOrganizationSettingsResponse { - m0 := &UpdateOrganizationSettingsResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type AddOrganizationGroupRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_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() { - *x = AddOrganizationGroupRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddOrganizationGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddOrganizationGroupRequest) ProtoMessage() {} - -func (x *AddOrganizationGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *AddOrganizationGroupRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *AddOrganizationGroupRequest) GetGroupName() string { - if x != nil { - return x.xxx_hidden_GroupName - } - return "" -} - -func (x *AddOrganizationGroupRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *AddOrganizationGroupRequest) SetGroupName(v string) { - x.xxx_hidden_GroupName = v -} - -type AddOrganizationGroupRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which to add the group. - OrganizationId string - // The name of the group to add. - GroupName string -} - -func (b0 AddOrganizationGroupRequest_builder) Build() *AddOrganizationGroupRequest { - m0 := &AddOrganizationGroupRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_GroupName = b.GroupName - return m0 -} - -type AddOrganizationGroupResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddOrganizationGroupResponse) Reset() { - *x = AddOrganizationGroupResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddOrganizationGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddOrganizationGroupResponse) ProtoMessage() {} - -func (x *AddOrganizationGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type AddOrganizationGroupResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 AddOrganizationGroupResponse_builder) Build() *AddOrganizationGroupResponse { - m0 := &AddOrganizationGroupResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type RemoveOrganizationGroupRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_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() { - *x = RemoveOrganizationGroupRequest{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveOrganizationGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveOrganizationGroupRequest) ProtoMessage() {} - -func (x *RemoveOrganizationGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[32] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RemoveOrganizationGroupRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *RemoveOrganizationGroupRequest) GetGroupName() string { - if x != nil { - return x.xxx_hidden_GroupName - } - return "" -} - -func (x *RemoveOrganizationGroupRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *RemoveOrganizationGroupRequest) SetGroupName(v string) { - x.xxx_hidden_GroupName = v -} - -type RemoveOrganizationGroupRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization for which to remove the group. - OrganizationId string - // The name of the group to remove. - GroupName string -} - -func (b0 RemoveOrganizationGroupRequest_builder) Build() *RemoveOrganizationGroupRequest { - m0 := &RemoveOrganizationGroupRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_GroupName = b.GroupName - return m0 -} - -type RemoveOrganizationGroupResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveOrganizationGroupResponse) Reset() { - *x = RemoveOrganizationGroupResponse{} - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveOrganizationGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveOrganizationGroupResponse) ProtoMessage() {} - -func (x *RemoveOrganizationGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[33] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type RemoveOrganizationGroupResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 RemoveOrganizationGroupResponse_builder) Build() *RemoveOrganizationGroupResponse { - m0 := &RemoveOrganizationGroupResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -var File_buf_alpha_registry_v1alpha1_organization_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_organization_proto_rawDesc = []byte{ - 0x0a, 0x2e, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x26, 0x62, - 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x02, - 0x0a, 0x0c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, - 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, - 0x12, 0x60, 0x0a, 0x13, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x12, - 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x22, 0xc3, 0x01, 0x0a, 0x16, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, 0x4d, 0x0a, - 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x11, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x28, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x22, 0x68, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, - 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x32, 0x0a, 0x1c, - 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x22, 0x6e, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x4d, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x70, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, - 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, - 0x72, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, - 0x73, 0x65, 0x22, 0x94, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x4f, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, - 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8d, 0x01, 0x0a, 0x1c, 0x4c, 0x69, - 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, - 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x22, 0xa2, 0x01, 0x0a, 0x1d, 0x4c, 0x69, - 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0d, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5e, - 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x8b, - 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, - 0x0a, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x73, 0x68, 0x69, 0x70, 0x52, 0x16, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x22, 0x2f, 0x0a, 0x19, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6b, 0x0a, - 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0c, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2b, 0x0a, 0x19, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x0a, 0x1f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4e, 0x61, 0x6d, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x22, 0x0a, 0x20, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0xbc, 0x01, 0x0a, 0x1c, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x5a, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x10, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x22, - 0x1f, 0x0a, 0x1d, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0xbf, 0x01, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, - 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x5a, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, - 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, - 0x6c, 0x65, 0x22, 0x22, 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x63, 0x0a, 0x1f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x22, 0x0a, 0x20, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0xbc, 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x5a, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x10, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x1f, - 0x0a, 0x1d, 0x53, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x49, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xf6, 0x01, 0x0a, 0x1f, 0x47, - 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, - 0x0a, 0x14, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x62, 0x61, 0x73, - 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x12, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x23, 0x0a, - 0x0d, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x64, 0x70, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, - 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x64, 0x70, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x10, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x52, - 0x12, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x72, - 0x6f, 0x6c, 0x65, 0x22, 0xb3, 0x02, 0x0a, 0x21, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, - 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x5d, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x12, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, - 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, - 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, - 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, - 0x04, 0x10, 0x05, 0x52, 0x10, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x62, 0x61, 0x73, 0x65, - 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x52, 0x12, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, - 0x62, 0x61, 0x73, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x24, 0x0a, 0x22, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x65, 0x0a, 0x1b, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, - 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x1e, 0x0a, 0x1c, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x68, 0x0a, 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, - 0x22, 0x21, 0x0a, 0x1f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x32, 0xe3, 0x12, 0x0a, 0x13, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, - 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, - 0x93, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x87, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, - 0x93, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, - 0x73, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x8a, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, - 0x02, 0x02, 0x12, 0x8a, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, - 0x9c, 0x01, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4e, - 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4e, 0x61, 0x6d, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0x93, - 0x01, 0x0a, 0x15, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x39, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x03, 0x90, 0x02, 0x02, 0x12, 0x97, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x12, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x3d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9c, - 0x01, 0x0a, 0x18, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x3c, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0x8e, 0x01, - 0x0a, 0x15, 0x53, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x39, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x53, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x99, - 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3b, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x9d, 0x01, 0x0a, 0x1a, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3e, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, - 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, - 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x14, 0x41, - 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x12, 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0x99, 0x01, - 0x0a, 0x17, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3b, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x42, 0x9e, 0x02, 0x0a, 0x1f, 0x63, 0x6f, - 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x11, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, - 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, - 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, - 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, - 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, - 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, - 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes = make([]protoimpl.MessageInfo, 34) -var file_buf_alpha_registry_v1alpha1_organization_proto_goTypes = []any{ - (*Organization)(nil), // 0: buf.alpha.registry.v1alpha1.Organization - (*OrganizationMembership)(nil), // 1: buf.alpha.registry.v1alpha1.OrganizationMembership - (*GetOrganizationRequest)(nil), // 2: buf.alpha.registry.v1alpha1.GetOrganizationRequest - (*GetOrganizationResponse)(nil), // 3: buf.alpha.registry.v1alpha1.GetOrganizationResponse - (*GetOrganizationByNameRequest)(nil), // 4: buf.alpha.registry.v1alpha1.GetOrganizationByNameRequest - (*GetOrganizationByNameResponse)(nil), // 5: buf.alpha.registry.v1alpha1.GetOrganizationByNameResponse - (*ListOrganizationsRequest)(nil), // 6: buf.alpha.registry.v1alpha1.ListOrganizationsRequest - (*ListOrganizationsResponse)(nil), // 7: buf.alpha.registry.v1alpha1.ListOrganizationsResponse - (*ListUserOrganizationsRequest)(nil), // 8: buf.alpha.registry.v1alpha1.ListUserOrganizationsRequest - (*ListUserOrganizationsResponse)(nil), // 9: buf.alpha.registry.v1alpha1.ListUserOrganizationsResponse - (*GetUserOrganizationRequest)(nil), // 10: buf.alpha.registry.v1alpha1.GetUserOrganizationRequest - (*GetUserOrganizationResponse)(nil), // 11: buf.alpha.registry.v1alpha1.GetUserOrganizationResponse - (*CreateOrganizationRequest)(nil), // 12: buf.alpha.registry.v1alpha1.CreateOrganizationRequest - (*CreateOrganizationResponse)(nil), // 13: buf.alpha.registry.v1alpha1.CreateOrganizationResponse - (*DeleteOrganizationRequest)(nil), // 14: buf.alpha.registry.v1alpha1.DeleteOrganizationRequest - (*DeleteOrganizationResponse)(nil), // 15: buf.alpha.registry.v1alpha1.DeleteOrganizationResponse - (*DeleteOrganizationByNameRequest)(nil), // 16: buf.alpha.registry.v1alpha1.DeleteOrganizationByNameRequest - (*DeleteOrganizationByNameResponse)(nil), // 17: buf.alpha.registry.v1alpha1.DeleteOrganizationByNameResponse - (*AddOrganizationMemberRequest)(nil), // 18: buf.alpha.registry.v1alpha1.AddOrganizationMemberRequest - (*AddOrganizationMemberResponse)(nil), // 19: buf.alpha.registry.v1alpha1.AddOrganizationMemberResponse - (*UpdateOrganizationMemberRequest)(nil), // 20: buf.alpha.registry.v1alpha1.UpdateOrganizationMemberRequest - (*UpdateOrganizationMemberResponse)(nil), // 21: buf.alpha.registry.v1alpha1.UpdateOrganizationMemberResponse - (*RemoveOrganizationMemberRequest)(nil), // 22: buf.alpha.registry.v1alpha1.RemoveOrganizationMemberRequest - (*RemoveOrganizationMemberResponse)(nil), // 23: buf.alpha.registry.v1alpha1.RemoveOrganizationMemberResponse - (*SetOrganizationMemberRequest)(nil), // 24: buf.alpha.registry.v1alpha1.SetOrganizationMemberRequest - (*SetOrganizationMemberResponse)(nil), // 25: buf.alpha.registry.v1alpha1.SetOrganizationMemberResponse - (*GetOrganizationSettingsRequest)(nil), // 26: buf.alpha.registry.v1alpha1.GetOrganizationSettingsRequest - (*GetOrganizationSettingsResponse)(nil), // 27: buf.alpha.registry.v1alpha1.GetOrganizationSettingsResponse - (*UpdateOrganizationSettingsRequest)(nil), // 28: buf.alpha.registry.v1alpha1.UpdateOrganizationSettingsRequest - (*UpdateOrganizationSettingsResponse)(nil), // 29: buf.alpha.registry.v1alpha1.UpdateOrganizationSettingsResponse - (*AddOrganizationGroupRequest)(nil), // 30: buf.alpha.registry.v1alpha1.AddOrganizationGroupRequest - (*AddOrganizationGroupResponse)(nil), // 31: buf.alpha.registry.v1alpha1.AddOrganizationGroupResponse - (*RemoveOrganizationGroupRequest)(nil), // 32: buf.alpha.registry.v1alpha1.RemoveOrganizationGroupRequest - (*RemoveOrganizationGroupResponse)(nil), // 33: buf.alpha.registry.v1alpha1.RemoveOrganizationGroupResponse - (*timestamppb.Timestamp)(nil), // 34: google.protobuf.Timestamp - (VerificationStatus)(0), // 35: buf.alpha.registry.v1alpha1.VerificationStatus - (OrganizationRole)(0), // 36: buf.alpha.registry.v1alpha1.OrganizationRole - (RepositoryRole)(0), // 37: buf.alpha.registry.v1alpha1.RepositoryRole -} -var file_buf_alpha_registry_v1alpha1_organization_proto_depIdxs = []int32{ - 34, // 0: buf.alpha.registry.v1alpha1.Organization.create_time:type_name -> google.protobuf.Timestamp - 34, // 1: buf.alpha.registry.v1alpha1.Organization.update_time:type_name -> google.protobuf.Timestamp - 35, // 2: buf.alpha.registry.v1alpha1.Organization.verification_status:type_name -> buf.alpha.registry.v1alpha1.VerificationStatus - 0, // 3: buf.alpha.registry.v1alpha1.OrganizationMembership.organization:type_name -> buf.alpha.registry.v1alpha1.Organization - 36, // 4: buf.alpha.registry.v1alpha1.OrganizationMembership.organization_role:type_name -> buf.alpha.registry.v1alpha1.OrganizationRole - 0, // 5: buf.alpha.registry.v1alpha1.GetOrganizationResponse.organization:type_name -> buf.alpha.registry.v1alpha1.Organization - 0, // 6: buf.alpha.registry.v1alpha1.GetOrganizationByNameResponse.organization:type_name -> buf.alpha.registry.v1alpha1.Organization - 0, // 7: buf.alpha.registry.v1alpha1.ListOrganizationsResponse.organizations:type_name -> buf.alpha.registry.v1alpha1.Organization - 1, // 8: buf.alpha.registry.v1alpha1.ListUserOrganizationsResponse.organizations:type_name -> buf.alpha.registry.v1alpha1.OrganizationMembership - 1, // 9: buf.alpha.registry.v1alpha1.GetUserOrganizationResponse.organization_membership:type_name -> buf.alpha.registry.v1alpha1.OrganizationMembership - 0, // 10: buf.alpha.registry.v1alpha1.CreateOrganizationResponse.organization:type_name -> buf.alpha.registry.v1alpha1.Organization - 36, // 11: buf.alpha.registry.v1alpha1.AddOrganizationMemberRequest.organization_role:type_name -> buf.alpha.registry.v1alpha1.OrganizationRole - 36, // 12: buf.alpha.registry.v1alpha1.UpdateOrganizationMemberRequest.organization_role:type_name -> buf.alpha.registry.v1alpha1.OrganizationRole - 36, // 13: buf.alpha.registry.v1alpha1.SetOrganizationMemberRequest.organization_role:type_name -> buf.alpha.registry.v1alpha1.OrganizationRole - 37, // 14: buf.alpha.registry.v1alpha1.GetOrganizationSettingsResponse.repository_base_role:type_name -> buf.alpha.registry.v1alpha1.RepositoryRole - 37, // 15: buf.alpha.registry.v1alpha1.UpdateOrganizationSettingsRequest.repository_base_role:type_name -> buf.alpha.registry.v1alpha1.RepositoryRole - 2, // 16: buf.alpha.registry.v1alpha1.OrganizationService.GetOrganization:input_type -> buf.alpha.registry.v1alpha1.GetOrganizationRequest - 4, // 17: buf.alpha.registry.v1alpha1.OrganizationService.GetOrganizationByName:input_type -> buf.alpha.registry.v1alpha1.GetOrganizationByNameRequest - 6, // 18: buf.alpha.registry.v1alpha1.OrganizationService.ListOrganizations:input_type -> buf.alpha.registry.v1alpha1.ListOrganizationsRequest - 8, // 19: buf.alpha.registry.v1alpha1.OrganizationService.ListUserOrganizations:input_type -> buf.alpha.registry.v1alpha1.ListUserOrganizationsRequest - 10, // 20: buf.alpha.registry.v1alpha1.OrganizationService.GetUserOrganization:input_type -> buf.alpha.registry.v1alpha1.GetUserOrganizationRequest - 12, // 21: buf.alpha.registry.v1alpha1.OrganizationService.CreateOrganization:input_type -> buf.alpha.registry.v1alpha1.CreateOrganizationRequest - 14, // 22: buf.alpha.registry.v1alpha1.OrganizationService.DeleteOrganization:input_type -> buf.alpha.registry.v1alpha1.DeleteOrganizationRequest - 16, // 23: buf.alpha.registry.v1alpha1.OrganizationService.DeleteOrganizationByName:input_type -> buf.alpha.registry.v1alpha1.DeleteOrganizationByNameRequest - 18, // 24: buf.alpha.registry.v1alpha1.OrganizationService.AddOrganizationMember:input_type -> buf.alpha.registry.v1alpha1.AddOrganizationMemberRequest - 20, // 25: buf.alpha.registry.v1alpha1.OrganizationService.UpdateOrganizationMember:input_type -> buf.alpha.registry.v1alpha1.UpdateOrganizationMemberRequest - 22, // 26: buf.alpha.registry.v1alpha1.OrganizationService.RemoveOrganizationMember:input_type -> buf.alpha.registry.v1alpha1.RemoveOrganizationMemberRequest - 24, // 27: buf.alpha.registry.v1alpha1.OrganizationService.SetOrganizationMember:input_type -> buf.alpha.registry.v1alpha1.SetOrganizationMemberRequest - 26, // 28: buf.alpha.registry.v1alpha1.OrganizationService.GetOrganizationSettings:input_type -> buf.alpha.registry.v1alpha1.GetOrganizationSettingsRequest - 28, // 29: buf.alpha.registry.v1alpha1.OrganizationService.UpdateOrganizationSettings:input_type -> buf.alpha.registry.v1alpha1.UpdateOrganizationSettingsRequest - 30, // 30: buf.alpha.registry.v1alpha1.OrganizationService.AddOrganizationGroup:input_type -> buf.alpha.registry.v1alpha1.AddOrganizationGroupRequest - 32, // 31: buf.alpha.registry.v1alpha1.OrganizationService.RemoveOrganizationGroup:input_type -> buf.alpha.registry.v1alpha1.RemoveOrganizationGroupRequest - 3, // 32: buf.alpha.registry.v1alpha1.OrganizationService.GetOrganization:output_type -> buf.alpha.registry.v1alpha1.GetOrganizationResponse - 5, // 33: buf.alpha.registry.v1alpha1.OrganizationService.GetOrganizationByName:output_type -> buf.alpha.registry.v1alpha1.GetOrganizationByNameResponse - 7, // 34: buf.alpha.registry.v1alpha1.OrganizationService.ListOrganizations:output_type -> buf.alpha.registry.v1alpha1.ListOrganizationsResponse - 9, // 35: buf.alpha.registry.v1alpha1.OrganizationService.ListUserOrganizations:output_type -> buf.alpha.registry.v1alpha1.ListUserOrganizationsResponse - 11, // 36: buf.alpha.registry.v1alpha1.OrganizationService.GetUserOrganization:output_type -> buf.alpha.registry.v1alpha1.GetUserOrganizationResponse - 13, // 37: buf.alpha.registry.v1alpha1.OrganizationService.CreateOrganization:output_type -> buf.alpha.registry.v1alpha1.CreateOrganizationResponse - 15, // 38: buf.alpha.registry.v1alpha1.OrganizationService.DeleteOrganization:output_type -> buf.alpha.registry.v1alpha1.DeleteOrganizationResponse - 17, // 39: buf.alpha.registry.v1alpha1.OrganizationService.DeleteOrganizationByName:output_type -> buf.alpha.registry.v1alpha1.DeleteOrganizationByNameResponse - 19, // 40: buf.alpha.registry.v1alpha1.OrganizationService.AddOrganizationMember:output_type -> buf.alpha.registry.v1alpha1.AddOrganizationMemberResponse - 21, // 41: buf.alpha.registry.v1alpha1.OrganizationService.UpdateOrganizationMember:output_type -> buf.alpha.registry.v1alpha1.UpdateOrganizationMemberResponse - 23, // 42: buf.alpha.registry.v1alpha1.OrganizationService.RemoveOrganizationMember:output_type -> buf.alpha.registry.v1alpha1.RemoveOrganizationMemberResponse - 25, // 43: buf.alpha.registry.v1alpha1.OrganizationService.SetOrganizationMember:output_type -> buf.alpha.registry.v1alpha1.SetOrganizationMemberResponse - 27, // 44: buf.alpha.registry.v1alpha1.OrganizationService.GetOrganizationSettings:output_type -> buf.alpha.registry.v1alpha1.GetOrganizationSettingsResponse - 29, // 45: buf.alpha.registry.v1alpha1.OrganizationService.UpdateOrganizationSettings:output_type -> buf.alpha.registry.v1alpha1.UpdateOrganizationSettingsResponse - 31, // 46: buf.alpha.registry.v1alpha1.OrganizationService.AddOrganizationGroup:output_type -> buf.alpha.registry.v1alpha1.AddOrganizationGroupResponse - 33, // 47: buf.alpha.registry.v1alpha1.OrganizationService.RemoveOrganizationGroup:output_type -> buf.alpha.registry.v1alpha1.RemoveOrganizationGroupResponse - 32, // [32:48] is the sub-list for method output_type - 16, // [16:32] is the sub-list for method input_type - 16, // [16:16] is the sub-list for extension type_name - 16, // [16:16] is the sub-list for extension extendee - 0, // [0:16] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_organization_proto_init() } -func file_buf_alpha_registry_v1alpha1_organization_proto_init() { - if File_buf_alpha_registry_v1alpha1_organization_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_role_proto_init() - file_buf_alpha_registry_v1alpha1_verification_status_proto_init() - file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes[28].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_organization_proto_rawDesc, - NumEnums: 0, - NumMessages: 34, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_organization_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_organization_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_organization_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_organization_proto = out.File - file_buf_alpha_registry_v1alpha1_organization_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_organization_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_organization_proto_depIdxs = nil -} 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 30db800d9f..b140186ab2 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/owner.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -36,14 +34,10 @@ const ( ) type Owner struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Types that are valid to be assigned to Owner: - // - // *Owner_User - // *Owner_Organization - Owner isOwner_Owner `protobuf_oneof:"owner"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner isOwner_Owner `protobuf_oneof:"owner"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Owner) Reset() { @@ -71,16 +65,9 @@ func (x *Owner) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -func (x *Owner) GetOwner() isOwner_Owner { - if x != nil { - return x.Owner - } - return nil -} - func (x *Owner) GetUser() *User { if x != nil { - if x, ok := x.Owner.(*Owner_User); ok { + if x, ok := x.xxx_hidden_Owner.(*owner_User); ok { return x.User } } @@ -89,7 +76,7 @@ func (x *Owner) GetUser() *User { func (x *Owner) GetOrganization() *Organization { if x != nil { - if x, ok := x.Owner.(*Owner_Organization); ok { + if x, ok := x.xxx_hidden_Owner.(*owner_Organization); ok { return x.Organization } } @@ -98,32 +85,32 @@ func (x *Owner) GetOrganization() *Organization { func (x *Owner) SetUser(v *User) { if v == nil { - x.Owner = nil + x.xxx_hidden_Owner = nil return } - x.Owner = &Owner_User{v} + x.xxx_hidden_Owner = &owner_User{v} } func (x *Owner) SetOrganization(v *Organization) { if v == nil { - x.Owner = nil + x.xxx_hidden_Owner = nil return } - x.Owner = &Owner_Organization{v} + x.xxx_hidden_Owner = &owner_Organization{v} } func (x *Owner) HasOwner() bool { if x == nil { return false } - return x.Owner != nil + return x.xxx_hidden_Owner != nil } func (x *Owner) HasUser() bool { if x == nil { return false } - _, ok := x.Owner.(*Owner_User) + _, ok := x.xxx_hidden_Owner.(*owner_User) return ok } @@ -131,23 +118,23 @@ func (x *Owner) HasOrganization() bool { if x == nil { return false } - _, ok := x.Owner.(*Owner_Organization) + _, ok := x.xxx_hidden_Owner.(*owner_Organization) return ok } func (x *Owner) ClearOwner() { - x.Owner = nil + x.xxx_hidden_Owner = nil } func (x *Owner) ClearUser() { - if _, ok := x.Owner.(*Owner_User); ok { - x.Owner = nil + if _, ok := x.xxx_hidden_Owner.(*owner_User); ok { + x.xxx_hidden_Owner = nil } } func (x *Owner) ClearOrganization() { - if _, ok := x.Owner.(*Owner_Organization); ok { - x.Owner = nil + if _, ok := x.xxx_hidden_Owner.(*owner_Organization); ok { + x.xxx_hidden_Owner = nil } } @@ -159,10 +146,10 @@ func (x *Owner) WhichOwner() case_Owner_Owner { if x == nil { return Owner_Owner_not_set_case } - switch x.Owner.(type) { - case *Owner_User: + switch x.xxx_hidden_Owner.(type) { + case *owner_User: return Owner_User_case - case *Owner_Organization: + case *owner_Organization: return Owner_Organization_case default: return Owner_Owner_not_set_case @@ -172,12 +159,12 @@ func (x *Owner) WhichOwner() case_Owner_Owner { type Owner_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - // Fields of oneof Owner: + // Fields of oneof xxx_hidden_Owner: // The requested owner is a `User`. User *User // The requested owner is a `Organization`. Organization *Organization - // -- end of Owner + // -- end of xxx_hidden_Owner } func (b0 Owner_builder) Build() *Owner { @@ -185,10 +172,10 @@ func (b0 Owner_builder) Build() *Owner { b, x := &b0, m0 _, _ = b, x if b.User != nil { - x.Owner = &Owner_User{b.User} + x.xxx_hidden_Owner = &owner_User{b.User} } if b.Organization != nil { - x.Owner = &Owner_Organization{b.Organization} + x.xxx_hidden_Owner = &owner_Organization{b.Organization} } return m0 } @@ -207,26 +194,25 @@ type isOwner_Owner interface { isOwner_Owner() } -type Owner_User struct { +type owner_User struct { // The requested owner is a `User`. User *User `protobuf:"bytes,1,opt,name=user,proto3,oneof"` } -type Owner_Organization struct { +type owner_Organization struct { // The requested owner is a `Organization`. Organization *Organization `protobuf:"bytes,2,opt,name=organization,proto3,oneof"` } -func (*Owner_User) isOwner_Owner() {} +func (*owner_User) isOwner_Owner() {} -func (*Owner_Organization) isOwner_Owner() {} +func (*owner_Organization) isOwner_Owner() {} type GetOwnerByNameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Name of the requested owner. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOwnerByNameRequest) Reset() { @@ -256,13 +242,13 @@ func (x *GetOwnerByNameRequest) ProtoReflect() protoreflect.Message { func (x *GetOwnerByNameRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *GetOwnerByNameRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } type GetOwnerByNameRequest_builder struct { @@ -276,15 +262,15 @@ func (b0 GetOwnerByNameRequest_builder) Build() *GetOwnerByNameRequest { m0 := &GetOwnerByNameRequest{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name + x.xxx_hidden_Name = b.Name return m0 } type GetOwnerByNameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Owner *Owner `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner *Owner `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetOwnerByNameResponse) Reset() { @@ -314,24 +300,24 @@ func (x *GetOwnerByNameResponse) ProtoReflect() protoreflect.Message { func (x *GetOwnerByNameResponse) GetOwner() *Owner { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return nil } func (x *GetOwnerByNameResponse) SetOwner(v *Owner) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetOwnerByNameResponse) HasOwner() bool { if x == nil { return false } - return x.Owner != nil + return x.xxx_hidden_Owner != nil } func (x *GetOwnerByNameResponse) ClearOwner() { - x.Owner = nil + x.xxx_hidden_Owner = nil } type GetOwnerByNameResponse_builder struct { @@ -344,7 +330,7 @@ func (b0 GetOwnerByNameResponse_builder) Build() *GetOwnerByNameResponse { m0 := &GetOwnerByNameResponse{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner + x.xxx_hidden_Owner = b.Owner return m0 } @@ -437,8 +423,8 @@ func file_buf_alpha_registry_v1alpha1_owner_proto_init() { file_buf_alpha_registry_v1alpha1_organization_proto_init() file_buf_alpha_registry_v1alpha1_user_proto_init() file_buf_alpha_registry_v1alpha1_owner_proto_msgTypes[0].OneofWrappers = []any{ - (*Owner_User)(nil), - (*Owner_Organization)(nil), + (*owner_User)(nil), + (*owner_Organization)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/owner_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/owner_protoopaque.pb.go deleted file mode 100644 index 72d0cee5b1..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/owner_protoopaque.pb.go +++ /dev/null @@ -1,449 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/owner.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Owner struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner isOwner_Owner `protobuf_oneof:"owner"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Owner) Reset() { - *x = Owner{} - mi := &file_buf_alpha_registry_v1alpha1_owner_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Owner) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Owner) ProtoMessage() {} - -func (x *Owner) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_owner_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Owner) GetUser() *User { - if x != nil { - if x, ok := x.xxx_hidden_Owner.(*owner_User); ok { - return x.User - } - } - return nil -} - -func (x *Owner) GetOrganization() *Organization { - if x != nil { - if x, ok := x.xxx_hidden_Owner.(*owner_Organization); ok { - return x.Organization - } - } - return nil -} - -func (x *Owner) SetUser(v *User) { - if v == nil { - x.xxx_hidden_Owner = nil - return - } - x.xxx_hidden_Owner = &owner_User{v} -} - -func (x *Owner) SetOrganization(v *Organization) { - if v == nil { - x.xxx_hidden_Owner = nil - return - } - x.xxx_hidden_Owner = &owner_Organization{v} -} - -func (x *Owner) HasOwner() bool { - if x == nil { - return false - } - return x.xxx_hidden_Owner != nil -} - -func (x *Owner) HasUser() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Owner.(*owner_User) - return ok -} - -func (x *Owner) HasOrganization() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Owner.(*owner_Organization) - return ok -} - -func (x *Owner) ClearOwner() { - x.xxx_hidden_Owner = nil -} - -func (x *Owner) ClearUser() { - if _, ok := x.xxx_hidden_Owner.(*owner_User); ok { - x.xxx_hidden_Owner = nil - } -} - -func (x *Owner) ClearOrganization() { - if _, ok := x.xxx_hidden_Owner.(*owner_Organization); ok { - x.xxx_hidden_Owner = nil - } -} - -const Owner_Owner_not_set_case case_Owner_Owner = 0 -const Owner_User_case case_Owner_Owner = 1 -const Owner_Organization_case case_Owner_Owner = 2 - -func (x *Owner) WhichOwner() case_Owner_Owner { - if x == nil { - return Owner_Owner_not_set_case - } - switch x.xxx_hidden_Owner.(type) { - case *owner_User: - return Owner_User_case - case *owner_Organization: - return Owner_Organization_case - default: - return Owner_Owner_not_set_case - } -} - -type Owner_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Fields of oneof xxx_hidden_Owner: - // The requested owner is a `User`. - User *User - // The requested owner is a `Organization`. - Organization *Organization - // -- end of xxx_hidden_Owner -} - -func (b0 Owner_builder) Build() *Owner { - m0 := &Owner{} - b, x := &b0, m0 - _, _ = b, x - if b.User != nil { - x.xxx_hidden_Owner = &owner_User{b.User} - } - if b.Organization != nil { - x.xxx_hidden_Owner = &owner_Organization{b.Organization} - } - return m0 -} - -type case_Owner_Owner protoreflect.FieldNumber - -func (x case_Owner_Owner) String() string { - md := file_buf_alpha_registry_v1alpha1_owner_proto_msgTypes[0].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isOwner_Owner interface { - isOwner_Owner() -} - -type owner_User struct { - // The requested owner is a `User`. - User *User `protobuf:"bytes,1,opt,name=user,proto3,oneof"` -} - -type owner_Organization struct { - // The requested owner is a `Organization`. - Organization *Organization `protobuf:"bytes,2,opt,name=organization,proto3,oneof"` -} - -func (*owner_User) isOwner_Owner() {} - -func (*owner_Organization) isOwner_Owner() {} - -type GetOwnerByNameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetOwnerByNameRequest) Reset() { - *x = GetOwnerByNameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_owner_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetOwnerByNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetOwnerByNameRequest) ProtoMessage() {} - -func (x *GetOwnerByNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_owner_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetOwnerByNameRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *GetOwnerByNameRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -type GetOwnerByNameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Name of the requested owner. - Name string -} - -func (b0 GetOwnerByNameRequest_builder) Build() *GetOwnerByNameRequest { - m0 := &GetOwnerByNameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - return m0 -} - -type GetOwnerByNameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner *Owner `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetOwnerByNameResponse) Reset() { - *x = GetOwnerByNameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_owner_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetOwnerByNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetOwnerByNameResponse) ProtoMessage() {} - -func (x *GetOwnerByNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_owner_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetOwnerByNameResponse) GetOwner() *Owner { - if x != nil { - return x.xxx_hidden_Owner - } - return nil -} - -func (x *GetOwnerByNameResponse) SetOwner(v *Owner) { - x.xxx_hidden_Owner = v -} - -func (x *GetOwnerByNameResponse) HasOwner() bool { - if x == nil { - return false - } - return x.xxx_hidden_Owner != nil -} - -func (x *GetOwnerByNameResponse) ClearOwner() { - x.xxx_hidden_Owner = nil -} - -type GetOwnerByNameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner *Owner -} - -func (b0 GetOwnerByNameResponse_builder) Build() *GetOwnerByNameResponse { - m0 := &GetOwnerByNameResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - return m0 -} - -var File_buf_alpha_registry_v1alpha1_owner_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_owner_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x2e, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, - 0x01, 0x0a, 0x05, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, - 0x72, 0x12, 0x4f, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x2b, 0x0a, 0x15, 0x47, - 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x52, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, - 0x77, 0x6e, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x38, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x32, 0x8e, 0x01, 0x0a, - 0x0c, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7e, 0x0a, - 0x0e, 0x47, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x97, 0x02, - 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x42, 0x0a, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, - 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, - 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, - 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, - 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, - 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_owner_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_buf_alpha_registry_v1alpha1_owner_proto_goTypes = []any{ - (*Owner)(nil), // 0: buf.alpha.registry.v1alpha1.Owner - (*GetOwnerByNameRequest)(nil), // 1: buf.alpha.registry.v1alpha1.GetOwnerByNameRequest - (*GetOwnerByNameResponse)(nil), // 2: buf.alpha.registry.v1alpha1.GetOwnerByNameResponse - (*User)(nil), // 3: buf.alpha.registry.v1alpha1.User - (*Organization)(nil), // 4: buf.alpha.registry.v1alpha1.Organization -} -var file_buf_alpha_registry_v1alpha1_owner_proto_depIdxs = []int32{ - 3, // 0: buf.alpha.registry.v1alpha1.Owner.user:type_name -> buf.alpha.registry.v1alpha1.User - 4, // 1: buf.alpha.registry.v1alpha1.Owner.organization:type_name -> buf.alpha.registry.v1alpha1.Organization - 0, // 2: buf.alpha.registry.v1alpha1.GetOwnerByNameResponse.owner:type_name -> buf.alpha.registry.v1alpha1.Owner - 1, // 3: buf.alpha.registry.v1alpha1.OwnerService.GetOwnerByName:input_type -> buf.alpha.registry.v1alpha1.GetOwnerByNameRequest - 2, // 4: buf.alpha.registry.v1alpha1.OwnerService.GetOwnerByName:output_type -> buf.alpha.registry.v1alpha1.GetOwnerByNameResponse - 4, // [4:5] is the sub-list for method output_type - 3, // [3:4] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_owner_proto_init() } -func file_buf_alpha_registry_v1alpha1_owner_proto_init() { - if File_buf_alpha_registry_v1alpha1_owner_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_organization_proto_init() - file_buf_alpha_registry_v1alpha1_user_proto_init() - file_buf_alpha_registry_v1alpha1_owner_proto_msgTypes[0].OneofWrappers = []any{ - (*owner_User)(nil), - (*owner_Organization)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_owner_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_owner_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_owner_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_owner_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_owner_proto = out.File - file_buf_alpha_registry_v1alpha1_owner_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_owner_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_owner_proto_depIdxs = nil -} 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 202968f20b..0e94c13631 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/plugin_curation.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -461,21 +459,12 @@ func (x DotnetTargetFramework) Number() protoreflect.EnumNumber { // GoConfig is the configuration for a Go plugin. type GoConfig struct { - state protoimpl.MessageState `protogen:"hybrid.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. - MinimumVersion string `protobuf:"bytes,2,opt,name=minimum_version,json=minimumVersion,proto3" json:"minimum_version,omitempty"` - // Optionally specifies an alternate base plugin like "remote/org/go-multi" instead of the default - // "remote/protocolbuffers/go". If provided, the name must match one of the plugin dependencies in - // the top-level deps field. - // - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RuntimeLibraries *[]*GoConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` + xxx_hidden_MinimumVersion string `protobuf:"bytes,2,opt,name=minimum_version,json=minimumVersion,proto3" json:"minimum_version,omitempty"` + xxx_hidden_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() { @@ -505,35 +494,37 @@ func (x *GoConfig) ProtoReflect() protoreflect.Message { func (x *GoConfig) GetRuntimeLibraries() []*GoConfig_RuntimeLibrary { if x != nil { - return x.RuntimeLibraries + if x.xxx_hidden_RuntimeLibraries != nil { + return *x.xxx_hidden_RuntimeLibraries + } } return nil } func (x *GoConfig) GetMinimumVersion() string { if x != nil { - return x.MinimumVersion + return x.xxx_hidden_MinimumVersion } return "" } func (x *GoConfig) GetBasePlugin() string { if x != nil { - return x.BasePlugin + return x.xxx_hidden_BasePlugin } return "" } func (x *GoConfig) SetRuntimeLibraries(v []*GoConfig_RuntimeLibrary) { - x.RuntimeLibraries = v + x.xxx_hidden_RuntimeLibraries = &v } func (x *GoConfig) SetMinimumVersion(v string) { - x.MinimumVersion = v + x.xxx_hidden_MinimumVersion = v } func (x *GoConfig) SetBasePlugin(v string) { - x.BasePlugin = v + x.xxx_hidden_BasePlugin = v } type GoConfig_builder struct { @@ -557,30 +548,20 @@ func (b0 GoConfig_builder) Build() *GoConfig { m0 := &GoConfig{} b, x := &b0, m0 _, _ = b, x - x.RuntimeLibraries = b.RuntimeLibraries - x.MinimumVersion = b.MinimumVersion - x.BasePlugin = b.BasePlugin + x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries + x.xxx_hidden_MinimumVersion = b.MinimumVersion + x.xxx_hidden_BasePlugin = b.BasePlugin return m0 } // NPMConfig is the configuration for a JavaScript NPM plugin. type NPMConfig struct { - state protoimpl.MessageState `protogen:"hybrid.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 - // used for remote code generation in the BSR npm registry, which makes it possible - // to serve the output of a BSR module and a plugin in an individual package. - // - // All plugins based on @bufbuild/protoplugin support the option "rewrite_imports". - // Setting this value, i.e. "connectweb.js" or "pb.js", informs the BSR npm registry - // that the plugin supports import rewrites with the given import suffix. - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RuntimeLibraries *[]*NPMConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` + xxx_hidden_RewriteImportPathSuffix string `protobuf:"bytes,2,opt,name=rewrite_import_path_suffix,json=rewriteImportPathSuffix,proto3" json:"rewrite_import_path_suffix,omitempty"` + xxx_hidden_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() { @@ -610,35 +591,37 @@ func (x *NPMConfig) ProtoReflect() protoreflect.Message { func (x *NPMConfig) GetRuntimeLibraries() []*NPMConfig_RuntimeLibrary { if x != nil { - return x.RuntimeLibraries + if x.xxx_hidden_RuntimeLibraries != nil { + return *x.xxx_hidden_RuntimeLibraries + } } return nil } func (x *NPMConfig) GetRewriteImportPathSuffix() string { if x != nil { - return x.RewriteImportPathSuffix + return x.xxx_hidden_RewriteImportPathSuffix } return "" } func (x *NPMConfig) GetImportStyle() NPMImportStyle { if x != nil { - return x.ImportStyle + return x.xxx_hidden_ImportStyle } return NPMImportStyle_NPM_IMPORT_STYLE_UNSPECIFIED } func (x *NPMConfig) SetRuntimeLibraries(v []*NPMConfig_RuntimeLibrary) { - x.RuntimeLibraries = v + x.xxx_hidden_RuntimeLibraries = &v } func (x *NPMConfig) SetRewriteImportPathSuffix(v string) { - x.RewriteImportPathSuffix = v + x.xxx_hidden_RewriteImportPathSuffix = v } func (x *NPMConfig) SetImportStyle(v NPMImportStyle) { - x.ImportStyle = v + x.xxx_hidden_ImportStyle = v } type NPMConfig_builder struct { @@ -663,23 +646,20 @@ func (b0 NPMConfig_builder) Build() *NPMConfig { m0 := &NPMConfig{} b, x := &b0, m0 _, _ = b, x - x.RuntimeLibraries = b.RuntimeLibraries - x.RewriteImportPathSuffix = b.RewriteImportPathSuffix - x.ImportStyle = b.ImportStyle + x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries + x.xxx_hidden_RewriteImportPathSuffix = b.RewriteImportPathSuffix + x.xxx_hidden_ImportStyle = b.ImportStyle return m0 } // MavenConfig is the configuration for a Maven plugin. type MavenConfig struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RuntimeLibraries *[]*MavenConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` + xxx_hidden_Compiler *MavenConfig_CompilerConfig `protobuf:"bytes,2,opt,name=compiler,proto3" json:"compiler,omitempty"` + xxx_hidden_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() { @@ -709,46 +689,50 @@ func (x *MavenConfig) ProtoReflect() protoreflect.Message { func (x *MavenConfig) GetRuntimeLibraries() []*MavenConfig_RuntimeLibrary { if x != nil { - return x.RuntimeLibraries + if x.xxx_hidden_RuntimeLibraries != nil { + return *x.xxx_hidden_RuntimeLibraries + } } return nil } func (x *MavenConfig) GetCompiler() *MavenConfig_CompilerConfig { if x != nil { - return x.Compiler + return x.xxx_hidden_Compiler } return nil } func (x *MavenConfig) GetAdditionalRuntimes() []*MavenConfig_RuntimeConfig { if x != nil { - return x.AdditionalRuntimes + if x.xxx_hidden_AdditionalRuntimes != nil { + return *x.xxx_hidden_AdditionalRuntimes + } } return nil } func (x *MavenConfig) SetRuntimeLibraries(v []*MavenConfig_RuntimeLibrary) { - x.RuntimeLibraries = v + x.xxx_hidden_RuntimeLibraries = &v } func (x *MavenConfig) SetCompiler(v *MavenConfig_CompilerConfig) { - x.Compiler = v + x.xxx_hidden_Compiler = v } func (x *MavenConfig) SetAdditionalRuntimes(v []*MavenConfig_RuntimeConfig) { - x.AdditionalRuntimes = v + x.xxx_hidden_AdditionalRuntimes = &v } func (x *MavenConfig) HasCompiler() bool { if x == nil { return false } - return x.Compiler != nil + return x.xxx_hidden_Compiler != nil } func (x *MavenConfig) ClearCompiler() { - x.Compiler = nil + x.xxx_hidden_Compiler = nil } type MavenConfig_builder struct { @@ -766,21 +750,19 @@ func (b0 MavenConfig_builder) Build() *MavenConfig { m0 := &MavenConfig{} b, x := &b0, m0 _, _ = b, x - x.RuntimeLibraries = b.RuntimeLibraries - x.Compiler = b.Compiler - x.AdditionalRuntimes = b.AdditionalRuntimes + x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries + x.xxx_hidden_Compiler = b.Compiler + x.xxx_hidden_AdditionalRuntimes = &b.AdditionalRuntimes return m0 } // NugetConfig is the configuration for a NuGet C# plugin. type NugetConfig struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_TargetFrameworks []DotnetTargetFramework `protobuf:"varint,1,rep,packed,name=target_frameworks,json=targetFrameworks,proto3,enum=buf.alpha.registry.v1alpha1.DotnetTargetFramework" json:"target_frameworks,omitempty"` + xxx_hidden_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() { @@ -810,24 +792,26 @@ func (x *NugetConfig) ProtoReflect() protoreflect.Message { func (x *NugetConfig) GetTargetFrameworks() []DotnetTargetFramework { if x != nil { - return x.TargetFrameworks + return x.xxx_hidden_TargetFrameworks } return nil } func (x *NugetConfig) GetRuntimeLibraries() []*NugetConfig_RuntimeLibrary { if x != nil { - return x.RuntimeLibraries + if x.xxx_hidden_RuntimeLibraries != nil { + return *x.xxx_hidden_RuntimeLibraries + } } return nil } func (x *NugetConfig) SetTargetFrameworks(v []DotnetTargetFramework) { - x.TargetFrameworks = v + x.xxx_hidden_TargetFrameworks = v } func (x *NugetConfig) SetRuntimeLibraries(v []*NugetConfig_RuntimeLibrary) { - x.RuntimeLibraries = v + x.xxx_hidden_RuntimeLibraries = &v } type NugetConfig_builder struct { @@ -843,14 +827,14 @@ func (b0 NugetConfig_builder) Build() *NugetConfig { m0 := &NugetConfig{} b, x := &b0, m0 _, _ = b, x - x.TargetFrameworks = b.TargetFrameworks - x.RuntimeLibraries = b.RuntimeLibraries + x.xxx_hidden_TargetFrameworks = b.TargetFrameworks + x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries return m0 } // CmakeConfig is the configuration for a Cmake C++ plugin. type CmakeConfig struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -893,11 +877,10 @@ func (b0 CmakeConfig_builder) Build() *CmakeConfig { } type SwiftConfig struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -927,13 +910,15 @@ func (x *SwiftConfig) ProtoReflect() protoreflect.Message { func (x *SwiftConfig) GetRuntimeLibraries() []*SwiftConfig_RuntimeLibrary { if x != nil { - return x.RuntimeLibraries + if x.xxx_hidden_RuntimeLibraries != nil { + return *x.xxx_hidden_RuntimeLibraries + } } return nil } func (x *SwiftConfig) SetRuntimeLibraries(v []*SwiftConfig_RuntimeLibrary) { - x.RuntimeLibraries = v + x.xxx_hidden_RuntimeLibraries = &v } type SwiftConfig_builder struct { @@ -947,24 +932,17 @@ func (b0 SwiftConfig_builder) Build() *SwiftConfig { m0 := &SwiftConfig{} b, x := &b0, m0 _, _ = b, x - x.RuntimeLibraries = b.RuntimeLibraries + x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries return m0 } type PythonConfig struct { - state protoimpl.MessageState `protogen:"hybrid.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. - // - // Ref: - // - https://packaging.python.org/en/latest/specifications/core-metadata/#requires-python - // - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RuntimeLibraries *[]*PythonConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` + xxx_hidden_RequiresPython string `protobuf:"bytes,2,opt,name=requires_python,json=requiresPython,proto3" json:"requires_python,omitempty"` + xxx_hidden_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() { @@ -994,35 +972,37 @@ func (x *PythonConfig) ProtoReflect() protoreflect.Message { func (x *PythonConfig) GetRuntimeLibraries() []*PythonConfig_RuntimeLibrary { if x != nil { - return x.RuntimeLibraries + if x.xxx_hidden_RuntimeLibraries != nil { + return *x.xxx_hidden_RuntimeLibraries + } } return nil } func (x *PythonConfig) GetRequiresPython() string { if x != nil { - return x.RequiresPython + return x.xxx_hidden_RequiresPython } return "" } func (x *PythonConfig) GetPackageType() PythonPackageType { if x != nil { - return x.PackageType + return x.xxx_hidden_PackageType } return PythonPackageType_PYTHON_PACKAGE_TYPE_UNSPECIFIED } func (x *PythonConfig) SetRuntimeLibraries(v []*PythonConfig_RuntimeLibrary) { - x.RuntimeLibraries = v + x.xxx_hidden_RuntimeLibraries = &v } func (x *PythonConfig) SetRequiresPython(v string) { - x.RequiresPython = v + x.xxx_hidden_RequiresPython = v } func (x *PythonConfig) SetPackageType(v PythonPackageType) { - x.PackageType = v + x.xxx_hidden_PackageType = v } type PythonConfig_builder struct { @@ -1044,22 +1024,19 @@ func (b0 PythonConfig_builder) Build() *PythonConfig { m0 := &PythonConfig{} b, x := &b0, m0 _, _ = b, x - x.RuntimeLibraries = b.RuntimeLibraries - x.RequiresPython = b.RequiresPython - x.PackageType = b.PackageType + x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries + x.xxx_hidden_RequiresPython = b.RequiresPython + x.xxx_hidden_PackageType = b.PackageType return m0 } // CargoConfig specifies the Cargo Registry configuration for a Rust plugin. type CargoConfig struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RustVersion string `protobuf:"bytes,1,opt,name=rust_version,json=rustVersion,proto3" json:"rust_version,omitempty"` + xxx_hidden_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() { @@ -1089,24 +1066,26 @@ func (x *CargoConfig) ProtoReflect() protoreflect.Message { func (x *CargoConfig) GetRustVersion() string { if x != nil { - return x.RustVersion + return x.xxx_hidden_RustVersion } return "" } func (x *CargoConfig) GetRuntimeLibraries() []*CargoConfig_RuntimeLibrary { if x != nil { - return x.RuntimeLibraries + if x.xxx_hidden_RuntimeLibraries != nil { + return *x.xxx_hidden_RuntimeLibraries + } } return nil } func (x *CargoConfig) SetRustVersion(v string) { - x.RustVersion = v + x.xxx_hidden_RustVersion = v } func (x *CargoConfig) SetRuntimeLibraries(v []*CargoConfig_RuntimeLibrary) { - x.RuntimeLibraries = v + x.xxx_hidden_RuntimeLibraries = &v } type CargoConfig_builder struct { @@ -1123,30 +1102,18 @@ func (b0 CargoConfig_builder) Build() *CargoConfig { m0 := &CargoConfig{} b, x := &b0, m0 _, _ = b, x - x.RustVersion = b.RustVersion - x.RuntimeLibraries = b.RuntimeLibraries + x.xxx_hidden_RustVersion = b.RustVersion + x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries return m0 } // RegistryConfig is the configuration for the remote registry of a plugin. type RegistryConfig struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Types that are valid to be assigned to RegistryConfig: - // - // *RegistryConfig_GoConfig - // *RegistryConfig_NpmConfig - // *RegistryConfig_MavenConfig - // *RegistryConfig_SwiftConfig - // *RegistryConfig_PythonConfig - // *RegistryConfig_CargoConfig - // *RegistryConfig_NugetConfig - // *RegistryConfig_CmakeConfig - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RegistryConfig isRegistryConfig_RegistryConfig `protobuf_oneof:"registry_config"` + xxx_hidden_Options []string `protobuf:"bytes,10,rep,name=options,proto3" json:"options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RegistryConfig) Reset() { @@ -1174,16 +1141,9 @@ func (x *RegistryConfig) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -func (x *RegistryConfig) GetRegistryConfig() isRegistryConfig_RegistryConfig { - if x != nil { - return x.RegistryConfig - } - return nil -} - func (x *RegistryConfig) GetGoConfig() *GoConfig { if x != nil { - if x, ok := x.RegistryConfig.(*RegistryConfig_GoConfig); ok { + if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_GoConfig); ok { return x.GoConfig } } @@ -1192,7 +1152,7 @@ func (x *RegistryConfig) GetGoConfig() *GoConfig { func (x *RegistryConfig) GetNpmConfig() *NPMConfig { if x != nil { - if x, ok := x.RegistryConfig.(*RegistryConfig_NpmConfig); ok { + if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_NpmConfig); ok { return x.NpmConfig } } @@ -1201,7 +1161,7 @@ func (x *RegistryConfig) GetNpmConfig() *NPMConfig { func (x *RegistryConfig) GetMavenConfig() *MavenConfig { if x != nil { - if x, ok := x.RegistryConfig.(*RegistryConfig_MavenConfig); ok { + if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_MavenConfig); ok { return x.MavenConfig } } @@ -1210,7 +1170,7 @@ func (x *RegistryConfig) GetMavenConfig() *MavenConfig { func (x *RegistryConfig) GetSwiftConfig() *SwiftConfig { if x != nil { - if x, ok := x.RegistryConfig.(*RegistryConfig_SwiftConfig); ok { + if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_SwiftConfig); ok { return x.SwiftConfig } } @@ -1219,7 +1179,7 @@ func (x *RegistryConfig) GetSwiftConfig() *SwiftConfig { func (x *RegistryConfig) GetPythonConfig() *PythonConfig { if x != nil { - if x, ok := x.RegistryConfig.(*RegistryConfig_PythonConfig); ok { + if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_PythonConfig); ok { return x.PythonConfig } } @@ -1228,7 +1188,7 @@ func (x *RegistryConfig) GetPythonConfig() *PythonConfig { func (x *RegistryConfig) GetCargoConfig() *CargoConfig { if x != nil { - if x, ok := x.RegistryConfig.(*RegistryConfig_CargoConfig); ok { + if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_CargoConfig); ok { return x.CargoConfig } } @@ -1237,7 +1197,7 @@ func (x *RegistryConfig) GetCargoConfig() *CargoConfig { func (x *RegistryConfig) GetNugetConfig() *NugetConfig { if x != nil { - if x, ok := x.RegistryConfig.(*RegistryConfig_NugetConfig); ok { + if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_NugetConfig); ok { return x.NugetConfig } } @@ -1246,7 +1206,7 @@ func (x *RegistryConfig) GetNugetConfig() *NugetConfig { func (x *RegistryConfig) GetCmakeConfig() *CmakeConfig { if x != nil { - if x, ok := x.RegistryConfig.(*RegistryConfig_CmakeConfig); ok { + if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_CmakeConfig); ok { return x.CmakeConfig } } @@ -1255,91 +1215,91 @@ func (x *RegistryConfig) GetCmakeConfig() *CmakeConfig { func (x *RegistryConfig) GetOptions() []string { if x != nil { - return x.Options + return x.xxx_hidden_Options } return nil } func (x *RegistryConfig) SetGoConfig(v *GoConfig) { if v == nil { - x.RegistryConfig = nil + x.xxx_hidden_RegistryConfig = nil return } - x.RegistryConfig = &RegistryConfig_GoConfig{v} + x.xxx_hidden_RegistryConfig = ®istryConfig_GoConfig{v} } func (x *RegistryConfig) SetNpmConfig(v *NPMConfig) { if v == nil { - x.RegistryConfig = nil + x.xxx_hidden_RegistryConfig = nil return } - x.RegistryConfig = &RegistryConfig_NpmConfig{v} + x.xxx_hidden_RegistryConfig = ®istryConfig_NpmConfig{v} } func (x *RegistryConfig) SetMavenConfig(v *MavenConfig) { if v == nil { - x.RegistryConfig = nil + x.xxx_hidden_RegistryConfig = nil return } - x.RegistryConfig = &RegistryConfig_MavenConfig{v} + x.xxx_hidden_RegistryConfig = ®istryConfig_MavenConfig{v} } func (x *RegistryConfig) SetSwiftConfig(v *SwiftConfig) { if v == nil { - x.RegistryConfig = nil + x.xxx_hidden_RegistryConfig = nil return } - x.RegistryConfig = &RegistryConfig_SwiftConfig{v} + x.xxx_hidden_RegistryConfig = ®istryConfig_SwiftConfig{v} } func (x *RegistryConfig) SetPythonConfig(v *PythonConfig) { if v == nil { - x.RegistryConfig = nil + x.xxx_hidden_RegistryConfig = nil return } - x.RegistryConfig = &RegistryConfig_PythonConfig{v} + x.xxx_hidden_RegistryConfig = ®istryConfig_PythonConfig{v} } func (x *RegistryConfig) SetCargoConfig(v *CargoConfig) { if v == nil { - x.RegistryConfig = nil + x.xxx_hidden_RegistryConfig = nil return } - x.RegistryConfig = &RegistryConfig_CargoConfig{v} + x.xxx_hidden_RegistryConfig = ®istryConfig_CargoConfig{v} } func (x *RegistryConfig) SetNugetConfig(v *NugetConfig) { if v == nil { - x.RegistryConfig = nil + x.xxx_hidden_RegistryConfig = nil return } - x.RegistryConfig = &RegistryConfig_NugetConfig{v} + x.xxx_hidden_RegistryConfig = ®istryConfig_NugetConfig{v} } func (x *RegistryConfig) SetCmakeConfig(v *CmakeConfig) { if v == nil { - x.RegistryConfig = nil + x.xxx_hidden_RegistryConfig = nil return } - x.RegistryConfig = &RegistryConfig_CmakeConfig{v} + x.xxx_hidden_RegistryConfig = ®istryConfig_CmakeConfig{v} } func (x *RegistryConfig) SetOptions(v []string) { - x.Options = v + x.xxx_hidden_Options = v } func (x *RegistryConfig) HasRegistryConfig() bool { if x == nil { return false } - return x.RegistryConfig != nil + return x.xxx_hidden_RegistryConfig != nil } func (x *RegistryConfig) HasGoConfig() bool { if x == nil { return false } - _, ok := x.RegistryConfig.(*RegistryConfig_GoConfig) + _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_GoConfig) return ok } @@ -1347,7 +1307,7 @@ func (x *RegistryConfig) HasNpmConfig() bool { if x == nil { return false } - _, ok := x.RegistryConfig.(*RegistryConfig_NpmConfig) + _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_NpmConfig) return ok } @@ -1355,7 +1315,7 @@ func (x *RegistryConfig) HasMavenConfig() bool { if x == nil { return false } - _, ok := x.RegistryConfig.(*RegistryConfig_MavenConfig) + _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_MavenConfig) return ok } @@ -1363,7 +1323,7 @@ func (x *RegistryConfig) HasSwiftConfig() bool { if x == nil { return false } - _, ok := x.RegistryConfig.(*RegistryConfig_SwiftConfig) + _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_SwiftConfig) return ok } @@ -1371,7 +1331,7 @@ func (x *RegistryConfig) HasPythonConfig() bool { if x == nil { return false } - _, ok := x.RegistryConfig.(*RegistryConfig_PythonConfig) + _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_PythonConfig) return ok } @@ -1379,7 +1339,7 @@ func (x *RegistryConfig) HasCargoConfig() bool { if x == nil { return false } - _, ok := x.RegistryConfig.(*RegistryConfig_CargoConfig) + _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_CargoConfig) return ok } @@ -1387,7 +1347,7 @@ func (x *RegistryConfig) HasNugetConfig() bool { if x == nil { return false } - _, ok := x.RegistryConfig.(*RegistryConfig_NugetConfig) + _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_NugetConfig) return ok } @@ -1395,59 +1355,59 @@ func (x *RegistryConfig) HasCmakeConfig() bool { if x == nil { return false } - _, ok := x.RegistryConfig.(*RegistryConfig_CmakeConfig) + _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_CmakeConfig) return ok } func (x *RegistryConfig) ClearRegistryConfig() { - x.RegistryConfig = nil + x.xxx_hidden_RegistryConfig = nil } func (x *RegistryConfig) ClearGoConfig() { - if _, ok := x.RegistryConfig.(*RegistryConfig_GoConfig); ok { - x.RegistryConfig = nil + if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_GoConfig); ok { + x.xxx_hidden_RegistryConfig = nil } } func (x *RegistryConfig) ClearNpmConfig() { - if _, ok := x.RegistryConfig.(*RegistryConfig_NpmConfig); ok { - x.RegistryConfig = nil + if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_NpmConfig); ok { + x.xxx_hidden_RegistryConfig = nil } } func (x *RegistryConfig) ClearMavenConfig() { - if _, ok := x.RegistryConfig.(*RegistryConfig_MavenConfig); ok { - x.RegistryConfig = nil + if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_MavenConfig); ok { + x.xxx_hidden_RegistryConfig = nil } } func (x *RegistryConfig) ClearSwiftConfig() { - if _, ok := x.RegistryConfig.(*RegistryConfig_SwiftConfig); ok { - x.RegistryConfig = nil + if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_SwiftConfig); ok { + x.xxx_hidden_RegistryConfig = nil } } func (x *RegistryConfig) ClearPythonConfig() { - if _, ok := x.RegistryConfig.(*RegistryConfig_PythonConfig); ok { - x.RegistryConfig = nil + if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_PythonConfig); ok { + x.xxx_hidden_RegistryConfig = nil } } func (x *RegistryConfig) ClearCargoConfig() { - if _, ok := x.RegistryConfig.(*RegistryConfig_CargoConfig); ok { - x.RegistryConfig = nil + if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_CargoConfig); ok { + x.xxx_hidden_RegistryConfig = nil } } func (x *RegistryConfig) ClearNugetConfig() { - if _, ok := x.RegistryConfig.(*RegistryConfig_NugetConfig); ok { - x.RegistryConfig = nil + if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_NugetConfig); ok { + x.xxx_hidden_RegistryConfig = nil } } func (x *RegistryConfig) ClearCmakeConfig() { - if _, ok := x.RegistryConfig.(*RegistryConfig_CmakeConfig); ok { - x.RegistryConfig = nil + if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_CmakeConfig); ok { + x.xxx_hidden_RegistryConfig = nil } } @@ -1465,22 +1425,22 @@ func (x *RegistryConfig) WhichRegistryConfig() case_RegistryConfig_RegistryConfi if x == nil { return RegistryConfig_RegistryConfig_not_set_case } - switch x.RegistryConfig.(type) { - case *RegistryConfig_GoConfig: + switch x.xxx_hidden_RegistryConfig.(type) { + case *registryConfig_GoConfig: return RegistryConfig_GoConfig_case - case *RegistryConfig_NpmConfig: + case *registryConfig_NpmConfig: return RegistryConfig_NpmConfig_case - case *RegistryConfig_MavenConfig: + case *registryConfig_MavenConfig: return RegistryConfig_MavenConfig_case - case *RegistryConfig_SwiftConfig: + case *registryConfig_SwiftConfig: return RegistryConfig_SwiftConfig_case - case *RegistryConfig_PythonConfig: + case *registryConfig_PythonConfig: return RegistryConfig_PythonConfig_case - case *RegistryConfig_CargoConfig: + case *registryConfig_CargoConfig: return RegistryConfig_CargoConfig_case - case *RegistryConfig_NugetConfig: + case *registryConfig_NugetConfig: return RegistryConfig_NugetConfig_case - case *RegistryConfig_CmakeConfig: + case *registryConfig_CmakeConfig: return RegistryConfig_CmakeConfig_case default: return RegistryConfig_RegistryConfig_not_set_case @@ -1490,7 +1450,7 @@ func (x *RegistryConfig) WhichRegistryConfig() case_RegistryConfig_RegistryConfi type RegistryConfig_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - // Fields of oneof RegistryConfig: + // Fields of oneof xxx_hidden_RegistryConfig: GoConfig *GoConfig NpmConfig *NPMConfig MavenConfig *MavenConfig @@ -1499,7 +1459,7 @@ type RegistryConfig_builder struct { CargoConfig *CargoConfig NugetConfig *NugetConfig CmakeConfig *CmakeConfig - // -- end of RegistryConfig + // -- end of xxx_hidden_RegistryConfig // The options to pass to the plugin. These will // be merged into a single, comma-separated string. Options []string @@ -1510,30 +1470,30 @@ func (b0 RegistryConfig_builder) Build() *RegistryConfig { b, x := &b0, m0 _, _ = b, x if b.GoConfig != nil { - x.RegistryConfig = &RegistryConfig_GoConfig{b.GoConfig} + x.xxx_hidden_RegistryConfig = ®istryConfig_GoConfig{b.GoConfig} } if b.NpmConfig != nil { - x.RegistryConfig = &RegistryConfig_NpmConfig{b.NpmConfig} + x.xxx_hidden_RegistryConfig = ®istryConfig_NpmConfig{b.NpmConfig} } if b.MavenConfig != nil { - x.RegistryConfig = &RegistryConfig_MavenConfig{b.MavenConfig} + x.xxx_hidden_RegistryConfig = ®istryConfig_MavenConfig{b.MavenConfig} } if b.SwiftConfig != nil { - x.RegistryConfig = &RegistryConfig_SwiftConfig{b.SwiftConfig} + x.xxx_hidden_RegistryConfig = ®istryConfig_SwiftConfig{b.SwiftConfig} } if b.PythonConfig != nil { - x.RegistryConfig = &RegistryConfig_PythonConfig{b.PythonConfig} + x.xxx_hidden_RegistryConfig = ®istryConfig_PythonConfig{b.PythonConfig} } if b.CargoConfig != nil { - x.RegistryConfig = &RegistryConfig_CargoConfig{b.CargoConfig} + x.xxx_hidden_RegistryConfig = ®istryConfig_CargoConfig{b.CargoConfig} } if b.NugetConfig != nil { - x.RegistryConfig = &RegistryConfig_NugetConfig{b.NugetConfig} + x.xxx_hidden_RegistryConfig = ®istryConfig_NugetConfig{b.NugetConfig} } if b.CmakeConfig != nil { - x.RegistryConfig = &RegistryConfig_CmakeConfig{b.CmakeConfig} + x.xxx_hidden_RegistryConfig = ®istryConfig_CmakeConfig{b.CmakeConfig} } - x.Options = b.Options + x.xxx_hidden_Options = b.Options return m0 } @@ -1551,66 +1511,62 @@ type isRegistryConfig_RegistryConfig interface { isRegistryConfig_RegistryConfig() } -type RegistryConfig_GoConfig struct { +type registryConfig_GoConfig struct { GoConfig *GoConfig `protobuf:"bytes,1,opt,name=go_config,json=goConfig,proto3,oneof"` } -type RegistryConfig_NpmConfig struct { +type registryConfig_NpmConfig struct { NpmConfig *NPMConfig `protobuf:"bytes,2,opt,name=npm_config,json=npmConfig,proto3,oneof"` } -type RegistryConfig_MavenConfig struct { +type registryConfig_MavenConfig struct { MavenConfig *MavenConfig `protobuf:"bytes,3,opt,name=maven_config,json=mavenConfig,proto3,oneof"` } -type RegistryConfig_SwiftConfig struct { +type registryConfig_SwiftConfig struct { SwiftConfig *SwiftConfig `protobuf:"bytes,4,opt,name=swift_config,json=swiftConfig,proto3,oneof"` } -type RegistryConfig_PythonConfig struct { +type registryConfig_PythonConfig struct { PythonConfig *PythonConfig `protobuf:"bytes,5,opt,name=python_config,json=pythonConfig,proto3,oneof"` } -type RegistryConfig_CargoConfig struct { +type registryConfig_CargoConfig struct { CargoConfig *CargoConfig `protobuf:"bytes,6,opt,name=cargo_config,json=cargoConfig,proto3,oneof"` } -type RegistryConfig_NugetConfig struct { +type registryConfig_NugetConfig struct { NugetConfig *NugetConfig `protobuf:"bytes,7,opt,name=nuget_config,json=nugetConfig,proto3,oneof"` } -type RegistryConfig_CmakeConfig struct { +type registryConfig_CmakeConfig struct { CmakeConfig *CmakeConfig `protobuf:"bytes,8,opt,name=cmake_config,json=cmakeConfig,proto3,oneof"` } -func (*RegistryConfig_GoConfig) isRegistryConfig_RegistryConfig() {} +func (*registryConfig_GoConfig) isRegistryConfig_RegistryConfig() {} -func (*RegistryConfig_NpmConfig) isRegistryConfig_RegistryConfig() {} +func (*registryConfig_NpmConfig) isRegistryConfig_RegistryConfig() {} -func (*RegistryConfig_MavenConfig) isRegistryConfig_RegistryConfig() {} +func (*registryConfig_MavenConfig) isRegistryConfig_RegistryConfig() {} -func (*RegistryConfig_SwiftConfig) isRegistryConfig_RegistryConfig() {} +func (*registryConfig_SwiftConfig) isRegistryConfig_RegistryConfig() {} -func (*RegistryConfig_PythonConfig) isRegistryConfig_RegistryConfig() {} +func (*registryConfig_PythonConfig) isRegistryConfig_RegistryConfig() {} -func (*RegistryConfig_CargoConfig) isRegistryConfig_RegistryConfig() {} +func (*registryConfig_CargoConfig) isRegistryConfig_RegistryConfig() {} -func (*RegistryConfig_NugetConfig) isRegistryConfig_RegistryConfig() {} +func (*registryConfig_NugetConfig) isRegistryConfig_RegistryConfig() {} -func (*RegistryConfig_CmakeConfig) isRegistryConfig_RegistryConfig() {} +func (*registryConfig_CmakeConfig) isRegistryConfig_RegistryConfig() {} type CuratedPluginReference struct { - state protoimpl.MessageState `protogen:"hybrid.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". - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_Revision uint32 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CuratedPluginReference) Reset() { @@ -1640,46 +1596,46 @@ func (x *CuratedPluginReference) ProtoReflect() protoreflect.Message { func (x *CuratedPluginReference) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *CuratedPluginReference) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *CuratedPluginReference) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *CuratedPluginReference) GetRevision() uint32 { if x != nil { - return x.Revision + return x.xxx_hidden_Revision } return 0 } func (x *CuratedPluginReference) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *CuratedPluginReference) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *CuratedPluginReference) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *CuratedPluginReference) SetRevision(v uint32) { - x.Revision = v + x.xxx_hidden_Revision = v } type CuratedPluginReference_builder struct { @@ -1699,66 +1655,40 @@ func (b0 CuratedPluginReference_builder) Build() *CuratedPluginReference { m0 := &CuratedPluginReference{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Name = b.Name - x.Version = b.Version - x.Revision = b.Revision + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Version = b.Version + x.xxx_hidden_Revision = b.Revision return m0 } // CuratedPlugin represents a protoc plugin curated by Buf, such as protoc-gen-go. type CuratedPlugin struct { - state protoimpl.MessageState `protogen:"hybrid.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". - Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - // The name of the plugin, i.e. "connect-go". - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The optional registry type of the plugin. - RegistryType PluginRegistryType `protobuf:"varint,4,opt,name=registry_type,json=registryType,proto3,enum=buf.alpha.registry.v1alpha1.PluginRegistryType" json:"registry_type,omitempty"` - // Semver-formatted plugin version. - Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` - // The full container image digest associated with this plugin version including - // the algorithm. - // Ref: https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests - ContainerImageDigest string `protobuf:"bytes,6,opt,name=container_image_digest,json=containerImageDigest,proto3" json:"container_image_digest,omitempty"` - // The creation time of the plugin. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // List of plugin dependencies. - Dependencies []*CuratedPluginReference `protobuf:"bytes,9,rep,name=dependencies,proto3" json:"dependencies,omitempty"` - // Optionally specify the URL leading to the source code of the plugin, if available. - SourceUrl string `protobuf:"bytes,10,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` - // Optionally specify a brief description of the plugin functionality. - Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` - // The configuration for the remote registry of the plugin. - RegistryConfig *RegistryConfig `protobuf:"bytes,12,opt,name=registry_config,json=registryConfig,proto3" json:"registry_config,omitempty"` - // The revision for this plugin version. - Revision uint32 `protobuf:"varint,13,opt,name=revision,proto3" json:"revision,omitempty"` - // The output languages supported by the plugin. - OutputLanguages []PluginLanguage `protobuf:"varint,14,rep,packed,name=output_languages,json=outputLanguages,proto3,enum=buf.alpha.registry.v1alpha1.PluginLanguage" json:"output_languages,omitempty"` - // spdx_license_id is the license of the plugin, which should be one of the identifiers - // defined in https://spdx.org/licenses - SpdxLicenseId string `protobuf:"bytes,15,opt,name=spdx_license_id,json=spdxLicenseId,proto3" json:"spdx_license_id,omitempty"` - // license_url specifies an optional URL for the plugin's license (if not using a standard spdx_license_id). - LicenseUrl string `protobuf:"bytes,16,opt,name=license_url,json=licenseUrl,proto3" json:"license_url,omitempty"` - // verified indicates the plugin has been verified. Verification is a property - // of the BSR and cannot be set by end-users. - Verified bool `protobuf:"varint,17,opt,name=verified,proto3" json:"verified,omitempty"` - // Visibility indicates whether the plugin is public or private. - Visibility CuratedPluginVisibility `protobuf:"varint,18,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.CuratedPluginVisibility" json:"visibility,omitempty"` - // Deprecated indicates whether the plugin is deprecated. - Deprecated bool `protobuf:"varint,19,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - // Optionally specify a message to be displayed when the plugin is deprecated. - DeprecationMessage string `protobuf:"bytes,20,opt,name=deprecation_message,json=deprecationMessage,proto3" json:"deprecation_message,omitempty"` - // The URL leading to the integration guide of the plugin, if available. - IntegrationGuideUrl string `protobuf:"bytes,21,opt,name=integration_guide_url,json=integrationGuideUrl,proto3" json:"integration_guide_url,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_RegistryType PluginRegistryType `protobuf:"varint,4,opt,name=registry_type,json=registryType,proto3,enum=buf.alpha.registry.v1alpha1.PluginRegistryType" json:"registry_type,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_ContainerImageDigest string `protobuf:"bytes,6,opt,name=container_image_digest,json=containerImageDigest,proto3" json:"container_image_digest,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + xxx_hidden_Dependencies *[]*CuratedPluginReference `protobuf:"bytes,9,rep,name=dependencies,proto3" json:"dependencies,omitempty"` + xxx_hidden_SourceUrl string `protobuf:"bytes,10,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` + xxx_hidden_Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` + xxx_hidden_RegistryConfig *RegistryConfig `protobuf:"bytes,12,opt,name=registry_config,json=registryConfig,proto3" json:"registry_config,omitempty"` + xxx_hidden_Revision uint32 `protobuf:"varint,13,opt,name=revision,proto3" json:"revision,omitempty"` + xxx_hidden_OutputLanguages []PluginLanguage `protobuf:"varint,14,rep,packed,name=output_languages,json=outputLanguages,proto3,enum=buf.alpha.registry.v1alpha1.PluginLanguage" json:"output_languages,omitempty"` + xxx_hidden_SpdxLicenseId string `protobuf:"bytes,15,opt,name=spdx_license_id,json=spdxLicenseId,proto3" json:"spdx_license_id,omitempty"` + xxx_hidden_LicenseUrl string `protobuf:"bytes,16,opt,name=license_url,json=licenseUrl,proto3" json:"license_url,omitempty"` + xxx_hidden_Verified bool `protobuf:"varint,17,opt,name=verified,proto3" json:"verified,omitempty"` + xxx_hidden_Visibility CuratedPluginVisibility `protobuf:"varint,18,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.CuratedPluginVisibility" json:"visibility,omitempty"` + xxx_hidden_Deprecated bool `protobuf:"varint,19,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + xxx_hidden_DeprecationMessage string `protobuf:"bytes,20,opt,name=deprecation_message,json=deprecationMessage,proto3" json:"deprecation_message,omitempty"` + xxx_hidden_IntegrationGuideUrl string `protobuf:"bytes,21,opt,name=integration_guide_url,json=integrationGuideUrl,proto3" json:"integration_guide_url,omitempty"` + xxx_hidden_Doc string `protobuf:"bytes,22,opt,name=doc,proto3" json:"doc,omitempty"` + xxx_hidden_Collections *[]*PluginCollection `protobuf:"bytes,23,rep,name=collections,proto3" json:"collections,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CuratedPlugin) Reset() { @@ -1788,266 +1718,270 @@ func (x *CuratedPlugin) ProtoReflect() protoreflect.Message { func (x *CuratedPlugin) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *CuratedPlugin) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *CuratedPlugin) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *CuratedPlugin) GetRegistryType() PluginRegistryType { if x != nil { - return x.RegistryType + return x.xxx_hidden_RegistryType } return PluginRegistryType_PLUGIN_REGISTRY_TYPE_UNSPECIFIED } func (x *CuratedPlugin) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *CuratedPlugin) GetContainerImageDigest() string { if x != nil { - return x.ContainerImageDigest + return x.xxx_hidden_ContainerImageDigest } return "" } func (x *CuratedPlugin) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *CuratedPlugin) GetDependencies() []*CuratedPluginReference { if x != nil { - return x.Dependencies + if x.xxx_hidden_Dependencies != nil { + return *x.xxx_hidden_Dependencies + } } return nil } func (x *CuratedPlugin) GetSourceUrl() string { if x != nil { - return x.SourceUrl + return x.xxx_hidden_SourceUrl } return "" } func (x *CuratedPlugin) GetDescription() string { if x != nil { - return x.Description + return x.xxx_hidden_Description } return "" } func (x *CuratedPlugin) GetRegistryConfig() *RegistryConfig { if x != nil { - return x.RegistryConfig + return x.xxx_hidden_RegistryConfig } return nil } func (x *CuratedPlugin) GetRevision() uint32 { if x != nil { - return x.Revision + return x.xxx_hidden_Revision } return 0 } func (x *CuratedPlugin) GetOutputLanguages() []PluginLanguage { if x != nil { - return x.OutputLanguages + return x.xxx_hidden_OutputLanguages } return nil } func (x *CuratedPlugin) GetSpdxLicenseId() string { if x != nil { - return x.SpdxLicenseId + return x.xxx_hidden_SpdxLicenseId } return "" } func (x *CuratedPlugin) GetLicenseUrl() string { if x != nil { - return x.LicenseUrl + return x.xxx_hidden_LicenseUrl } return "" } func (x *CuratedPlugin) GetVerified() bool { if x != nil { - return x.Verified + return x.xxx_hidden_Verified } return false } func (x *CuratedPlugin) GetVisibility() CuratedPluginVisibility { if x != nil { - return x.Visibility + return x.xxx_hidden_Visibility } return CuratedPluginVisibility_CURATED_PLUGIN_VISIBILITY_UNSPECIFIED } func (x *CuratedPlugin) GetDeprecated() bool { if x != nil { - return x.Deprecated + return x.xxx_hidden_Deprecated } return false } func (x *CuratedPlugin) GetDeprecationMessage() string { if x != nil { - return x.DeprecationMessage + return x.xxx_hidden_DeprecationMessage } return "" } func (x *CuratedPlugin) GetIntegrationGuideUrl() string { if x != nil { - return x.IntegrationGuideUrl + return x.xxx_hidden_IntegrationGuideUrl } return "" } func (x *CuratedPlugin) GetDoc() string { if x != nil { - return x.Doc + return x.xxx_hidden_Doc } return "" } func (x *CuratedPlugin) GetCollections() []*PluginCollection { if x != nil { - return x.Collections + if x.xxx_hidden_Collections != nil { + return *x.xxx_hidden_Collections + } } return nil } func (x *CuratedPlugin) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *CuratedPlugin) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *CuratedPlugin) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *CuratedPlugin) SetRegistryType(v PluginRegistryType) { - x.RegistryType = v + x.xxx_hidden_RegistryType = v } func (x *CuratedPlugin) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *CuratedPlugin) SetContainerImageDigest(v string) { - x.ContainerImageDigest = v + x.xxx_hidden_ContainerImageDigest = v } func (x *CuratedPlugin) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *CuratedPlugin) SetDependencies(v []*CuratedPluginReference) { - x.Dependencies = v + x.xxx_hidden_Dependencies = &v } func (x *CuratedPlugin) SetSourceUrl(v string) { - x.SourceUrl = v + x.xxx_hidden_SourceUrl = v } func (x *CuratedPlugin) SetDescription(v string) { - x.Description = v + x.xxx_hidden_Description = v } func (x *CuratedPlugin) SetRegistryConfig(v *RegistryConfig) { - x.RegistryConfig = v + x.xxx_hidden_RegistryConfig = v } func (x *CuratedPlugin) SetRevision(v uint32) { - x.Revision = v + x.xxx_hidden_Revision = v } func (x *CuratedPlugin) SetOutputLanguages(v []PluginLanguage) { - x.OutputLanguages = v + x.xxx_hidden_OutputLanguages = v } func (x *CuratedPlugin) SetSpdxLicenseId(v string) { - x.SpdxLicenseId = v + x.xxx_hidden_SpdxLicenseId = v } func (x *CuratedPlugin) SetLicenseUrl(v string) { - x.LicenseUrl = v + x.xxx_hidden_LicenseUrl = v } func (x *CuratedPlugin) SetVerified(v bool) { - x.Verified = v + x.xxx_hidden_Verified = v } func (x *CuratedPlugin) SetVisibility(v CuratedPluginVisibility) { - x.Visibility = v + x.xxx_hidden_Visibility = v } func (x *CuratedPlugin) SetDeprecated(v bool) { - x.Deprecated = v + x.xxx_hidden_Deprecated = v } func (x *CuratedPlugin) SetDeprecationMessage(v string) { - x.DeprecationMessage = v + x.xxx_hidden_DeprecationMessage = v } func (x *CuratedPlugin) SetIntegrationGuideUrl(v string) { - x.IntegrationGuideUrl = v + x.xxx_hidden_IntegrationGuideUrl = v } func (x *CuratedPlugin) SetDoc(v string) { - x.Doc = v + x.xxx_hidden_Doc = v } func (x *CuratedPlugin) SetCollections(v []*PluginCollection) { - x.Collections = v + x.xxx_hidden_Collections = &v } func (x *CuratedPlugin) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *CuratedPlugin) HasRegistryConfig() bool { if x == nil { return false } - return x.RegistryConfig != nil + return x.xxx_hidden_RegistryConfig != nil } func (x *CuratedPlugin) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } func (x *CuratedPlugin) ClearRegistryConfig() { - x.RegistryConfig = nil + x.xxx_hidden_RegistryConfig = nil } type CuratedPlugin_builder struct { @@ -2107,38 +2041,37 @@ func (b0 CuratedPlugin_builder) Build() *CuratedPlugin { m0 := &CuratedPlugin{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.Owner = b.Owner - x.Name = b.Name - x.RegistryType = b.RegistryType - x.Version = b.Version - x.ContainerImageDigest = b.ContainerImageDigest - x.CreateTime = b.CreateTime - x.Dependencies = b.Dependencies - x.SourceUrl = b.SourceUrl - x.Description = b.Description - x.RegistryConfig = b.RegistryConfig - x.Revision = b.Revision - x.OutputLanguages = b.OutputLanguages - x.SpdxLicenseId = b.SpdxLicenseId - x.LicenseUrl = b.LicenseUrl - x.Verified = b.Verified - x.Visibility = b.Visibility - x.Deprecated = b.Deprecated - x.DeprecationMessage = b.DeprecationMessage - x.IntegrationGuideUrl = b.IntegrationGuideUrl - x.Doc = b.Doc - x.Collections = b.Collections + x.xxx_hidden_Id = b.Id + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Name = b.Name + x.xxx_hidden_RegistryType = b.RegistryType + x.xxx_hidden_Version = b.Version + x.xxx_hidden_ContainerImageDigest = b.ContainerImageDigest + x.xxx_hidden_CreateTime = b.CreateTime + x.xxx_hidden_Dependencies = &b.Dependencies + x.xxx_hidden_SourceUrl = b.SourceUrl + x.xxx_hidden_Description = b.Description + x.xxx_hidden_RegistryConfig = b.RegistryConfig + x.xxx_hidden_Revision = b.Revision + x.xxx_hidden_OutputLanguages = b.OutputLanguages + x.xxx_hidden_SpdxLicenseId = b.SpdxLicenseId + x.xxx_hidden_LicenseUrl = b.LicenseUrl + x.xxx_hidden_Verified = b.Verified + x.xxx_hidden_Visibility = b.Visibility + x.xxx_hidden_Deprecated = b.Deprecated + x.xxx_hidden_DeprecationMessage = b.DeprecationMessage + x.xxx_hidden_IntegrationGuideUrl = b.IntegrationGuideUrl + x.xxx_hidden_Doc = b.Doc + x.xxx_hidden_Collections = &b.Collections return m0 } // Plugin collections group related plugins, organizing them by functionality or ecosystem. type PluginCollection struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The name of the collection. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PluginCollection) Reset() { @@ -2168,13 +2101,13 @@ func (x *PluginCollection) ProtoReflect() protoreflect.Message { func (x *PluginCollection) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *PluginCollection) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } type PluginCollection_builder struct { @@ -2188,29 +2121,18 @@ func (b0 PluginCollection_builder) Build() *PluginCollection { m0 := &PluginCollection{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name + x.xxx_hidden_Name = b.Name return m0 } type GenerateCodeRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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. - // If you want to filter what files are generated, modify the image. - // If you want to include imports, set include_imports. - Image *v1.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - Requests []*PluginGenerationRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` - // Include imports from the Image in generation. If include_imports is also set - // in one of requests, use the request's value for that plugin. - IncludeImports bool `protobuf:"varint,3,opt,name=include_imports,json=includeImports,proto3" json:"include_imports,omitempty"` - // Include Well-Known Types from the Image in generation. - // - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Image *v1.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` + xxx_hidden_Requests *[]*PluginGenerationRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` + xxx_hidden_IncludeImports bool `protobuf:"varint,3,opt,name=include_imports,json=includeImports,proto3" json:"include_imports,omitempty"` + xxx_hidden_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() { @@ -2240,57 +2162,59 @@ func (x *GenerateCodeRequest) ProtoReflect() protoreflect.Message { func (x *GenerateCodeRequest) GetImage() *v1.Image { if x != nil { - return x.Image + return x.xxx_hidden_Image } return nil } func (x *GenerateCodeRequest) GetRequests() []*PluginGenerationRequest { if x != nil { - return x.Requests + if x.xxx_hidden_Requests != nil { + return *x.xxx_hidden_Requests + } } return nil } func (x *GenerateCodeRequest) GetIncludeImports() bool { if x != nil { - return x.IncludeImports + return x.xxx_hidden_IncludeImports } return false } func (x *GenerateCodeRequest) GetIncludeWellKnownTypes() bool { if x != nil { - return x.IncludeWellKnownTypes + return x.xxx_hidden_IncludeWellKnownTypes } return false } func (x *GenerateCodeRequest) SetImage(v *v1.Image) { - x.Image = v + x.xxx_hidden_Image = v } func (x *GenerateCodeRequest) SetRequests(v []*PluginGenerationRequest) { - x.Requests = v + x.xxx_hidden_Requests = &v } func (x *GenerateCodeRequest) SetIncludeImports(v bool) { - x.IncludeImports = v + x.xxx_hidden_IncludeImports = v } func (x *GenerateCodeRequest) SetIncludeWellKnownTypes(v bool) { - x.IncludeWellKnownTypes = v + x.xxx_hidden_IncludeWellKnownTypes = v } func (x *GenerateCodeRequest) HasImage() bool { if x == nil { return false } - return x.Image != nil + return x.xxx_hidden_Image != nil } func (x *GenerateCodeRequest) ClearImage() { - x.Image = nil + x.xxx_hidden_Image = nil } type GenerateCodeRequest_builder struct { @@ -2317,20 +2241,18 @@ func (b0 GenerateCodeRequest_builder) Build() *GenerateCodeRequest { m0 := &GenerateCodeRequest{} b, x := &b0, m0 _, _ = b, x - x.Image = b.Image - x.Requests = b.Requests - x.IncludeImports = b.IncludeImports - x.IncludeWellKnownTypes = b.IncludeWellKnownTypes + x.xxx_hidden_Image = b.Image + x.xxx_hidden_Requests = &b.Requests + x.xxx_hidden_IncludeImports = b.IncludeImports + x.xxx_hidden_IncludeWellKnownTypes = b.IncludeWellKnownTypes return m0 } type GenerateCodeResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Responses *[]*PluginGenerationResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GenerateCodeResponse) Reset() { @@ -2360,13 +2282,15 @@ func (x *GenerateCodeResponse) ProtoReflect() protoreflect.Message { func (x *GenerateCodeResponse) GetResponses() []*PluginGenerationResponse { if x != nil { - return x.Responses + if x.xxx_hidden_Responses != nil { + return *x.xxx_hidden_Responses + } } return nil } func (x *GenerateCodeResponse) SetResponses(v []*PluginGenerationResponse) { - x.Responses = v + x.xxx_hidden_Responses = &v } type GenerateCodeResponse_builder struct { @@ -2381,26 +2305,21 @@ func (b0 GenerateCodeResponse_builder) Build() *GenerateCodeResponse { m0 := &GenerateCodeResponse{} b, x := &b0, m0 _, _ = b, x - x.Responses = b.Responses + x.xxx_hidden_Responses = &b.Responses return m0 } // Request for performing code generation using the specified plugin. type PluginGenerationRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 - // be merged into a single, comma-separated string. - Options []string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` - // Include imports from the Image in generation. - IncludeImports *bool `protobuf:"varint,3,opt,name=include_imports,json=includeImports,proto3,oneof" json:"include_imports,omitempty"` - // Include Well-Known Types from the Image in generation. - // - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PluginReference *CuratedPluginReference `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` + xxx_hidden_Options []string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` + xxx_hidden_IncludeImports bool `protobuf:"varint,3,opt,name=include_imports,json=includeImports,proto3,oneof" json:"include_imports,omitempty"` + xxx_hidden_IncludeWellKnownTypes bool `protobuf:"varint,4,opt,name=include_well_known_types,json=includeWellKnownTypes,proto3,oneof" json:"include_well_known_types,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PluginGenerationRequest) Reset() { @@ -2430,79 +2349,83 @@ func (x *PluginGenerationRequest) ProtoReflect() protoreflect.Message { func (x *PluginGenerationRequest) GetPluginReference() *CuratedPluginReference { if x != nil { - return x.PluginReference + return x.xxx_hidden_PluginReference } return nil } func (x *PluginGenerationRequest) GetOptions() []string { if x != nil { - return x.Options + return x.xxx_hidden_Options } return nil } func (x *PluginGenerationRequest) GetIncludeImports() bool { - if x != nil && x.IncludeImports != nil { - return *x.IncludeImports + if x != nil { + return x.xxx_hidden_IncludeImports } return false } func (x *PluginGenerationRequest) GetIncludeWellKnownTypes() bool { - if x != nil && x.IncludeWellKnownTypes != nil { - return *x.IncludeWellKnownTypes + if x != nil { + return x.xxx_hidden_IncludeWellKnownTypes } return false } func (x *PluginGenerationRequest) SetPluginReference(v *CuratedPluginReference) { - x.PluginReference = v + x.xxx_hidden_PluginReference = v } func (x *PluginGenerationRequest) SetOptions(v []string) { - x.Options = v + x.xxx_hidden_Options = v } func (x *PluginGenerationRequest) SetIncludeImports(v bool) { - x.IncludeImports = &v + x.xxx_hidden_IncludeImports = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 2, 4) } func (x *PluginGenerationRequest) SetIncludeWellKnownTypes(v bool) { - x.IncludeWellKnownTypes = &v + x.xxx_hidden_IncludeWellKnownTypes = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 3, 4) } func (x *PluginGenerationRequest) HasPluginReference() bool { if x == nil { return false } - return x.PluginReference != nil + return x.xxx_hidden_PluginReference != nil } func (x *PluginGenerationRequest) HasIncludeImports() bool { if x == nil { return false } - return x.IncludeImports != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 2) } func (x *PluginGenerationRequest) HasIncludeWellKnownTypes() bool { if x == nil { return false } - return x.IncludeWellKnownTypes != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 3) } func (x *PluginGenerationRequest) ClearPluginReference() { - x.PluginReference = nil + x.xxx_hidden_PluginReference = nil } func (x *PluginGenerationRequest) ClearIncludeImports() { - x.IncludeImports = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 2) + x.xxx_hidden_IncludeImports = false } func (x *PluginGenerationRequest) ClearIncludeWellKnownTypes() { - x.IncludeWellKnownTypes = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 3) + x.xxx_hidden_IncludeWellKnownTypes = false } type PluginGenerationRequest_builder struct { @@ -2525,20 +2448,25 @@ func (b0 PluginGenerationRequest_builder) Build() *PluginGenerationRequest { m0 := &PluginGenerationRequest{} b, x := &b0, m0 _, _ = b, x - x.PluginReference = b.PluginReference - x.Options = b.Options - x.IncludeImports = b.IncludeImports - x.IncludeWellKnownTypes = b.IncludeWellKnownTypes + x.xxx_hidden_PluginReference = b.PluginReference + x.xxx_hidden_Options = b.Options + if b.IncludeImports != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 2, 4) + x.xxx_hidden_IncludeImports = *b.IncludeImports + } + if b.IncludeWellKnownTypes != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 3, 4) + x.xxx_hidden_IncludeWellKnownTypes = *b.IncludeWellKnownTypes + } return m0 } // Response from code generation for a given plugin. type PluginGenerationResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Generated code from the plugin. - Response *pluginpb.CodeGeneratorResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Response *pluginpb.CodeGeneratorResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PluginGenerationResponse) Reset() { @@ -2568,24 +2496,24 @@ func (x *PluginGenerationResponse) ProtoReflect() protoreflect.Message { func (x *PluginGenerationResponse) GetResponse() *pluginpb.CodeGeneratorResponse { if x != nil { - return x.Response + return x.xxx_hidden_Response } return nil } func (x *PluginGenerationResponse) SetResponse(v *pluginpb.CodeGeneratorResponse) { - x.Response = v + x.xxx_hidden_Response = v } func (x *PluginGenerationResponse) HasResponse() bool { if x == nil { return false } - return x.Response != nil + return x.xxx_hidden_Response != nil } func (x *PluginGenerationResponse) ClearResponse() { - x.Response = nil + x.xxx_hidden_Response = nil } type PluginGenerationResponse_builder struct { @@ -2599,21 +2527,17 @@ func (b0 PluginGenerationResponse_builder) Build() *PluginGenerationResponse { m0 := &PluginGenerationResponse{} b, x := &b0, m0 _, _ = b, x - x.Response = b.Response + x.xxx_hidden_Response = b.Response return m0 } type DeleteCuratedPluginRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteCuratedPluginRequest) Reset() { @@ -2643,35 +2567,35 @@ func (x *DeleteCuratedPluginRequest) ProtoReflect() protoreflect.Message { func (x *DeleteCuratedPluginRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *DeleteCuratedPluginRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *DeleteCuratedPluginRequest) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *DeleteCuratedPluginRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *DeleteCuratedPluginRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *DeleteCuratedPluginRequest) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } type DeleteCuratedPluginRequest_builder struct { @@ -2690,14 +2614,14 @@ func (b0 DeleteCuratedPluginRequest_builder) Build() *DeleteCuratedPluginRequest m0 := &DeleteCuratedPluginRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Name = b.Name - x.Version = b.Version + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Version = b.Version return m0 } type DeleteCuratedPluginResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2740,44 +2664,25 @@ func (b0 DeleteCuratedPluginResponse_builder) Build() *DeleteCuratedPluginRespon } type CreateCuratedPluginRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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". - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The optional registry type of the plugin. - RegistryType PluginRegistryType `protobuf:"varint,3,opt,name=registry_type,json=registryType,proto3,enum=buf.alpha.registry.v1alpha1.PluginRegistryType" json:"registry_type,omitempty"` - // Semver-formatted plugin version. - Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` - // The full container image digest associated with this plugin version including - // the algorithm. - // Ref: https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests - ContainerImageDigest string `protobuf:"bytes,5,opt,name=container_image_digest,json=containerImageDigest,proto3" json:"container_image_digest,omitempty"` - // List of plugin dependencies. - Dependencies []*CuratedPluginReference `protobuf:"bytes,7,rep,name=dependencies,proto3" json:"dependencies,omitempty"` - // The URL leading to the source code of the plugin, if available. - SourceUrl string `protobuf:"bytes,8,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` - // A brief description of the plugin functionality. - Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` - // The configuration for the remote registry of the plugin. - RegistryConfig *RegistryConfig `protobuf:"bytes,12,opt,name=registry_config,json=registryConfig,proto3" json:"registry_config,omitempty"` - // The revision for this plugin version. - Revision uint32 `protobuf:"varint,13,opt,name=revision,proto3" json:"revision,omitempty"` - // The output languages supported by the plugin. - OutputLanguages []PluginLanguage `protobuf:"varint,14,rep,packed,name=output_languages,json=outputLanguages,proto3,enum=buf.alpha.registry.v1alpha1.PluginLanguage" json:"output_languages,omitempty"` - // spdx_license_id is the license of the plugin, which should be one of the identifiers - // defined in https://spdx.org/licenses - SpdxLicenseId string `protobuf:"bytes,15,opt,name=spdx_license_id,json=spdxLicenseId,proto3" json:"spdx_license_id,omitempty"` - // license_url specifies an optional URL for the plugin's license (if not using a standard spdx_license_id). - LicenseUrl string `protobuf:"bytes,16,opt,name=license_url,json=licenseUrl,proto3" json:"license_url,omitempty"` - // Visibility indicates whether the plugin is public or private. - Visibility CuratedPluginVisibility `protobuf:"varint,17,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.CuratedPluginVisibility" json:"visibility,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_RegistryType PluginRegistryType `protobuf:"varint,3,opt,name=registry_type,json=registryType,proto3,enum=buf.alpha.registry.v1alpha1.PluginRegistryType" json:"registry_type,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_ContainerImageDigest string `protobuf:"bytes,5,opt,name=container_image_digest,json=containerImageDigest,proto3" json:"container_image_digest,omitempty"` + xxx_hidden_Dependencies *[]*CuratedPluginReference `protobuf:"bytes,7,rep,name=dependencies,proto3" json:"dependencies,omitempty"` + xxx_hidden_SourceUrl string `protobuf:"bytes,8,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` + xxx_hidden_Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` + xxx_hidden_RegistryConfig *RegistryConfig `protobuf:"bytes,12,opt,name=registry_config,json=registryConfig,proto3" json:"registry_config,omitempty"` + xxx_hidden_Revision uint32 `protobuf:"varint,13,opt,name=revision,proto3" json:"revision,omitempty"` + xxx_hidden_OutputLanguages []PluginLanguage `protobuf:"varint,14,rep,packed,name=output_languages,json=outputLanguages,proto3,enum=buf.alpha.registry.v1alpha1.PluginLanguage" json:"output_languages,omitempty"` + xxx_hidden_SpdxLicenseId string `protobuf:"bytes,15,opt,name=spdx_license_id,json=spdxLicenseId,proto3" json:"spdx_license_id,omitempty"` + xxx_hidden_LicenseUrl string `protobuf:"bytes,16,opt,name=license_url,json=licenseUrl,proto3" json:"license_url,omitempty"` + xxx_hidden_Visibility CuratedPluginVisibility `protobuf:"varint,17,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.CuratedPluginVisibility" json:"visibility,omitempty"` + xxx_hidden_IntegrationGuideUrl string `protobuf:"bytes,18,opt,name=integration_guide_url,json=integrationGuideUrl,proto3" json:"integration_guide_url,omitempty"` + xxx_hidden_Deprecated bool `protobuf:"varint,19,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateCuratedPluginRequest) Reset() { @@ -2807,189 +2712,191 @@ func (x *CreateCuratedPluginRequest) ProtoReflect() protoreflect.Message { func (x *CreateCuratedPluginRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *CreateCuratedPluginRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *CreateCuratedPluginRequest) GetRegistryType() PluginRegistryType { if x != nil { - return x.RegistryType + return x.xxx_hidden_RegistryType } return PluginRegistryType_PLUGIN_REGISTRY_TYPE_UNSPECIFIED } func (x *CreateCuratedPluginRequest) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *CreateCuratedPluginRequest) GetContainerImageDigest() string { if x != nil { - return x.ContainerImageDigest + return x.xxx_hidden_ContainerImageDigest } return "" } func (x *CreateCuratedPluginRequest) GetDependencies() []*CuratedPluginReference { if x != nil { - return x.Dependencies + if x.xxx_hidden_Dependencies != nil { + return *x.xxx_hidden_Dependencies + } } return nil } func (x *CreateCuratedPluginRequest) GetSourceUrl() string { if x != nil { - return x.SourceUrl + return x.xxx_hidden_SourceUrl } return "" } func (x *CreateCuratedPluginRequest) GetDescription() string { if x != nil { - return x.Description + return x.xxx_hidden_Description } return "" } func (x *CreateCuratedPluginRequest) GetRegistryConfig() *RegistryConfig { if x != nil { - return x.RegistryConfig + return x.xxx_hidden_RegistryConfig } return nil } func (x *CreateCuratedPluginRequest) GetRevision() uint32 { if x != nil { - return x.Revision + return x.xxx_hidden_Revision } return 0 } func (x *CreateCuratedPluginRequest) GetOutputLanguages() []PluginLanguage { if x != nil { - return x.OutputLanguages + return x.xxx_hidden_OutputLanguages } return nil } func (x *CreateCuratedPluginRequest) GetSpdxLicenseId() string { if x != nil { - return x.SpdxLicenseId + return x.xxx_hidden_SpdxLicenseId } return "" } func (x *CreateCuratedPluginRequest) GetLicenseUrl() string { if x != nil { - return x.LicenseUrl + return x.xxx_hidden_LicenseUrl } return "" } func (x *CreateCuratedPluginRequest) GetVisibility() CuratedPluginVisibility { if x != nil { - return x.Visibility + return x.xxx_hidden_Visibility } return CuratedPluginVisibility_CURATED_PLUGIN_VISIBILITY_UNSPECIFIED } func (x *CreateCuratedPluginRequest) GetIntegrationGuideUrl() string { if x != nil { - return x.IntegrationGuideUrl + return x.xxx_hidden_IntegrationGuideUrl } return "" } func (x *CreateCuratedPluginRequest) GetDeprecated() bool { if x != nil { - return x.Deprecated + return x.xxx_hidden_Deprecated } return false } func (x *CreateCuratedPluginRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *CreateCuratedPluginRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *CreateCuratedPluginRequest) SetRegistryType(v PluginRegistryType) { - x.RegistryType = v + x.xxx_hidden_RegistryType = v } func (x *CreateCuratedPluginRequest) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *CreateCuratedPluginRequest) SetContainerImageDigest(v string) { - x.ContainerImageDigest = v + x.xxx_hidden_ContainerImageDigest = v } func (x *CreateCuratedPluginRequest) SetDependencies(v []*CuratedPluginReference) { - x.Dependencies = v + x.xxx_hidden_Dependencies = &v } func (x *CreateCuratedPluginRequest) SetSourceUrl(v string) { - x.SourceUrl = v + x.xxx_hidden_SourceUrl = v } func (x *CreateCuratedPluginRequest) SetDescription(v string) { - x.Description = v + x.xxx_hidden_Description = v } func (x *CreateCuratedPluginRequest) SetRegistryConfig(v *RegistryConfig) { - x.RegistryConfig = v + x.xxx_hidden_RegistryConfig = v } func (x *CreateCuratedPluginRequest) SetRevision(v uint32) { - x.Revision = v + x.xxx_hidden_Revision = v } func (x *CreateCuratedPluginRequest) SetOutputLanguages(v []PluginLanguage) { - x.OutputLanguages = v + x.xxx_hidden_OutputLanguages = v } func (x *CreateCuratedPluginRequest) SetSpdxLicenseId(v string) { - x.SpdxLicenseId = v + x.xxx_hidden_SpdxLicenseId = v } func (x *CreateCuratedPluginRequest) SetLicenseUrl(v string) { - x.LicenseUrl = v + x.xxx_hidden_LicenseUrl = v } func (x *CreateCuratedPluginRequest) SetVisibility(v CuratedPluginVisibility) { - x.Visibility = v + x.xxx_hidden_Visibility = v } func (x *CreateCuratedPluginRequest) SetIntegrationGuideUrl(v string) { - x.IntegrationGuideUrl = v + x.xxx_hidden_IntegrationGuideUrl = v } func (x *CreateCuratedPluginRequest) SetDeprecated(v bool) { - x.Deprecated = v + x.xxx_hidden_Deprecated = v } func (x *CreateCuratedPluginRequest) HasRegistryConfig() bool { if x == nil { return false } - return x.RegistryConfig != nil + return x.xxx_hidden_RegistryConfig != nil } func (x *CreateCuratedPluginRequest) ClearRegistryConfig() { - x.RegistryConfig = nil + x.xxx_hidden_RegistryConfig = nil } type CreateCuratedPluginRequest_builder struct { @@ -3036,31 +2943,30 @@ func (b0 CreateCuratedPluginRequest_builder) Build() *CreateCuratedPluginRequest m0 := &CreateCuratedPluginRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Name = b.Name - x.RegistryType = b.RegistryType - x.Version = b.Version - x.ContainerImageDigest = b.ContainerImageDigest - x.Dependencies = b.Dependencies - x.SourceUrl = b.SourceUrl - x.Description = b.Description - x.RegistryConfig = b.RegistryConfig - x.Revision = b.Revision - x.OutputLanguages = b.OutputLanguages - x.SpdxLicenseId = b.SpdxLicenseId - x.LicenseUrl = b.LicenseUrl - x.Visibility = b.Visibility - x.IntegrationGuideUrl = b.IntegrationGuideUrl - x.Deprecated = b.Deprecated + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Name = b.Name + x.xxx_hidden_RegistryType = b.RegistryType + x.xxx_hidden_Version = b.Version + x.xxx_hidden_ContainerImageDigest = b.ContainerImageDigest + x.xxx_hidden_Dependencies = &b.Dependencies + x.xxx_hidden_SourceUrl = b.SourceUrl + x.xxx_hidden_Description = b.Description + x.xxx_hidden_RegistryConfig = b.RegistryConfig + x.xxx_hidden_Revision = b.Revision + x.xxx_hidden_OutputLanguages = b.OutputLanguages + x.xxx_hidden_SpdxLicenseId = b.SpdxLicenseId + x.xxx_hidden_LicenseUrl = b.LicenseUrl + x.xxx_hidden_Visibility = b.Visibility + x.xxx_hidden_IntegrationGuideUrl = b.IntegrationGuideUrl + x.xxx_hidden_Deprecated = b.Deprecated return m0 } type CreateCuratedPluginResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The created plugin. - Configuration *CuratedPlugin `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Configuration *CuratedPlugin `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateCuratedPluginResponse) Reset() { @@ -3090,24 +2996,24 @@ func (x *CreateCuratedPluginResponse) ProtoReflect() protoreflect.Message { func (x *CreateCuratedPluginResponse) GetConfiguration() *CuratedPlugin { if x != nil { - return x.Configuration + return x.xxx_hidden_Configuration } return nil } func (x *CreateCuratedPluginResponse) SetConfiguration(v *CuratedPlugin) { - x.Configuration = v + x.xxx_hidden_Configuration = v } func (x *CreateCuratedPluginResponse) HasConfiguration() bool { if x == nil { return false } - return x.Configuration != nil + return x.xxx_hidden_Configuration != nil } func (x *CreateCuratedPluginResponse) ClearConfiguration() { - x.Configuration = nil + x.xxx_hidden_Configuration = nil } type CreateCuratedPluginResponse_builder struct { @@ -3121,22 +3027,19 @@ func (b0 CreateCuratedPluginResponse_builder) Build() *CreateCuratedPluginRespon m0 := &CreateCuratedPluginResponse{} b, x := &b0, m0 _, _ = b, x - x.Configuration = b.Configuration + x.xxx_hidden_Configuration = b.Configuration return m0 } type ListCuratedPluginsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // If true, will only return plugins which support remote packages (registry_type is set). - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + xxx_hidden_SupportsRemotePackages bool `protobuf:"varint,4,opt,name=supports_remote_packages,json=supportsRemotePackages,proto3" json:"supports_remote_packages,omitempty"` + xxx_hidden_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() { @@ -3166,57 +3069,57 @@ func (x *ListCuratedPluginsRequest) ProtoReflect() protoreflect.Message { func (x *ListCuratedPluginsRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListCuratedPluginsRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListCuratedPluginsRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListCuratedPluginsRequest) GetSupportsRemotePackages() bool { if x != nil { - return x.SupportsRemotePackages + return x.xxx_hidden_SupportsRemotePackages } return false } func (x *ListCuratedPluginsRequest) GetIncludeDeprecated() bool { if x != nil { - return x.IncludeDeprecated + return x.xxx_hidden_IncludeDeprecated } return false } func (x *ListCuratedPluginsRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListCuratedPluginsRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListCuratedPluginsRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } func (x *ListCuratedPluginsRequest) SetSupportsRemotePackages(v bool) { - x.SupportsRemotePackages = v + x.xxx_hidden_SupportsRemotePackages = v } func (x *ListCuratedPluginsRequest) SetIncludeDeprecated(v bool) { - x.IncludeDeprecated = v + x.xxx_hidden_IncludeDeprecated = v } type ListCuratedPluginsRequest_builder struct { @@ -3236,21 +3139,20 @@ func (b0 ListCuratedPluginsRequest_builder) Build() *ListCuratedPluginsRequest { m0 := &ListCuratedPluginsRequest{} b, x := &b0, m0 _, _ = b, x - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse - x.SupportsRemotePackages = b.SupportsRemotePackages - x.IncludeDeprecated = b.IncludeDeprecated + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse + x.xxx_hidden_SupportsRemotePackages = b.SupportsRemotePackages + x.xxx_hidden_IncludeDeprecated = b.IncludeDeprecated return m0 } type ListCuratedPluginsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Plugins *[]*CuratedPlugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` + xxx_hidden_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() { @@ -3280,24 +3182,26 @@ func (x *ListCuratedPluginsResponse) ProtoReflect() protoreflect.Message { func (x *ListCuratedPluginsResponse) GetPlugins() []*CuratedPlugin { if x != nil { - return x.Plugins + if x.xxx_hidden_Plugins != nil { + return *x.xxx_hidden_Plugins + } } return nil } func (x *ListCuratedPluginsResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListCuratedPluginsResponse) SetPlugins(v []*CuratedPlugin) { - x.Plugins = v + x.xxx_hidden_Plugins = &v } func (x *ListCuratedPluginsResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListCuratedPluginsResponse_builder struct { @@ -3312,29 +3216,20 @@ func (b0 ListCuratedPluginsResponse_builder) Build() *ListCuratedPluginsResponse m0 := &ListCuratedPluginsResponse{} b, x := &b0, m0 _, _ = b, x - x.Plugins = b.Plugins - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Plugins = &b.Plugins + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type GetLatestCuratedPluginRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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". - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // Both version (semver-formatted) and revision are optional, which means - // return the latest plugin. - // If version is set, but revision is omitted, then return the latest - // revision for that version. - // If version and revision are both set, return specific plugin. - // It is an error to set a revision without a corresponding version. - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_Revision uint32 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"` + xxx_hidden_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() { @@ -3364,57 +3259,57 @@ func (x *GetLatestCuratedPluginRequest) ProtoReflect() protoreflect.Message { func (x *GetLatestCuratedPluginRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetLatestCuratedPluginRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *GetLatestCuratedPluginRequest) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *GetLatestCuratedPluginRequest) GetRevision() uint32 { if x != nil { - return x.Revision + return x.xxx_hidden_Revision } return 0 } func (x *GetLatestCuratedPluginRequest) GetSupportsRemotePackages() bool { if x != nil { - return x.SupportsRemotePackages + return x.xxx_hidden_SupportsRemotePackages } return false } func (x *GetLatestCuratedPluginRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetLatestCuratedPluginRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *GetLatestCuratedPluginRequest) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *GetLatestCuratedPluginRequest) SetRevision(v uint32) { - x.Revision = v + x.xxx_hidden_Revision = v } func (x *GetLatestCuratedPluginRequest) SetSupportsRemotePackages(v bool) { - x.SupportsRemotePackages = v + x.xxx_hidden_SupportsRemotePackages = v } type GetLatestCuratedPluginRequest_builder struct { @@ -3440,21 +3335,20 @@ func (b0 GetLatestCuratedPluginRequest_builder) Build() *GetLatestCuratedPluginR m0 := &GetLatestCuratedPluginRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Name = b.Name - x.Version = b.Version - x.Revision = b.Revision - x.SupportsRemotePackages = b.SupportsRemotePackages + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Version = b.Version + x.xxx_hidden_Revision = b.Revision + x.xxx_hidden_SupportsRemotePackages = b.SupportsRemotePackages return m0 } type GetLatestCuratedPluginResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Plugin *CuratedPlugin `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` + xxx_hidden_Versions *[]*CuratedPluginVersionRevisions `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetLatestCuratedPluginResponse) Reset() { @@ -3484,35 +3378,37 @@ func (x *GetLatestCuratedPluginResponse) ProtoReflect() protoreflect.Message { func (x *GetLatestCuratedPluginResponse) GetPlugin() *CuratedPlugin { if x != nil { - return x.Plugin + return x.xxx_hidden_Plugin } return nil } func (x *GetLatestCuratedPluginResponse) GetVersions() []*CuratedPluginVersionRevisions { if x != nil { - return x.Versions + if x.xxx_hidden_Versions != nil { + return *x.xxx_hidden_Versions + } } return nil } func (x *GetLatestCuratedPluginResponse) SetPlugin(v *CuratedPlugin) { - x.Plugin = v + x.xxx_hidden_Plugin = v } func (x *GetLatestCuratedPluginResponse) SetVersions(v []*CuratedPluginVersionRevisions) { - x.Versions = v + x.xxx_hidden_Versions = &v } func (x *GetLatestCuratedPluginResponse) HasPlugin() bool { if x == nil { return false } - return x.Plugin != nil + return x.xxx_hidden_Plugin != nil } func (x *GetLatestCuratedPluginResponse) ClearPlugin() { - x.Plugin = nil + x.xxx_hidden_Plugin = nil } type GetLatestCuratedPluginResponse_builder struct { @@ -3527,18 +3423,17 @@ func (b0 GetLatestCuratedPluginResponse_builder) Build() *GetLatestCuratedPlugin m0 := &GetLatestCuratedPluginResponse{} b, x := &b0, m0 _, _ = b, x - x.Plugin = b.Plugin - x.Versions = b.Versions + x.xxx_hidden_Plugin = b.Plugin + x.xxx_hidden_Versions = &b.Versions return m0 } type CuratedPluginVersionRevisions struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_Revisions []uint32 `protobuf:"varint,2,rep,packed,name=revisions,proto3" json:"revisions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CuratedPluginVersionRevisions) Reset() { @@ -3568,24 +3463,24 @@ func (x *CuratedPluginVersionRevisions) ProtoReflect() protoreflect.Message { func (x *CuratedPluginVersionRevisions) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *CuratedPluginVersionRevisions) GetRevisions() []uint32 { if x != nil { - return x.Revisions + return x.xxx_hidden_Revisions } return nil } func (x *CuratedPluginVersionRevisions) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *CuratedPluginVersionRevisions) SetRevisions(v []uint32) { - x.Revisions = v + x.xxx_hidden_Revisions = v } type CuratedPluginVersionRevisions_builder struct { @@ -3600,20 +3495,18 @@ func (b0 CuratedPluginVersionRevisions_builder) Build() *CuratedPluginVersionRev m0 := &CuratedPluginVersionRevisions{} b, x := &b0, m0 _, _ = b, x - x.Version = b.Version - x.Revisions = b.Revisions + x.xxx_hidden_Version = b.Version + x.xxx_hidden_Revisions = b.Revisions return m0 } // RuntimeLibrary describes the runtime library dependency of the generated code. type GoConfig_RuntimeLibrary struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GoConfig_RuntimeLibrary) Reset() { @@ -3643,24 +3536,24 @@ func (x *GoConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { func (x *GoConfig_RuntimeLibrary) GetModule() string { if x != nil { - return x.Module + return x.xxx_hidden_Module } return "" } func (x *GoConfig_RuntimeLibrary) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *GoConfig_RuntimeLibrary) SetModule(v string) { - x.Module = v + x.xxx_hidden_Module = v } func (x *GoConfig_RuntimeLibrary) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } type GoConfig_RuntimeLibrary_builder struct { @@ -3676,20 +3569,18 @@ func (b0 GoConfig_RuntimeLibrary_builder) Build() *GoConfig_RuntimeLibrary { m0 := &GoConfig_RuntimeLibrary{} b, x := &b0, m0 _, _ = b, x - x.Module = b.Module - x.Version = b.Version + x.xxx_hidden_Module = b.Module + x.xxx_hidden_Version = b.Version return m0 } // RuntimeLibrary describes the runtime library dependency of the generated code. type NPMConfig_RuntimeLibrary struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NPMConfig_RuntimeLibrary) Reset() { @@ -3719,24 +3610,24 @@ func (x *NPMConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { func (x *NPMConfig_RuntimeLibrary) GetPackage() string { if x != nil { - return x.Package + return x.xxx_hidden_Package } return "" } func (x *NPMConfig_RuntimeLibrary) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *NPMConfig_RuntimeLibrary) SetPackage(v string) { - x.Package = v + x.xxx_hidden_Package = v } func (x *NPMConfig_RuntimeLibrary) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } type NPMConfig_RuntimeLibrary_builder struct { @@ -3752,21 +3643,21 @@ func (b0 NPMConfig_RuntimeLibrary_builder) Build() *NPMConfig_RuntimeLibrary { m0 := &NPMConfig_RuntimeLibrary{} b, x := &b0, m0 _, _ = b, x - x.Package = b.Package - x.Version = b.Version + x.xxx_hidden_Package = b.Package + x.xxx_hidden_Version = b.Version return m0 } // RuntimeLibrary describes a runtime dependency of the generated code. type MavenConfig_RuntimeLibrary struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + xxx_hidden_ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_Classifier string `protobuf:"bytes,4,opt,name=classifier,proto3" json:"classifier,omitempty"` + xxx_hidden_Extension string `protobuf:"bytes,5,opt,name=extension,proto3" json:"extension,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MavenConfig_RuntimeLibrary) Reset() { @@ -3796,57 +3687,57 @@ func (x *MavenConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { func (x *MavenConfig_RuntimeLibrary) GetGroupId() string { if x != nil { - return x.GroupId + return x.xxx_hidden_GroupId } return "" } func (x *MavenConfig_RuntimeLibrary) GetArtifactId() string { if x != nil { - return x.ArtifactId + return x.xxx_hidden_ArtifactId } return "" } func (x *MavenConfig_RuntimeLibrary) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *MavenConfig_RuntimeLibrary) GetClassifier() string { if x != nil { - return x.Classifier + return x.xxx_hidden_Classifier } return "" } func (x *MavenConfig_RuntimeLibrary) GetExtension() string { if x != nil { - return x.Extension + return x.xxx_hidden_Extension } return "" } func (x *MavenConfig_RuntimeLibrary) SetGroupId(v string) { - x.GroupId = v + x.xxx_hidden_GroupId = v } func (x *MavenConfig_RuntimeLibrary) SetArtifactId(v string) { - x.ArtifactId = v + x.xxx_hidden_ArtifactId = v } func (x *MavenConfig_RuntimeLibrary) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *MavenConfig_RuntimeLibrary) SetClassifier(v string) { - x.Classifier = v + x.xxx_hidden_Classifier = v } func (x *MavenConfig_RuntimeLibrary) SetExtension(v string) { - x.Extension = v + x.xxx_hidden_Extension = v } type MavenConfig_RuntimeLibrary_builder struct { @@ -3863,21 +3754,21 @@ func (b0 MavenConfig_RuntimeLibrary_builder) Build() *MavenConfig_RuntimeLibrary m0 := &MavenConfig_RuntimeLibrary{} b, x := &b0, m0 _, _ = b, x - x.GroupId = b.GroupId - x.ArtifactId = b.ArtifactId - x.Version = b.Version - x.Classifier = b.Classifier - x.Extension = b.Extension + x.xxx_hidden_GroupId = b.GroupId + x.xxx_hidden_ArtifactId = b.ArtifactId + x.xxx_hidden_Version = b.Version + x.xxx_hidden_Classifier = b.Classifier + x.xxx_hidden_Extension = b.Extension return m0 } // CompilerConfig contains configuration for the Java and/or Kotlin compiler used when compiling the generated code. type MavenConfig_CompilerConfig struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Java *MavenConfig_CompilerJavaConfig `protobuf:"bytes,1,opt,name=java,proto3" json:"java,omitempty"` + xxx_hidden_Kotlin *MavenConfig_CompilerKotlinConfig `protobuf:"bytes,2,opt,name=kotlin,proto3" json:"kotlin,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MavenConfig_CompilerConfig) Reset() { @@ -3907,46 +3798,46 @@ func (x *MavenConfig_CompilerConfig) ProtoReflect() protoreflect.Message { func (x *MavenConfig_CompilerConfig) GetJava() *MavenConfig_CompilerJavaConfig { if x != nil { - return x.Java + return x.xxx_hidden_Java } return nil } func (x *MavenConfig_CompilerConfig) GetKotlin() *MavenConfig_CompilerKotlinConfig { if x != nil { - return x.Kotlin + return x.xxx_hidden_Kotlin } return nil } func (x *MavenConfig_CompilerConfig) SetJava(v *MavenConfig_CompilerJavaConfig) { - x.Java = v + x.xxx_hidden_Java = v } func (x *MavenConfig_CompilerConfig) SetKotlin(v *MavenConfig_CompilerKotlinConfig) { - x.Kotlin = v + x.xxx_hidden_Kotlin = v } func (x *MavenConfig_CompilerConfig) HasJava() bool { if x == nil { return false } - return x.Java != nil + return x.xxx_hidden_Java != nil } func (x *MavenConfig_CompilerConfig) HasKotlin() bool { if x == nil { return false } - return x.Kotlin != nil + return x.xxx_hidden_Kotlin != nil } func (x *MavenConfig_CompilerConfig) ClearJava() { - x.Java = nil + x.xxx_hidden_Java = nil } func (x *MavenConfig_CompilerConfig) ClearKotlin() { - x.Kotlin = nil + x.xxx_hidden_Kotlin = nil } type MavenConfig_CompilerConfig_builder struct { @@ -3960,24 +3851,20 @@ func (b0 MavenConfig_CompilerConfig_builder) Build() *MavenConfig_CompilerConfig m0 := &MavenConfig_CompilerConfig{} b, x := &b0, m0 _, _ = b, x - x.Java = b.Java - x.Kotlin = b.Kotlin + x.xxx_hidden_Java = b.Java + x.xxx_hidden_Kotlin = b.Kotlin return m0 } // CompilerJavaConfig contains settings for the Java compiler. type MavenConfig_CompilerJavaConfig struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // File encoding (default: UTF-8). - Encoding string `protobuf:"bytes,1,opt,name=encoding,proto3" json:"encoding,omitempty"` - // Release version (default: 8). - Release int32 `protobuf:"varint,2,opt,name=release,proto3" json:"release,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Encoding string `protobuf:"bytes,1,opt,name=encoding,proto3" json:"encoding,omitempty"` + xxx_hidden_Release int32 `protobuf:"varint,2,opt,name=release,proto3" json:"release,omitempty"` + xxx_hidden_Source int32 `protobuf:"varint,3,opt,name=source,proto3" json:"source,omitempty"` + xxx_hidden_Target int32 `protobuf:"varint,4,opt,name=target,proto3" json:"target,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MavenConfig_CompilerJavaConfig) Reset() { @@ -4007,46 +3894,46 @@ func (x *MavenConfig_CompilerJavaConfig) ProtoReflect() protoreflect.Message { func (x *MavenConfig_CompilerJavaConfig) GetEncoding() string { if x != nil { - return x.Encoding + return x.xxx_hidden_Encoding } return "" } func (x *MavenConfig_CompilerJavaConfig) GetRelease() int32 { if x != nil { - return x.Release + return x.xxx_hidden_Release } return 0 } func (x *MavenConfig_CompilerJavaConfig) GetSource() int32 { if x != nil { - return x.Source + return x.xxx_hidden_Source } return 0 } func (x *MavenConfig_CompilerJavaConfig) GetTarget() int32 { if x != nil { - return x.Target + return x.xxx_hidden_Target } return 0 } func (x *MavenConfig_CompilerJavaConfig) SetEncoding(v string) { - x.Encoding = v + x.xxx_hidden_Encoding = v } func (x *MavenConfig_CompilerJavaConfig) SetRelease(v int32) { - x.Release = v + x.xxx_hidden_Release = v } func (x *MavenConfig_CompilerJavaConfig) SetSource(v int32) { - x.Source = v + x.xxx_hidden_Source = v } func (x *MavenConfig_CompilerJavaConfig) SetTarget(v int32) { - x.Target = v + x.xxx_hidden_Target = v } type MavenConfig_CompilerJavaConfig_builder struct { @@ -4066,26 +3953,22 @@ func (b0 MavenConfig_CompilerJavaConfig_builder) Build() *MavenConfig_CompilerJa m0 := &MavenConfig_CompilerJavaConfig{} b, x := &b0, m0 _, _ = b, x - x.Encoding = b.Encoding - x.Release = b.Release - x.Source = b.Source - x.Target = b.Target + x.xxx_hidden_Encoding = b.Encoding + x.xxx_hidden_Release = b.Release + x.xxx_hidden_Source = b.Source + x.xxx_hidden_Target = b.Target return m0 } // CompilerKotlinConfig contains settings for the Kotlin compiler. type MavenConfig_CompilerKotlinConfig struct { - state protoimpl.MessageState `protogen:"hybrid.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. - ApiVersion string `protobuf:"bytes,2,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` - // Target version of the JVM bytecode (default: 1.8). - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_ApiVersion string `protobuf:"bytes,2,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` + xxx_hidden_JvmTarget string `protobuf:"bytes,3,opt,name=jvm_target,json=jvmTarget,proto3" json:"jvm_target,omitempty"` + xxx_hidden_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() { @@ -4115,46 +3998,46 @@ func (x *MavenConfig_CompilerKotlinConfig) ProtoReflect() protoreflect.Message { func (x *MavenConfig_CompilerKotlinConfig) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *MavenConfig_CompilerKotlinConfig) GetApiVersion() string { if x != nil { - return x.ApiVersion + return x.xxx_hidden_ApiVersion } return "" } func (x *MavenConfig_CompilerKotlinConfig) GetJvmTarget() string { if x != nil { - return x.JvmTarget + return x.xxx_hidden_JvmTarget } return "" } func (x *MavenConfig_CompilerKotlinConfig) GetLanguageVersion() string { if x != nil { - return x.LanguageVersion + return x.xxx_hidden_LanguageVersion } return "" } func (x *MavenConfig_CompilerKotlinConfig) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *MavenConfig_CompilerKotlinConfig) SetApiVersion(v string) { - x.ApiVersion = v + x.xxx_hidden_ApiVersion = v } func (x *MavenConfig_CompilerKotlinConfig) SetJvmTarget(v string) { - x.JvmTarget = v + x.xxx_hidden_JvmTarget = v } func (x *MavenConfig_CompilerKotlinConfig) SetLanguageVersion(v string) { - x.LanguageVersion = v + x.xxx_hidden_LanguageVersion = v } type MavenConfig_CompilerKotlinConfig_builder struct { @@ -4174,24 +4057,22 @@ func (b0 MavenConfig_CompilerKotlinConfig_builder) Build() *MavenConfig_Compiler m0 := &MavenConfig_CompilerKotlinConfig{} b, x := &b0, m0 _, _ = b, x - x.Version = b.Version - x.ApiVersion = b.ApiVersion - x.JvmTarget = b.JvmTarget - x.LanguageVersion = b.LanguageVersion + x.xxx_hidden_Version = b.Version + x.xxx_hidden_ApiVersion = b.ApiVersion + x.xxx_hidden_JvmTarget = b.JvmTarget + x.xxx_hidden_LanguageVersion = b.LanguageVersion return m0 } // 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 `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_RuntimeLibraries *[]*MavenConfig_RuntimeLibrary `protobuf:"bytes,2,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` + xxx_hidden_Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MavenConfig_RuntimeConfig) Reset() { @@ -4221,35 +4102,37 @@ func (x *MavenConfig_RuntimeConfig) ProtoReflect() protoreflect.Message { func (x *MavenConfig_RuntimeConfig) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *MavenConfig_RuntimeConfig) GetRuntimeLibraries() []*MavenConfig_RuntimeLibrary { if x != nil { - return x.RuntimeLibraries + if x.xxx_hidden_RuntimeLibraries != nil { + return *x.xxx_hidden_RuntimeLibraries + } } return nil } func (x *MavenConfig_RuntimeConfig) GetOptions() []string { if x != nil { - return x.Options + return x.xxx_hidden_Options } return nil } func (x *MavenConfig_RuntimeConfig) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *MavenConfig_RuntimeConfig) SetRuntimeLibraries(v []*MavenConfig_RuntimeLibrary) { - x.RuntimeLibraries = v + x.xxx_hidden_RuntimeLibraries = &v } func (x *MavenConfig_RuntimeConfig) SetOptions(v []string) { - x.Options = v + x.xxx_hidden_Options = v } type MavenConfig_RuntimeConfig_builder struct { @@ -4266,26 +4149,21 @@ func (b0 MavenConfig_RuntimeConfig_builder) Build() *MavenConfig_RuntimeConfig { m0 := &MavenConfig_RuntimeConfig{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.RuntimeLibraries = b.RuntimeLibraries - x.Options = b.Options + x.xxx_hidden_Name = b.Name + x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries + x.xxx_hidden_Options = b.Options return m0 } // 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 `protogen:"hybrid.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). - // Ref: https://learn.microsoft.com/en-us/nuget/concepts/package-versioning#version-ranges - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_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() { @@ -4315,35 +4193,35 @@ func (x *NugetConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { func (x *NugetConfig_RuntimeLibrary) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *NugetConfig_RuntimeLibrary) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *NugetConfig_RuntimeLibrary) GetTargetFrameworks() []DotnetTargetFramework { if x != nil { - return x.TargetFrameworks + return x.xxx_hidden_TargetFrameworks } return nil } func (x *NugetConfig_RuntimeLibrary) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *NugetConfig_RuntimeLibrary) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *NugetConfig_RuntimeLibrary) SetTargetFrameworks(v []DotnetTargetFramework) { - x.TargetFrameworks = v + x.xxx_hidden_TargetFrameworks = v } type NugetConfig_RuntimeLibrary_builder struct { @@ -4363,29 +4241,23 @@ func (b0 NugetConfig_RuntimeLibrary_builder) Build() *NugetConfig_RuntimeLibrary m0 := &NugetConfig_RuntimeLibrary{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Version = b.Version - x.TargetFrameworks = b.TargetFrameworks + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Version = b.Version + x.xxx_hidden_TargetFrameworks = b.TargetFrameworks return m0 } // RuntimeLibrary describes a runtime library dependency of the generated code. type SwiftConfig_RuntimeLibrary struct { - state protoimpl.MessageState `protogen:"hybrid.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". - Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` - // The version of the runtime library, e.g. "1.21.0". - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - // The products exported by the runtime library, e.g. "SwiftProtobuf". - Products []string `protobuf:"bytes,4,rep,name=products,proto3" json:"products,omitempty"` - // The minimum compatible platform versions of the runtime library. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` + xxx_hidden_Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_Products []string `protobuf:"bytes,4,rep,name=products,proto3" json:"products,omitempty"` + xxx_hidden_Platforms *[]*SwiftConfig_RuntimeLibrary_Platform `protobuf:"bytes,5,rep,name=platforms,proto3" json:"platforms,omitempty"` + xxx_hidden_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() { @@ -4415,68 +4287,70 @@ func (x *SwiftConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { func (x *SwiftConfig_RuntimeLibrary) GetSource() string { if x != nil { - return x.Source + return x.xxx_hidden_Source } return "" } func (x *SwiftConfig_RuntimeLibrary) GetPackage() string { if x != nil { - return x.Package + return x.xxx_hidden_Package } return "" } func (x *SwiftConfig_RuntimeLibrary) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *SwiftConfig_RuntimeLibrary) GetProducts() []string { if x != nil { - return x.Products + return x.xxx_hidden_Products } return nil } func (x *SwiftConfig_RuntimeLibrary) GetPlatforms() []*SwiftConfig_RuntimeLibrary_Platform { if x != nil { - return x.Platforms + if x.xxx_hidden_Platforms != nil { + return *x.xxx_hidden_Platforms + } } return nil } func (x *SwiftConfig_RuntimeLibrary) GetSwiftVersions() []string { if x != nil { - return x.SwiftVersions + return x.xxx_hidden_SwiftVersions } return nil } func (x *SwiftConfig_RuntimeLibrary) SetSource(v string) { - x.Source = v + x.xxx_hidden_Source = v } func (x *SwiftConfig_RuntimeLibrary) SetPackage(v string) { - x.Package = v + x.xxx_hidden_Package = v } func (x *SwiftConfig_RuntimeLibrary) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *SwiftConfig_RuntimeLibrary) SetProducts(v []string) { - x.Products = v + x.xxx_hidden_Products = v } func (x *SwiftConfig_RuntimeLibrary) SetPlatforms(v []*SwiftConfig_RuntimeLibrary_Platform) { - x.Platforms = v + x.xxx_hidden_Platforms = &v } func (x *SwiftConfig_RuntimeLibrary) SetSwiftVersions(v []string) { - x.SwiftVersions = v + x.xxx_hidden_SwiftVersions = v } type SwiftConfig_RuntimeLibrary_builder struct { @@ -4500,24 +4374,22 @@ func (b0 SwiftConfig_RuntimeLibrary_builder) Build() *SwiftConfig_RuntimeLibrary m0 := &SwiftConfig_RuntimeLibrary{} b, x := &b0, m0 _, _ = b, x - x.Source = b.Source - x.Package = b.Package - x.Version = b.Version - x.Products = b.Products - x.Platforms = b.Platforms - x.SwiftVersions = b.SwiftVersions + x.xxx_hidden_Source = b.Source + x.xxx_hidden_Package = b.Package + x.xxx_hidden_Version = b.Version + x.xxx_hidden_Products = b.Products + x.xxx_hidden_Platforms = &b.Platforms + x.xxx_hidden_SwiftVersions = b.SwiftVersions return m0 } // The minimum compatible platform versions of the runtime library. type SwiftConfig_RuntimeLibrary_Platform struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name SwiftPlatformType `protobuf:"varint,1,opt,name=name,proto3,enum=buf.alpha.registry.v1alpha1.SwiftPlatformType" json:"name,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SwiftConfig_RuntimeLibrary_Platform) Reset() { @@ -4547,24 +4419,24 @@ func (x *SwiftConfig_RuntimeLibrary_Platform) ProtoReflect() protoreflect.Messag func (x *SwiftConfig_RuntimeLibrary_Platform) GetName() SwiftPlatformType { if x != nil { - return x.Name + return x.xxx_hidden_Name } return SwiftPlatformType_SWIFT_PLATFORM_TYPE_UNSPECIFIED } func (x *SwiftConfig_RuntimeLibrary_Platform) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *SwiftConfig_RuntimeLibrary_Platform) SetName(v SwiftPlatformType) { - x.Name = v + x.xxx_hidden_Name = v } func (x *SwiftConfig_RuntimeLibrary_Platform) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } type SwiftConfig_RuntimeLibrary_Platform_builder struct { @@ -4580,18 +4452,16 @@ func (b0 SwiftConfig_RuntimeLibrary_Platform_builder) Build() *SwiftConfig_Runti m0 := &SwiftConfig_RuntimeLibrary_Platform{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Version = b.Version + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Version = b.Version return m0 } type PythonConfig_RuntimeLibrary struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -4621,13 +4491,13 @@ func (x *PythonConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { func (x *PythonConfig_RuntimeLibrary) GetDependencySpecification() string { if x != nil { - return x.DependencySpecification + return x.xxx_hidden_DependencySpecification } return "" } func (x *PythonConfig_RuntimeLibrary) SetDependencySpecification(v string) { - x.DependencySpecification = v + x.xxx_hidden_DependencySpecification = v } type PythonConfig_RuntimeLibrary_builder struct { @@ -4642,7 +4512,7 @@ func (b0 PythonConfig_RuntimeLibrary_builder) Build() *PythonConfig_RuntimeLibra m0 := &PythonConfig_RuntimeLibrary{} b, x := &b0, m0 _, _ = b, x - x.DependencySpecification = b.DependencySpecification + x.xxx_hidden_DependencySpecification = b.DependencySpecification return m0 } @@ -4651,17 +4521,13 @@ func (b0 PythonConfig_RuntimeLibrary_builder) Build() *PythonConfig_RuntimeLibra // 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 `protogen:"hybrid.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. - VersionRequirement string `protobuf:"bytes,2,opt,name=version_requirement,json=versionRequirement,proto3" json:"version_requirement,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_VersionRequirement string `protobuf:"bytes,2,opt,name=version_requirement,json=versionRequirement,proto3" json:"version_requirement,omitempty"` + xxx_hidden_DefaultFeatures bool `protobuf:"varint,3,opt,name=default_features,json=defaultFeatures,proto3" json:"default_features,omitempty"` + xxx_hidden_Features []string `protobuf:"bytes,4,rep,name=features,proto3" json:"features,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CargoConfig_RuntimeLibrary) Reset() { @@ -4691,46 +4557,46 @@ func (x *CargoConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { func (x *CargoConfig_RuntimeLibrary) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *CargoConfig_RuntimeLibrary) GetVersionRequirement() string { if x != nil { - return x.VersionRequirement + return x.xxx_hidden_VersionRequirement } return "" } func (x *CargoConfig_RuntimeLibrary) GetDefaultFeatures() bool { if x != nil { - return x.DefaultFeatures + return x.xxx_hidden_DefaultFeatures } return false } func (x *CargoConfig_RuntimeLibrary) GetFeatures() []string { if x != nil { - return x.Features + return x.xxx_hidden_Features } return nil } func (x *CargoConfig_RuntimeLibrary) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *CargoConfig_RuntimeLibrary) SetVersionRequirement(v string) { - x.VersionRequirement = v + x.xxx_hidden_VersionRequirement = v } func (x *CargoConfig_RuntimeLibrary) SetDefaultFeatures(v bool) { - x.DefaultFeatures = v + x.xxx_hidden_DefaultFeatures = v } func (x *CargoConfig_RuntimeLibrary) SetFeatures(v []string) { - x.Features = v + x.xxx_hidden_Features = v } type CargoConfig_RuntimeLibrary_builder struct { @@ -4750,10 +4616,10 @@ func (b0 CargoConfig_RuntimeLibrary_builder) Build() *CargoConfig_RuntimeLibrary m0 := &CargoConfig_RuntimeLibrary{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.VersionRequirement = b.VersionRequirement - x.DefaultFeatures = b.DefaultFeatures - x.Features = b.Features + x.xxx_hidden_Name = b.Name + x.xxx_hidden_VersionRequirement = b.VersionRequirement + x.xxx_hidden_DefaultFeatures = b.DefaultFeatures + x.xxx_hidden_Features = b.Features return m0 } @@ -5576,14 +5442,14 @@ func file_buf_alpha_registry_v1alpha1_plugin_curation_proto_init() { return } file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[8].OneofWrappers = []any{ - (*RegistryConfig_GoConfig)(nil), - (*RegistryConfig_NpmConfig)(nil), - (*RegistryConfig_MavenConfig)(nil), - (*RegistryConfig_SwiftConfig)(nil), - (*RegistryConfig_PythonConfig)(nil), - (*RegistryConfig_CargoConfig)(nil), - (*RegistryConfig_NugetConfig)(nil), - (*RegistryConfig_CmakeConfig)(nil), + (*registryConfig_GoConfig)(nil), + (*registryConfig_NpmConfig)(nil), + (*registryConfig_MavenConfig)(nil), + (*registryConfig_SwiftConfig)(nil), + (*registryConfig_PythonConfig)(nil), + (*registryConfig_CargoConfig)(nil), + (*registryConfig_NugetConfig)(nil), + (*registryConfig_CmakeConfig)(nil), } file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[14].OneofWrappers = []any{} type x struct{} diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/plugin_curation_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/plugin_curation_protoopaque.pb.go deleted file mode 100644 index 832ad80c6a..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/plugin_curation_protoopaque.pb.go +++ /dev/null @@ -1,5476 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/plugin_curation.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - v1 "github.com/bufbuild/buf/private/gen/proto/go/buf/alpha/image/v1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - pluginpb "google.golang.org/protobuf/types/pluginpb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// CuratedPluginVisibility defines the visibility options available -// for Curated Plugins. -type CuratedPluginVisibility int32 - -const ( - CuratedPluginVisibility_CURATED_PLUGIN_VISIBILITY_UNSPECIFIED CuratedPluginVisibility = 0 - CuratedPluginVisibility_CURATED_PLUGIN_VISIBILITY_PUBLIC CuratedPluginVisibility = 1 - CuratedPluginVisibility_CURATED_PLUGIN_VISIBILITY_PRIVATE CuratedPluginVisibility = 2 -) - -// Enum value maps for CuratedPluginVisibility. -var ( - CuratedPluginVisibility_name = map[int32]string{ - 0: "CURATED_PLUGIN_VISIBILITY_UNSPECIFIED", - 1: "CURATED_PLUGIN_VISIBILITY_PUBLIC", - 2: "CURATED_PLUGIN_VISIBILITY_PRIVATE", - } - CuratedPluginVisibility_value = map[string]int32{ - "CURATED_PLUGIN_VISIBILITY_UNSPECIFIED": 0, - "CURATED_PLUGIN_VISIBILITY_PUBLIC": 1, - "CURATED_PLUGIN_VISIBILITY_PRIVATE": 2, - } -) - -func (x CuratedPluginVisibility) Enum() *CuratedPluginVisibility { - p := new(CuratedPluginVisibility) - *p = x - return p -} - -func (x CuratedPluginVisibility) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CuratedPluginVisibility) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[0].Descriptor() -} - -func (CuratedPluginVisibility) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[0] -} - -func (x CuratedPluginVisibility) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// The supported plugin registries for curated plugins. -type PluginRegistryType int32 - -const ( - PluginRegistryType_PLUGIN_REGISTRY_TYPE_UNSPECIFIED PluginRegistryType = 0 - PluginRegistryType_PLUGIN_REGISTRY_TYPE_GO PluginRegistryType = 1 - PluginRegistryType_PLUGIN_REGISTRY_TYPE_NPM PluginRegistryType = 2 - PluginRegistryType_PLUGIN_REGISTRY_TYPE_MAVEN PluginRegistryType = 3 - PluginRegistryType_PLUGIN_REGISTRY_TYPE_SWIFT PluginRegistryType = 4 - PluginRegistryType_PLUGIN_REGISTRY_TYPE_PYTHON PluginRegistryType = 5 - PluginRegistryType_PLUGIN_REGISTRY_TYPE_CARGO PluginRegistryType = 7 - PluginRegistryType_PLUGIN_REGISTRY_TYPE_NUGET PluginRegistryType = 8 - PluginRegistryType_PLUGIN_REGISTRY_TYPE_CMAKE PluginRegistryType = 9 -) - -// Enum value maps for PluginRegistryType. -var ( - PluginRegistryType_name = map[int32]string{ - 0: "PLUGIN_REGISTRY_TYPE_UNSPECIFIED", - 1: "PLUGIN_REGISTRY_TYPE_GO", - 2: "PLUGIN_REGISTRY_TYPE_NPM", - 3: "PLUGIN_REGISTRY_TYPE_MAVEN", - 4: "PLUGIN_REGISTRY_TYPE_SWIFT", - 5: "PLUGIN_REGISTRY_TYPE_PYTHON", - 7: "PLUGIN_REGISTRY_TYPE_CARGO", - 8: "PLUGIN_REGISTRY_TYPE_NUGET", - 9: "PLUGIN_REGISTRY_TYPE_CMAKE", - } - PluginRegistryType_value = map[string]int32{ - "PLUGIN_REGISTRY_TYPE_UNSPECIFIED": 0, - "PLUGIN_REGISTRY_TYPE_GO": 1, - "PLUGIN_REGISTRY_TYPE_NPM": 2, - "PLUGIN_REGISTRY_TYPE_MAVEN": 3, - "PLUGIN_REGISTRY_TYPE_SWIFT": 4, - "PLUGIN_REGISTRY_TYPE_PYTHON": 5, - "PLUGIN_REGISTRY_TYPE_CARGO": 7, - "PLUGIN_REGISTRY_TYPE_NUGET": 8, - "PLUGIN_REGISTRY_TYPE_CMAKE": 9, - } -) - -func (x PluginRegistryType) Enum() *PluginRegistryType { - p := new(PluginRegistryType) - *p = x - return p -} - -func (x PluginRegistryType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PluginRegistryType) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[1].Descriptor() -} - -func (PluginRegistryType) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[1] -} - -func (x PluginRegistryType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// PluginLanguage is used to specify the output languages a plugin supports. -type PluginLanguage int32 - -const ( - PluginLanguage_PLUGIN_LANGUAGE_UNSPECIFIED PluginLanguage = 0 - PluginLanguage_PLUGIN_LANGUAGE_GO PluginLanguage = 1 - PluginLanguage_PLUGIN_LANGUAGE_JAVASCRIPT PluginLanguage = 2 - PluginLanguage_PLUGIN_LANGUAGE_TYPESCRIPT PluginLanguage = 3 - PluginLanguage_PLUGIN_LANGUAGE_SWIFT PluginLanguage = 4 - PluginLanguage_PLUGIN_LANGUAGE_CPP PluginLanguage = 5 - PluginLanguage_PLUGIN_LANGUAGE_JAVA PluginLanguage = 6 - PluginLanguage_PLUGIN_LANGUAGE_DART PluginLanguage = 7 - PluginLanguage_PLUGIN_LANGUAGE_RUST PluginLanguage = 8 - PluginLanguage_PLUGIN_LANGUAGE_PYTHON PluginLanguage = 9 - PluginLanguage_PLUGIN_LANGUAGE_RUBY PluginLanguage = 10 - PluginLanguage_PLUGIN_LANGUAGE_KOTLIN PluginLanguage = 11 - PluginLanguage_PLUGIN_LANGUAGE_OBJECTIVE_C PluginLanguage = 12 - PluginLanguage_PLUGIN_LANGUAGE_PHP PluginLanguage = 13 - PluginLanguage_PLUGIN_LANGUAGE_CSHARP PluginLanguage = 14 - PluginLanguage_PLUGIN_LANGUAGE_SCALA PluginLanguage = 15 - PluginLanguage_PLUGIN_LANGUAGE_C PluginLanguage = 16 -) - -// Enum value maps for PluginLanguage. -var ( - PluginLanguage_name = map[int32]string{ - 0: "PLUGIN_LANGUAGE_UNSPECIFIED", - 1: "PLUGIN_LANGUAGE_GO", - 2: "PLUGIN_LANGUAGE_JAVASCRIPT", - 3: "PLUGIN_LANGUAGE_TYPESCRIPT", - 4: "PLUGIN_LANGUAGE_SWIFT", - 5: "PLUGIN_LANGUAGE_CPP", - 6: "PLUGIN_LANGUAGE_JAVA", - 7: "PLUGIN_LANGUAGE_DART", - 8: "PLUGIN_LANGUAGE_RUST", - 9: "PLUGIN_LANGUAGE_PYTHON", - 10: "PLUGIN_LANGUAGE_RUBY", - 11: "PLUGIN_LANGUAGE_KOTLIN", - 12: "PLUGIN_LANGUAGE_OBJECTIVE_C", - 13: "PLUGIN_LANGUAGE_PHP", - 14: "PLUGIN_LANGUAGE_CSHARP", - 15: "PLUGIN_LANGUAGE_SCALA", - 16: "PLUGIN_LANGUAGE_C", - } - PluginLanguage_value = map[string]int32{ - "PLUGIN_LANGUAGE_UNSPECIFIED": 0, - "PLUGIN_LANGUAGE_GO": 1, - "PLUGIN_LANGUAGE_JAVASCRIPT": 2, - "PLUGIN_LANGUAGE_TYPESCRIPT": 3, - "PLUGIN_LANGUAGE_SWIFT": 4, - "PLUGIN_LANGUAGE_CPP": 5, - "PLUGIN_LANGUAGE_JAVA": 6, - "PLUGIN_LANGUAGE_DART": 7, - "PLUGIN_LANGUAGE_RUST": 8, - "PLUGIN_LANGUAGE_PYTHON": 9, - "PLUGIN_LANGUAGE_RUBY": 10, - "PLUGIN_LANGUAGE_KOTLIN": 11, - "PLUGIN_LANGUAGE_OBJECTIVE_C": 12, - "PLUGIN_LANGUAGE_PHP": 13, - "PLUGIN_LANGUAGE_CSHARP": 14, - "PLUGIN_LANGUAGE_SCALA": 15, - "PLUGIN_LANGUAGE_C": 16, - } -) - -func (x PluginLanguage) Enum() *PluginLanguage { - p := new(PluginLanguage) - *p = x - return p -} - -func (x PluginLanguage) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PluginLanguage) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[2].Descriptor() -} - -func (PluginLanguage) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[2] -} - -func (x PluginLanguage) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// NPMImportStyle is used to specify the import style the plugin supports. -type NPMImportStyle int32 - -const ( - NPMImportStyle_NPM_IMPORT_STYLE_UNSPECIFIED NPMImportStyle = 0 - NPMImportStyle_NPM_IMPORT_STYLE_MODULE NPMImportStyle = 1 - NPMImportStyle_NPM_IMPORT_STYLE_COMMONJS NPMImportStyle = 2 -) - -// Enum value maps for NPMImportStyle. -var ( - NPMImportStyle_name = map[int32]string{ - 0: "NPM_IMPORT_STYLE_UNSPECIFIED", - 1: "NPM_IMPORT_STYLE_MODULE", - 2: "NPM_IMPORT_STYLE_COMMONJS", - } - NPMImportStyle_value = map[string]int32{ - "NPM_IMPORT_STYLE_UNSPECIFIED": 0, - "NPM_IMPORT_STYLE_MODULE": 1, - "NPM_IMPORT_STYLE_COMMONJS": 2, - } -) - -func (x NPMImportStyle) Enum() *NPMImportStyle { - p := new(NPMImportStyle) - *p = x - return p -} - -func (x NPMImportStyle) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (NPMImportStyle) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[3].Descriptor() -} - -func (NPMImportStyle) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[3] -} - -func (x NPMImportStyle) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// SwiftPlatformType is used to specify the platform type for a Swift plugins minimum compatible version. -type SwiftPlatformType int32 - -const ( - SwiftPlatformType_SWIFT_PLATFORM_TYPE_UNSPECIFIED SwiftPlatformType = 0 - SwiftPlatformType_SWIFT_PLATFORM_TYPE_MACOS SwiftPlatformType = 1 - SwiftPlatformType_SWIFT_PLATFORM_TYPE_IOS SwiftPlatformType = 2 - SwiftPlatformType_SWIFT_PLATFORM_TYPE_WATCHOS SwiftPlatformType = 3 - SwiftPlatformType_SWIFT_PLATFORM_TYPE_TVOS SwiftPlatformType = 4 -) - -// Enum value maps for SwiftPlatformType. -var ( - SwiftPlatformType_name = map[int32]string{ - 0: "SWIFT_PLATFORM_TYPE_UNSPECIFIED", - 1: "SWIFT_PLATFORM_TYPE_MACOS", - 2: "SWIFT_PLATFORM_TYPE_IOS", - 3: "SWIFT_PLATFORM_TYPE_WATCHOS", - 4: "SWIFT_PLATFORM_TYPE_TVOS", - } - SwiftPlatformType_value = map[string]int32{ - "SWIFT_PLATFORM_TYPE_UNSPECIFIED": 0, - "SWIFT_PLATFORM_TYPE_MACOS": 1, - "SWIFT_PLATFORM_TYPE_IOS": 2, - "SWIFT_PLATFORM_TYPE_WATCHOS": 3, - "SWIFT_PLATFORM_TYPE_TVOS": 4, - } -) - -func (x SwiftPlatformType) Enum() *SwiftPlatformType { - p := new(SwiftPlatformType) - *p = x - return p -} - -func (x SwiftPlatformType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SwiftPlatformType) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[4].Descriptor() -} - -func (SwiftPlatformType) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[4] -} - -func (x SwiftPlatformType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// PythonPackageType is used to specify the package type for a Python Generated SDK. -type PythonPackageType int32 - -const ( - PythonPackageType_PYTHON_PACKAGE_TYPE_UNSPECIFIED PythonPackageType = 0 - // Regular Python package, containing Python runtime code (`.py` files). - PythonPackageType_PYTHON_PACKAGE_TYPE_RUNTIME PythonPackageType = 1 - // Stub-only package, containing only `.pyi` files. - // Ref: https://peps.python.org/pep-0561/#stub-only-packages - PythonPackageType_PYTHON_PACKAGE_TYPE_STUB_ONLY PythonPackageType = 2 -) - -// Enum value maps for PythonPackageType. -var ( - PythonPackageType_name = map[int32]string{ - 0: "PYTHON_PACKAGE_TYPE_UNSPECIFIED", - 1: "PYTHON_PACKAGE_TYPE_RUNTIME", - 2: "PYTHON_PACKAGE_TYPE_STUB_ONLY", - } - PythonPackageType_value = map[string]int32{ - "PYTHON_PACKAGE_TYPE_UNSPECIFIED": 0, - "PYTHON_PACKAGE_TYPE_RUNTIME": 1, - "PYTHON_PACKAGE_TYPE_STUB_ONLY": 2, - } -) - -func (x PythonPackageType) Enum() *PythonPackageType { - p := new(PythonPackageType) - *p = x - return p -} - -func (x PythonPackageType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PythonPackageType) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[5].Descriptor() -} - -func (PythonPackageType) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[5] -} - -func (x PythonPackageType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// DotnetTargetFramework specifies the target framework for dotnet plugins. -// This is not meant to be an exhaustive list - most plugins should target a -// netstandard version. -// Reference: https://learn.microsoft.com/en-us/dotnet/standard/frameworks -type DotnetTargetFramework int32 - -const ( - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_UNSPECIFIED DotnetTargetFramework = 0 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_0 DotnetTargetFramework = 1 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_1 DotnetTargetFramework = 2 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_2 DotnetTargetFramework = 3 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_3 DotnetTargetFramework = 4 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_4 DotnetTargetFramework = 5 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_5 DotnetTargetFramework = 6 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_6 DotnetTargetFramework = 7 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NETSTANDARD_2_0 DotnetTargetFramework = 8 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NETSTANDARD_2_1 DotnetTargetFramework = 9 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NET_5_0 DotnetTargetFramework = 10 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NET_6_0 DotnetTargetFramework = 11 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NET_7_0 DotnetTargetFramework = 12 - DotnetTargetFramework_DOTNET_TARGET_FRAMEWORK_NET_8_0 DotnetTargetFramework = 13 -) - -// Enum value maps for DotnetTargetFramework. -var ( - DotnetTargetFramework_name = map[int32]string{ - 0: "DOTNET_TARGET_FRAMEWORK_UNSPECIFIED", - 1: "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_0", - 2: "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_1", - 3: "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_2", - 4: "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_3", - 5: "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_4", - 6: "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_5", - 7: "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_6", - 8: "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_2_0", - 9: "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_2_1", - 10: "DOTNET_TARGET_FRAMEWORK_NET_5_0", - 11: "DOTNET_TARGET_FRAMEWORK_NET_6_0", - 12: "DOTNET_TARGET_FRAMEWORK_NET_7_0", - 13: "DOTNET_TARGET_FRAMEWORK_NET_8_0", - } - DotnetTargetFramework_value = map[string]int32{ - "DOTNET_TARGET_FRAMEWORK_UNSPECIFIED": 0, - "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_0": 1, - "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_1": 2, - "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_2": 3, - "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_3": 4, - "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_4": 5, - "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_5": 6, - "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_1_6": 7, - "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_2_0": 8, - "DOTNET_TARGET_FRAMEWORK_NETSTANDARD_2_1": 9, - "DOTNET_TARGET_FRAMEWORK_NET_5_0": 10, - "DOTNET_TARGET_FRAMEWORK_NET_6_0": 11, - "DOTNET_TARGET_FRAMEWORK_NET_7_0": 12, - "DOTNET_TARGET_FRAMEWORK_NET_8_0": 13, - } -) - -func (x DotnetTargetFramework) Enum() *DotnetTargetFramework { - p := new(DotnetTargetFramework) - *p = x - return p -} - -func (x DotnetTargetFramework) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DotnetTargetFramework) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[6].Descriptor() -} - -func (DotnetTargetFramework) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes[6] -} - -func (x DotnetTargetFramework) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// GoConfig is the configuration for a Go plugin. -type GoConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RuntimeLibraries *[]*GoConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` - xxx_hidden_MinimumVersion string `protobuf:"bytes,2,opt,name=minimum_version,json=minimumVersion,proto3" json:"minimum_version,omitempty"` - xxx_hidden_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() { - *x = GoConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GoConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GoConfig) ProtoMessage() {} - -func (x *GoConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GoConfig) GetRuntimeLibraries() []*GoConfig_RuntimeLibrary { - if x != nil { - if x.xxx_hidden_RuntimeLibraries != nil { - return *x.xxx_hidden_RuntimeLibraries - } - } - return nil -} - -func (x *GoConfig) GetMinimumVersion() string { - if x != nil { - return x.xxx_hidden_MinimumVersion - } - return "" -} - -func (x *GoConfig) GetBasePlugin() string { - if x != nil { - return x.xxx_hidden_BasePlugin - } - return "" -} - -func (x *GoConfig) SetRuntimeLibraries(v []*GoConfig_RuntimeLibrary) { - x.xxx_hidden_RuntimeLibraries = &v -} - -func (x *GoConfig) SetMinimumVersion(v string) { - x.xxx_hidden_MinimumVersion = v -} - -func (x *GoConfig) SetBasePlugin(v string) { - x.xxx_hidden_BasePlugin = v -} - -type GoConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Optionally define the runtime libraries for the plugin. - RuntimeLibraries []*GoConfig_RuntimeLibrary - // The minimum Go version required by the plugin. - MinimumVersion string - // Optionally specifies an alternate base plugin like "remote/org/go-multi" instead of the default - // "remote/protocolbuffers/go". If provided, the name must match one of the plugin dependencies in - // the top-level deps field. - // - // 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 -} - -func (b0 GoConfig_builder) Build() *GoConfig { - m0 := &GoConfig{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries - x.xxx_hidden_MinimumVersion = b.MinimumVersion - x.xxx_hidden_BasePlugin = b.BasePlugin - return m0 -} - -// NPMConfig is the configuration for a JavaScript NPM plugin. -type NPMConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RuntimeLibraries *[]*NPMConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` - xxx_hidden_RewriteImportPathSuffix string `protobuf:"bytes,2,opt,name=rewrite_import_path_suffix,json=rewriteImportPathSuffix,proto3" json:"rewrite_import_path_suffix,omitempty"` - xxx_hidden_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() { - *x = NPMConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NPMConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NPMConfig) ProtoMessage() {} - -func (x *NPMConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *NPMConfig) GetRuntimeLibraries() []*NPMConfig_RuntimeLibrary { - if x != nil { - if x.xxx_hidden_RuntimeLibraries != nil { - return *x.xxx_hidden_RuntimeLibraries - } - } - return nil -} - -func (x *NPMConfig) GetRewriteImportPathSuffix() string { - if x != nil { - return x.xxx_hidden_RewriteImportPathSuffix - } - return "" -} - -func (x *NPMConfig) GetImportStyle() NPMImportStyle { - if x != nil { - return x.xxx_hidden_ImportStyle - } - return NPMImportStyle_NPM_IMPORT_STYLE_UNSPECIFIED -} - -func (x *NPMConfig) SetRuntimeLibraries(v []*NPMConfig_RuntimeLibrary) { - x.xxx_hidden_RuntimeLibraries = &v -} - -func (x *NPMConfig) SetRewriteImportPathSuffix(v string) { - x.xxx_hidden_RewriteImportPathSuffix = v -} - -func (x *NPMConfig) SetImportStyle(v NPMImportStyle) { - x.xxx_hidden_ImportStyle = v -} - -type NPMConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Optionally define the runtime libraries for the plugin. - RuntimeLibraries []*NPMConfig_RuntimeLibrary - // Optionally define a configuration for rewriting import paths, a feature mainly - // used for remote code generation in the BSR npm registry, which makes it possible - // to serve the output of a BSR module and a plugin in an individual package. - // - // All plugins based on @bufbuild/protoplugin support the option "rewrite_imports". - // Setting this value, i.e. "connectweb.js" or "pb.js", informs the BSR npm registry - // that the plugin supports import rewrites with the given import suffix. - RewriteImportPathSuffix string - // 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 -} - -func (b0 NPMConfig_builder) Build() *NPMConfig { - m0 := &NPMConfig{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries - x.xxx_hidden_RewriteImportPathSuffix = b.RewriteImportPathSuffix - x.xxx_hidden_ImportStyle = b.ImportStyle - return m0 -} - -// MavenConfig is the configuration for a Maven plugin. -type MavenConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RuntimeLibraries *[]*MavenConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` - xxx_hidden_Compiler *MavenConfig_CompilerConfig `protobuf:"bytes,2,opt,name=compiler,proto3" json:"compiler,omitempty"` - xxx_hidden_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() { - *x = MavenConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MavenConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MavenConfig) ProtoMessage() {} - -func (x *MavenConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MavenConfig) GetRuntimeLibraries() []*MavenConfig_RuntimeLibrary { - if x != nil { - if x.xxx_hidden_RuntimeLibraries != nil { - return *x.xxx_hidden_RuntimeLibraries - } - } - return nil -} - -func (x *MavenConfig) GetCompiler() *MavenConfig_CompilerConfig { - if x != nil { - return x.xxx_hidden_Compiler - } - return nil -} - -func (x *MavenConfig) GetAdditionalRuntimes() []*MavenConfig_RuntimeConfig { - if x != nil { - if x.xxx_hidden_AdditionalRuntimes != nil { - return *x.xxx_hidden_AdditionalRuntimes - } - } - return nil -} - -func (x *MavenConfig) SetRuntimeLibraries(v []*MavenConfig_RuntimeLibrary) { - x.xxx_hidden_RuntimeLibraries = &v -} - -func (x *MavenConfig) SetCompiler(v *MavenConfig_CompilerConfig) { - x.xxx_hidden_Compiler = v -} - -func (x *MavenConfig) SetAdditionalRuntimes(v []*MavenConfig_RuntimeConfig) { - x.xxx_hidden_AdditionalRuntimes = &v -} - -func (x *MavenConfig) HasCompiler() bool { - if x == nil { - return false - } - return x.xxx_hidden_Compiler != nil -} - -func (x *MavenConfig) ClearCompiler() { - x.xxx_hidden_Compiler = nil -} - -type MavenConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Optionally define the runtime libraries for the plugin. - RuntimeLibraries []*MavenConfig_RuntimeLibrary - // Settings for the Java/Kotlin compiler used to compile the generated code. - Compiler *MavenConfig_CompilerConfig - // Optional additional runtimes supported by the plugin. - AdditionalRuntimes []*MavenConfig_RuntimeConfig -} - -func (b0 MavenConfig_builder) Build() *MavenConfig { - m0 := &MavenConfig{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries - x.xxx_hidden_Compiler = b.Compiler - x.xxx_hidden_AdditionalRuntimes = &b.AdditionalRuntimes - return m0 -} - -// NugetConfig is the configuration for a NuGet C# plugin. -type NugetConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_TargetFrameworks []DotnetTargetFramework `protobuf:"varint,1,rep,packed,name=target_frameworks,json=targetFrameworks,proto3,enum=buf.alpha.registry.v1alpha1.DotnetTargetFramework" json:"target_frameworks,omitempty"` - xxx_hidden_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() { - *x = NugetConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NugetConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NugetConfig) ProtoMessage() {} - -func (x *NugetConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *NugetConfig) GetTargetFrameworks() []DotnetTargetFramework { - if x != nil { - return x.xxx_hidden_TargetFrameworks - } - return nil -} - -func (x *NugetConfig) GetRuntimeLibraries() []*NugetConfig_RuntimeLibrary { - if x != nil { - if x.xxx_hidden_RuntimeLibraries != nil { - return *x.xxx_hidden_RuntimeLibraries - } - } - return nil -} - -func (x *NugetConfig) SetTargetFrameworks(v []DotnetTargetFramework) { - x.xxx_hidden_TargetFrameworks = v -} - -func (x *NugetConfig) SetRuntimeLibraries(v []*NugetConfig_RuntimeLibrary) { - x.xxx_hidden_RuntimeLibraries = &v -} - -type NugetConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Target frameworks to build. At least one target framework is required. - TargetFrameworks []DotnetTargetFramework - // Optional runtime libraries required by the plugin's generated code. - RuntimeLibraries []*NugetConfig_RuntimeLibrary -} - -func (b0 NugetConfig_builder) Build() *NugetConfig { - m0 := &NugetConfig{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_TargetFrameworks = b.TargetFrameworks - x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries - return m0 -} - -// CmakeConfig is the configuration for a Cmake C++ plugin. -type CmakeConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CmakeConfig) Reset() { - *x = CmakeConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CmakeConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CmakeConfig) ProtoMessage() {} - -func (x *CmakeConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type CmakeConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 CmakeConfig_builder) Build() *CmakeConfig { - m0 := &CmakeConfig{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type SwiftConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = SwiftConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SwiftConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SwiftConfig) ProtoMessage() {} - -func (x *SwiftConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SwiftConfig) GetRuntimeLibraries() []*SwiftConfig_RuntimeLibrary { - if x != nil { - if x.xxx_hidden_RuntimeLibraries != nil { - return *x.xxx_hidden_RuntimeLibraries - } - } - return nil -} - -func (x *SwiftConfig) SetRuntimeLibraries(v []*SwiftConfig_RuntimeLibrary) { - x.xxx_hidden_RuntimeLibraries = &v -} - -type SwiftConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Optionally define the runtime libraries for the plugin. - RuntimeLibraries []*SwiftConfig_RuntimeLibrary -} - -func (b0 SwiftConfig_builder) Build() *SwiftConfig { - m0 := &SwiftConfig{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries - return m0 -} - -type PythonConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RuntimeLibraries *[]*PythonConfig_RuntimeLibrary `protobuf:"bytes,1,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` - xxx_hidden_RequiresPython string `protobuf:"bytes,2,opt,name=requires_python,json=requiresPython,proto3" json:"requires_python,omitempty"` - xxx_hidden_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() { - *x = PythonConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PythonConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PythonConfig) ProtoMessage() {} - -func (x *PythonConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PythonConfig) GetRuntimeLibraries() []*PythonConfig_RuntimeLibrary { - if x != nil { - if x.xxx_hidden_RuntimeLibraries != nil { - return *x.xxx_hidden_RuntimeLibraries - } - } - return nil -} - -func (x *PythonConfig) GetRequiresPython() string { - if x != nil { - return x.xxx_hidden_RequiresPython - } - return "" -} - -func (x *PythonConfig) GetPackageType() PythonPackageType { - if x != nil { - return x.xxx_hidden_PackageType - } - return PythonPackageType_PYTHON_PACKAGE_TYPE_UNSPECIFIED -} - -func (x *PythonConfig) SetRuntimeLibraries(v []*PythonConfig_RuntimeLibrary) { - x.xxx_hidden_RuntimeLibraries = &v -} - -func (x *PythonConfig) SetRequiresPython(v string) { - x.xxx_hidden_RequiresPython = v -} - -func (x *PythonConfig) SetPackageType(v PythonPackageType) { - x.xxx_hidden_PackageType = v -} - -type PythonConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RuntimeLibraries []*PythonConfig_RuntimeLibrary - // requires_python is a PEP 440 Version Specifier that specifies the value of - // the `Requires-Python` field in a metadata file. - // - // Ref: - // - https://packaging.python.org/en/latest/specifications/core-metadata/#requires-python - // - https://peps.python.org/pep-0440/ - RequiresPython string - // package_type is the PythonPackageType that this plugin generates. - PackageType PythonPackageType -} - -func (b0 PythonConfig_builder) Build() *PythonConfig { - m0 := &PythonConfig{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries - x.xxx_hidden_RequiresPython = b.RequiresPython - x.xxx_hidden_PackageType = b.PackageType - return m0 -} - -// CargoConfig specifies the Cargo Registry configuration for a Rust plugin. -type CargoConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RustVersion string `protobuf:"bytes,1,opt,name=rust_version,json=rustVersion,proto3" json:"rust_version,omitempty"` - xxx_hidden_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() { - *x = CargoConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CargoConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CargoConfig) ProtoMessage() {} - -func (x *CargoConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CargoConfig) GetRustVersion() string { - if x != nil { - return x.xxx_hidden_RustVersion - } - return "" -} - -func (x *CargoConfig) GetRuntimeLibraries() []*CargoConfig_RuntimeLibrary { - if x != nil { - if x.xxx_hidden_RuntimeLibraries != nil { - return *x.xxx_hidden_RuntimeLibraries - } - } - return nil -} - -func (x *CargoConfig) SetRustVersion(v string) { - x.xxx_hidden_RustVersion = v -} - -func (x *CargoConfig) SetRuntimeLibraries(v []*CargoConfig_RuntimeLibrary) { - x.xxx_hidden_RuntimeLibraries = &v -} - -type CargoConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 - // runtime_libraries specifies the runtime dependencies for the generated crate. Optional. - RuntimeLibraries []*CargoConfig_RuntimeLibrary -} - -func (b0 CargoConfig_builder) Build() *CargoConfig { - m0 := &CargoConfig{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RustVersion = b.RustVersion - x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries - return m0 -} - -// RegistryConfig is the configuration for the remote registry of a plugin. -type RegistryConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RegistryConfig isRegistryConfig_RegistryConfig `protobuf_oneof:"registry_config"` - xxx_hidden_Options []string `protobuf:"bytes,10,rep,name=options,proto3" json:"options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RegistryConfig) Reset() { - *x = RegistryConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RegistryConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RegistryConfig) ProtoMessage() {} - -func (x *RegistryConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RegistryConfig) GetGoConfig() *GoConfig { - if x != nil { - if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_GoConfig); ok { - return x.GoConfig - } - } - return nil -} - -func (x *RegistryConfig) GetNpmConfig() *NPMConfig { - if x != nil { - if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_NpmConfig); ok { - return x.NpmConfig - } - } - return nil -} - -func (x *RegistryConfig) GetMavenConfig() *MavenConfig { - if x != nil { - if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_MavenConfig); ok { - return x.MavenConfig - } - } - return nil -} - -func (x *RegistryConfig) GetSwiftConfig() *SwiftConfig { - if x != nil { - if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_SwiftConfig); ok { - return x.SwiftConfig - } - } - return nil -} - -func (x *RegistryConfig) GetPythonConfig() *PythonConfig { - if x != nil { - if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_PythonConfig); ok { - return x.PythonConfig - } - } - return nil -} - -func (x *RegistryConfig) GetCargoConfig() *CargoConfig { - if x != nil { - if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_CargoConfig); ok { - return x.CargoConfig - } - } - return nil -} - -func (x *RegistryConfig) GetNugetConfig() *NugetConfig { - if x != nil { - if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_NugetConfig); ok { - return x.NugetConfig - } - } - return nil -} - -func (x *RegistryConfig) GetCmakeConfig() *CmakeConfig { - if x != nil { - if x, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_CmakeConfig); ok { - return x.CmakeConfig - } - } - return nil -} - -func (x *RegistryConfig) GetOptions() []string { - if x != nil { - return x.xxx_hidden_Options - } - return nil -} - -func (x *RegistryConfig) SetGoConfig(v *GoConfig) { - if v == nil { - x.xxx_hidden_RegistryConfig = nil - return - } - x.xxx_hidden_RegistryConfig = ®istryConfig_GoConfig{v} -} - -func (x *RegistryConfig) SetNpmConfig(v *NPMConfig) { - if v == nil { - x.xxx_hidden_RegistryConfig = nil - return - } - x.xxx_hidden_RegistryConfig = ®istryConfig_NpmConfig{v} -} - -func (x *RegistryConfig) SetMavenConfig(v *MavenConfig) { - if v == nil { - x.xxx_hidden_RegistryConfig = nil - return - } - x.xxx_hidden_RegistryConfig = ®istryConfig_MavenConfig{v} -} - -func (x *RegistryConfig) SetSwiftConfig(v *SwiftConfig) { - if v == nil { - x.xxx_hidden_RegistryConfig = nil - return - } - x.xxx_hidden_RegistryConfig = ®istryConfig_SwiftConfig{v} -} - -func (x *RegistryConfig) SetPythonConfig(v *PythonConfig) { - if v == nil { - x.xxx_hidden_RegistryConfig = nil - return - } - x.xxx_hidden_RegistryConfig = ®istryConfig_PythonConfig{v} -} - -func (x *RegistryConfig) SetCargoConfig(v *CargoConfig) { - if v == nil { - x.xxx_hidden_RegistryConfig = nil - return - } - x.xxx_hidden_RegistryConfig = ®istryConfig_CargoConfig{v} -} - -func (x *RegistryConfig) SetNugetConfig(v *NugetConfig) { - if v == nil { - x.xxx_hidden_RegistryConfig = nil - return - } - x.xxx_hidden_RegistryConfig = ®istryConfig_NugetConfig{v} -} - -func (x *RegistryConfig) SetCmakeConfig(v *CmakeConfig) { - if v == nil { - x.xxx_hidden_RegistryConfig = nil - return - } - x.xxx_hidden_RegistryConfig = ®istryConfig_CmakeConfig{v} -} - -func (x *RegistryConfig) SetOptions(v []string) { - x.xxx_hidden_Options = v -} - -func (x *RegistryConfig) HasRegistryConfig() bool { - if x == nil { - return false - } - return x.xxx_hidden_RegistryConfig != nil -} - -func (x *RegistryConfig) HasGoConfig() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_GoConfig) - return ok -} - -func (x *RegistryConfig) HasNpmConfig() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_NpmConfig) - return ok -} - -func (x *RegistryConfig) HasMavenConfig() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_MavenConfig) - return ok -} - -func (x *RegistryConfig) HasSwiftConfig() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_SwiftConfig) - return ok -} - -func (x *RegistryConfig) HasPythonConfig() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_PythonConfig) - return ok -} - -func (x *RegistryConfig) HasCargoConfig() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_CargoConfig) - return ok -} - -func (x *RegistryConfig) HasNugetConfig() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_NugetConfig) - return ok -} - -func (x *RegistryConfig) HasCmakeConfig() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_CmakeConfig) - return ok -} - -func (x *RegistryConfig) ClearRegistryConfig() { - x.xxx_hidden_RegistryConfig = nil -} - -func (x *RegistryConfig) ClearGoConfig() { - if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_GoConfig); ok { - x.xxx_hidden_RegistryConfig = nil - } -} - -func (x *RegistryConfig) ClearNpmConfig() { - if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_NpmConfig); ok { - x.xxx_hidden_RegistryConfig = nil - } -} - -func (x *RegistryConfig) ClearMavenConfig() { - if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_MavenConfig); ok { - x.xxx_hidden_RegistryConfig = nil - } -} - -func (x *RegistryConfig) ClearSwiftConfig() { - if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_SwiftConfig); ok { - x.xxx_hidden_RegistryConfig = nil - } -} - -func (x *RegistryConfig) ClearPythonConfig() { - if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_PythonConfig); ok { - x.xxx_hidden_RegistryConfig = nil - } -} - -func (x *RegistryConfig) ClearCargoConfig() { - if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_CargoConfig); ok { - x.xxx_hidden_RegistryConfig = nil - } -} - -func (x *RegistryConfig) ClearNugetConfig() { - if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_NugetConfig); ok { - x.xxx_hidden_RegistryConfig = nil - } -} - -func (x *RegistryConfig) ClearCmakeConfig() { - if _, ok := x.xxx_hidden_RegistryConfig.(*registryConfig_CmakeConfig); ok { - x.xxx_hidden_RegistryConfig = nil - } -} - -const RegistryConfig_RegistryConfig_not_set_case case_RegistryConfig_RegistryConfig = 0 -const RegistryConfig_GoConfig_case case_RegistryConfig_RegistryConfig = 1 -const RegistryConfig_NpmConfig_case case_RegistryConfig_RegistryConfig = 2 -const RegistryConfig_MavenConfig_case case_RegistryConfig_RegistryConfig = 3 -const RegistryConfig_SwiftConfig_case case_RegistryConfig_RegistryConfig = 4 -const RegistryConfig_PythonConfig_case case_RegistryConfig_RegistryConfig = 5 -const RegistryConfig_CargoConfig_case case_RegistryConfig_RegistryConfig = 6 -const RegistryConfig_NugetConfig_case case_RegistryConfig_RegistryConfig = 7 -const RegistryConfig_CmakeConfig_case case_RegistryConfig_RegistryConfig = 8 - -func (x *RegistryConfig) WhichRegistryConfig() case_RegistryConfig_RegistryConfig { - if x == nil { - return RegistryConfig_RegistryConfig_not_set_case - } - switch x.xxx_hidden_RegistryConfig.(type) { - case *registryConfig_GoConfig: - return RegistryConfig_GoConfig_case - case *registryConfig_NpmConfig: - return RegistryConfig_NpmConfig_case - case *registryConfig_MavenConfig: - return RegistryConfig_MavenConfig_case - case *registryConfig_SwiftConfig: - return RegistryConfig_SwiftConfig_case - case *registryConfig_PythonConfig: - return RegistryConfig_PythonConfig_case - case *registryConfig_CargoConfig: - return RegistryConfig_CargoConfig_case - case *registryConfig_NugetConfig: - return RegistryConfig_NugetConfig_case - case *registryConfig_CmakeConfig: - return RegistryConfig_CmakeConfig_case - default: - return RegistryConfig_RegistryConfig_not_set_case - } -} - -type RegistryConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Fields of oneof xxx_hidden_RegistryConfig: - GoConfig *GoConfig - NpmConfig *NPMConfig - MavenConfig *MavenConfig - SwiftConfig *SwiftConfig - PythonConfig *PythonConfig - CargoConfig *CargoConfig - NugetConfig *NugetConfig - CmakeConfig *CmakeConfig - // -- end of xxx_hidden_RegistryConfig - // The options to pass to the plugin. These will - // be merged into a single, comma-separated string. - Options []string -} - -func (b0 RegistryConfig_builder) Build() *RegistryConfig { - m0 := &RegistryConfig{} - b, x := &b0, m0 - _, _ = b, x - if b.GoConfig != nil { - x.xxx_hidden_RegistryConfig = ®istryConfig_GoConfig{b.GoConfig} - } - if b.NpmConfig != nil { - x.xxx_hidden_RegistryConfig = ®istryConfig_NpmConfig{b.NpmConfig} - } - if b.MavenConfig != nil { - x.xxx_hidden_RegistryConfig = ®istryConfig_MavenConfig{b.MavenConfig} - } - if b.SwiftConfig != nil { - x.xxx_hidden_RegistryConfig = ®istryConfig_SwiftConfig{b.SwiftConfig} - } - if b.PythonConfig != nil { - x.xxx_hidden_RegistryConfig = ®istryConfig_PythonConfig{b.PythonConfig} - } - if b.CargoConfig != nil { - x.xxx_hidden_RegistryConfig = ®istryConfig_CargoConfig{b.CargoConfig} - } - if b.NugetConfig != nil { - x.xxx_hidden_RegistryConfig = ®istryConfig_NugetConfig{b.NugetConfig} - } - if b.CmakeConfig != nil { - x.xxx_hidden_RegistryConfig = ®istryConfig_CmakeConfig{b.CmakeConfig} - } - x.xxx_hidden_Options = b.Options - return m0 -} - -type case_RegistryConfig_RegistryConfig protoreflect.FieldNumber - -func (x case_RegistryConfig_RegistryConfig) String() string { - md := file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[8].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isRegistryConfig_RegistryConfig interface { - isRegistryConfig_RegistryConfig() -} - -type registryConfig_GoConfig struct { - GoConfig *GoConfig `protobuf:"bytes,1,opt,name=go_config,json=goConfig,proto3,oneof"` -} - -type registryConfig_NpmConfig struct { - NpmConfig *NPMConfig `protobuf:"bytes,2,opt,name=npm_config,json=npmConfig,proto3,oneof"` -} - -type registryConfig_MavenConfig struct { - MavenConfig *MavenConfig `protobuf:"bytes,3,opt,name=maven_config,json=mavenConfig,proto3,oneof"` -} - -type registryConfig_SwiftConfig struct { - SwiftConfig *SwiftConfig `protobuf:"bytes,4,opt,name=swift_config,json=swiftConfig,proto3,oneof"` -} - -type registryConfig_PythonConfig struct { - PythonConfig *PythonConfig `protobuf:"bytes,5,opt,name=python_config,json=pythonConfig,proto3,oneof"` -} - -type registryConfig_CargoConfig struct { - CargoConfig *CargoConfig `protobuf:"bytes,6,opt,name=cargo_config,json=cargoConfig,proto3,oneof"` -} - -type registryConfig_NugetConfig struct { - NugetConfig *NugetConfig `protobuf:"bytes,7,opt,name=nuget_config,json=nugetConfig,proto3,oneof"` -} - -type registryConfig_CmakeConfig struct { - CmakeConfig *CmakeConfig `protobuf:"bytes,8,opt,name=cmake_config,json=cmakeConfig,proto3,oneof"` -} - -func (*registryConfig_GoConfig) isRegistryConfig_RegistryConfig() {} - -func (*registryConfig_NpmConfig) isRegistryConfig_RegistryConfig() {} - -func (*registryConfig_MavenConfig) isRegistryConfig_RegistryConfig() {} - -func (*registryConfig_SwiftConfig) isRegistryConfig_RegistryConfig() {} - -func (*registryConfig_PythonConfig) isRegistryConfig_RegistryConfig() {} - -func (*registryConfig_CargoConfig) isRegistryConfig_RegistryConfig() {} - -func (*registryConfig_NugetConfig) isRegistryConfig_RegistryConfig() {} - -func (*registryConfig_CmakeConfig) isRegistryConfig_RegistryConfig() {} - -type CuratedPluginReference struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_Revision uint32 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CuratedPluginReference) Reset() { - *x = CuratedPluginReference{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CuratedPluginReference) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CuratedPluginReference) ProtoMessage() {} - -func (x *CuratedPluginReference) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CuratedPluginReference) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *CuratedPluginReference) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *CuratedPluginReference) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *CuratedPluginReference) GetRevision() uint32 { - if x != nil { - return x.xxx_hidden_Revision - } - return 0 -} - -func (x *CuratedPluginReference) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *CuratedPluginReference) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *CuratedPluginReference) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *CuratedPluginReference) SetRevision(v uint32) { - x.xxx_hidden_Revision = v -} - -type CuratedPluginReference_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the plugin, i.e. "library". - Owner string - // The name of the plugin, i.e. "connect-go". - Name string - // Semver-formatted plugin version. - Version string - // The revision for this plugin version. - Revision uint32 -} - -func (b0 CuratedPluginReference_builder) Build() *CuratedPluginReference { - m0 := &CuratedPluginReference{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Version = b.Version - x.xxx_hidden_Revision = b.Revision - return m0 -} - -// CuratedPlugin represents a protoc plugin curated by Buf, such as protoc-gen-go. -type CuratedPlugin struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_RegistryType PluginRegistryType `protobuf:"varint,4,opt,name=registry_type,json=registryType,proto3,enum=buf.alpha.registry.v1alpha1.PluginRegistryType" json:"registry_type,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_ContainerImageDigest string `protobuf:"bytes,6,opt,name=container_image_digest,json=containerImageDigest,proto3" json:"container_image_digest,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - xxx_hidden_Dependencies *[]*CuratedPluginReference `protobuf:"bytes,9,rep,name=dependencies,proto3" json:"dependencies,omitempty"` - xxx_hidden_SourceUrl string `protobuf:"bytes,10,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` - xxx_hidden_Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` - xxx_hidden_RegistryConfig *RegistryConfig `protobuf:"bytes,12,opt,name=registry_config,json=registryConfig,proto3" json:"registry_config,omitempty"` - xxx_hidden_Revision uint32 `protobuf:"varint,13,opt,name=revision,proto3" json:"revision,omitempty"` - xxx_hidden_OutputLanguages []PluginLanguage `protobuf:"varint,14,rep,packed,name=output_languages,json=outputLanguages,proto3,enum=buf.alpha.registry.v1alpha1.PluginLanguage" json:"output_languages,omitempty"` - xxx_hidden_SpdxLicenseId string `protobuf:"bytes,15,opt,name=spdx_license_id,json=spdxLicenseId,proto3" json:"spdx_license_id,omitempty"` - xxx_hidden_LicenseUrl string `protobuf:"bytes,16,opt,name=license_url,json=licenseUrl,proto3" json:"license_url,omitempty"` - xxx_hidden_Verified bool `protobuf:"varint,17,opt,name=verified,proto3" json:"verified,omitempty"` - xxx_hidden_Visibility CuratedPluginVisibility `protobuf:"varint,18,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.CuratedPluginVisibility" json:"visibility,omitempty"` - xxx_hidden_Deprecated bool `protobuf:"varint,19,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - xxx_hidden_DeprecationMessage string `protobuf:"bytes,20,opt,name=deprecation_message,json=deprecationMessage,proto3" json:"deprecation_message,omitempty"` - xxx_hidden_IntegrationGuideUrl string `protobuf:"bytes,21,opt,name=integration_guide_url,json=integrationGuideUrl,proto3" json:"integration_guide_url,omitempty"` - xxx_hidden_Doc string `protobuf:"bytes,22,opt,name=doc,proto3" json:"doc,omitempty"` - xxx_hidden_Collections *[]*PluginCollection `protobuf:"bytes,23,rep,name=collections,proto3" json:"collections,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CuratedPlugin) Reset() { - *x = CuratedPlugin{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CuratedPlugin) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CuratedPlugin) ProtoMessage() {} - -func (x *CuratedPlugin) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CuratedPlugin) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *CuratedPlugin) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *CuratedPlugin) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *CuratedPlugin) GetRegistryType() PluginRegistryType { - if x != nil { - return x.xxx_hidden_RegistryType - } - return PluginRegistryType_PLUGIN_REGISTRY_TYPE_UNSPECIFIED -} - -func (x *CuratedPlugin) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *CuratedPlugin) GetContainerImageDigest() string { - if x != nil { - return x.xxx_hidden_ContainerImageDigest - } - return "" -} - -func (x *CuratedPlugin) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *CuratedPlugin) GetDependencies() []*CuratedPluginReference { - if x != nil { - if x.xxx_hidden_Dependencies != nil { - return *x.xxx_hidden_Dependencies - } - } - return nil -} - -func (x *CuratedPlugin) GetSourceUrl() string { - if x != nil { - return x.xxx_hidden_SourceUrl - } - return "" -} - -func (x *CuratedPlugin) GetDescription() string { - if x != nil { - return x.xxx_hidden_Description - } - return "" -} - -func (x *CuratedPlugin) GetRegistryConfig() *RegistryConfig { - if x != nil { - return x.xxx_hidden_RegistryConfig - } - return nil -} - -func (x *CuratedPlugin) GetRevision() uint32 { - if x != nil { - return x.xxx_hidden_Revision - } - return 0 -} - -func (x *CuratedPlugin) GetOutputLanguages() []PluginLanguage { - if x != nil { - return x.xxx_hidden_OutputLanguages - } - return nil -} - -func (x *CuratedPlugin) GetSpdxLicenseId() string { - if x != nil { - return x.xxx_hidden_SpdxLicenseId - } - return "" -} - -func (x *CuratedPlugin) GetLicenseUrl() string { - if x != nil { - return x.xxx_hidden_LicenseUrl - } - return "" -} - -func (x *CuratedPlugin) GetVerified() bool { - if x != nil { - return x.xxx_hidden_Verified - } - return false -} - -func (x *CuratedPlugin) GetVisibility() CuratedPluginVisibility { - if x != nil { - return x.xxx_hidden_Visibility - } - return CuratedPluginVisibility_CURATED_PLUGIN_VISIBILITY_UNSPECIFIED -} - -func (x *CuratedPlugin) GetDeprecated() bool { - if x != nil { - return x.xxx_hidden_Deprecated - } - return false -} - -func (x *CuratedPlugin) GetDeprecationMessage() string { - if x != nil { - return x.xxx_hidden_DeprecationMessage - } - return "" -} - -func (x *CuratedPlugin) GetIntegrationGuideUrl() string { - if x != nil { - return x.xxx_hidden_IntegrationGuideUrl - } - return "" -} - -func (x *CuratedPlugin) GetDoc() string { - if x != nil { - return x.xxx_hidden_Doc - } - return "" -} - -func (x *CuratedPlugin) GetCollections() []*PluginCollection { - if x != nil { - if x.xxx_hidden_Collections != nil { - return *x.xxx_hidden_Collections - } - } - return nil -} - -func (x *CuratedPlugin) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *CuratedPlugin) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *CuratedPlugin) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *CuratedPlugin) SetRegistryType(v PluginRegistryType) { - x.xxx_hidden_RegistryType = v -} - -func (x *CuratedPlugin) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *CuratedPlugin) SetContainerImageDigest(v string) { - x.xxx_hidden_ContainerImageDigest = v -} - -func (x *CuratedPlugin) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *CuratedPlugin) SetDependencies(v []*CuratedPluginReference) { - x.xxx_hidden_Dependencies = &v -} - -func (x *CuratedPlugin) SetSourceUrl(v string) { - x.xxx_hidden_SourceUrl = v -} - -func (x *CuratedPlugin) SetDescription(v string) { - x.xxx_hidden_Description = v -} - -func (x *CuratedPlugin) SetRegistryConfig(v *RegistryConfig) { - x.xxx_hidden_RegistryConfig = v -} - -func (x *CuratedPlugin) SetRevision(v uint32) { - x.xxx_hidden_Revision = v -} - -func (x *CuratedPlugin) SetOutputLanguages(v []PluginLanguage) { - x.xxx_hidden_OutputLanguages = v -} - -func (x *CuratedPlugin) SetSpdxLicenseId(v string) { - x.xxx_hidden_SpdxLicenseId = v -} - -func (x *CuratedPlugin) SetLicenseUrl(v string) { - x.xxx_hidden_LicenseUrl = v -} - -func (x *CuratedPlugin) SetVerified(v bool) { - x.xxx_hidden_Verified = v -} - -func (x *CuratedPlugin) SetVisibility(v CuratedPluginVisibility) { - x.xxx_hidden_Visibility = v -} - -func (x *CuratedPlugin) SetDeprecated(v bool) { - x.xxx_hidden_Deprecated = v -} - -func (x *CuratedPlugin) SetDeprecationMessage(v string) { - x.xxx_hidden_DeprecationMessage = v -} - -func (x *CuratedPlugin) SetIntegrationGuideUrl(v string) { - x.xxx_hidden_IntegrationGuideUrl = v -} - -func (x *CuratedPlugin) SetDoc(v string) { - x.xxx_hidden_Doc = v -} - -func (x *CuratedPlugin) SetCollections(v []*PluginCollection) { - x.xxx_hidden_Collections = &v -} - -func (x *CuratedPlugin) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *CuratedPlugin) HasRegistryConfig() bool { - if x == nil { - return false - } - return x.xxx_hidden_RegistryConfig != nil -} - -func (x *CuratedPlugin) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -func (x *CuratedPlugin) ClearRegistryConfig() { - x.xxx_hidden_RegistryConfig = nil -} - -type CuratedPlugin_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the plugin, which uniquely identifies the plugin. - Id string - // The owner of the plugin, i.e. "library". - Owner string - // The name of the plugin, i.e. "connect-go". - Name string - // The optional registry type of the plugin. - RegistryType PluginRegistryType - // Semver-formatted plugin version. - Version string - // The full container image digest associated with this plugin version including - // the algorithm. - // Ref: https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests - ContainerImageDigest string - // The creation time of the plugin. - CreateTime *timestamppb.Timestamp - // List of plugin dependencies. - Dependencies []*CuratedPluginReference - // Optionally specify the URL leading to the source code of the plugin, if available. - SourceUrl string - // Optionally specify a brief description of the plugin functionality. - Description string - // The configuration for the remote registry of the plugin. - RegistryConfig *RegistryConfig - // The revision for this plugin version. - Revision uint32 - // The output languages supported by the plugin. - OutputLanguages []PluginLanguage - // spdx_license_id is the license of the plugin, which should be one of the identifiers - // defined in https://spdx.org/licenses - SpdxLicenseId string - // license_url specifies an optional URL for the plugin's license (if not using a standard spdx_license_id). - LicenseUrl string - // verified indicates the plugin has been verified. Verification is a property - // of the BSR and cannot be set by end-users. - Verified bool - // Visibility indicates whether the plugin is public or private. - Visibility CuratedPluginVisibility - // Deprecated indicates whether the plugin is deprecated. - Deprecated bool - // Optionally specify a message to be displayed when the plugin is deprecated. - DeprecationMessage string - // The URL leading to the integration guide of the plugin, if available. - IntegrationGuideUrl string - // The configurable documentation of the Plugin. - Doc string - // The collections the Plugin belongs to. - Collections []*PluginCollection -} - -func (b0 CuratedPlugin_builder) Build() *CuratedPlugin { - m0 := &CuratedPlugin{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Name = b.Name - x.xxx_hidden_RegistryType = b.RegistryType - x.xxx_hidden_Version = b.Version - x.xxx_hidden_ContainerImageDigest = b.ContainerImageDigest - x.xxx_hidden_CreateTime = b.CreateTime - x.xxx_hidden_Dependencies = &b.Dependencies - x.xxx_hidden_SourceUrl = b.SourceUrl - x.xxx_hidden_Description = b.Description - x.xxx_hidden_RegistryConfig = b.RegistryConfig - x.xxx_hidden_Revision = b.Revision - x.xxx_hidden_OutputLanguages = b.OutputLanguages - x.xxx_hidden_SpdxLicenseId = b.SpdxLicenseId - x.xxx_hidden_LicenseUrl = b.LicenseUrl - x.xxx_hidden_Verified = b.Verified - x.xxx_hidden_Visibility = b.Visibility - x.xxx_hidden_Deprecated = b.Deprecated - x.xxx_hidden_DeprecationMessage = b.DeprecationMessage - x.xxx_hidden_IntegrationGuideUrl = b.IntegrationGuideUrl - x.xxx_hidden_Doc = b.Doc - x.xxx_hidden_Collections = &b.Collections - return m0 -} - -// Plugin collections group related plugins, organizing them by functionality or ecosystem. -type PluginCollection struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PluginCollection) Reset() { - *x = PluginCollection{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PluginCollection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PluginCollection) ProtoMessage() {} - -func (x *PluginCollection) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PluginCollection) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *PluginCollection) SetName(v string) { - x.xxx_hidden_Name = v -} - -type PluginCollection_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The name of the collection. - Name string -} - -func (b0 PluginCollection_builder) Build() *PluginCollection { - m0 := &PluginCollection{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - return m0 -} - -type GenerateCodeRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Image *v1.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - xxx_hidden_Requests *[]*PluginGenerationRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` - xxx_hidden_IncludeImports bool `protobuf:"varint,3,opt,name=include_imports,json=includeImports,proto3" json:"include_imports,omitempty"` - xxx_hidden_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() { - *x = GenerateCodeRequest{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GenerateCodeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GenerateCodeRequest) ProtoMessage() {} - -func (x *GenerateCodeRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GenerateCodeRequest) GetImage() *v1.Image { - if x != nil { - return x.xxx_hidden_Image - } - return nil -} - -func (x *GenerateCodeRequest) GetRequests() []*PluginGenerationRequest { - if x != nil { - if x.xxx_hidden_Requests != nil { - return *x.xxx_hidden_Requests - } - } - return nil -} - -func (x *GenerateCodeRequest) GetIncludeImports() bool { - if x != nil { - return x.xxx_hidden_IncludeImports - } - return false -} - -func (x *GenerateCodeRequest) GetIncludeWellKnownTypes() bool { - if x != nil { - return x.xxx_hidden_IncludeWellKnownTypes - } - return false -} - -func (x *GenerateCodeRequest) SetImage(v *v1.Image) { - x.xxx_hidden_Image = v -} - -func (x *GenerateCodeRequest) SetRequests(v []*PluginGenerationRequest) { - x.xxx_hidden_Requests = &v -} - -func (x *GenerateCodeRequest) SetIncludeImports(v bool) { - x.xxx_hidden_IncludeImports = v -} - -func (x *GenerateCodeRequest) SetIncludeWellKnownTypes(v bool) { - x.xxx_hidden_IncludeWellKnownTypes = v -} - -func (x *GenerateCodeRequest) HasImage() bool { - if x == nil { - return false - } - return x.xxx_hidden_Image != nil -} - -func (x *GenerateCodeRequest) ClearImage() { - x.xxx_hidden_Image = nil -} - -type GenerateCodeRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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. - // If you want to filter what files are generated, modify the image. - // If you want to include imports, set include_imports. - Image *v1.Image - Requests []*PluginGenerationRequest - // Include imports from the Image in generation. If include_imports is also set - // in one of requests, use the request's value for that plugin. - IncludeImports bool - // Include Well-Known Types from the Image in generation. - // - // 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 -} - -func (b0 GenerateCodeRequest_builder) Build() *GenerateCodeRequest { - m0 := &GenerateCodeRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Image = b.Image - x.xxx_hidden_Requests = &b.Requests - x.xxx_hidden_IncludeImports = b.IncludeImports - x.xxx_hidden_IncludeWellKnownTypes = b.IncludeWellKnownTypes - return m0 -} - -type GenerateCodeResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Responses *[]*PluginGenerationResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GenerateCodeResponse) Reset() { - *x = GenerateCodeResponse{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GenerateCodeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GenerateCodeResponse) ProtoMessage() {} - -func (x *GenerateCodeResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GenerateCodeResponse) GetResponses() []*PluginGenerationResponse { - if x != nil { - if x.xxx_hidden_Responses != nil { - return *x.xxx_hidden_Responses - } - } - return nil -} - -func (x *GenerateCodeResponse) SetResponses(v []*PluginGenerationResponse) { - x.xxx_hidden_Responses = &v -} - -type GenerateCodeResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Responses from each plugin execution. - // The order of each response matches the order in the GenerateCodeRequest. - Responses []*PluginGenerationResponse -} - -func (b0 GenerateCodeResponse_builder) Build() *GenerateCodeResponse { - m0 := &GenerateCodeResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Responses = &b.Responses - return m0 -} - -// Request for performing code generation using the specified plugin. -type PluginGenerationRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PluginReference *CuratedPluginReference `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` - xxx_hidden_Options []string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` - xxx_hidden_IncludeImports bool `protobuf:"varint,3,opt,name=include_imports,json=includeImports,proto3,oneof" json:"include_imports,omitempty"` - xxx_hidden_IncludeWellKnownTypes bool `protobuf:"varint,4,opt,name=include_well_known_types,json=includeWellKnownTypes,proto3,oneof" json:"include_well_known_types,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PluginGenerationRequest) Reset() { - *x = PluginGenerationRequest{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PluginGenerationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PluginGenerationRequest) ProtoMessage() {} - -func (x *PluginGenerationRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PluginGenerationRequest) GetPluginReference() *CuratedPluginReference { - if x != nil { - return x.xxx_hidden_PluginReference - } - return nil -} - -func (x *PluginGenerationRequest) GetOptions() []string { - if x != nil { - return x.xxx_hidden_Options - } - return nil -} - -func (x *PluginGenerationRequest) GetIncludeImports() bool { - if x != nil { - return x.xxx_hidden_IncludeImports - } - return false -} - -func (x *PluginGenerationRequest) GetIncludeWellKnownTypes() bool { - if x != nil { - return x.xxx_hidden_IncludeWellKnownTypes - } - return false -} - -func (x *PluginGenerationRequest) SetPluginReference(v *CuratedPluginReference) { - x.xxx_hidden_PluginReference = v -} - -func (x *PluginGenerationRequest) SetOptions(v []string) { - x.xxx_hidden_Options = v -} - -func (x *PluginGenerationRequest) SetIncludeImports(v bool) { - x.xxx_hidden_IncludeImports = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 2, 4) -} - -func (x *PluginGenerationRequest) SetIncludeWellKnownTypes(v bool) { - x.xxx_hidden_IncludeWellKnownTypes = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 3, 4) -} - -func (x *PluginGenerationRequest) HasPluginReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_PluginReference != nil -} - -func (x *PluginGenerationRequest) HasIncludeImports() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 2) -} - -func (x *PluginGenerationRequest) HasIncludeWellKnownTypes() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 3) -} - -func (x *PluginGenerationRequest) ClearPluginReference() { - x.xxx_hidden_PluginReference = nil -} - -func (x *PluginGenerationRequest) ClearIncludeImports() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 2) - x.xxx_hidden_IncludeImports = false -} - -func (x *PluginGenerationRequest) ClearIncludeWellKnownTypes() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 3) - x.xxx_hidden_IncludeWellKnownTypes = false -} - -type PluginGenerationRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The plugin to execute. - PluginReference *CuratedPluginReference - // The options to pass to the plugin. These will - // be merged into a single, comma-separated string. - Options []string - // Include imports from the Image in generation. - IncludeImports *bool - // Include Well-Known Types from the Image in generation. - // - // include_imports must be set if include_well_known_types is set. - IncludeWellKnownTypes *bool -} - -func (b0 PluginGenerationRequest_builder) Build() *PluginGenerationRequest { - m0 := &PluginGenerationRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PluginReference = b.PluginReference - x.xxx_hidden_Options = b.Options - if b.IncludeImports != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 2, 4) - x.xxx_hidden_IncludeImports = *b.IncludeImports - } - if b.IncludeWellKnownTypes != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 3, 4) - x.xxx_hidden_IncludeWellKnownTypes = *b.IncludeWellKnownTypes - } - return m0 -} - -// Response from code generation for a given plugin. -type PluginGenerationResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Response *pluginpb.CodeGeneratorResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PluginGenerationResponse) Reset() { - *x = PluginGenerationResponse{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PluginGenerationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PluginGenerationResponse) ProtoMessage() {} - -func (x *PluginGenerationResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PluginGenerationResponse) GetResponse() *pluginpb.CodeGeneratorResponse { - if x != nil { - return x.xxx_hidden_Response - } - return nil -} - -func (x *PluginGenerationResponse) SetResponse(v *pluginpb.CodeGeneratorResponse) { - x.xxx_hidden_Response = v -} - -func (x *PluginGenerationResponse) HasResponse() bool { - if x == nil { - return false - } - return x.xxx_hidden_Response != nil -} - -func (x *PluginGenerationResponse) ClearResponse() { - x.xxx_hidden_Response = nil -} - -type PluginGenerationResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Generated code from the plugin. - Response *pluginpb.CodeGeneratorResponse -} - -func (b0 PluginGenerationResponse_builder) Build() *PluginGenerationResponse { - m0 := &PluginGenerationResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Response = b.Response - return m0 -} - -type DeleteCuratedPluginRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteCuratedPluginRequest) Reset() { - *x = DeleteCuratedPluginRequest{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteCuratedPluginRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteCuratedPluginRequest) ProtoMessage() {} - -func (x *DeleteCuratedPluginRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeleteCuratedPluginRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *DeleteCuratedPluginRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *DeleteCuratedPluginRequest) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *DeleteCuratedPluginRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *DeleteCuratedPluginRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *DeleteCuratedPluginRequest) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -type DeleteCuratedPluginRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the plugin to delete. - Owner string - // The name of the plugin to delete. - Name string - // 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 -} - -func (b0 DeleteCuratedPluginRequest_builder) Build() *DeleteCuratedPluginRequest { - m0 := &DeleteCuratedPluginRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Version = b.Version - return m0 -} - -type DeleteCuratedPluginResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteCuratedPluginResponse) Reset() { - *x = DeleteCuratedPluginResponse{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteCuratedPluginResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteCuratedPluginResponse) ProtoMessage() {} - -func (x *DeleteCuratedPluginResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeleteCuratedPluginResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeleteCuratedPluginResponse_builder) Build() *DeleteCuratedPluginResponse { - m0 := &DeleteCuratedPluginResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type CreateCuratedPluginRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_RegistryType PluginRegistryType `protobuf:"varint,3,opt,name=registry_type,json=registryType,proto3,enum=buf.alpha.registry.v1alpha1.PluginRegistryType" json:"registry_type,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_ContainerImageDigest string `protobuf:"bytes,5,opt,name=container_image_digest,json=containerImageDigest,proto3" json:"container_image_digest,omitempty"` - xxx_hidden_Dependencies *[]*CuratedPluginReference `protobuf:"bytes,7,rep,name=dependencies,proto3" json:"dependencies,omitempty"` - xxx_hidden_SourceUrl string `protobuf:"bytes,8,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` - xxx_hidden_Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` - xxx_hidden_RegistryConfig *RegistryConfig `protobuf:"bytes,12,opt,name=registry_config,json=registryConfig,proto3" json:"registry_config,omitempty"` - xxx_hidden_Revision uint32 `protobuf:"varint,13,opt,name=revision,proto3" json:"revision,omitempty"` - xxx_hidden_OutputLanguages []PluginLanguage `protobuf:"varint,14,rep,packed,name=output_languages,json=outputLanguages,proto3,enum=buf.alpha.registry.v1alpha1.PluginLanguage" json:"output_languages,omitempty"` - xxx_hidden_SpdxLicenseId string `protobuf:"bytes,15,opt,name=spdx_license_id,json=spdxLicenseId,proto3" json:"spdx_license_id,omitempty"` - xxx_hidden_LicenseUrl string `protobuf:"bytes,16,opt,name=license_url,json=licenseUrl,proto3" json:"license_url,omitempty"` - xxx_hidden_Visibility CuratedPluginVisibility `protobuf:"varint,17,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.CuratedPluginVisibility" json:"visibility,omitempty"` - xxx_hidden_IntegrationGuideUrl string `protobuf:"bytes,18,opt,name=integration_guide_url,json=integrationGuideUrl,proto3" json:"integration_guide_url,omitempty"` - xxx_hidden_Deprecated bool `protobuf:"varint,19,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateCuratedPluginRequest) Reset() { - *x = CreateCuratedPluginRequest{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateCuratedPluginRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateCuratedPluginRequest) ProtoMessage() {} - -func (x *CreateCuratedPluginRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateCuratedPluginRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *CreateCuratedPluginRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *CreateCuratedPluginRequest) GetRegistryType() PluginRegistryType { - if x != nil { - return x.xxx_hidden_RegistryType - } - return PluginRegistryType_PLUGIN_REGISTRY_TYPE_UNSPECIFIED -} - -func (x *CreateCuratedPluginRequest) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *CreateCuratedPluginRequest) GetContainerImageDigest() string { - if x != nil { - return x.xxx_hidden_ContainerImageDigest - } - return "" -} - -func (x *CreateCuratedPluginRequest) GetDependencies() []*CuratedPluginReference { - if x != nil { - if x.xxx_hidden_Dependencies != nil { - return *x.xxx_hidden_Dependencies - } - } - return nil -} - -func (x *CreateCuratedPluginRequest) GetSourceUrl() string { - if x != nil { - return x.xxx_hidden_SourceUrl - } - return "" -} - -func (x *CreateCuratedPluginRequest) GetDescription() string { - if x != nil { - return x.xxx_hidden_Description - } - return "" -} - -func (x *CreateCuratedPluginRequest) GetRegistryConfig() *RegistryConfig { - if x != nil { - return x.xxx_hidden_RegistryConfig - } - return nil -} - -func (x *CreateCuratedPluginRequest) GetRevision() uint32 { - if x != nil { - return x.xxx_hidden_Revision - } - return 0 -} - -func (x *CreateCuratedPluginRequest) GetOutputLanguages() []PluginLanguage { - if x != nil { - return x.xxx_hidden_OutputLanguages - } - return nil -} - -func (x *CreateCuratedPluginRequest) GetSpdxLicenseId() string { - if x != nil { - return x.xxx_hidden_SpdxLicenseId - } - return "" -} - -func (x *CreateCuratedPluginRequest) GetLicenseUrl() string { - if x != nil { - return x.xxx_hidden_LicenseUrl - } - return "" -} - -func (x *CreateCuratedPluginRequest) GetVisibility() CuratedPluginVisibility { - if x != nil { - return x.xxx_hidden_Visibility - } - return CuratedPluginVisibility_CURATED_PLUGIN_VISIBILITY_UNSPECIFIED -} - -func (x *CreateCuratedPluginRequest) GetIntegrationGuideUrl() string { - if x != nil { - return x.xxx_hidden_IntegrationGuideUrl - } - return "" -} - -func (x *CreateCuratedPluginRequest) GetDeprecated() bool { - if x != nil { - return x.xxx_hidden_Deprecated - } - return false -} - -func (x *CreateCuratedPluginRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *CreateCuratedPluginRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *CreateCuratedPluginRequest) SetRegistryType(v PluginRegistryType) { - x.xxx_hidden_RegistryType = v -} - -func (x *CreateCuratedPluginRequest) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *CreateCuratedPluginRequest) SetContainerImageDigest(v string) { - x.xxx_hidden_ContainerImageDigest = v -} - -func (x *CreateCuratedPluginRequest) SetDependencies(v []*CuratedPluginReference) { - x.xxx_hidden_Dependencies = &v -} - -func (x *CreateCuratedPluginRequest) SetSourceUrl(v string) { - x.xxx_hidden_SourceUrl = v -} - -func (x *CreateCuratedPluginRequest) SetDescription(v string) { - x.xxx_hidden_Description = v -} - -func (x *CreateCuratedPluginRequest) SetRegistryConfig(v *RegistryConfig) { - x.xxx_hidden_RegistryConfig = v -} - -func (x *CreateCuratedPluginRequest) SetRevision(v uint32) { - x.xxx_hidden_Revision = v -} - -func (x *CreateCuratedPluginRequest) SetOutputLanguages(v []PluginLanguage) { - x.xxx_hidden_OutputLanguages = v -} - -func (x *CreateCuratedPluginRequest) SetSpdxLicenseId(v string) { - x.xxx_hidden_SpdxLicenseId = v -} - -func (x *CreateCuratedPluginRequest) SetLicenseUrl(v string) { - x.xxx_hidden_LicenseUrl = v -} - -func (x *CreateCuratedPluginRequest) SetVisibility(v CuratedPluginVisibility) { - x.xxx_hidden_Visibility = v -} - -func (x *CreateCuratedPluginRequest) SetIntegrationGuideUrl(v string) { - x.xxx_hidden_IntegrationGuideUrl = v -} - -func (x *CreateCuratedPluginRequest) SetDeprecated(v bool) { - x.xxx_hidden_Deprecated = v -} - -func (x *CreateCuratedPluginRequest) HasRegistryConfig() bool { - if x == nil { - return false - } - return x.xxx_hidden_RegistryConfig != nil -} - -func (x *CreateCuratedPluginRequest) ClearRegistryConfig() { - x.xxx_hidden_RegistryConfig = nil -} - -type CreateCuratedPluginRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the plugin, i.e. "library". - Owner string - // The name of the plugin, i.e. "connect-go". - Name string - // The optional registry type of the plugin. - RegistryType PluginRegistryType - // Semver-formatted plugin version. - Version string - // The full container image digest associated with this plugin version including - // the algorithm. - // Ref: https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests - ContainerImageDigest string - // List of plugin dependencies. - Dependencies []*CuratedPluginReference - // The URL leading to the source code of the plugin, if available. - SourceUrl string - // A brief description of the plugin functionality. - Description string - // The configuration for the remote registry of the plugin. - RegistryConfig *RegistryConfig - // The revision for this plugin version. - Revision uint32 - // The output languages supported by the plugin. - OutputLanguages []PluginLanguage - // spdx_license_id is the license of the plugin, which should be one of the identifiers - // defined in https://spdx.org/licenses - SpdxLicenseId string - // license_url specifies an optional URL for the plugin's license (if not using a standard spdx_license_id). - LicenseUrl string - // Visibility indicates whether the plugin is public or private. - Visibility CuratedPluginVisibility - // The URL leading to the integration guide of the plugin, if available. - IntegrationGuideUrl string - // The deprecation status of the plugin. - Deprecated bool -} - -func (b0 CreateCuratedPluginRequest_builder) Build() *CreateCuratedPluginRequest { - m0 := &CreateCuratedPluginRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Name = b.Name - x.xxx_hidden_RegistryType = b.RegistryType - x.xxx_hidden_Version = b.Version - x.xxx_hidden_ContainerImageDigest = b.ContainerImageDigest - x.xxx_hidden_Dependencies = &b.Dependencies - x.xxx_hidden_SourceUrl = b.SourceUrl - x.xxx_hidden_Description = b.Description - x.xxx_hidden_RegistryConfig = b.RegistryConfig - x.xxx_hidden_Revision = b.Revision - x.xxx_hidden_OutputLanguages = b.OutputLanguages - x.xxx_hidden_SpdxLicenseId = b.SpdxLicenseId - x.xxx_hidden_LicenseUrl = b.LicenseUrl - x.xxx_hidden_Visibility = b.Visibility - x.xxx_hidden_IntegrationGuideUrl = b.IntegrationGuideUrl - x.xxx_hidden_Deprecated = b.Deprecated - return m0 -} - -type CreateCuratedPluginResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Configuration *CuratedPlugin `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateCuratedPluginResponse) Reset() { - *x = CreateCuratedPluginResponse{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateCuratedPluginResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateCuratedPluginResponse) ProtoMessage() {} - -func (x *CreateCuratedPluginResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateCuratedPluginResponse) GetConfiguration() *CuratedPlugin { - if x != nil { - return x.xxx_hidden_Configuration - } - return nil -} - -func (x *CreateCuratedPluginResponse) SetConfiguration(v *CuratedPlugin) { - x.xxx_hidden_Configuration = v -} - -func (x *CreateCuratedPluginResponse) HasConfiguration() bool { - if x == nil { - return false - } - return x.xxx_hidden_Configuration != nil -} - -func (x *CreateCuratedPluginResponse) ClearConfiguration() { - x.xxx_hidden_Configuration = nil -} - -type CreateCuratedPluginResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The created plugin. - Configuration *CuratedPlugin -} - -func (b0 CreateCuratedPluginResponse_builder) Build() *CreateCuratedPluginResponse { - m0 := &CreateCuratedPluginResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Configuration = b.Configuration - return m0 -} - -type ListCuratedPluginsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` - xxx_hidden_SupportsRemotePackages bool `protobuf:"varint,4,opt,name=supports_remote_packages,json=supportsRemotePackages,proto3" json:"supports_remote_packages,omitempty"` - xxx_hidden_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() { - *x = ListCuratedPluginsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListCuratedPluginsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCuratedPluginsRequest) ProtoMessage() {} - -func (x *ListCuratedPluginsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListCuratedPluginsRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListCuratedPluginsRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListCuratedPluginsRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListCuratedPluginsRequest) GetSupportsRemotePackages() bool { - if x != nil { - return x.xxx_hidden_SupportsRemotePackages - } - return false -} - -func (x *ListCuratedPluginsRequest) GetIncludeDeprecated() bool { - if x != nil { - return x.xxx_hidden_IncludeDeprecated - } - return false -} - -func (x *ListCuratedPluginsRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListCuratedPluginsRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListCuratedPluginsRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -func (x *ListCuratedPluginsRequest) SetSupportsRemotePackages(v bool) { - x.xxx_hidden_SupportsRemotePackages = v -} - -func (x *ListCuratedPluginsRequest) SetIncludeDeprecated(v bool) { - x.xxx_hidden_IncludeDeprecated = v -} - -type ListCuratedPluginsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool - // If true, will only return plugins which support remote packages (registry_type is set). - SupportsRemotePackages bool - // If true, will include deprecated plugins. - IncludeDeprecated bool -} - -func (b0 ListCuratedPluginsRequest_builder) Build() *ListCuratedPluginsRequest { - m0 := &ListCuratedPluginsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - x.xxx_hidden_SupportsRemotePackages = b.SupportsRemotePackages - x.xxx_hidden_IncludeDeprecated = b.IncludeDeprecated - return m0 -} - -type ListCuratedPluginsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Plugins *[]*CuratedPlugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` - xxx_hidden_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() { - *x = ListCuratedPluginsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListCuratedPluginsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCuratedPluginsResponse) ProtoMessage() {} - -func (x *ListCuratedPluginsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListCuratedPluginsResponse) GetPlugins() []*CuratedPlugin { - if x != nil { - if x.xxx_hidden_Plugins != nil { - return *x.xxx_hidden_Plugins - } - } - return nil -} - -func (x *ListCuratedPluginsResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListCuratedPluginsResponse) SetPlugins(v []*CuratedPlugin) { - x.xxx_hidden_Plugins = &v -} - -func (x *ListCuratedPluginsResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListCuratedPluginsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Plugins []*CuratedPlugin - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListCuratedPluginsResponse_builder) Build() *ListCuratedPluginsResponse { - m0 := &ListCuratedPluginsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Plugins = &b.Plugins - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type GetLatestCuratedPluginRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_Revision uint32 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"` - xxx_hidden_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() { - *x = GetLatestCuratedPluginRequest{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetLatestCuratedPluginRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetLatestCuratedPluginRequest) ProtoMessage() {} - -func (x *GetLatestCuratedPluginRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetLatestCuratedPluginRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetLatestCuratedPluginRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *GetLatestCuratedPluginRequest) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *GetLatestCuratedPluginRequest) GetRevision() uint32 { - if x != nil { - return x.xxx_hidden_Revision - } - return 0 -} - -func (x *GetLatestCuratedPluginRequest) GetSupportsRemotePackages() bool { - if x != nil { - return x.xxx_hidden_SupportsRemotePackages - } - return false -} - -func (x *GetLatestCuratedPluginRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetLatestCuratedPluginRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *GetLatestCuratedPluginRequest) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *GetLatestCuratedPluginRequest) SetRevision(v uint32) { - x.xxx_hidden_Revision = v -} - -func (x *GetLatestCuratedPluginRequest) SetSupportsRemotePackages(v bool) { - x.xxx_hidden_SupportsRemotePackages = v -} - -type GetLatestCuratedPluginRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the plugin, i.e. "library". - Owner string - // The name of the plugin, i.e. "connect-go". - Name string - // Both version (semver-formatted) and revision are optional, which means - // return the latest plugin. - // If version is set, but revision is omitted, then return the latest - // revision for that version. - // If version and revision are both set, return specific plugin. - // It is an error to set a revision without a corresponding version. - Version string - Revision uint32 - // If true, will only return versions (and revisions) which support remote packages (registry_type is set). - SupportsRemotePackages bool -} - -func (b0 GetLatestCuratedPluginRequest_builder) Build() *GetLatestCuratedPluginRequest { - m0 := &GetLatestCuratedPluginRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Version = b.Version - x.xxx_hidden_Revision = b.Revision - x.xxx_hidden_SupportsRemotePackages = b.SupportsRemotePackages - return m0 -} - -type GetLatestCuratedPluginResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Plugin *CuratedPlugin `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` - xxx_hidden_Versions *[]*CuratedPluginVersionRevisions `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetLatestCuratedPluginResponse) Reset() { - *x = GetLatestCuratedPluginResponse{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetLatestCuratedPluginResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetLatestCuratedPluginResponse) ProtoMessage() {} - -func (x *GetLatestCuratedPluginResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetLatestCuratedPluginResponse) GetPlugin() *CuratedPlugin { - if x != nil { - return x.xxx_hidden_Plugin - } - return nil -} - -func (x *GetLatestCuratedPluginResponse) GetVersions() []*CuratedPluginVersionRevisions { - if x != nil { - if x.xxx_hidden_Versions != nil { - return *x.xxx_hidden_Versions - } - } - return nil -} - -func (x *GetLatestCuratedPluginResponse) SetPlugin(v *CuratedPlugin) { - x.xxx_hidden_Plugin = v -} - -func (x *GetLatestCuratedPluginResponse) SetVersions(v []*CuratedPluginVersionRevisions) { - x.xxx_hidden_Versions = &v -} - -func (x *GetLatestCuratedPluginResponse) HasPlugin() bool { - if x == nil { - return false - } - return x.xxx_hidden_Plugin != nil -} - -func (x *GetLatestCuratedPluginResponse) ClearPlugin() { - x.xxx_hidden_Plugin = nil -} - -type GetLatestCuratedPluginResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Plugin *CuratedPlugin - // versions is a semver-sorted list in descending order. - Versions []*CuratedPluginVersionRevisions -} - -func (b0 GetLatestCuratedPluginResponse_builder) Build() *GetLatestCuratedPluginResponse { - m0 := &GetLatestCuratedPluginResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Plugin = b.Plugin - x.xxx_hidden_Versions = &b.Versions - return m0 -} - -type CuratedPluginVersionRevisions struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_Revisions []uint32 `protobuf:"varint,2,rep,packed,name=revisions,proto3" json:"revisions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CuratedPluginVersionRevisions) Reset() { - *x = CuratedPluginVersionRevisions{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CuratedPluginVersionRevisions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CuratedPluginVersionRevisions) ProtoMessage() {} - -func (x *CuratedPluginVersionRevisions) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CuratedPluginVersionRevisions) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *CuratedPluginVersionRevisions) GetRevisions() []uint32 { - if x != nil { - return x.xxx_hidden_Revisions - } - return nil -} - -func (x *CuratedPluginVersionRevisions) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *CuratedPluginVersionRevisions) SetRevisions(v []uint32) { - x.xxx_hidden_Revisions = v -} - -type CuratedPluginVersionRevisions_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Version string - // revisions is a sorted list in descending order. - Revisions []uint32 -} - -func (b0 CuratedPluginVersionRevisions_builder) Build() *CuratedPluginVersionRevisions { - m0 := &CuratedPluginVersionRevisions{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Version = b.Version - x.xxx_hidden_Revisions = b.Revisions - return m0 -} - -// RuntimeLibrary describes the runtime library dependency of the generated code. -type GoConfig_RuntimeLibrary struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GoConfig_RuntimeLibrary) Reset() { - *x = GoConfig_RuntimeLibrary{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GoConfig_RuntimeLibrary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GoConfig_RuntimeLibrary) ProtoMessage() {} - -func (x *GoConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GoConfig_RuntimeLibrary) GetModule() string { - if x != nil { - return x.xxx_hidden_Module - } - return "" -} - -func (x *GoConfig_RuntimeLibrary) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *GoConfig_RuntimeLibrary) SetModule(v string) { - x.xxx_hidden_Module = v -} - -func (x *GoConfig_RuntimeLibrary) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -type GoConfig_RuntimeLibrary_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The name of the runtime library module, i.e. "google.golang.org/protobuf". - Module string - // The version of the runtime library, i.e. "v1.27.1". - Version string -} - -func (b0 GoConfig_RuntimeLibrary_builder) Build() *GoConfig_RuntimeLibrary { - m0 := &GoConfig_RuntimeLibrary{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Module = b.Module - x.xxx_hidden_Version = b.Version - return m0 -} - -// RuntimeLibrary describes the runtime library dependency of the generated code. -type NPMConfig_RuntimeLibrary struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *NPMConfig_RuntimeLibrary) Reset() { - *x = NPMConfig_RuntimeLibrary{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NPMConfig_RuntimeLibrary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NPMConfig_RuntimeLibrary) ProtoMessage() {} - -func (x *NPMConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *NPMConfig_RuntimeLibrary) GetPackage() string { - if x != nil { - return x.xxx_hidden_Package - } - return "" -} - -func (x *NPMConfig_RuntimeLibrary) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *NPMConfig_RuntimeLibrary) SetPackage(v string) { - x.xxx_hidden_Package = v -} - -func (x *NPMConfig_RuntimeLibrary) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -type NPMConfig_RuntimeLibrary_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The name of the runtime library package, i.e. "@grpc/grpc-js". - Package string - // The version of the runtime library, i.e. "^1.27.1". - Version string -} - -func (b0 NPMConfig_RuntimeLibrary_builder) Build() *NPMConfig_RuntimeLibrary { - m0 := &NPMConfig_RuntimeLibrary{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Package = b.Package - x.xxx_hidden_Version = b.Version - return m0 -} - -// RuntimeLibrary describes a runtime dependency of the generated code. -type MavenConfig_RuntimeLibrary struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` - xxx_hidden_ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_Classifier string `protobuf:"bytes,4,opt,name=classifier,proto3" json:"classifier,omitempty"` - xxx_hidden_Extension string `protobuf:"bytes,5,opt,name=extension,proto3" json:"extension,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MavenConfig_RuntimeLibrary) Reset() { - *x = MavenConfig_RuntimeLibrary{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MavenConfig_RuntimeLibrary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MavenConfig_RuntimeLibrary) ProtoMessage() {} - -func (x *MavenConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MavenConfig_RuntimeLibrary) GetGroupId() string { - if x != nil { - return x.xxx_hidden_GroupId - } - return "" -} - -func (x *MavenConfig_RuntimeLibrary) GetArtifactId() string { - if x != nil { - return x.xxx_hidden_ArtifactId - } - return "" -} - -func (x *MavenConfig_RuntimeLibrary) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *MavenConfig_RuntimeLibrary) GetClassifier() string { - if x != nil { - return x.xxx_hidden_Classifier - } - return "" -} - -func (x *MavenConfig_RuntimeLibrary) GetExtension() string { - if x != nil { - return x.xxx_hidden_Extension - } - return "" -} - -func (x *MavenConfig_RuntimeLibrary) SetGroupId(v string) { - x.xxx_hidden_GroupId = v -} - -func (x *MavenConfig_RuntimeLibrary) SetArtifactId(v string) { - x.xxx_hidden_ArtifactId = v -} - -func (x *MavenConfig_RuntimeLibrary) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *MavenConfig_RuntimeLibrary) SetClassifier(v string) { - x.xxx_hidden_Classifier = v -} - -func (x *MavenConfig_RuntimeLibrary) SetExtension(v string) { - x.xxx_hidden_Extension = v -} - -type MavenConfig_RuntimeLibrary_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - GroupId string - ArtifactId string - Version string - Classifier string - Extension string -} - -func (b0 MavenConfig_RuntimeLibrary_builder) Build() *MavenConfig_RuntimeLibrary { - m0 := &MavenConfig_RuntimeLibrary{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_GroupId = b.GroupId - x.xxx_hidden_ArtifactId = b.ArtifactId - x.xxx_hidden_Version = b.Version - x.xxx_hidden_Classifier = b.Classifier - x.xxx_hidden_Extension = b.Extension - return m0 -} - -// CompilerConfig contains configuration for the Java and/or Kotlin compiler used when compiling the generated code. -type MavenConfig_CompilerConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Java *MavenConfig_CompilerJavaConfig `protobuf:"bytes,1,opt,name=java,proto3" json:"java,omitempty"` - xxx_hidden_Kotlin *MavenConfig_CompilerKotlinConfig `protobuf:"bytes,2,opt,name=kotlin,proto3" json:"kotlin,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MavenConfig_CompilerConfig) Reset() { - *x = MavenConfig_CompilerConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MavenConfig_CompilerConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MavenConfig_CompilerConfig) ProtoMessage() {} - -func (x *MavenConfig_CompilerConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MavenConfig_CompilerConfig) GetJava() *MavenConfig_CompilerJavaConfig { - if x != nil { - return x.xxx_hidden_Java - } - return nil -} - -func (x *MavenConfig_CompilerConfig) GetKotlin() *MavenConfig_CompilerKotlinConfig { - if x != nil { - return x.xxx_hidden_Kotlin - } - return nil -} - -func (x *MavenConfig_CompilerConfig) SetJava(v *MavenConfig_CompilerJavaConfig) { - x.xxx_hidden_Java = v -} - -func (x *MavenConfig_CompilerConfig) SetKotlin(v *MavenConfig_CompilerKotlinConfig) { - x.xxx_hidden_Kotlin = v -} - -func (x *MavenConfig_CompilerConfig) HasJava() bool { - if x == nil { - return false - } - return x.xxx_hidden_Java != nil -} - -func (x *MavenConfig_CompilerConfig) HasKotlin() bool { - if x == nil { - return false - } - return x.xxx_hidden_Kotlin != nil -} - -func (x *MavenConfig_CompilerConfig) ClearJava() { - x.xxx_hidden_Java = nil -} - -func (x *MavenConfig_CompilerConfig) ClearKotlin() { - x.xxx_hidden_Kotlin = nil -} - -type MavenConfig_CompilerConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Java *MavenConfig_CompilerJavaConfig - Kotlin *MavenConfig_CompilerKotlinConfig -} - -func (b0 MavenConfig_CompilerConfig_builder) Build() *MavenConfig_CompilerConfig { - m0 := &MavenConfig_CompilerConfig{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Java = b.Java - x.xxx_hidden_Kotlin = b.Kotlin - return m0 -} - -// CompilerJavaConfig contains settings for the Java compiler. -type MavenConfig_CompilerJavaConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Encoding string `protobuf:"bytes,1,opt,name=encoding,proto3" json:"encoding,omitempty"` - xxx_hidden_Release int32 `protobuf:"varint,2,opt,name=release,proto3" json:"release,omitempty"` - xxx_hidden_Source int32 `protobuf:"varint,3,opt,name=source,proto3" json:"source,omitempty"` - xxx_hidden_Target int32 `protobuf:"varint,4,opt,name=target,proto3" json:"target,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MavenConfig_CompilerJavaConfig) Reset() { - *x = MavenConfig_CompilerJavaConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MavenConfig_CompilerJavaConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MavenConfig_CompilerJavaConfig) ProtoMessage() {} - -func (x *MavenConfig_CompilerJavaConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MavenConfig_CompilerJavaConfig) GetEncoding() string { - if x != nil { - return x.xxx_hidden_Encoding - } - return "" -} - -func (x *MavenConfig_CompilerJavaConfig) GetRelease() int32 { - if x != nil { - return x.xxx_hidden_Release - } - return 0 -} - -func (x *MavenConfig_CompilerJavaConfig) GetSource() int32 { - if x != nil { - return x.xxx_hidden_Source - } - return 0 -} - -func (x *MavenConfig_CompilerJavaConfig) GetTarget() int32 { - if x != nil { - return x.xxx_hidden_Target - } - return 0 -} - -func (x *MavenConfig_CompilerJavaConfig) SetEncoding(v string) { - x.xxx_hidden_Encoding = v -} - -func (x *MavenConfig_CompilerJavaConfig) SetRelease(v int32) { - x.xxx_hidden_Release = v -} - -func (x *MavenConfig_CompilerJavaConfig) SetSource(v int32) { - x.xxx_hidden_Source = v -} - -func (x *MavenConfig_CompilerJavaConfig) SetTarget(v int32) { - x.xxx_hidden_Target = v -} - -type MavenConfig_CompilerJavaConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // File encoding (default: UTF-8). - Encoding string - // Release version (default: 8). - Release int32 - // Source version (default: 8). - Source int32 - // Target version (default: 8). - Target int32 -} - -func (b0 MavenConfig_CompilerJavaConfig_builder) Build() *MavenConfig_CompilerJavaConfig { - m0 := &MavenConfig_CompilerJavaConfig{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Encoding = b.Encoding - x.xxx_hidden_Release = b.Release - x.xxx_hidden_Source = b.Source - x.xxx_hidden_Target = b.Target - return m0 -} - -// CompilerKotlinConfig contains settings for the Kotlin compiler. -type MavenConfig_CompilerKotlinConfig struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_ApiVersion string `protobuf:"bytes,2,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` - xxx_hidden_JvmTarget string `protobuf:"bytes,3,opt,name=jvm_target,json=jvmTarget,proto3" json:"jvm_target,omitempty"` - xxx_hidden_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() { - *x = MavenConfig_CompilerKotlinConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MavenConfig_CompilerKotlinConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MavenConfig_CompilerKotlinConfig) ProtoMessage() {} - -func (x *MavenConfig_CompilerKotlinConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MavenConfig_CompilerKotlinConfig) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *MavenConfig_CompilerKotlinConfig) GetApiVersion() string { - if x != nil { - return x.xxx_hidden_ApiVersion - } - return "" -} - -func (x *MavenConfig_CompilerKotlinConfig) GetJvmTarget() string { - if x != nil { - return x.xxx_hidden_JvmTarget - } - return "" -} - -func (x *MavenConfig_CompilerKotlinConfig) GetLanguageVersion() string { - if x != nil { - return x.xxx_hidden_LanguageVersion - } - return "" -} - -func (x *MavenConfig_CompilerKotlinConfig) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *MavenConfig_CompilerKotlinConfig) SetApiVersion(v string) { - x.xxx_hidden_ApiVersion = v -} - -func (x *MavenConfig_CompilerKotlinConfig) SetJvmTarget(v string) { - x.xxx_hidden_JvmTarget = v -} - -func (x *MavenConfig_CompilerKotlinConfig) SetLanguageVersion(v string) { - x.xxx_hidden_LanguageVersion = v -} - -type MavenConfig_CompilerKotlinConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Version of the Kotlin compiler used to compile the generated code. - Version string - // Version of the Kotlin API to target. - ApiVersion string - // Target version of the JVM bytecode (default: 1.8). - JvmTarget string - // Kotlin language version used for source compatibility. - LanguageVersion string -} - -func (b0 MavenConfig_CompilerKotlinConfig_builder) Build() *MavenConfig_CompilerKotlinConfig { - m0 := &MavenConfig_CompilerKotlinConfig{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Version = b.Version - x.xxx_hidden_ApiVersion = b.ApiVersion - x.xxx_hidden_JvmTarget = b.JvmTarget - x.xxx_hidden_LanguageVersion = b.LanguageVersion - return m0 -} - -// 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 `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_RuntimeLibraries *[]*MavenConfig_RuntimeLibrary `protobuf:"bytes,2,rep,name=runtime_libraries,json=runtimeLibraries,proto3" json:"runtime_libraries,omitempty"` - xxx_hidden_Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MavenConfig_RuntimeConfig) Reset() { - *x = MavenConfig_RuntimeConfig{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MavenConfig_RuntimeConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MavenConfig_RuntimeConfig) ProtoMessage() {} - -func (x *MavenConfig_RuntimeConfig) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *MavenConfig_RuntimeConfig) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *MavenConfig_RuntimeConfig) GetRuntimeLibraries() []*MavenConfig_RuntimeLibrary { - if x != nil { - if x.xxx_hidden_RuntimeLibraries != nil { - return *x.xxx_hidden_RuntimeLibraries - } - } - return nil -} - -func (x *MavenConfig_RuntimeConfig) GetOptions() []string { - if x != nil { - return x.xxx_hidden_Options - } - return nil -} - -func (x *MavenConfig_RuntimeConfig) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *MavenConfig_RuntimeConfig) SetRuntimeLibraries(v []*MavenConfig_RuntimeLibrary) { - x.xxx_hidden_RuntimeLibraries = &v -} - -func (x *MavenConfig_RuntimeConfig) SetOptions(v []string) { - x.xxx_hidden_Options = v -} - -type MavenConfig_RuntimeConfig_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Name string - RuntimeLibraries []*MavenConfig_RuntimeLibrary - // The options to pass to the plugin. These will - // be merged into a single, comma-separated string. - Options []string -} - -func (b0 MavenConfig_RuntimeConfig_builder) Build() *MavenConfig_RuntimeConfig { - m0 := &MavenConfig_RuntimeConfig{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_RuntimeLibraries = &b.RuntimeLibraries - x.xxx_hidden_Options = b.Options - return m0 -} - -// 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 `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_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() { - *x = NugetConfig_RuntimeLibrary{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *NugetConfig_RuntimeLibrary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NugetConfig_RuntimeLibrary) ProtoMessage() {} - -func (x *NugetConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[32] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *NugetConfig_RuntimeLibrary) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *NugetConfig_RuntimeLibrary) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *NugetConfig_RuntimeLibrary) GetTargetFrameworks() []DotnetTargetFramework { - if x != nil { - return x.xxx_hidden_TargetFrameworks - } - return nil -} - -func (x *NugetConfig_RuntimeLibrary) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *NugetConfig_RuntimeLibrary) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *NugetConfig_RuntimeLibrary) SetTargetFrameworks(v []DotnetTargetFramework) { - x.xxx_hidden_TargetFrameworks = v -} - -type NugetConfig_RuntimeLibrary_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The name of the NuGet package (also known as the package ID). - Name string - // The version of the NuGet package (supports ranges). - // Ref: https://learn.microsoft.com/en-us/nuget/concepts/package-versioning#version-ranges - Version string - // Optional target frameworks. If specified, these dependencies will be - // conditionally added when building for the specified target framework. - TargetFrameworks []DotnetTargetFramework -} - -func (b0 NugetConfig_RuntimeLibrary_builder) Build() *NugetConfig_RuntimeLibrary { - m0 := &NugetConfig_RuntimeLibrary{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Version = b.Version - x.xxx_hidden_TargetFrameworks = b.TargetFrameworks - return m0 -} - -// RuntimeLibrary describes a runtime library dependency of the generated code. -type SwiftConfig_RuntimeLibrary struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` - xxx_hidden_Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_Products []string `protobuf:"bytes,4,rep,name=products,proto3" json:"products,omitempty"` - xxx_hidden_Platforms *[]*SwiftConfig_RuntimeLibrary_Platform `protobuf:"bytes,5,rep,name=platforms,proto3" json:"platforms,omitempty"` - xxx_hidden_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() { - *x = SwiftConfig_RuntimeLibrary{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SwiftConfig_RuntimeLibrary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SwiftConfig_RuntimeLibrary) ProtoMessage() {} - -func (x *SwiftConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[33] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SwiftConfig_RuntimeLibrary) GetSource() string { - if x != nil { - return x.xxx_hidden_Source - } - return "" -} - -func (x *SwiftConfig_RuntimeLibrary) GetPackage() string { - if x != nil { - return x.xxx_hidden_Package - } - return "" -} - -func (x *SwiftConfig_RuntimeLibrary) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *SwiftConfig_RuntimeLibrary) GetProducts() []string { - if x != nil { - return x.xxx_hidden_Products - } - return nil -} - -func (x *SwiftConfig_RuntimeLibrary) GetPlatforms() []*SwiftConfig_RuntimeLibrary_Platform { - if x != nil { - if x.xxx_hidden_Platforms != nil { - return *x.xxx_hidden_Platforms - } - } - return nil -} - -func (x *SwiftConfig_RuntimeLibrary) GetSwiftVersions() []string { - if x != nil { - return x.xxx_hidden_SwiftVersions - } - return nil -} - -func (x *SwiftConfig_RuntimeLibrary) SetSource(v string) { - x.xxx_hidden_Source = v -} - -func (x *SwiftConfig_RuntimeLibrary) SetPackage(v string) { - x.xxx_hidden_Package = v -} - -func (x *SwiftConfig_RuntimeLibrary) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *SwiftConfig_RuntimeLibrary) SetProducts(v []string) { - x.xxx_hidden_Products = v -} - -func (x *SwiftConfig_RuntimeLibrary) SetPlatforms(v []*SwiftConfig_RuntimeLibrary_Platform) { - x.xxx_hidden_Platforms = &v -} - -func (x *SwiftConfig_RuntimeLibrary) SetSwiftVersions(v []string) { - x.xxx_hidden_SwiftVersions = v -} - -type SwiftConfig_RuntimeLibrary_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The source of the runtime library package, e.g. https://github.com/apple/swift-protobuf.git. - Source string - // The name of the runtime library package, e.g. "swift-protobuf". - Package string - // The version of the runtime library, e.g. "1.21.0". - Version string - // The products exported by the runtime library, e.g. "SwiftProtobuf". - Products []string - // The minimum compatible platform versions of the runtime library. - Platforms []*SwiftConfig_RuntimeLibrary_Platform - // The supported Swift language versions of the runtime library, e.g. ".v5". - SwiftVersions []string -} - -func (b0 SwiftConfig_RuntimeLibrary_builder) Build() *SwiftConfig_RuntimeLibrary { - m0 := &SwiftConfig_RuntimeLibrary{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Source = b.Source - x.xxx_hidden_Package = b.Package - x.xxx_hidden_Version = b.Version - x.xxx_hidden_Products = b.Products - x.xxx_hidden_Platforms = &b.Platforms - x.xxx_hidden_SwiftVersions = b.SwiftVersions - return m0 -} - -// The minimum compatible platform versions of the runtime library. -type SwiftConfig_RuntimeLibrary_Platform struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name SwiftPlatformType `protobuf:"varint,1,opt,name=name,proto3,enum=buf.alpha.registry.v1alpha1.SwiftPlatformType" json:"name,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SwiftConfig_RuntimeLibrary_Platform) Reset() { - *x = SwiftConfig_RuntimeLibrary_Platform{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SwiftConfig_RuntimeLibrary_Platform) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SwiftConfig_RuntimeLibrary_Platform) ProtoMessage() {} - -func (x *SwiftConfig_RuntimeLibrary_Platform) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[34] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SwiftConfig_RuntimeLibrary_Platform) GetName() SwiftPlatformType { - if x != nil { - return x.xxx_hidden_Name - } - return SwiftPlatformType_SWIFT_PLATFORM_TYPE_UNSPECIFIED -} - -func (x *SwiftConfig_RuntimeLibrary_Platform) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *SwiftConfig_RuntimeLibrary_Platform) SetName(v SwiftPlatformType) { - x.xxx_hidden_Name = v -} - -func (x *SwiftConfig_RuntimeLibrary_Platform) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -type SwiftConfig_RuntimeLibrary_Platform_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The name of the platform. - Name SwiftPlatformType - // The minimum compatible version of the platform. - Version string -} - -func (b0 SwiftConfig_RuntimeLibrary_Platform_builder) Build() *SwiftConfig_RuntimeLibrary_Platform { - m0 := &SwiftConfig_RuntimeLibrary_Platform{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Version = b.Version - return m0 -} - -type PythonConfig_RuntimeLibrary struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = PythonConfig_RuntimeLibrary{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PythonConfig_RuntimeLibrary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PythonConfig_RuntimeLibrary) ProtoMessage() {} - -func (x *PythonConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[35] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PythonConfig_RuntimeLibrary) GetDependencySpecification() string { - if x != nil { - return x.xxx_hidden_DependencySpecification - } - return "" -} - -func (x *PythonConfig_RuntimeLibrary) SetDependencySpecification(v string) { - x.xxx_hidden_DependencySpecification = v -} - -type PythonConfig_RuntimeLibrary_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // dependency_specification is a PEP 508 Dependency Specification. - // Ref: https://peps.python.org/pep-0508/ - DependencySpecification string -} - -func (b0 PythonConfig_RuntimeLibrary_builder) Build() *PythonConfig_RuntimeLibrary { - m0 := &PythonConfig_RuntimeLibrary{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_DependencySpecification = b.DependencySpecification - return m0 -} - -// RuntimeLibrary specifies a runtime dependency for a generated crate. -// It is the subset of a full Cargo dependency specification, which contains -// 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 `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_VersionRequirement string `protobuf:"bytes,2,opt,name=version_requirement,json=versionRequirement,proto3" json:"version_requirement,omitempty"` - xxx_hidden_DefaultFeatures bool `protobuf:"varint,3,opt,name=default_features,json=defaultFeatures,proto3" json:"default_features,omitempty"` - xxx_hidden_Features []string `protobuf:"bytes,4,rep,name=features,proto3" json:"features,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CargoConfig_RuntimeLibrary) Reset() { - *x = CargoConfig_RuntimeLibrary{} - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CargoConfig_RuntimeLibrary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CargoConfig_RuntimeLibrary) ProtoMessage() {} - -func (x *CargoConfig_RuntimeLibrary) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[36] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CargoConfig_RuntimeLibrary) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *CargoConfig_RuntimeLibrary) GetVersionRequirement() string { - if x != nil { - return x.xxx_hidden_VersionRequirement - } - return "" -} - -func (x *CargoConfig_RuntimeLibrary) GetDefaultFeatures() bool { - if x != nil { - return x.xxx_hidden_DefaultFeatures - } - return false -} - -func (x *CargoConfig_RuntimeLibrary) GetFeatures() []string { - if x != nil { - return x.xxx_hidden_Features - } - return nil -} - -func (x *CargoConfig_RuntimeLibrary) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *CargoConfig_RuntimeLibrary) SetVersionRequirement(v string) { - x.xxx_hidden_VersionRequirement = v -} - -func (x *CargoConfig_RuntimeLibrary) SetDefaultFeatures(v bool) { - x.xxx_hidden_DefaultFeatures = v -} - -func (x *CargoConfig_RuntimeLibrary) SetFeatures(v []string) { - x.xxx_hidden_Features = v -} - -type CargoConfig_RuntimeLibrary_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // name specifies the name of the dependency. - Name string - // version_requirement specifies the version requirement of the dependency. - VersionRequirement string - // default_features specifies whether or not default features will be enabled for the dependency. - DefaultFeatures bool - // features specifies the features enabled for the dependency. - Features []string -} - -func (b0 CargoConfig_RuntimeLibrary_builder) Build() *CargoConfig_RuntimeLibrary { - m0 := &CargoConfig_RuntimeLibrary{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_VersionRequirement = b.VersionRequirement - x.xxx_hidden_DefaultFeatures = b.DefaultFeatures - x.xxx_hidden_Features = b.Features - return m0 -} - -var File_buf_alpha_registry_v1alpha1_plugin_curation_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_plugin_curation_proto_rawDesc = []byte{ - 0x0a, 0x31, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x63, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x1a, 0x1e, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfb, 0x01, 0x0a, 0x08, 0x47, 0x6f, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x61, 0x0a, 0x11, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, - 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, - 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, - 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x10, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, - 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x69, - 0x6d, 0x75, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x50, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x1a, 0x42, 0x0a, 0x0e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, - 0x72, 0x61, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xc2, 0x02, 0x0a, 0x09, 0x4e, 0x50, 0x4d, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x62, 0x0a, 0x11, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, - 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x35, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4e, 0x50, - 0x4d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, - 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x10, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, - 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x72, 0x65, 0x77, 0x72, - 0x69, 0x74, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, - 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x72, 0x65, - 0x77, 0x72, 0x69, 0x74, 0x65, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x53, - 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x4e, 0x0a, 0x0c, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, - 0x73, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4e, 0x50, 0x4d, 0x49, 0x6d, 0x70, - 0x6f, 0x72, 0x74, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x52, 0x0b, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, - 0x53, 0x74, 0x79, 0x6c, 0x65, 0x1a, 0x44, 0x0a, 0x0e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, - 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xd3, 0x08, 0x0a, 0x0b, - 0x4d, 0x61, 0x76, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x64, 0x0a, 0x11, 0x72, - 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x61, 0x76, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, - 0x10, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, - 0x73, 0x12, 0x53, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4d, 0x61, 0x76, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, - 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x63, 0x6f, - 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x12, 0x67, 0x0a, 0x13, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4d, 0x61, 0x76, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x75, - 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x12, 0x61, 0x64, 0x64, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x1a, - 0xa4, 0x01, 0x0a, 0x0e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, - 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1f, 0x0a, - 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x61, 0x73, - 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, - 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, - 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xb8, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x69, - 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4f, 0x0a, 0x04, 0x6a, 0x61, 0x76, - 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x61, 0x76, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x4a, 0x61, 0x76, 0x61, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x6a, 0x61, 0x76, 0x61, 0x12, 0x55, 0x0a, 0x06, 0x6b, 0x6f, - 0x74, 0x6c, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x61, 0x76, 0x65, 0x6e, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x4b, 0x6f, 0x74, - 0x6c, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x6b, 0x6f, 0x74, 0x6c, 0x69, - 0x6e, 0x1a, 0x7a, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x4a, 0x61, 0x76, - 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, - 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, - 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x1a, 0x9b, 0x01, - 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x4b, 0x6f, 0x74, 0x6c, 0x69, 0x6e, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6a, 0x76, 0x6d, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6a, 0x76, 0x6d, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x61, 0x6e, 0x67, - 0x75, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xa3, 0x01, 0x0a, 0x0d, - 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x64, 0x0a, 0x11, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x62, - 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x61, 0x76, 0x65, 0x6e, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, - 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x10, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, - 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x22, 0xf6, 0x02, 0x0a, 0x0b, 0x4e, 0x75, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x12, 0x5f, 0x0a, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x66, 0x72, 0x61, 0x6d, - 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x74, 0x6e, 0x65, - 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, - 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, - 0x6b, 0x73, 0x12, 0x64, 0x0a, 0x11, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, - 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4e, 0x75, 0x67, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, - 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x10, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, - 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x9f, 0x01, 0x0a, 0x0e, 0x52, 0x75, 0x6e, - 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5f, 0x0a, 0x11, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x74, 0x6e, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x46, - 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x22, 0x0d, 0x0a, 0x0b, 0x43, 0x6d, - 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xdf, 0x03, 0x0a, 0x0b, 0x53, 0x77, - 0x69, 0x66, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x64, 0x0a, 0x11, 0x72, 0x75, 0x6e, - 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x53, 0x77, 0x69, 0x66, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, - 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x10, 0x72, - 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x1a, - 0xe9, 0x02, 0x0a, 0x0e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, - 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, - 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x63, - 0x6b, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, - 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x12, 0x5e, 0x0a, 0x09, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x77, 0x69, 0x66, - 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, - 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, - 0x09, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x77, - 0x69, 0x66, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x0d, 0x73, 0x77, 0x69, 0x66, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x1a, 0x68, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x42, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x77, 0x69, 0x66, 0x74, 0x50, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xbe, 0x02, 0x0a, 0x0c, - 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x65, 0x0a, 0x11, - 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, - 0x79, 0x52, 0x10, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, - 0x69, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x73, 0x5f, - 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, - 0x71, 0x75, 0x69, 0x72, 0x65, 0x73, 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x0c, - 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, - 0x4b, 0x0a, 0x0e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, - 0x79, 0x12, 0x39, 0x0a, 0x18, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x5f, - 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x17, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x53, - 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb5, 0x02, 0x0a, - 0x0b, 0x43, 0x61, 0x72, 0x67, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x0c, - 0x72, 0x75, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x72, 0x75, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x64, 0x0a, 0x11, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, - 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x61, 0x72, 0x67, 0x6f, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, 0x72, - 0x61, 0x72, 0x79, 0x52, 0x10, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x62, 0x72, - 0x61, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x9c, 0x01, 0x0a, 0x0e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, - 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x13, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, - 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, - 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x73, 0x22, 0xaf, 0x05, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x44, 0x0a, 0x09, 0x67, 0x6f, 0x5f, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x48, 0x00, 0x52, 0x08, 0x67, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a, - 0x0a, 0x6e, 0x70, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4e, 0x50, 0x4d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x70, 0x6d, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x0c, 0x6d, 0x61, 0x76, 0x65, 0x6e, 0x5f, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x61, 0x76, 0x65, 0x6e, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x6d, 0x61, 0x76, 0x65, 0x6e, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x0c, 0x73, 0x77, 0x69, 0x66, 0x74, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x77, 0x69, 0x66, 0x74, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x77, 0x69, 0x66, 0x74, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x0d, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0c, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x0c, 0x63, 0x61, 0x72, 0x67, 0x6f, 0x5f, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x61, 0x72, 0x67, 0x6f, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x61, 0x72, 0x67, 0x6f, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x0c, 0x6e, 0x75, 0x67, 0x65, 0x74, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4e, 0x75, 0x67, 0x65, 0x74, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x6e, 0x75, 0x67, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4d, 0x0a, 0x0c, 0x63, 0x6d, 0x61, 0x6b, 0x65, 0x5f, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6d, 0x61, 0x6b, 0x65, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x6d, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x11, 0x0a, - 0x0f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0x78, 0x0a, 0x16, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, - 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x22, 0xb3, 0x08, 0x0a, 0x0d, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0d, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x16, - 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, - 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x63, 0x6f, - 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x69, 0x67, 0x65, - 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, - 0x57, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, - 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x65, - 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x0f, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, - 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, - 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x56, 0x0a, 0x10, 0x6f, - 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, - 0x0e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, - 0x67, 0x65, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, - 0x67, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x70, 0x64, 0x78, 0x5f, 0x6c, 0x69, 0x63, 0x65, - 0x6e, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x70, - 0x64, 0x78, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, - 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, - 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, - 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x54, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x75, 0x72, 0x61, 0x74, - 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1e, - 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x13, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2f, - 0x0a, 0x13, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x70, - 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, - 0x75, 0x69, 0x64, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x65, - 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x6f, 0x63, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x64, 0x6f, 0x63, 0x12, 0x4f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, - 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x26, 0x0a, 0x10, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xfa, - 0x01, 0x0a, 0x13, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, - 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x50, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x47, 0x65, - 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, - 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x63, - 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49, 0x6d, 0x70, 0x6f, 0x72, - 0x74, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x77, 0x65, - 0x6c, 0x6c, 0x5f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x57, 0x65, 0x6c, - 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x6b, 0x0a, 0x14, 0x47, - 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x47, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x09, 0x72, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22, 0xb0, 0x02, 0x0a, 0x17, 0x50, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x5e, 0x0a, 0x10, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x75, 0x72, - 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, - 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, - 0x64, 0x65, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x88, 0x01, 0x01, 0x12, 0x3c, 0x0a, 0x18, - 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x77, 0x65, 0x6c, 0x6c, 0x5f, 0x6b, 0x6e, 0x6f, - 0x77, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x01, - 0x52, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, - 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x69, - 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x42, 0x1b, - 0x0a, 0x19, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x77, 0x65, 0x6c, 0x6c, 0x5f, - 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x22, 0x67, 0x0a, 0x18, 0x50, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, - 0x69, 0x6c, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, - 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x60, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, - 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x1d, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc3, 0x06, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x54, - 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, - 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x5f, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, - 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x69, - 0x67, 0x65, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, - 0x63, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, - 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, - 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x1d, 0x0a, - 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x54, - 0x0a, 0x0f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x56, 0x0a, 0x10, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, - 0x61, 0x67, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, - 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4c, - 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x70, 0x64, 0x78, - 0x5f, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x73, 0x70, 0x64, 0x78, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x49, 0x64, - 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, - 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x55, 0x72, - 0x6c, 0x12, 0x54, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, - 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x65, 0x5f, 0x75, 0x72, 0x6c, - 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x64, - 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x22, 0x6f, 0x0a, 0x1b, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0d, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x0d, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xda, 0x01, 0x0a, - 0x19, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, - 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, - 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, - 0x12, 0x38, 0x0a, 0x18, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5f, 0x72, 0x65, 0x6d, - 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x16, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x69, 0x6e, - 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x44, - 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x22, 0x8a, 0x01, 0x0a, 0x1a, 0x4c, 0x69, - 0x73, 0x74, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x26, - 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, - 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xb9, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4c, 0x61, - 0x74, 0x65, 0x73, 0x74, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, - 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, - 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x75, 0x70, 0x70, - 0x6f, 0x72, 0x74, 0x73, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x63, 0x6b, - 0x61, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x73, 0x75, 0x70, 0x70, - 0x6f, 0x72, 0x74, 0x73, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x73, 0x22, 0xbc, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, - 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x52, 0x06, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x56, 0x0a, 0x08, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, - 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x22, 0x57, 0x0a, 0x1d, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, - 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, - 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2a, 0x91, 0x01, 0x0a, 0x17, 0x43, - 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x56, 0x69, 0x73, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x29, 0x0a, 0x25, 0x43, 0x55, 0x52, 0x41, 0x54, 0x45, - 0x44, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, - 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x24, 0x0a, 0x20, 0x43, 0x55, 0x52, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x50, 0x4c, 0x55, - 0x47, 0x49, 0x4e, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, - 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x01, 0x12, 0x25, 0x0a, 0x21, 0x43, 0x55, 0x52, 0x41, 0x54, - 0x45, 0x44, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, - 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x02, 0x2a, 0xda, - 0x02, 0x0a, 0x12, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x20, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, - 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x50, - 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x47, 0x4f, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4c, 0x55, 0x47, - 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x4e, 0x50, 0x4d, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, - 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, - 0x41, 0x56, 0x45, 0x4e, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, - 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, - 0x57, 0x49, 0x46, 0x54, 0x10, 0x04, 0x12, 0x1f, 0x0a, 0x1b, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, - 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, - 0x59, 0x54, 0x48, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x4c, 0x55, 0x47, 0x49, - 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x43, 0x41, 0x52, 0x47, 0x4f, 0x10, 0x07, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x4c, 0x55, 0x47, 0x49, - 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x4e, 0x55, 0x47, 0x45, 0x54, 0x10, 0x08, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x4c, 0x55, 0x47, 0x49, - 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x43, 0x4d, 0x41, 0x4b, 0x45, 0x10, 0x09, 0x22, 0x04, 0x08, 0x06, 0x10, 0x06, 0x2a, 0x1c, 0x50, - 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x2a, 0xe5, 0x03, 0x0a, 0x0e, - 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x1f, - 0x0a, 0x1b, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, - 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, - 0x16, 0x0a, 0x12, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, - 0x47, 0x45, 0x5f, 0x47, 0x4f, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x4c, 0x55, 0x47, 0x49, - 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x4a, 0x41, 0x56, 0x41, 0x53, - 0x43, 0x52, 0x49, 0x50, 0x54, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x4c, 0x55, 0x47, 0x49, - 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x53, - 0x43, 0x52, 0x49, 0x50, 0x54, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4c, 0x55, 0x47, 0x49, - 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x57, 0x49, 0x46, 0x54, - 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x4e, - 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x43, 0x50, 0x50, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x50, - 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x4a, - 0x41, 0x56, 0x41, 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, - 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x44, 0x41, 0x52, 0x54, 0x10, 0x07, 0x12, - 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, - 0x47, 0x45, 0x5f, 0x52, 0x55, 0x53, 0x54, 0x10, 0x08, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4c, 0x55, - 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x50, 0x59, 0x54, - 0x48, 0x4f, 0x4e, 0x10, 0x09, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, - 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x52, 0x55, 0x42, 0x59, 0x10, 0x0a, 0x12, - 0x1a, 0x0a, 0x16, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, - 0x47, 0x45, 0x5f, 0x4b, 0x4f, 0x54, 0x4c, 0x49, 0x4e, 0x10, 0x0b, 0x12, 0x1f, 0x0a, 0x1b, 0x50, - 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x4f, - 0x42, 0x4a, 0x45, 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x10, 0x0c, 0x12, 0x17, 0x0a, 0x13, - 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, - 0x50, 0x48, 0x50, 0x10, 0x0d, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, - 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, 0x43, 0x53, 0x48, 0x41, 0x52, 0x50, 0x10, - 0x0e, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, - 0x55, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x43, 0x41, 0x4c, 0x41, 0x10, 0x0f, 0x12, 0x15, 0x0a, 0x11, - 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x5f, - 0x43, 0x10, 0x10, 0x2a, 0x6e, 0x0a, 0x0e, 0x4e, 0x50, 0x4d, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, - 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x4e, 0x50, 0x4d, 0x5f, 0x49, 0x4d, 0x50, - 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x4e, 0x50, 0x4d, 0x5f, 0x49, - 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x4d, 0x4f, 0x44, 0x55, - 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x4e, 0x50, 0x4d, 0x5f, 0x49, 0x4d, 0x50, 0x4f, - 0x52, 0x54, 0x5f, 0x53, 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x4f, 0x4e, 0x4a, - 0x53, 0x10, 0x02, 0x2a, 0xb3, 0x01, 0x0a, 0x11, 0x53, 0x77, 0x69, 0x66, 0x74, 0x50, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x53, 0x57, 0x49, - 0x46, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, - 0x0a, 0x19, 0x53, 0x57, 0x49, 0x46, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x43, 0x4f, 0x53, 0x10, 0x01, 0x12, 0x1b, 0x0a, - 0x17, 0x53, 0x57, 0x49, 0x46, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x57, - 0x49, 0x46, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x4f, 0x53, 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x53, - 0x57, 0x49, 0x46, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x54, 0x56, 0x4f, 0x53, 0x10, 0x04, 0x2a, 0x7c, 0x0a, 0x11, 0x50, 0x79, 0x74, - 0x68, 0x6f, 0x6e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, - 0x0a, 0x1f, 0x50, 0x59, 0x54, 0x48, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x41, 0x47, 0x45, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x50, 0x59, 0x54, 0x48, 0x4f, 0x4e, 0x5f, 0x50, 0x41, - 0x43, 0x4b, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, - 0x4d, 0x45, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x59, 0x54, 0x48, 0x4f, 0x4e, 0x5f, 0x50, - 0x41, 0x43, 0x4b, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x55, 0x42, - 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x2a, 0xe9, 0x04, 0x0a, 0x15, 0x44, 0x6f, 0x74, 0x6e, - 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, - 0x6b, 0x12, 0x27, 0x0a, 0x23, 0x44, 0x4f, 0x54, 0x4e, 0x45, 0x54, 0x5f, 0x54, 0x41, 0x52, 0x47, - 0x45, 0x54, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x2b, 0x0a, 0x27, 0x44, 0x4f, - 0x54, 0x4e, 0x45, 0x54, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x52, 0x41, 0x4d, - 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x4e, 0x45, 0x54, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, - 0x44, 0x5f, 0x31, 0x5f, 0x30, 0x10, 0x01, 0x12, 0x2b, 0x0a, 0x27, 0x44, 0x4f, 0x54, 0x4e, 0x45, - 0x54, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, - 0x52, 0x4b, 0x5f, 0x4e, 0x45, 0x54, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x31, - 0x5f, 0x31, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x44, 0x4f, 0x54, 0x4e, 0x45, 0x54, 0x5f, 0x54, - 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, - 0x4e, 0x45, 0x54, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x31, 0x5f, 0x32, 0x10, - 0x03, 0x12, 0x2b, 0x0a, 0x27, 0x44, 0x4f, 0x54, 0x4e, 0x45, 0x54, 0x5f, 0x54, 0x41, 0x52, 0x47, - 0x45, 0x54, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x4e, 0x45, 0x54, - 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x31, 0x5f, 0x33, 0x10, 0x04, 0x12, 0x2b, - 0x0a, 0x27, 0x44, 0x4f, 0x54, 0x4e, 0x45, 0x54, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, - 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x4e, 0x45, 0x54, 0x53, 0x54, 0x41, - 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x31, 0x5f, 0x34, 0x10, 0x05, 0x12, 0x2b, 0x0a, 0x27, 0x44, - 0x4f, 0x54, 0x4e, 0x45, 0x54, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x52, 0x41, - 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x4e, 0x45, 0x54, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, - 0x52, 0x44, 0x5f, 0x31, 0x5f, 0x35, 0x10, 0x06, 0x12, 0x2b, 0x0a, 0x27, 0x44, 0x4f, 0x54, 0x4e, - 0x45, 0x54, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, - 0x4f, 0x52, 0x4b, 0x5f, 0x4e, 0x45, 0x54, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, - 0x31, 0x5f, 0x36, 0x10, 0x07, 0x12, 0x2b, 0x0a, 0x27, 0x44, 0x4f, 0x54, 0x4e, 0x45, 0x54, 0x5f, - 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, - 0x5f, 0x4e, 0x45, 0x54, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x32, 0x5f, 0x30, - 0x10, 0x08, 0x12, 0x2b, 0x0a, 0x27, 0x44, 0x4f, 0x54, 0x4e, 0x45, 0x54, 0x5f, 0x54, 0x41, 0x52, - 0x47, 0x45, 0x54, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x4e, 0x45, - 0x54, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x32, 0x5f, 0x31, 0x10, 0x09, 0x12, - 0x23, 0x0a, 0x1f, 0x44, 0x4f, 0x54, 0x4e, 0x45, 0x54, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, - 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x4e, 0x45, 0x54, 0x5f, 0x35, - 0x5f, 0x30, 0x10, 0x0a, 0x12, 0x23, 0x0a, 0x1f, 0x44, 0x4f, 0x54, 0x4e, 0x45, 0x54, 0x5f, 0x54, - 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, - 0x4e, 0x45, 0x54, 0x5f, 0x36, 0x5f, 0x30, 0x10, 0x0b, 0x12, 0x23, 0x0a, 0x1f, 0x44, 0x4f, 0x54, - 0x4e, 0x45, 0x54, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x52, 0x41, 0x4d, 0x45, - 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x4e, 0x45, 0x54, 0x5f, 0x37, 0x5f, 0x30, 0x10, 0x0c, 0x12, 0x23, - 0x0a, 0x1f, 0x44, 0x4f, 0x54, 0x4e, 0x45, 0x54, 0x5f, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, - 0x46, 0x52, 0x41, 0x4d, 0x45, 0x57, 0x4f, 0x52, 0x4b, 0x5f, 0x4e, 0x45, 0x54, 0x5f, 0x38, 0x5f, - 0x30, 0x10, 0x0d, 0x32, 0xdd, 0x04, 0x0a, 0x15, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8a, 0x01, - 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x73, 0x12, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, - 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x12, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0x96, 0x01, 0x0a, 0x16, 0x47, - 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, 0x75, 0x72, - 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x3b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, - 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, - 0x90, 0x02, 0x01, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, - 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x37, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, - 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, - 0x90, 0x02, 0x02, 0x32, 0x8c, 0x01, 0x0a, 0x15, 0x43, 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x73, 0x0a, - 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x42, 0xa0, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x13, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, - 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, - 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, - 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, - 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes = make([]protoimpl.EnumInfo, 7) -var file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes = make([]protoimpl.MessageInfo, 37) -var file_buf_alpha_registry_v1alpha1_plugin_curation_proto_goTypes = []any{ - (CuratedPluginVisibility)(0), // 0: buf.alpha.registry.v1alpha1.CuratedPluginVisibility - (PluginRegistryType)(0), // 1: buf.alpha.registry.v1alpha1.PluginRegistryType - (PluginLanguage)(0), // 2: buf.alpha.registry.v1alpha1.PluginLanguage - (NPMImportStyle)(0), // 3: buf.alpha.registry.v1alpha1.NPMImportStyle - (SwiftPlatformType)(0), // 4: buf.alpha.registry.v1alpha1.SwiftPlatformType - (PythonPackageType)(0), // 5: buf.alpha.registry.v1alpha1.PythonPackageType - (DotnetTargetFramework)(0), // 6: buf.alpha.registry.v1alpha1.DotnetTargetFramework - (*GoConfig)(nil), // 7: buf.alpha.registry.v1alpha1.GoConfig - (*NPMConfig)(nil), // 8: buf.alpha.registry.v1alpha1.NPMConfig - (*MavenConfig)(nil), // 9: buf.alpha.registry.v1alpha1.MavenConfig - (*NugetConfig)(nil), // 10: buf.alpha.registry.v1alpha1.NugetConfig - (*CmakeConfig)(nil), // 11: buf.alpha.registry.v1alpha1.CmakeConfig - (*SwiftConfig)(nil), // 12: buf.alpha.registry.v1alpha1.SwiftConfig - (*PythonConfig)(nil), // 13: buf.alpha.registry.v1alpha1.PythonConfig - (*CargoConfig)(nil), // 14: buf.alpha.registry.v1alpha1.CargoConfig - (*RegistryConfig)(nil), // 15: buf.alpha.registry.v1alpha1.RegistryConfig - (*CuratedPluginReference)(nil), // 16: buf.alpha.registry.v1alpha1.CuratedPluginReference - (*CuratedPlugin)(nil), // 17: buf.alpha.registry.v1alpha1.CuratedPlugin - (*PluginCollection)(nil), // 18: buf.alpha.registry.v1alpha1.PluginCollection - (*GenerateCodeRequest)(nil), // 19: buf.alpha.registry.v1alpha1.GenerateCodeRequest - (*GenerateCodeResponse)(nil), // 20: buf.alpha.registry.v1alpha1.GenerateCodeResponse - (*PluginGenerationRequest)(nil), // 21: buf.alpha.registry.v1alpha1.PluginGenerationRequest - (*PluginGenerationResponse)(nil), // 22: buf.alpha.registry.v1alpha1.PluginGenerationResponse - (*DeleteCuratedPluginRequest)(nil), // 23: buf.alpha.registry.v1alpha1.DeleteCuratedPluginRequest - (*DeleteCuratedPluginResponse)(nil), // 24: buf.alpha.registry.v1alpha1.DeleteCuratedPluginResponse - (*CreateCuratedPluginRequest)(nil), // 25: buf.alpha.registry.v1alpha1.CreateCuratedPluginRequest - (*CreateCuratedPluginResponse)(nil), // 26: buf.alpha.registry.v1alpha1.CreateCuratedPluginResponse - (*ListCuratedPluginsRequest)(nil), // 27: buf.alpha.registry.v1alpha1.ListCuratedPluginsRequest - (*ListCuratedPluginsResponse)(nil), // 28: buf.alpha.registry.v1alpha1.ListCuratedPluginsResponse - (*GetLatestCuratedPluginRequest)(nil), // 29: buf.alpha.registry.v1alpha1.GetLatestCuratedPluginRequest - (*GetLatestCuratedPluginResponse)(nil), // 30: buf.alpha.registry.v1alpha1.GetLatestCuratedPluginResponse - (*CuratedPluginVersionRevisions)(nil), // 31: buf.alpha.registry.v1alpha1.CuratedPluginVersionRevisions - (*GoConfig_RuntimeLibrary)(nil), // 32: buf.alpha.registry.v1alpha1.GoConfig.RuntimeLibrary - (*NPMConfig_RuntimeLibrary)(nil), // 33: buf.alpha.registry.v1alpha1.NPMConfig.RuntimeLibrary - (*MavenConfig_RuntimeLibrary)(nil), // 34: buf.alpha.registry.v1alpha1.MavenConfig.RuntimeLibrary - (*MavenConfig_CompilerConfig)(nil), // 35: buf.alpha.registry.v1alpha1.MavenConfig.CompilerConfig - (*MavenConfig_CompilerJavaConfig)(nil), // 36: buf.alpha.registry.v1alpha1.MavenConfig.CompilerJavaConfig - (*MavenConfig_CompilerKotlinConfig)(nil), // 37: buf.alpha.registry.v1alpha1.MavenConfig.CompilerKotlinConfig - (*MavenConfig_RuntimeConfig)(nil), // 38: buf.alpha.registry.v1alpha1.MavenConfig.RuntimeConfig - (*NugetConfig_RuntimeLibrary)(nil), // 39: buf.alpha.registry.v1alpha1.NugetConfig.RuntimeLibrary - (*SwiftConfig_RuntimeLibrary)(nil), // 40: buf.alpha.registry.v1alpha1.SwiftConfig.RuntimeLibrary - (*SwiftConfig_RuntimeLibrary_Platform)(nil), // 41: buf.alpha.registry.v1alpha1.SwiftConfig.RuntimeLibrary.Platform - (*PythonConfig_RuntimeLibrary)(nil), // 42: buf.alpha.registry.v1alpha1.PythonConfig.RuntimeLibrary - (*CargoConfig_RuntimeLibrary)(nil), // 43: buf.alpha.registry.v1alpha1.CargoConfig.RuntimeLibrary - (*timestamppb.Timestamp)(nil), // 44: google.protobuf.Timestamp - (*v1.Image)(nil), // 45: buf.alpha.image.v1.Image - (*pluginpb.CodeGeneratorResponse)(nil), // 46: google.protobuf.compiler.CodeGeneratorResponse -} -var file_buf_alpha_registry_v1alpha1_plugin_curation_proto_depIdxs = []int32{ - 32, // 0: buf.alpha.registry.v1alpha1.GoConfig.runtime_libraries:type_name -> buf.alpha.registry.v1alpha1.GoConfig.RuntimeLibrary - 33, // 1: buf.alpha.registry.v1alpha1.NPMConfig.runtime_libraries:type_name -> buf.alpha.registry.v1alpha1.NPMConfig.RuntimeLibrary - 3, // 2: buf.alpha.registry.v1alpha1.NPMConfig.import_style:type_name -> buf.alpha.registry.v1alpha1.NPMImportStyle - 34, // 3: buf.alpha.registry.v1alpha1.MavenConfig.runtime_libraries:type_name -> buf.alpha.registry.v1alpha1.MavenConfig.RuntimeLibrary - 35, // 4: buf.alpha.registry.v1alpha1.MavenConfig.compiler:type_name -> buf.alpha.registry.v1alpha1.MavenConfig.CompilerConfig - 38, // 5: buf.alpha.registry.v1alpha1.MavenConfig.additional_runtimes:type_name -> buf.alpha.registry.v1alpha1.MavenConfig.RuntimeConfig - 6, // 6: buf.alpha.registry.v1alpha1.NugetConfig.target_frameworks:type_name -> buf.alpha.registry.v1alpha1.DotnetTargetFramework - 39, // 7: buf.alpha.registry.v1alpha1.NugetConfig.runtime_libraries:type_name -> buf.alpha.registry.v1alpha1.NugetConfig.RuntimeLibrary - 40, // 8: buf.alpha.registry.v1alpha1.SwiftConfig.runtime_libraries:type_name -> buf.alpha.registry.v1alpha1.SwiftConfig.RuntimeLibrary - 42, // 9: buf.alpha.registry.v1alpha1.PythonConfig.runtime_libraries:type_name -> buf.alpha.registry.v1alpha1.PythonConfig.RuntimeLibrary - 5, // 10: buf.alpha.registry.v1alpha1.PythonConfig.package_type:type_name -> buf.alpha.registry.v1alpha1.PythonPackageType - 43, // 11: buf.alpha.registry.v1alpha1.CargoConfig.runtime_libraries:type_name -> buf.alpha.registry.v1alpha1.CargoConfig.RuntimeLibrary - 7, // 12: buf.alpha.registry.v1alpha1.RegistryConfig.go_config:type_name -> buf.alpha.registry.v1alpha1.GoConfig - 8, // 13: buf.alpha.registry.v1alpha1.RegistryConfig.npm_config:type_name -> buf.alpha.registry.v1alpha1.NPMConfig - 9, // 14: buf.alpha.registry.v1alpha1.RegistryConfig.maven_config:type_name -> buf.alpha.registry.v1alpha1.MavenConfig - 12, // 15: buf.alpha.registry.v1alpha1.RegistryConfig.swift_config:type_name -> buf.alpha.registry.v1alpha1.SwiftConfig - 13, // 16: buf.alpha.registry.v1alpha1.RegistryConfig.python_config:type_name -> buf.alpha.registry.v1alpha1.PythonConfig - 14, // 17: buf.alpha.registry.v1alpha1.RegistryConfig.cargo_config:type_name -> buf.alpha.registry.v1alpha1.CargoConfig - 10, // 18: buf.alpha.registry.v1alpha1.RegistryConfig.nuget_config:type_name -> buf.alpha.registry.v1alpha1.NugetConfig - 11, // 19: buf.alpha.registry.v1alpha1.RegistryConfig.cmake_config:type_name -> buf.alpha.registry.v1alpha1.CmakeConfig - 1, // 20: buf.alpha.registry.v1alpha1.CuratedPlugin.registry_type:type_name -> buf.alpha.registry.v1alpha1.PluginRegistryType - 44, // 21: buf.alpha.registry.v1alpha1.CuratedPlugin.create_time:type_name -> google.protobuf.Timestamp - 16, // 22: buf.alpha.registry.v1alpha1.CuratedPlugin.dependencies:type_name -> buf.alpha.registry.v1alpha1.CuratedPluginReference - 15, // 23: buf.alpha.registry.v1alpha1.CuratedPlugin.registry_config:type_name -> buf.alpha.registry.v1alpha1.RegistryConfig - 2, // 24: buf.alpha.registry.v1alpha1.CuratedPlugin.output_languages:type_name -> buf.alpha.registry.v1alpha1.PluginLanguage - 0, // 25: buf.alpha.registry.v1alpha1.CuratedPlugin.visibility:type_name -> buf.alpha.registry.v1alpha1.CuratedPluginVisibility - 18, // 26: buf.alpha.registry.v1alpha1.CuratedPlugin.collections:type_name -> buf.alpha.registry.v1alpha1.PluginCollection - 45, // 27: buf.alpha.registry.v1alpha1.GenerateCodeRequest.image:type_name -> buf.alpha.image.v1.Image - 21, // 28: buf.alpha.registry.v1alpha1.GenerateCodeRequest.requests:type_name -> buf.alpha.registry.v1alpha1.PluginGenerationRequest - 22, // 29: buf.alpha.registry.v1alpha1.GenerateCodeResponse.responses:type_name -> buf.alpha.registry.v1alpha1.PluginGenerationResponse - 16, // 30: buf.alpha.registry.v1alpha1.PluginGenerationRequest.plugin_reference:type_name -> buf.alpha.registry.v1alpha1.CuratedPluginReference - 46, // 31: buf.alpha.registry.v1alpha1.PluginGenerationResponse.response:type_name -> google.protobuf.compiler.CodeGeneratorResponse - 1, // 32: buf.alpha.registry.v1alpha1.CreateCuratedPluginRequest.registry_type:type_name -> buf.alpha.registry.v1alpha1.PluginRegistryType - 16, // 33: buf.alpha.registry.v1alpha1.CreateCuratedPluginRequest.dependencies:type_name -> buf.alpha.registry.v1alpha1.CuratedPluginReference - 15, // 34: buf.alpha.registry.v1alpha1.CreateCuratedPluginRequest.registry_config:type_name -> buf.alpha.registry.v1alpha1.RegistryConfig - 2, // 35: buf.alpha.registry.v1alpha1.CreateCuratedPluginRequest.output_languages:type_name -> buf.alpha.registry.v1alpha1.PluginLanguage - 0, // 36: buf.alpha.registry.v1alpha1.CreateCuratedPluginRequest.visibility:type_name -> buf.alpha.registry.v1alpha1.CuratedPluginVisibility - 17, // 37: buf.alpha.registry.v1alpha1.CreateCuratedPluginResponse.configuration:type_name -> buf.alpha.registry.v1alpha1.CuratedPlugin - 17, // 38: buf.alpha.registry.v1alpha1.ListCuratedPluginsResponse.plugins:type_name -> buf.alpha.registry.v1alpha1.CuratedPlugin - 17, // 39: buf.alpha.registry.v1alpha1.GetLatestCuratedPluginResponse.plugin:type_name -> buf.alpha.registry.v1alpha1.CuratedPlugin - 31, // 40: buf.alpha.registry.v1alpha1.GetLatestCuratedPluginResponse.versions:type_name -> buf.alpha.registry.v1alpha1.CuratedPluginVersionRevisions - 36, // 41: buf.alpha.registry.v1alpha1.MavenConfig.CompilerConfig.java:type_name -> buf.alpha.registry.v1alpha1.MavenConfig.CompilerJavaConfig - 37, // 42: buf.alpha.registry.v1alpha1.MavenConfig.CompilerConfig.kotlin:type_name -> buf.alpha.registry.v1alpha1.MavenConfig.CompilerKotlinConfig - 34, // 43: buf.alpha.registry.v1alpha1.MavenConfig.RuntimeConfig.runtime_libraries:type_name -> buf.alpha.registry.v1alpha1.MavenConfig.RuntimeLibrary - 6, // 44: buf.alpha.registry.v1alpha1.NugetConfig.RuntimeLibrary.target_frameworks:type_name -> buf.alpha.registry.v1alpha1.DotnetTargetFramework - 41, // 45: buf.alpha.registry.v1alpha1.SwiftConfig.RuntimeLibrary.platforms:type_name -> buf.alpha.registry.v1alpha1.SwiftConfig.RuntimeLibrary.Platform - 4, // 46: buf.alpha.registry.v1alpha1.SwiftConfig.RuntimeLibrary.Platform.name:type_name -> buf.alpha.registry.v1alpha1.SwiftPlatformType - 27, // 47: buf.alpha.registry.v1alpha1.PluginCurationService.ListCuratedPlugins:input_type -> buf.alpha.registry.v1alpha1.ListCuratedPluginsRequest - 25, // 48: buf.alpha.registry.v1alpha1.PluginCurationService.CreateCuratedPlugin:input_type -> buf.alpha.registry.v1alpha1.CreateCuratedPluginRequest - 29, // 49: buf.alpha.registry.v1alpha1.PluginCurationService.GetLatestCuratedPlugin:input_type -> buf.alpha.registry.v1alpha1.GetLatestCuratedPluginRequest - 23, // 50: buf.alpha.registry.v1alpha1.PluginCurationService.DeleteCuratedPlugin:input_type -> buf.alpha.registry.v1alpha1.DeleteCuratedPluginRequest - 19, // 51: buf.alpha.registry.v1alpha1.CodeGenerationService.GenerateCode:input_type -> buf.alpha.registry.v1alpha1.GenerateCodeRequest - 28, // 52: buf.alpha.registry.v1alpha1.PluginCurationService.ListCuratedPlugins:output_type -> buf.alpha.registry.v1alpha1.ListCuratedPluginsResponse - 26, // 53: buf.alpha.registry.v1alpha1.PluginCurationService.CreateCuratedPlugin:output_type -> buf.alpha.registry.v1alpha1.CreateCuratedPluginResponse - 30, // 54: buf.alpha.registry.v1alpha1.PluginCurationService.GetLatestCuratedPlugin:output_type -> buf.alpha.registry.v1alpha1.GetLatestCuratedPluginResponse - 24, // 55: buf.alpha.registry.v1alpha1.PluginCurationService.DeleteCuratedPlugin:output_type -> buf.alpha.registry.v1alpha1.DeleteCuratedPluginResponse - 20, // 56: buf.alpha.registry.v1alpha1.CodeGenerationService.GenerateCode:output_type -> buf.alpha.registry.v1alpha1.GenerateCodeResponse - 52, // [52:57] is the sub-list for method output_type - 47, // [47:52] is the sub-list for method input_type - 47, // [47:47] is the sub-list for extension type_name - 47, // [47:47] is the sub-list for extension extendee - 0, // [0:47] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_plugin_curation_proto_init() } -func file_buf_alpha_registry_v1alpha1_plugin_curation_proto_init() { - if File_buf_alpha_registry_v1alpha1_plugin_curation_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[8].OneofWrappers = []any{ - (*registryConfig_GoConfig)(nil), - (*registryConfig_NpmConfig)(nil), - (*registryConfig_MavenConfig)(nil), - (*registryConfig_SwiftConfig)(nil), - (*registryConfig_PythonConfig)(nil), - (*registryConfig_CargoConfig)(nil), - (*registryConfig_NugetConfig)(nil), - (*registryConfig_CmakeConfig)(nil), - } - file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes[14].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_plugin_curation_proto_rawDesc, - NumEnums: 7, - NumMessages: 37, - NumExtensions: 0, - NumServices: 2, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_plugin_curation_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_plugin_curation_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_plugin_curation_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_plugin_curation_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_plugin_curation_proto = out.File - file_buf_alpha_registry_v1alpha1_plugin_curation_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_plugin_curation_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_plugin_curation_proto_depIdxs = nil -} 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 fcb379c61d..56ff88fe44 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/push.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -38,25 +36,16 @@ const ( // PushRequest specifies the module to push to the BSR. type PushRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // Optional; if provided, the provided tags - // are created for the pushed commit. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - // Optional; if provided, the pushed commit - // will be appended to these tracks. If the - // tracks do not exist, they will be created. - // - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` + xxx_hidden_Module *v1alpha1.Module `protobuf:"bytes,4,opt,name=module,proto3" json:"module,omitempty"` + xxx_hidden_Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + xxx_hidden_Tracks []string `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"` + xxx_hidden_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() { @@ -86,14 +75,14 @@ func (x *PushRequest) ProtoReflect() protoreflect.Message { func (x *PushRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *PushRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } @@ -101,21 +90,21 @@ func (x *PushRequest) GetRepository() string { // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/push.proto. func (x *PushRequest) GetBranch() string { if x != nil { - return x.Branch + return x.xxx_hidden_Branch } return "" } func (x *PushRequest) GetModule() *v1alpha1.Module { if x != nil { - return x.Module + return x.xxx_hidden_Module } return nil } func (x *PushRequest) GetTags() []string { if x != nil { - return x.Tags + return x.xxx_hidden_Tags } return nil } @@ -123,57 +112,57 @@ func (x *PushRequest) GetTags() []string { // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/push.proto. func (x *PushRequest) GetTracks() []string { if x != nil { - return x.Tracks + return x.xxx_hidden_Tracks } return nil } func (x *PushRequest) GetDraftName() string { if x != nil { - return x.DraftName + return x.xxx_hidden_DraftName } return "" } func (x *PushRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *PushRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/push.proto. func (x *PushRequest) SetBranch(v string) { - x.Branch = v + x.xxx_hidden_Branch = v } func (x *PushRequest) SetModule(v *v1alpha1.Module) { - x.Module = v + x.xxx_hidden_Module = v } func (x *PushRequest) SetTags(v []string) { - x.Tags = v + x.xxx_hidden_Tags = v } // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/push.proto. func (x *PushRequest) SetTracks(v []string) { - x.Tracks = v + x.xxx_hidden_Tracks = v } func (x *PushRequest) SetDraftName(v string) { - x.DraftName = v + x.xxx_hidden_DraftName = v } func (x *PushRequest) HasModule() bool { if x == nil { return false } - return x.Module != nil + return x.xxx_hidden_Module != nil } func (x *PushRequest) ClearModule() { - x.Module = nil + x.xxx_hidden_Module = nil } type PushRequest_builder struct { @@ -201,22 +190,22 @@ func (b0 PushRequest_builder) Build() *PushRequest { m0 := &PushRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Branch = b.Branch - x.Module = b.Module - x.Tags = b.Tags - x.Tracks = b.Tracks - x.DraftName = b.DraftName + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Branch = b.Branch + x.xxx_hidden_Module = b.Module + x.xxx_hidden_Tags = b.Tags + x.xxx_hidden_Tracks = b.Tracks + x.xxx_hidden_DraftName = b.DraftName return m0 } // PushResponse is the pushed module pin, local to the used remote. type PushResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -246,24 +235,24 @@ func (x *PushResponse) ProtoReflect() protoreflect.Message { func (x *PushResponse) GetLocalModulePin() *LocalModulePin { if x != nil { - return x.LocalModulePin + return x.xxx_hidden_LocalModulePin } return nil } func (x *PushResponse) SetLocalModulePin(v *LocalModulePin) { - x.LocalModulePin = v + x.xxx_hidden_LocalModulePin = v } func (x *PushResponse) HasLocalModulePin() bool { if x == nil { return false } - return x.LocalModulePin != nil + return x.xxx_hidden_LocalModulePin != nil } func (x *PushResponse) ClearLocalModulePin() { - x.LocalModulePin = nil + x.xxx_hidden_LocalModulePin = nil } type PushResponse_builder struct { @@ -276,35 +265,22 @@ func (b0 PushResponse_builder) Build() *PushResponse { m0 := &PushResponse{} b, x := &b0, m0 _, _ = b, x - x.LocalModulePin = b.LocalModulePin + x.xxx_hidden_LocalModulePin = b.LocalModulePin return m0 } // PushManifestAndBlobsRequest holds the module to push in the manifest+blobs // encoding format. type PushManifestAndBlobsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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: - // - // :[SP][SP][LF] - // - // The only current supported digest type is 'shake256'. The shake256 digest consists of 64 bytes of lowercase hex - // encoded output of SHAKE256. See buf.alpha.module.v1alpha1.Digest for more details. - Manifest *v1alpha1.Blob `protobuf:"bytes,3,opt,name=manifest,proto3" json:"manifest,omitempty"` - // Referenced blobs in the manifest. Keep in mind there is not necessarily one - // blob per file, but one blob per digest, so for files with exactly the same - // content, you can send just one blob. - Blobs []*v1alpha1.Blob `protobuf:"bytes,4,rep,name=blobs,proto3" json:"blobs,omitempty"` - // Optional; if provided, the provided tags - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Manifest *v1alpha1.Blob `protobuf:"bytes,3,opt,name=manifest,proto3" json:"manifest,omitempty"` + xxx_hidden_Blobs *[]*v1alpha1.Blob `protobuf:"bytes,4,rep,name=blobs,proto3" json:"blobs,omitempty"` + xxx_hidden_Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + xxx_hidden_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() { @@ -334,79 +310,81 @@ func (x *PushManifestAndBlobsRequest) ProtoReflect() protoreflect.Message { func (x *PushManifestAndBlobsRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *PushManifestAndBlobsRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *PushManifestAndBlobsRequest) GetManifest() *v1alpha1.Blob { if x != nil { - return x.Manifest + return x.xxx_hidden_Manifest } return nil } func (x *PushManifestAndBlobsRequest) GetBlobs() []*v1alpha1.Blob { if x != nil { - return x.Blobs + if x.xxx_hidden_Blobs != nil { + return *x.xxx_hidden_Blobs + } } return nil } func (x *PushManifestAndBlobsRequest) GetTags() []string { if x != nil { - return x.Tags + return x.xxx_hidden_Tags } return nil } func (x *PushManifestAndBlobsRequest) GetDraftName() string { if x != nil { - return x.DraftName + return x.xxx_hidden_DraftName } return "" } func (x *PushManifestAndBlobsRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *PushManifestAndBlobsRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *PushManifestAndBlobsRequest) SetManifest(v *v1alpha1.Blob) { - x.Manifest = v + x.xxx_hidden_Manifest = v } func (x *PushManifestAndBlobsRequest) SetBlobs(v []*v1alpha1.Blob) { - x.Blobs = v + x.xxx_hidden_Blobs = &v } func (x *PushManifestAndBlobsRequest) SetTags(v []string) { - x.Tags = v + x.xxx_hidden_Tags = v } func (x *PushManifestAndBlobsRequest) SetDraftName(v string) { - x.DraftName = v + x.xxx_hidden_DraftName = v } func (x *PushManifestAndBlobsRequest) HasManifest() bool { if x == nil { return false } - return x.Manifest != nil + return x.xxx_hidden_Manifest != nil } func (x *PushManifestAndBlobsRequest) ClearManifest() { - x.Manifest = nil + x.xxx_hidden_Manifest = nil } type PushManifestAndBlobsRequest_builder struct { @@ -437,22 +415,22 @@ func (b0 PushManifestAndBlobsRequest_builder) Build() *PushManifestAndBlobsReque m0 := &PushManifestAndBlobsRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Manifest = b.Manifest - x.Blobs = b.Blobs - x.Tags = b.Tags - x.DraftName = b.DraftName + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Manifest = b.Manifest + x.xxx_hidden_Blobs = &b.Blobs + x.xxx_hidden_Tags = b.Tags + x.xxx_hidden_DraftName = b.DraftName return m0 } // PushManifestAndBlobsResponse is the pushed module pin, local to the used // remote. type PushManifestAndBlobsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -482,24 +460,24 @@ func (x *PushManifestAndBlobsResponse) ProtoReflect() protoreflect.Message { func (x *PushManifestAndBlobsResponse) GetLocalModulePin() *LocalModulePin { if x != nil { - return x.LocalModulePin + return x.xxx_hidden_LocalModulePin } return nil } func (x *PushManifestAndBlobsResponse) SetLocalModulePin(v *LocalModulePin) { - x.LocalModulePin = v + x.xxx_hidden_LocalModulePin = v } func (x *PushManifestAndBlobsResponse) HasLocalModulePin() bool { if x == nil { return false } - return x.LocalModulePin != nil + return x.xxx_hidden_LocalModulePin != nil } func (x *PushManifestAndBlobsResponse) ClearLocalModulePin() { - x.LocalModulePin = nil + x.xxx_hidden_LocalModulePin = nil } type PushManifestAndBlobsResponse_builder struct { @@ -512,7 +490,7 @@ func (b0 PushManifestAndBlobsResponse_builder) Build() *PushManifestAndBlobsResp m0 := &PushManifestAndBlobsResponse{} b, x := &b0, m0 _, _ = b, x - x.LocalModulePin = b.LocalModulePin + x.xxx_hidden_LocalModulePin = b.LocalModulePin return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/push_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/push_protoopaque.pb.go deleted file mode 100644 index 7abdb10073..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/push_protoopaque.pb.go +++ /dev/null @@ -1,644 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/push.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - v1alpha1 "github.com/bufbuild/buf/private/gen/proto/go/buf/alpha/module/v1alpha1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// PushRequest specifies the module to push to the BSR. -type PushRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` - xxx_hidden_Module *v1alpha1.Module `protobuf:"bytes,4,opt,name=module,proto3" json:"module,omitempty"` - xxx_hidden_Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - xxx_hidden_Tracks []string `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"` - xxx_hidden_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() { - *x = PushRequest{} - mi := &file_buf_alpha_registry_v1alpha1_push_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PushRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushRequest) ProtoMessage() {} - -func (x *PushRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_push_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PushRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *PushRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/push.proto. -func (x *PushRequest) GetBranch() string { - if x != nil { - return x.xxx_hidden_Branch - } - return "" -} - -func (x *PushRequest) GetModule() *v1alpha1.Module { - if x != nil { - return x.xxx_hidden_Module - } - return nil -} - -func (x *PushRequest) GetTags() []string { - if x != nil { - return x.xxx_hidden_Tags - } - return nil -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/push.proto. -func (x *PushRequest) GetTracks() []string { - if x != nil { - return x.xxx_hidden_Tracks - } - return nil -} - -func (x *PushRequest) GetDraftName() string { - if x != nil { - return x.xxx_hidden_DraftName - } - return "" -} - -func (x *PushRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *PushRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/push.proto. -func (x *PushRequest) SetBranch(v string) { - x.xxx_hidden_Branch = v -} - -func (x *PushRequest) SetModule(v *v1alpha1.Module) { - x.xxx_hidden_Module = v -} - -func (x *PushRequest) SetTags(v []string) { - x.xxx_hidden_Tags = v -} - -// Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/push.proto. -func (x *PushRequest) SetTracks(v []string) { - x.xxx_hidden_Tracks = v -} - -func (x *PushRequest) SetDraftName(v string) { - x.xxx_hidden_DraftName = v -} - -func (x *PushRequest) HasModule() bool { - if x == nil { - return false - } - return x.xxx_hidden_Module != nil -} - -func (x *PushRequest) ClearModule() { - x.xxx_hidden_Module = nil -} - -type PushRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/push.proto. - Branch string - Module *v1alpha1.Module - // Optional; if provided, the provided tags - // are created for the pushed commit. - Tags []string - // Optional; if provided, the pushed commit - // will be appended to these tracks. If the - // tracks do not exist, they will be created. - // - // Deprecated: Marked as deprecated in buf/alpha/registry/v1alpha1/push.proto. - Tracks []string - // If non-empty, the push creates a draft commit with this name. - DraftName string -} - -func (b0 PushRequest_builder) Build() *PushRequest { - m0 := &PushRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Branch = b.Branch - x.xxx_hidden_Module = b.Module - x.xxx_hidden_Tags = b.Tags - x.xxx_hidden_Tracks = b.Tracks - x.xxx_hidden_DraftName = b.DraftName - return m0 -} - -// PushResponse is the pushed module pin, local to the used remote. -type PushResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = PushResponse{} - mi := &file_buf_alpha_registry_v1alpha1_push_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PushResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushResponse) ProtoMessage() {} - -func (x *PushResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_push_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PushResponse) GetLocalModulePin() *LocalModulePin { - if x != nil { - return x.xxx_hidden_LocalModulePin - } - return nil -} - -func (x *PushResponse) SetLocalModulePin(v *LocalModulePin) { - x.xxx_hidden_LocalModulePin = v -} - -func (x *PushResponse) HasLocalModulePin() bool { - if x == nil { - return false - } - return x.xxx_hidden_LocalModulePin != nil -} - -func (x *PushResponse) ClearLocalModulePin() { - x.xxx_hidden_LocalModulePin = nil -} - -type PushResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - LocalModulePin *LocalModulePin -} - -func (b0 PushResponse_builder) Build() *PushResponse { - m0 := &PushResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_LocalModulePin = b.LocalModulePin - return m0 -} - -// PushManifestAndBlobsRequest holds the module to push in the manifest+blobs -// encoding format. -type PushManifestAndBlobsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Manifest *v1alpha1.Blob `protobuf:"bytes,3,opt,name=manifest,proto3" json:"manifest,omitempty"` - xxx_hidden_Blobs *[]*v1alpha1.Blob `protobuf:"bytes,4,rep,name=blobs,proto3" json:"blobs,omitempty"` - xxx_hidden_Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - xxx_hidden_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() { - *x = PushManifestAndBlobsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_push_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PushManifestAndBlobsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushManifestAndBlobsRequest) ProtoMessage() {} - -func (x *PushManifestAndBlobsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_push_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PushManifestAndBlobsRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *PushManifestAndBlobsRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *PushManifestAndBlobsRequest) GetManifest() *v1alpha1.Blob { - if x != nil { - return x.xxx_hidden_Manifest - } - return nil -} - -func (x *PushManifestAndBlobsRequest) GetBlobs() []*v1alpha1.Blob { - if x != nil { - if x.xxx_hidden_Blobs != nil { - return *x.xxx_hidden_Blobs - } - } - return nil -} - -func (x *PushManifestAndBlobsRequest) GetTags() []string { - if x != nil { - return x.xxx_hidden_Tags - } - return nil -} - -func (x *PushManifestAndBlobsRequest) GetDraftName() string { - if x != nil { - return x.xxx_hidden_DraftName - } - return "" -} - -func (x *PushManifestAndBlobsRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *PushManifestAndBlobsRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *PushManifestAndBlobsRequest) SetManifest(v *v1alpha1.Blob) { - x.xxx_hidden_Manifest = v -} - -func (x *PushManifestAndBlobsRequest) SetBlobs(v []*v1alpha1.Blob) { - x.xxx_hidden_Blobs = &v -} - -func (x *PushManifestAndBlobsRequest) SetTags(v []string) { - x.xxx_hidden_Tags = v -} - -func (x *PushManifestAndBlobsRequest) SetDraftName(v string) { - x.xxx_hidden_DraftName = v -} - -func (x *PushManifestAndBlobsRequest) HasManifest() bool { - if x == nil { - return false - } - return x.xxx_hidden_Manifest != nil -} - -func (x *PushManifestAndBlobsRequest) ClearManifest() { - x.xxx_hidden_Manifest = nil -} - -type PushManifestAndBlobsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Repository string - // 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: - // - // :[SP][SP][LF] - // - // The only current supported digest type is 'shake256'. The shake256 digest consists of 64 bytes of lowercase hex - // encoded output of SHAKE256. See buf.alpha.module.v1alpha1.Digest for more details. - Manifest *v1alpha1.Blob - // Referenced blobs in the manifest. Keep in mind there is not necessarily one - // blob per file, but one blob per digest, so for files with exactly the same - // content, you can send just one blob. - Blobs []*v1alpha1.Blob - // Optional; if provided, the provided tags - // are created for the pushed commit. - Tags []string - // If non-empty, the push creates a draft commit with this name. - DraftName string -} - -func (b0 PushManifestAndBlobsRequest_builder) Build() *PushManifestAndBlobsRequest { - m0 := &PushManifestAndBlobsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Manifest = b.Manifest - x.xxx_hidden_Blobs = &b.Blobs - x.xxx_hidden_Tags = b.Tags - x.xxx_hidden_DraftName = b.DraftName - return m0 -} - -// PushManifestAndBlobsResponse is the pushed module pin, local to the used -// remote. -type PushManifestAndBlobsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = PushManifestAndBlobsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_push_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PushManifestAndBlobsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushManifestAndBlobsResponse) ProtoMessage() {} - -func (x *PushManifestAndBlobsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_push_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *PushManifestAndBlobsResponse) GetLocalModulePin() *LocalModulePin { - if x != nil { - return x.xxx_hidden_LocalModulePin - } - return nil -} - -func (x *PushManifestAndBlobsResponse) SetLocalModulePin(v *LocalModulePin) { - x.xxx_hidden_LocalModulePin = v -} - -func (x *PushManifestAndBlobsResponse) HasLocalModulePin() bool { - if x == nil { - return false - } - return x.xxx_hidden_LocalModulePin != nil -} - -func (x *PushManifestAndBlobsResponse) ClearLocalModulePin() { - x.xxx_hidden_LocalModulePin = nil -} - -type PushManifestAndBlobsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - LocalModulePin *LocalModulePin -} - -func (b0 PushManifestAndBlobsResponse_builder) Build() *PushManifestAndBlobsResponse { - m0 := &PushManifestAndBlobsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_LocalModulePin = b.LocalModulePin - return m0 -} - -var File_buf_alpha_registry_v1alpha1_push_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_push_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x75, - 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x62, - 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x01, 0x0a, 0x0b, 0x50, 0x75, 0x73, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, - 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, - 0x01, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x39, 0x0a, 0x06, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x06, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1a, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x63, - 0x6b, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x74, 0x72, - 0x61, 0x63, 0x6b, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x72, 0x61, 0x66, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0x65, 0x0a, 0x0c, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x10, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, - 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x52, 0x0e, 0x6c, 0x6f, 0x63, 0x61, - 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x22, 0xfa, 0x01, 0x0a, 0x1b, 0x50, - 0x75, 0x73, 0x68, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x41, 0x6e, 0x64, 0x42, 0x6c, - 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, - 0x6c, 0x6f, 0x62, 0x52, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, - 0x05, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x05, 0x62, - 0x6c, 0x6f, 0x62, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x72, 0x61, 0x66, - 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x72, - 0x61, 0x66, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x75, 0x0a, 0x1c, 0x50, 0x75, 0x73, 0x68, 0x4d, - 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x41, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x10, 0x6c, 0x6f, 0x63, 0x61, 0x6c, - 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x52, 0x0e, - 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x32, 0x82, - 0x02, 0x0a, 0x0b, 0x50, 0x75, 0x73, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x60, - 0x0a, 0x04, 0x50, 0x75, 0x73, 0x68, 0x12, 0x28, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, - 0x12, 0x90, 0x01, 0x0a, 0x14, 0x50, 0x75, 0x73, 0x68, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, - 0x74, 0x41, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4d, 0x61, 0x6e, 0x69, - 0x66, 0x65, 0x73, 0x74, 0x41, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x41, 0x6e, - 0x64, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, - 0x90, 0x02, 0x02, 0x42, 0x96, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x09, 0x50, 0x75, 0x73, 0x68, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, - 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, - 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_push_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_buf_alpha_registry_v1alpha1_push_proto_goTypes = []any{ - (*PushRequest)(nil), // 0: buf.alpha.registry.v1alpha1.PushRequest - (*PushResponse)(nil), // 1: buf.alpha.registry.v1alpha1.PushResponse - (*PushManifestAndBlobsRequest)(nil), // 2: buf.alpha.registry.v1alpha1.PushManifestAndBlobsRequest - (*PushManifestAndBlobsResponse)(nil), // 3: buf.alpha.registry.v1alpha1.PushManifestAndBlobsResponse - (*v1alpha1.Module)(nil), // 4: buf.alpha.module.v1alpha1.Module - (*LocalModulePin)(nil), // 5: buf.alpha.registry.v1alpha1.LocalModulePin - (*v1alpha1.Blob)(nil), // 6: buf.alpha.module.v1alpha1.Blob -} -var file_buf_alpha_registry_v1alpha1_push_proto_depIdxs = []int32{ - 4, // 0: buf.alpha.registry.v1alpha1.PushRequest.module:type_name -> buf.alpha.module.v1alpha1.Module - 5, // 1: buf.alpha.registry.v1alpha1.PushResponse.local_module_pin:type_name -> buf.alpha.registry.v1alpha1.LocalModulePin - 6, // 2: buf.alpha.registry.v1alpha1.PushManifestAndBlobsRequest.manifest:type_name -> buf.alpha.module.v1alpha1.Blob - 6, // 3: buf.alpha.registry.v1alpha1.PushManifestAndBlobsRequest.blobs:type_name -> buf.alpha.module.v1alpha1.Blob - 5, // 4: buf.alpha.registry.v1alpha1.PushManifestAndBlobsResponse.local_module_pin:type_name -> buf.alpha.registry.v1alpha1.LocalModulePin - 0, // 5: buf.alpha.registry.v1alpha1.PushService.Push:input_type -> buf.alpha.registry.v1alpha1.PushRequest - 2, // 6: buf.alpha.registry.v1alpha1.PushService.PushManifestAndBlobs:input_type -> buf.alpha.registry.v1alpha1.PushManifestAndBlobsRequest - 1, // 7: buf.alpha.registry.v1alpha1.PushService.Push:output_type -> buf.alpha.registry.v1alpha1.PushResponse - 3, // 8: buf.alpha.registry.v1alpha1.PushService.PushManifestAndBlobs:output_type -> buf.alpha.registry.v1alpha1.PushManifestAndBlobsResponse - 7, // [7:9] is the sub-list for method output_type - 5, // [5:7] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_push_proto_init() } -func file_buf_alpha_registry_v1alpha1_push_proto_init() { - if File_buf_alpha_registry_v1alpha1_push_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_module_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_push_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_push_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_push_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_push_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_push_proto = out.File - file_buf_alpha_registry_v1alpha1_push_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_push_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_push_proto_depIdxs = nil -} 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 0e9045982b..9e1a6306ad 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/recommendation.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -39,14 +37,14 @@ const ( // RecommendedRepository is the information about a repository needed to link to // its owner page. type RecommendedRepository struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + xxx_hidden_Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + xxx_hidden_RepositoryId string `protobuf:"bytes,5,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RecommendedRepository) Reset() { @@ -76,68 +74,68 @@ func (x *RecommendedRepository) ProtoReflect() protoreflect.Message { func (x *RecommendedRepository) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *RecommendedRepository) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *RecommendedRepository) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *RecommendedRepository) GetDescription() string { if x != nil { - return x.Description + return x.xxx_hidden_Description } return "" } func (x *RecommendedRepository) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *RecommendedRepository) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *RecommendedRepository) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *RecommendedRepository) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *RecommendedRepository) SetDescription(v string) { - x.Description = v + x.xxx_hidden_Description = v } func (x *RecommendedRepository) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *RecommendedRepository) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *RecommendedRepository) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } type RecommendedRepository_builder struct { @@ -154,21 +152,21 @@ func (b0 RecommendedRepository_builder) Build() *RecommendedRepository { m0 := &RecommendedRepository{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Name = b.Name - x.CreateTime = b.CreateTime - x.Description = b.Description - x.RepositoryId = b.RepositoryId + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Name = b.Name + x.xxx_hidden_CreateTime = b.CreateTime + x.xxx_hidden_Description = b.Description + x.xxx_hidden_RepositoryId = b.RepositoryId return m0 } // SetRecommendedResource is the information needed to configure a resource recommendation type SetRecommendedResource struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetRecommendedResource) Reset() { @@ -198,24 +196,24 @@ func (x *SetRecommendedResource) ProtoReflect() protoreflect.Message { func (x *SetRecommendedResource) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *SetRecommendedResource) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *SetRecommendedResource) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *SetRecommendedResource) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } type SetRecommendedResource_builder struct { @@ -229,13 +227,13 @@ func (b0 SetRecommendedResource_builder) Build() *SetRecommendedResource { m0 := &SetRecommendedResource{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Name = b.Name + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Name = b.Name return m0 } type RecommendedRepositoriesRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -278,10 +276,10 @@ func (b0 RecommendedRepositoriesRequest_builder) Build() *RecommendedRepositorie } type RecommendedRepositoriesResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Repositories []*RecommendedRepository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Repositories *[]*RecommendedRepository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RecommendedRepositoriesResponse) Reset() { @@ -311,13 +309,15 @@ func (x *RecommendedRepositoriesResponse) ProtoReflect() protoreflect.Message { func (x *RecommendedRepositoriesResponse) GetRepositories() []*RecommendedRepository { if x != nil { - return x.Repositories + if x.xxx_hidden_Repositories != nil { + return *x.xxx_hidden_Repositories + } } return nil } func (x *RecommendedRepositoriesResponse) SetRepositories(v []*RecommendedRepository) { - x.Repositories = v + x.xxx_hidden_Repositories = &v } type RecommendedRepositoriesResponse_builder struct { @@ -330,12 +330,12 @@ func (b0 RecommendedRepositoriesResponse_builder) Build() *RecommendedRepositori m0 := &RecommendedRepositoriesResponse{} b, x := &b0, m0 _, _ = b, x - x.Repositories = b.Repositories + x.xxx_hidden_Repositories = &b.Repositories return m0 } type ListRecommendedResourcesRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -378,10 +378,10 @@ func (b0 ListRecommendedResourcesRequest_builder) Build() *ListRecommendedResour } type ListRecommendedResourcesResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Resources *[]*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRecommendedResourcesResponse) Reset() { @@ -411,13 +411,15 @@ func (x *ListRecommendedResourcesResponse) ProtoReflect() protoreflect.Message { func (x *ListRecommendedResourcesResponse) GetResources() []*Resource { if x != nil { - return x.Resources + if x.xxx_hidden_Resources != nil { + return *x.xxx_hidden_Resources + } } return nil } func (x *ListRecommendedResourcesResponse) SetResources(v []*Resource) { - x.Resources = v + x.xxx_hidden_Resources = &v } type ListRecommendedResourcesResponse_builder struct { @@ -430,15 +432,15 @@ func (b0 ListRecommendedResourcesResponse_builder) Build() *ListRecommendedResou m0 := &ListRecommendedResourcesResponse{} b, x := &b0, m0 _, _ = b, x - x.Resources = b.Resources + x.xxx_hidden_Resources = &b.Resources return m0 } type SetRecommendedResourcesRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Resources []*SetRecommendedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Resources *[]*SetRecommendedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetRecommendedResourcesRequest) Reset() { @@ -468,13 +470,15 @@ func (x *SetRecommendedResourcesRequest) ProtoReflect() protoreflect.Message { func (x *SetRecommendedResourcesRequest) GetResources() []*SetRecommendedResource { if x != nil { - return x.Resources + if x.xxx_hidden_Resources != nil { + return *x.xxx_hidden_Resources + } } return nil } func (x *SetRecommendedResourcesRequest) SetResources(v []*SetRecommendedResource) { - x.Resources = v + x.xxx_hidden_Resources = &v } type SetRecommendedResourcesRequest_builder struct { @@ -487,12 +491,12 @@ func (b0 SetRecommendedResourcesRequest_builder) Build() *SetRecommendedResource m0 := &SetRecommendedResourcesRequest{} b, x := &b0, m0 _, _ = b, x - x.Resources = b.Resources + x.xxx_hidden_Resources = &b.Resources return m0 } type SetRecommendedResourcesResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/recommendation_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/recommendation_protoopaque.pb.go deleted file mode 100644 index e7cde2473b..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/recommendation_protoopaque.pb.go +++ /dev/null @@ -1,708 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/recommendation.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// RecommendedRepository is the information about a repository needed to link to -// its owner page. -type RecommendedRepository struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - xxx_hidden_Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - xxx_hidden_RepositoryId string `protobuf:"bytes,5,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RecommendedRepository) Reset() { - *x = RecommendedRepository{} - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RecommendedRepository) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RecommendedRepository) ProtoMessage() {} - -func (x *RecommendedRepository) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RecommendedRepository) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *RecommendedRepository) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *RecommendedRepository) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *RecommendedRepository) GetDescription() string { - if x != nil { - return x.xxx_hidden_Description - } - return "" -} - -func (x *RecommendedRepository) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *RecommendedRepository) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *RecommendedRepository) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *RecommendedRepository) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *RecommendedRepository) SetDescription(v string) { - x.xxx_hidden_Description = v -} - -func (x *RecommendedRepository) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *RecommendedRepository) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *RecommendedRepository) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -type RecommendedRepository_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Name string - CreateTime *timestamppb.Timestamp - Description string - RepositoryId string -} - -func (b0 RecommendedRepository_builder) Build() *RecommendedRepository { - m0 := &RecommendedRepository{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Name = b.Name - x.xxx_hidden_CreateTime = b.CreateTime - x.xxx_hidden_Description = b.Description - x.xxx_hidden_RepositoryId = b.RepositoryId - return m0 -} - -// SetRecommendedResource is the information needed to configure a resource recommendation -type SetRecommendedResource struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetRecommendedResource) Reset() { - *x = SetRecommendedResource{} - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetRecommendedResource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetRecommendedResource) ProtoMessage() {} - -func (x *SetRecommendedResource) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SetRecommendedResource) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *SetRecommendedResource) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *SetRecommendedResource) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *SetRecommendedResource) SetName(v string) { - x.xxx_hidden_Name = v -} - -type SetRecommendedResource_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Owner string - Name string -} - -func (b0 SetRecommendedResource_builder) Build() *SetRecommendedResource { - m0 := &SetRecommendedResource{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Name = b.Name - return m0 -} - -type RecommendedRepositoriesRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RecommendedRepositoriesRequest) Reset() { - *x = RecommendedRepositoriesRequest{} - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RecommendedRepositoriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RecommendedRepositoriesRequest) ProtoMessage() {} - -func (x *RecommendedRepositoriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type RecommendedRepositoriesRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 RecommendedRepositoriesRequest_builder) Build() *RecommendedRepositoriesRequest { - m0 := &RecommendedRepositoriesRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type RecommendedRepositoriesResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Repositories *[]*RecommendedRepository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RecommendedRepositoriesResponse) Reset() { - *x = RecommendedRepositoriesResponse{} - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RecommendedRepositoriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RecommendedRepositoriesResponse) ProtoMessage() {} - -func (x *RecommendedRepositoriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RecommendedRepositoriesResponse) GetRepositories() []*RecommendedRepository { - if x != nil { - if x.xxx_hidden_Repositories != nil { - return *x.xxx_hidden_Repositories - } - } - return nil -} - -func (x *RecommendedRepositoriesResponse) SetRepositories(v []*RecommendedRepository) { - x.xxx_hidden_Repositories = &v -} - -type RecommendedRepositoriesResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Repositories []*RecommendedRepository -} - -func (b0 RecommendedRepositoriesResponse_builder) Build() *RecommendedRepositoriesResponse { - m0 := &RecommendedRepositoriesResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Repositories = &b.Repositories - return m0 -} - -type ListRecommendedResourcesRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListRecommendedResourcesRequest) Reset() { - *x = ListRecommendedResourcesRequest{} - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRecommendedResourcesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRecommendedResourcesRequest) ProtoMessage() {} - -func (x *ListRecommendedResourcesRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type ListRecommendedResourcesRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 ListRecommendedResourcesRequest_builder) Build() *ListRecommendedResourcesRequest { - m0 := &ListRecommendedResourcesRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type ListRecommendedResourcesResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Resources *[]*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListRecommendedResourcesResponse) Reset() { - *x = ListRecommendedResourcesResponse{} - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRecommendedResourcesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRecommendedResourcesResponse) ProtoMessage() {} - -func (x *ListRecommendedResourcesResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRecommendedResourcesResponse) GetResources() []*Resource { - if x != nil { - if x.xxx_hidden_Resources != nil { - return *x.xxx_hidden_Resources - } - } - return nil -} - -func (x *ListRecommendedResourcesResponse) SetResources(v []*Resource) { - x.xxx_hidden_Resources = &v -} - -type ListRecommendedResourcesResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Resources []*Resource -} - -func (b0 ListRecommendedResourcesResponse_builder) Build() *ListRecommendedResourcesResponse { - m0 := &ListRecommendedResourcesResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Resources = &b.Resources - return m0 -} - -type SetRecommendedResourcesRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Resources *[]*SetRecommendedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetRecommendedResourcesRequest) Reset() { - *x = SetRecommendedResourcesRequest{} - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetRecommendedResourcesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetRecommendedResourcesRequest) ProtoMessage() {} - -func (x *SetRecommendedResourcesRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SetRecommendedResourcesRequest) GetResources() []*SetRecommendedResource { - if x != nil { - if x.xxx_hidden_Resources != nil { - return *x.xxx_hidden_Resources - } - } - return nil -} - -func (x *SetRecommendedResourcesRequest) SetResources(v []*SetRecommendedResource) { - x.xxx_hidden_Resources = &v -} - -type SetRecommendedResourcesRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Resources []*SetRecommendedResource -} - -func (b0 SetRecommendedResourcesRequest_builder) Build() *SetRecommendedResourcesRequest { - m0 := &SetRecommendedResourcesRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Resources = &b.Resources - return m0 -} - -type SetRecommendedResourcesResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetRecommendedResourcesResponse) Reset() { - *x = SetRecommendedResourcesResponse{} - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetRecommendedResourcesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetRecommendedResourcesResponse) ProtoMessage() {} - -func (x *SetRecommendedResourcesResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type SetRecommendedResourcesResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 SetRecommendedResourcesResponse_builder) Build() *SetRecommendedResourcesResponse { - m0 := &SetRecommendedResourcesResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -var File_buf_alpha_registry_v1alpha1_recommendation_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_recommendation_proto_rawDesc = []byte{ - 0x0a, 0x30, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, - 0x2a, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x01, 0x0a, - 0x15, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, - 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x0a, 0x1e, 0x52, 0x65, 0x63, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x79, 0x0a, 0x1f, 0x52, 0x65, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, - 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x69, 0x65, 0x73, 0x22, 0x21, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, - 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x67, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x09, - 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x25, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x73, 0x22, 0x73, 0x0a, 0x1e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, - 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x51, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, - 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x21, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, - 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xee, 0x03, 0x0a, 0x15, 0x52, 0x65, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x99, 0x01, 0x0a, 0x17, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, - 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, - 0x3b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6d, - 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, - 0x9c, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, - 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x3c, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, - 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x99, - 0x01, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x3b, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, - 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x42, 0xa0, 0x02, 0x0a, 0x1f, 0x63, - 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x13, - 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, - 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, - 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, - 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_buf_alpha_registry_v1alpha1_recommendation_proto_goTypes = []any{ - (*RecommendedRepository)(nil), // 0: buf.alpha.registry.v1alpha1.RecommendedRepository - (*SetRecommendedResource)(nil), // 1: buf.alpha.registry.v1alpha1.SetRecommendedResource - (*RecommendedRepositoriesRequest)(nil), // 2: buf.alpha.registry.v1alpha1.RecommendedRepositoriesRequest - (*RecommendedRepositoriesResponse)(nil), // 3: buf.alpha.registry.v1alpha1.RecommendedRepositoriesResponse - (*ListRecommendedResourcesRequest)(nil), // 4: buf.alpha.registry.v1alpha1.ListRecommendedResourcesRequest - (*ListRecommendedResourcesResponse)(nil), // 5: buf.alpha.registry.v1alpha1.ListRecommendedResourcesResponse - (*SetRecommendedResourcesRequest)(nil), // 6: buf.alpha.registry.v1alpha1.SetRecommendedResourcesRequest - (*SetRecommendedResourcesResponse)(nil), // 7: buf.alpha.registry.v1alpha1.SetRecommendedResourcesResponse - (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp - (*Resource)(nil), // 9: buf.alpha.registry.v1alpha1.Resource -} -var file_buf_alpha_registry_v1alpha1_recommendation_proto_depIdxs = []int32{ - 8, // 0: buf.alpha.registry.v1alpha1.RecommendedRepository.create_time:type_name -> google.protobuf.Timestamp - 0, // 1: buf.alpha.registry.v1alpha1.RecommendedRepositoriesResponse.repositories:type_name -> buf.alpha.registry.v1alpha1.RecommendedRepository - 9, // 2: buf.alpha.registry.v1alpha1.ListRecommendedResourcesResponse.resources:type_name -> buf.alpha.registry.v1alpha1.Resource - 1, // 3: buf.alpha.registry.v1alpha1.SetRecommendedResourcesRequest.resources:type_name -> buf.alpha.registry.v1alpha1.SetRecommendedResource - 2, // 4: buf.alpha.registry.v1alpha1.RecommendationService.RecommendedRepositories:input_type -> buf.alpha.registry.v1alpha1.RecommendedRepositoriesRequest - 4, // 5: buf.alpha.registry.v1alpha1.RecommendationService.ListRecommendedResources:input_type -> buf.alpha.registry.v1alpha1.ListRecommendedResourcesRequest - 6, // 6: buf.alpha.registry.v1alpha1.RecommendationService.SetRecommendedResources:input_type -> buf.alpha.registry.v1alpha1.SetRecommendedResourcesRequest - 3, // 7: buf.alpha.registry.v1alpha1.RecommendationService.RecommendedRepositories:output_type -> buf.alpha.registry.v1alpha1.RecommendedRepositoriesResponse - 5, // 8: buf.alpha.registry.v1alpha1.RecommendationService.ListRecommendedResources:output_type -> buf.alpha.registry.v1alpha1.ListRecommendedResourcesResponse - 7, // 9: buf.alpha.registry.v1alpha1.RecommendationService.SetRecommendedResources:output_type -> buf.alpha.registry.v1alpha1.SetRecommendedResourcesResponse - 7, // [7:10] is the sub-list for method output_type - 4, // [4:7] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_recommendation_proto_init() } -func file_buf_alpha_registry_v1alpha1_recommendation_proto_init() { - if File_buf_alpha_registry_v1alpha1_recommendation_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_resource_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_recommendation_proto_rawDesc, - NumEnums: 0, - NumMessages: 8, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_recommendation_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_recommendation_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_recommendation_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_recommendation_proto = out.File - file_buf_alpha_registry_v1alpha1_recommendation_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_recommendation_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_recommendation_proto_depIdxs = nil -} 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 c23dfed776..753643a510 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/reference.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -37,18 +35,10 @@ const ( ) type Reference struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Types that are valid to be assigned to Reference: - // - // *Reference_Branch - // *Reference_Tag - // *Reference_Commit - // *Reference_Main - // *Reference_Draft - // *Reference_VcsCommit - Reference isReference_Reference `protobuf_oneof:"reference"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Reference isReference_Reference `protobuf_oneof:"reference"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Reference) Reset() { @@ -76,16 +66,9 @@ func (x *Reference) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -func (x *Reference) GetReference() isReference_Reference { - if x != nil { - return x.Reference - } - return nil -} - func (x *Reference) GetBranch() *RepositoryBranch { if x != nil { - if x, ok := x.Reference.(*Reference_Branch); ok { + if x, ok := x.xxx_hidden_Reference.(*reference_Branch); ok { return x.Branch } } @@ -94,7 +77,7 @@ func (x *Reference) GetBranch() *RepositoryBranch { func (x *Reference) GetTag() *RepositoryTag { if x != nil { - if x, ok := x.Reference.(*Reference_Tag); ok { + if x, ok := x.xxx_hidden_Reference.(*reference_Tag); ok { return x.Tag } } @@ -103,7 +86,7 @@ func (x *Reference) GetTag() *RepositoryTag { func (x *Reference) GetCommit() *RepositoryCommit { if x != nil { - if x, ok := x.Reference.(*Reference_Commit); ok { + if x, ok := x.xxx_hidden_Reference.(*reference_Commit); ok { return x.Commit } } @@ -112,7 +95,7 @@ func (x *Reference) GetCommit() *RepositoryCommit { func (x *Reference) GetMain() *RepositoryMainReference { if x != nil { - if x, ok := x.Reference.(*Reference_Main); ok { + if x, ok := x.xxx_hidden_Reference.(*reference_Main); ok { return x.Main } } @@ -121,7 +104,7 @@ func (x *Reference) GetMain() *RepositoryMainReference { func (x *Reference) GetDraft() *RepositoryDraft { if x != nil { - if x, ok := x.Reference.(*Reference_Draft); ok { + if x, ok := x.xxx_hidden_Reference.(*reference_Draft); ok { return x.Draft } } @@ -130,7 +113,7 @@ func (x *Reference) GetDraft() *RepositoryDraft { func (x *Reference) GetVcsCommit() *RepositoryVCSCommit { if x != nil { - if x, ok := x.Reference.(*Reference_VcsCommit); ok { + if x, ok := x.xxx_hidden_Reference.(*reference_VcsCommit); ok { return x.VcsCommit } } @@ -139,64 +122,64 @@ func (x *Reference) GetVcsCommit() *RepositoryVCSCommit { func (x *Reference) SetBranch(v *RepositoryBranch) { if v == nil { - x.Reference = nil + x.xxx_hidden_Reference = nil return } - x.Reference = &Reference_Branch{v} + x.xxx_hidden_Reference = &reference_Branch{v} } func (x *Reference) SetTag(v *RepositoryTag) { if v == nil { - x.Reference = nil + x.xxx_hidden_Reference = nil return } - x.Reference = &Reference_Tag{v} + x.xxx_hidden_Reference = &reference_Tag{v} } func (x *Reference) SetCommit(v *RepositoryCommit) { if v == nil { - x.Reference = nil + x.xxx_hidden_Reference = nil return } - x.Reference = &Reference_Commit{v} + x.xxx_hidden_Reference = &reference_Commit{v} } func (x *Reference) SetMain(v *RepositoryMainReference) { if v == nil { - x.Reference = nil + x.xxx_hidden_Reference = nil return } - x.Reference = &Reference_Main{v} + x.xxx_hidden_Reference = &reference_Main{v} } func (x *Reference) SetDraft(v *RepositoryDraft) { if v == nil { - x.Reference = nil + x.xxx_hidden_Reference = nil return } - x.Reference = &Reference_Draft{v} + x.xxx_hidden_Reference = &reference_Draft{v} } func (x *Reference) SetVcsCommit(v *RepositoryVCSCommit) { if v == nil { - x.Reference = nil + x.xxx_hidden_Reference = nil return } - x.Reference = &Reference_VcsCommit{v} + x.xxx_hidden_Reference = &reference_VcsCommit{v} } func (x *Reference) HasReference() bool { if x == nil { return false } - return x.Reference != nil + return x.xxx_hidden_Reference != nil } func (x *Reference) HasBranch() bool { if x == nil { return false } - _, ok := x.Reference.(*Reference_Branch) + _, ok := x.xxx_hidden_Reference.(*reference_Branch) return ok } @@ -204,7 +187,7 @@ func (x *Reference) HasTag() bool { if x == nil { return false } - _, ok := x.Reference.(*Reference_Tag) + _, ok := x.xxx_hidden_Reference.(*reference_Tag) return ok } @@ -212,7 +195,7 @@ func (x *Reference) HasCommit() bool { if x == nil { return false } - _, ok := x.Reference.(*Reference_Commit) + _, ok := x.xxx_hidden_Reference.(*reference_Commit) return ok } @@ -220,7 +203,7 @@ func (x *Reference) HasMain() bool { if x == nil { return false } - _, ok := x.Reference.(*Reference_Main) + _, ok := x.xxx_hidden_Reference.(*reference_Main) return ok } @@ -228,7 +211,7 @@ func (x *Reference) HasDraft() bool { if x == nil { return false } - _, ok := x.Reference.(*Reference_Draft) + _, ok := x.xxx_hidden_Reference.(*reference_Draft) return ok } @@ -236,47 +219,47 @@ func (x *Reference) HasVcsCommit() bool { if x == nil { return false } - _, ok := x.Reference.(*Reference_VcsCommit) + _, ok := x.xxx_hidden_Reference.(*reference_VcsCommit) return ok } func (x *Reference) ClearReference() { - x.Reference = nil + x.xxx_hidden_Reference = nil } func (x *Reference) ClearBranch() { - if _, ok := x.Reference.(*Reference_Branch); ok { - x.Reference = nil + if _, ok := x.xxx_hidden_Reference.(*reference_Branch); ok { + x.xxx_hidden_Reference = nil } } func (x *Reference) ClearTag() { - if _, ok := x.Reference.(*Reference_Tag); ok { - x.Reference = nil + if _, ok := x.xxx_hidden_Reference.(*reference_Tag); ok { + x.xxx_hidden_Reference = nil } } func (x *Reference) ClearCommit() { - if _, ok := x.Reference.(*Reference_Commit); ok { - x.Reference = nil + if _, ok := x.xxx_hidden_Reference.(*reference_Commit); ok { + x.xxx_hidden_Reference = nil } } func (x *Reference) ClearMain() { - if _, ok := x.Reference.(*Reference_Main); ok { - x.Reference = nil + if _, ok := x.xxx_hidden_Reference.(*reference_Main); ok { + x.xxx_hidden_Reference = nil } } func (x *Reference) ClearDraft() { - if _, ok := x.Reference.(*Reference_Draft); ok { - x.Reference = nil + if _, ok := x.xxx_hidden_Reference.(*reference_Draft); ok { + x.xxx_hidden_Reference = nil } } func (x *Reference) ClearVcsCommit() { - if _, ok := x.Reference.(*Reference_VcsCommit); ok { - x.Reference = nil + if _, ok := x.xxx_hidden_Reference.(*reference_VcsCommit); ok { + x.xxx_hidden_Reference = nil } } @@ -292,18 +275,18 @@ func (x *Reference) WhichReference() case_Reference_Reference { if x == nil { return Reference_Reference_not_set_case } - switch x.Reference.(type) { - case *Reference_Branch: + switch x.xxx_hidden_Reference.(type) { + case *reference_Branch: return Reference_Branch_case - case *Reference_Tag: + case *reference_Tag: return Reference_Tag_case - case *Reference_Commit: + case *reference_Commit: return Reference_Commit_case - case *Reference_Main: + case *reference_Main: return Reference_Main_case - case *Reference_Draft: + case *reference_Draft: return Reference_Draft_case - case *Reference_VcsCommit: + case *reference_VcsCommit: return Reference_VcsCommit_case default: return Reference_Reference_not_set_case @@ -313,7 +296,7 @@ func (x *Reference) WhichReference() case_Reference_Reference { type Reference_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - // Fields of oneof Reference: + // Fields of oneof xxx_hidden_Reference: // The requested reference is a branch. Branch *RepositoryBranch // The requested reference is a tag. @@ -326,7 +309,7 @@ type Reference_builder struct { Draft *RepositoryDraft // The requested reference is a VCS commit. VcsCommit *RepositoryVCSCommit - // -- end of Reference + // -- end of xxx_hidden_Reference } func (b0 Reference_builder) Build() *Reference { @@ -334,22 +317,22 @@ func (b0 Reference_builder) Build() *Reference { b, x := &b0, m0 _, _ = b, x if b.Branch != nil { - x.Reference = &Reference_Branch{b.Branch} + x.xxx_hidden_Reference = &reference_Branch{b.Branch} } if b.Tag != nil { - x.Reference = &Reference_Tag{b.Tag} + x.xxx_hidden_Reference = &reference_Tag{b.Tag} } if b.Commit != nil { - x.Reference = &Reference_Commit{b.Commit} + x.xxx_hidden_Reference = &reference_Commit{b.Commit} } if b.Main != nil { - x.Reference = &Reference_Main{b.Main} + x.xxx_hidden_Reference = &reference_Main{b.Main} } if b.Draft != nil { - x.Reference = &Reference_Draft{b.Draft} + x.xxx_hidden_Reference = &reference_Draft{b.Draft} } if b.VcsCommit != nil { - x.Reference = &Reference_VcsCommit{b.VcsCommit} + x.xxx_hidden_Reference = &reference_VcsCommit{b.VcsCommit} } return m0 } @@ -368,57 +351,54 @@ type isReference_Reference interface { isReference_Reference() } -type Reference_Branch struct { +type reference_Branch struct { // The requested reference is a branch. Branch *RepositoryBranch `protobuf:"bytes,1,opt,name=branch,proto3,oneof"` } -type Reference_Tag struct { +type reference_Tag struct { // The requested reference is a tag. Tag *RepositoryTag `protobuf:"bytes,2,opt,name=tag,proto3,oneof"` } -type Reference_Commit struct { +type reference_Commit struct { // The requested reference is a commit. Commit *RepositoryCommit `protobuf:"bytes,3,opt,name=commit,proto3,oneof"` } -type Reference_Main struct { +type reference_Main struct { // The requested reference is the default reference. Main *RepositoryMainReference `protobuf:"bytes,5,opt,name=main,proto3,oneof"` } -type Reference_Draft struct { +type reference_Draft struct { // The requested reference is a draft commit. Draft *RepositoryDraft `protobuf:"bytes,6,opt,name=draft,proto3,oneof"` } -type Reference_VcsCommit struct { +type reference_VcsCommit struct { // The requested reference is a VCS commit. VcsCommit *RepositoryVCSCommit `protobuf:"bytes,7,opt,name=vcs_commit,json=vcsCommit,proto3,oneof"` } -func (*Reference_Branch) isReference_Reference() {} +func (*reference_Branch) isReference_Reference() {} -func (*Reference_Tag) isReference_Reference() {} +func (*reference_Tag) isReference_Reference() {} -func (*Reference_Commit) isReference_Reference() {} +func (*reference_Commit) isReference_Reference() {} -func (*Reference_Main) isReference_Reference() {} +func (*reference_Main) isReference_Reference() {} -func (*Reference_Draft) isReference_Reference() {} +func (*reference_Draft) isReference_Reference() {} -func (*Reference_VcsCommit) isReference_Reference() {} +func (*reference_VcsCommit) isReference_Reference() {} type RepositoryMainReference struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Commit *RepositoryCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryMainReference) Reset() { @@ -448,35 +428,35 @@ func (x *RepositoryMainReference) ProtoReflect() protoreflect.Message { func (x *RepositoryMainReference) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *RepositoryMainReference) GetCommit() *RepositoryCommit { if x != nil { - return x.Commit + return x.xxx_hidden_Commit } return nil } func (x *RepositoryMainReference) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *RepositoryMainReference) SetCommit(v *RepositoryCommit) { - x.Commit = v + x.xxx_hidden_Commit = v } func (x *RepositoryMainReference) HasCommit() bool { if x == nil { return false } - return x.Commit != nil + return x.xxx_hidden_Commit != nil } func (x *RepositoryMainReference) ClearCommit() { - x.Commit = nil + x.xxx_hidden_Commit = nil } type RepositoryMainReference_builder struct { @@ -493,19 +473,17 @@ func (b0 RepositoryMainReference_builder) Build() *RepositoryMainReference { m0 := &RepositoryMainReference{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Commit = b.Commit + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Commit = b.Commit return m0 } type RepositoryDraft struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Commit *RepositoryCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryDraft) Reset() { @@ -535,35 +513,35 @@ func (x *RepositoryDraft) ProtoReflect() protoreflect.Message { func (x *RepositoryDraft) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *RepositoryDraft) GetCommit() *RepositoryCommit { if x != nil { - return x.Commit + return x.xxx_hidden_Commit } return nil } func (x *RepositoryDraft) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *RepositoryDraft) SetCommit(v *RepositoryCommit) { - x.Commit = v + x.xxx_hidden_Commit = v } func (x *RepositoryDraft) HasCommit() bool { if x == nil { return false } - return x.Commit != nil + return x.xxx_hidden_Commit != nil } func (x *RepositoryDraft) ClearCommit() { - x.Commit = nil + x.xxx_hidden_Commit = nil } type RepositoryDraft_builder struct { @@ -579,23 +557,19 @@ func (b0 RepositoryDraft_builder) Build() *RepositoryDraft { m0 := &RepositoryDraft{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Commit = b.Commit + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Commit = b.Commit return m0 } type RepositoryVCSCommit struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // primary key, unique. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // immutable - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_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() { @@ -625,57 +599,57 @@ func (x *RepositoryVCSCommit) ProtoReflect() protoreflect.Message { func (x *RepositoryVCSCommit) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *RepositoryVCSCommit) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *RepositoryVCSCommit) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *RepositoryVCSCommit) GetCommitName() string { if x != nil { - return x.CommitName + return x.xxx_hidden_CommitName } return "" } func (x *RepositoryVCSCommit) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *RepositoryVCSCommit) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *RepositoryVCSCommit) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *RepositoryVCSCommit) SetCommitName(v string) { - x.CommitName = v + x.xxx_hidden_CommitName = v } func (x *RepositoryVCSCommit) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *RepositoryVCSCommit) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } type RepositoryVCSCommit_builder struct { @@ -695,23 +669,20 @@ func (b0 RepositoryVCSCommit_builder) Build() *RepositoryVCSCommit { m0 := &RepositoryVCSCommit{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.CreateTime = b.CreateTime - x.Name = b.Name - x.CommitName = b.CommitName + x.xxx_hidden_Id = b.Id + x.xxx_hidden_CreateTime = b.CreateTime + x.xxx_hidden_Name = b.Name + x.xxx_hidden_CommitName = b.CommitName return m0 } type GetReferenceByNameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_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() { @@ -741,35 +712,35 @@ func (x *GetReferenceByNameRequest) ProtoReflect() protoreflect.Message { func (x *GetReferenceByNameRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *GetReferenceByNameRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetReferenceByNameRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *GetReferenceByNameRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *GetReferenceByNameRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetReferenceByNameRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } type GetReferenceByNameRequest_builder struct { @@ -787,17 +758,17 @@ func (b0 GetReferenceByNameRequest_builder) Build() *GetReferenceByNameRequest { m0 := &GetReferenceByNameRequest{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name - x.Owner = b.Owner - x.RepositoryName = b.RepositoryName + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_RepositoryName = b.RepositoryName return m0 } type GetReferenceByNameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Reference *Reference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Reference *Reference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetReferenceByNameResponse) Reset() { @@ -827,24 +798,24 @@ func (x *GetReferenceByNameResponse) ProtoReflect() protoreflect.Message { func (x *GetReferenceByNameResponse) GetReference() *Reference { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return nil } func (x *GetReferenceByNameResponse) SetReference(v *Reference) { - x.Reference = v + x.xxx_hidden_Reference = v } func (x *GetReferenceByNameResponse) HasReference() bool { if x == nil { return false } - return x.Reference != nil + return x.xxx_hidden_Reference != nil } func (x *GetReferenceByNameResponse) ClearReference() { - x.Reference = nil + x.xxx_hidden_Reference = nil } type GetReferenceByNameResponse_builder struct { @@ -857,7 +828,7 @@ func (b0 GetReferenceByNameResponse_builder) Build() *GetReferenceByNameResponse m0 := &GetReferenceByNameResponse{} b, x := &b0, m0 _, _ = b, x - x.Reference = b.Reference + x.xxx_hidden_Reference = b.Reference return m0 } @@ -1020,12 +991,12 @@ func file_buf_alpha_registry_v1alpha1_reference_proto_init() { file_buf_alpha_registry_v1alpha1_repository_commit_proto_init() file_buf_alpha_registry_v1alpha1_repository_tag_proto_init() file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[0].OneofWrappers = []any{ - (*Reference_Branch)(nil), - (*Reference_Tag)(nil), - (*Reference_Commit)(nil), - (*Reference_Main)(nil), - (*Reference_Draft)(nil), - (*Reference_VcsCommit)(nil), + (*reference_Branch)(nil), + (*reference_Tag)(nil), + (*reference_Commit)(nil), + (*reference_Main)(nil), + (*reference_Draft)(nil), + (*reference_VcsCommit)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/reference_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/reference_protoopaque.pb.go deleted file mode 100644 index 1b0d7a3ab3..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/reference_protoopaque.pb.go +++ /dev/null @@ -1,1021 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/reference.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Reference struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Reference isReference_Reference `protobuf_oneof:"reference"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Reference) Reset() { - *x = Reference{} - mi := &file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Reference) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Reference) ProtoMessage() {} - -func (x *Reference) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Reference) GetBranch() *RepositoryBranch { - if x != nil { - if x, ok := x.xxx_hidden_Reference.(*reference_Branch); ok { - return x.Branch - } - } - return nil -} - -func (x *Reference) GetTag() *RepositoryTag { - if x != nil { - if x, ok := x.xxx_hidden_Reference.(*reference_Tag); ok { - return x.Tag - } - } - return nil -} - -func (x *Reference) GetCommit() *RepositoryCommit { - if x != nil { - if x, ok := x.xxx_hidden_Reference.(*reference_Commit); ok { - return x.Commit - } - } - return nil -} - -func (x *Reference) GetMain() *RepositoryMainReference { - if x != nil { - if x, ok := x.xxx_hidden_Reference.(*reference_Main); ok { - return x.Main - } - } - return nil -} - -func (x *Reference) GetDraft() *RepositoryDraft { - if x != nil { - if x, ok := x.xxx_hidden_Reference.(*reference_Draft); ok { - return x.Draft - } - } - return nil -} - -func (x *Reference) GetVcsCommit() *RepositoryVCSCommit { - if x != nil { - if x, ok := x.xxx_hidden_Reference.(*reference_VcsCommit); ok { - return x.VcsCommit - } - } - return nil -} - -func (x *Reference) SetBranch(v *RepositoryBranch) { - if v == nil { - x.xxx_hidden_Reference = nil - return - } - x.xxx_hidden_Reference = &reference_Branch{v} -} - -func (x *Reference) SetTag(v *RepositoryTag) { - if v == nil { - x.xxx_hidden_Reference = nil - return - } - x.xxx_hidden_Reference = &reference_Tag{v} -} - -func (x *Reference) SetCommit(v *RepositoryCommit) { - if v == nil { - x.xxx_hidden_Reference = nil - return - } - x.xxx_hidden_Reference = &reference_Commit{v} -} - -func (x *Reference) SetMain(v *RepositoryMainReference) { - if v == nil { - x.xxx_hidden_Reference = nil - return - } - x.xxx_hidden_Reference = &reference_Main{v} -} - -func (x *Reference) SetDraft(v *RepositoryDraft) { - if v == nil { - x.xxx_hidden_Reference = nil - return - } - x.xxx_hidden_Reference = &reference_Draft{v} -} - -func (x *Reference) SetVcsCommit(v *RepositoryVCSCommit) { - if v == nil { - x.xxx_hidden_Reference = nil - return - } - x.xxx_hidden_Reference = &reference_VcsCommit{v} -} - -func (x *Reference) HasReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_Reference != nil -} - -func (x *Reference) HasBranch() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Reference.(*reference_Branch) - return ok -} - -func (x *Reference) HasTag() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Reference.(*reference_Tag) - return ok -} - -func (x *Reference) HasCommit() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Reference.(*reference_Commit) - return ok -} - -func (x *Reference) HasMain() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Reference.(*reference_Main) - return ok -} - -func (x *Reference) HasDraft() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Reference.(*reference_Draft) - return ok -} - -func (x *Reference) HasVcsCommit() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Reference.(*reference_VcsCommit) - return ok -} - -func (x *Reference) ClearReference() { - x.xxx_hidden_Reference = nil -} - -func (x *Reference) ClearBranch() { - if _, ok := x.xxx_hidden_Reference.(*reference_Branch); ok { - x.xxx_hidden_Reference = nil - } -} - -func (x *Reference) ClearTag() { - if _, ok := x.xxx_hidden_Reference.(*reference_Tag); ok { - x.xxx_hidden_Reference = nil - } -} - -func (x *Reference) ClearCommit() { - if _, ok := x.xxx_hidden_Reference.(*reference_Commit); ok { - x.xxx_hidden_Reference = nil - } -} - -func (x *Reference) ClearMain() { - if _, ok := x.xxx_hidden_Reference.(*reference_Main); ok { - x.xxx_hidden_Reference = nil - } -} - -func (x *Reference) ClearDraft() { - if _, ok := x.xxx_hidden_Reference.(*reference_Draft); ok { - x.xxx_hidden_Reference = nil - } -} - -func (x *Reference) ClearVcsCommit() { - if _, ok := x.xxx_hidden_Reference.(*reference_VcsCommit); ok { - x.xxx_hidden_Reference = nil - } -} - -const Reference_Reference_not_set_case case_Reference_Reference = 0 -const Reference_Branch_case case_Reference_Reference = 1 -const Reference_Tag_case case_Reference_Reference = 2 -const Reference_Commit_case case_Reference_Reference = 3 -const Reference_Main_case case_Reference_Reference = 5 -const Reference_Draft_case case_Reference_Reference = 6 -const Reference_VcsCommit_case case_Reference_Reference = 7 - -func (x *Reference) WhichReference() case_Reference_Reference { - if x == nil { - return Reference_Reference_not_set_case - } - switch x.xxx_hidden_Reference.(type) { - case *reference_Branch: - return Reference_Branch_case - case *reference_Tag: - return Reference_Tag_case - case *reference_Commit: - return Reference_Commit_case - case *reference_Main: - return Reference_Main_case - case *reference_Draft: - return Reference_Draft_case - case *reference_VcsCommit: - return Reference_VcsCommit_case - default: - return Reference_Reference_not_set_case - } -} - -type Reference_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Fields of oneof xxx_hidden_Reference: - // The requested reference is a branch. - Branch *RepositoryBranch - // The requested reference is a tag. - Tag *RepositoryTag - // The requested reference is a commit. - Commit *RepositoryCommit - // The requested reference is the default reference. - Main *RepositoryMainReference - // The requested reference is a draft commit. - Draft *RepositoryDraft - // The requested reference is a VCS commit. - VcsCommit *RepositoryVCSCommit - // -- end of xxx_hidden_Reference -} - -func (b0 Reference_builder) Build() *Reference { - m0 := &Reference{} - b, x := &b0, m0 - _, _ = b, x - if b.Branch != nil { - x.xxx_hidden_Reference = &reference_Branch{b.Branch} - } - if b.Tag != nil { - x.xxx_hidden_Reference = &reference_Tag{b.Tag} - } - if b.Commit != nil { - x.xxx_hidden_Reference = &reference_Commit{b.Commit} - } - if b.Main != nil { - x.xxx_hidden_Reference = &reference_Main{b.Main} - } - if b.Draft != nil { - x.xxx_hidden_Reference = &reference_Draft{b.Draft} - } - if b.VcsCommit != nil { - x.xxx_hidden_Reference = &reference_VcsCommit{b.VcsCommit} - } - return m0 -} - -type case_Reference_Reference protoreflect.FieldNumber - -func (x case_Reference_Reference) String() string { - md := file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[0].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isReference_Reference interface { - isReference_Reference() -} - -type reference_Branch struct { - // The requested reference is a branch. - Branch *RepositoryBranch `protobuf:"bytes,1,opt,name=branch,proto3,oneof"` -} - -type reference_Tag struct { - // The requested reference is a tag. - Tag *RepositoryTag `protobuf:"bytes,2,opt,name=tag,proto3,oneof"` -} - -type reference_Commit struct { - // The requested reference is a commit. - Commit *RepositoryCommit `protobuf:"bytes,3,opt,name=commit,proto3,oneof"` -} - -type reference_Main struct { - // The requested reference is the default reference. - Main *RepositoryMainReference `protobuf:"bytes,5,opt,name=main,proto3,oneof"` -} - -type reference_Draft struct { - // The requested reference is a draft commit. - Draft *RepositoryDraft `protobuf:"bytes,6,opt,name=draft,proto3,oneof"` -} - -type reference_VcsCommit struct { - // The requested reference is a VCS commit. - VcsCommit *RepositoryVCSCommit `protobuf:"bytes,7,opt,name=vcs_commit,json=vcsCommit,proto3,oneof"` -} - -func (*reference_Branch) isReference_Reference() {} - -func (*reference_Tag) isReference_Reference() {} - -func (*reference_Commit) isReference_Reference() {} - -func (*reference_Main) isReference_Reference() {} - -func (*reference_Draft) isReference_Reference() {} - -func (*reference_VcsCommit) isReference_Reference() {} - -type RepositoryMainReference struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Commit *RepositoryCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RepositoryMainReference) Reset() { - *x = RepositoryMainReference{} - mi := &file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RepositoryMainReference) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryMainReference) ProtoMessage() {} - -func (x *RepositoryMainReference) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RepositoryMainReference) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *RepositoryMainReference) GetCommit() *RepositoryCommit { - if x != nil { - return x.xxx_hidden_Commit - } - return nil -} - -func (x *RepositoryMainReference) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *RepositoryMainReference) SetCommit(v *RepositoryCommit) { - x.xxx_hidden_Commit = v -} - -func (x *RepositoryMainReference) HasCommit() bool { - if x == nil { - return false - } - return x.xxx_hidden_Commit != nil -} - -func (x *RepositoryMainReference) ClearCommit() { - x.xxx_hidden_Commit = nil -} - -type RepositoryMainReference_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Name is the configured default_branch for the repository (default: 'main'). - Name string - // The latest commit in this repository. If the repository has no commits, - // this will be empty. - Commit *RepositoryCommit -} - -func (b0 RepositoryMainReference_builder) Build() *RepositoryMainReference { - m0 := &RepositoryMainReference{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Commit = b.Commit - return m0 -} - -type RepositoryDraft struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Commit *RepositoryCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RepositoryDraft) Reset() { - *x = RepositoryDraft{} - mi := &file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RepositoryDraft) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryDraft) ProtoMessage() {} - -func (x *RepositoryDraft) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RepositoryDraft) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *RepositoryDraft) GetCommit() *RepositoryCommit { - if x != nil { - return x.xxx_hidden_Commit - } - return nil -} - -func (x *RepositoryDraft) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *RepositoryDraft) SetCommit(v *RepositoryCommit) { - x.xxx_hidden_Commit = v -} - -func (x *RepositoryDraft) HasCommit() bool { - if x == nil { - return false - } - return x.xxx_hidden_Commit != nil -} - -func (x *RepositoryDraft) ClearCommit() { - x.xxx_hidden_Commit = nil -} - -type RepositoryDraft_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The name of the draft - Name string - // The commit this draft points to. - Commit *RepositoryCommit -} - -func (b0 RepositoryDraft_builder) Build() *RepositoryDraft { - m0 := &RepositoryDraft{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Commit = b.Commit - return m0 -} - -type RepositoryVCSCommit struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_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() { - *x = RepositoryVCSCommit{} - mi := &file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RepositoryVCSCommit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryVCSCommit) ProtoMessage() {} - -func (x *RepositoryVCSCommit) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RepositoryVCSCommit) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *RepositoryVCSCommit) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *RepositoryVCSCommit) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *RepositoryVCSCommit) GetCommitName() string { - if x != nil { - return x.xxx_hidden_CommitName - } - return "" -} - -func (x *RepositoryVCSCommit) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *RepositoryVCSCommit) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *RepositoryVCSCommit) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *RepositoryVCSCommit) SetCommitName(v string) { - x.xxx_hidden_CommitName = v -} - -func (x *RepositoryVCSCommit) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *RepositoryVCSCommit) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -type RepositoryVCSCommit_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // primary key, unique. - Id string - // immutable - CreateTime *timestamppb.Timestamp - // The name of the VCS commit, e.g. for Git, it would be the Git hash. - Name string - // The name of the BSR commit this VCS commit belongs to. - CommitName string -} - -func (b0 RepositoryVCSCommit_builder) Build() *RepositoryVCSCommit { - m0 := &RepositoryVCSCommit{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_CreateTime = b.CreateTime - x.xxx_hidden_Name = b.Name - x.xxx_hidden_CommitName = b.CommitName - return m0 -} - -type GetReferenceByNameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_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() { - *x = GetReferenceByNameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetReferenceByNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetReferenceByNameRequest) ProtoMessage() {} - -func (x *GetReferenceByNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetReferenceByNameRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *GetReferenceByNameRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetReferenceByNameRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *GetReferenceByNameRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *GetReferenceByNameRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetReferenceByNameRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -type GetReferenceByNameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Optional name (if unspecified, will use the repository's default_branch). - Name string - // Owner of the repository the reference belongs to. - Owner string - // Name of the repository the reference belongs to. - RepositoryName string -} - -func (b0 GetReferenceByNameRequest_builder) Build() *GetReferenceByNameRequest { - m0 := &GetReferenceByNameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_RepositoryName = b.RepositoryName - return m0 -} - -type GetReferenceByNameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Reference *Reference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetReferenceByNameResponse) Reset() { - *x = GetReferenceByNameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetReferenceByNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetReferenceByNameResponse) ProtoMessage() {} - -func (x *GetReferenceByNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetReferenceByNameResponse) GetReference() *Reference { - if x != nil { - return x.xxx_hidden_Reference - } - return nil -} - -func (x *GetReferenceByNameResponse) SetReference(v *Reference) { - x.xxx_hidden_Reference = v -} - -func (x *GetReferenceByNameResponse) HasReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_Reference != nil -} - -func (x *GetReferenceByNameResponse) ClearReference() { - x.xxx_hidden_Reference = nil -} - -type GetReferenceByNameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Reference *Reference -} - -func (b0 GetReferenceByNameResponse_builder) Build() *GetReferenceByNameResponse { - m0 := &GetReferenceByNameResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Reference = b.Reference - return m0 -} - -var File_buf_alpha_registry_v1alpha1_reference_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_reference_proto_rawDesc = []byte{ - 0x0a, 0x2b, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x33, 0x62, 0x75, 0x66, 0x2f, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x33, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x74, 0x61, 0x67, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x03, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x48, 0x00, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x3e, - 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x48, 0x00, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x47, - 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x48, 0x00, 0x52, - 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x4a, 0x0a, 0x04, 0x6d, 0x61, 0x69, 0x6e, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x61, - 0x69, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x48, 0x00, 0x52, 0x04, 0x6d, - 0x61, 0x69, 0x6e, 0x12, 0x44, 0x0a, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x72, 0x61, 0x66, 0x74, - 0x48, 0x00, 0x52, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x12, 0x51, 0x0a, 0x0a, 0x76, 0x63, 0x73, - 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x56, 0x43, 0x53, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x48, - 0x00, 0x52, 0x09, 0x76, 0x63, 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x0b, 0x0a, 0x09, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x52, - 0x05, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x22, 0x74, 0x0a, 0x17, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x6c, 0x0a, 0x0f, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x72, 0x61, 0x66, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x97, 0x01, 0x0a, 0x13, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x56, 0x43, 0x53, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6e, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x62, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x44, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x32, 0x9f, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8a, 0x01, - 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x79, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x9b, 0x02, 0x0a, 0x1f, 0x63, - 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0e, - 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, - 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, - 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, - 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, - 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, - 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, - 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, - 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_buf_alpha_registry_v1alpha1_reference_proto_goTypes = []any{ - (*Reference)(nil), // 0: buf.alpha.registry.v1alpha1.Reference - (*RepositoryMainReference)(nil), // 1: buf.alpha.registry.v1alpha1.RepositoryMainReference - (*RepositoryDraft)(nil), // 2: buf.alpha.registry.v1alpha1.RepositoryDraft - (*RepositoryVCSCommit)(nil), // 3: buf.alpha.registry.v1alpha1.RepositoryVCSCommit - (*GetReferenceByNameRequest)(nil), // 4: buf.alpha.registry.v1alpha1.GetReferenceByNameRequest - (*GetReferenceByNameResponse)(nil), // 5: buf.alpha.registry.v1alpha1.GetReferenceByNameResponse - (*RepositoryBranch)(nil), // 6: buf.alpha.registry.v1alpha1.RepositoryBranch - (*RepositoryTag)(nil), // 7: buf.alpha.registry.v1alpha1.RepositoryTag - (*RepositoryCommit)(nil), // 8: buf.alpha.registry.v1alpha1.RepositoryCommit - (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp -} -var file_buf_alpha_registry_v1alpha1_reference_proto_depIdxs = []int32{ - 6, // 0: buf.alpha.registry.v1alpha1.Reference.branch:type_name -> buf.alpha.registry.v1alpha1.RepositoryBranch - 7, // 1: buf.alpha.registry.v1alpha1.Reference.tag:type_name -> buf.alpha.registry.v1alpha1.RepositoryTag - 8, // 2: buf.alpha.registry.v1alpha1.Reference.commit:type_name -> buf.alpha.registry.v1alpha1.RepositoryCommit - 1, // 3: buf.alpha.registry.v1alpha1.Reference.main:type_name -> buf.alpha.registry.v1alpha1.RepositoryMainReference - 2, // 4: buf.alpha.registry.v1alpha1.Reference.draft:type_name -> buf.alpha.registry.v1alpha1.RepositoryDraft - 3, // 5: buf.alpha.registry.v1alpha1.Reference.vcs_commit:type_name -> buf.alpha.registry.v1alpha1.RepositoryVCSCommit - 8, // 6: buf.alpha.registry.v1alpha1.RepositoryMainReference.commit:type_name -> buf.alpha.registry.v1alpha1.RepositoryCommit - 8, // 7: buf.alpha.registry.v1alpha1.RepositoryDraft.commit:type_name -> buf.alpha.registry.v1alpha1.RepositoryCommit - 9, // 8: buf.alpha.registry.v1alpha1.RepositoryVCSCommit.create_time:type_name -> google.protobuf.Timestamp - 0, // 9: buf.alpha.registry.v1alpha1.GetReferenceByNameResponse.reference:type_name -> buf.alpha.registry.v1alpha1.Reference - 4, // 10: buf.alpha.registry.v1alpha1.ReferenceService.GetReferenceByName:input_type -> buf.alpha.registry.v1alpha1.GetReferenceByNameRequest - 5, // 11: buf.alpha.registry.v1alpha1.ReferenceService.GetReferenceByName:output_type -> buf.alpha.registry.v1alpha1.GetReferenceByNameResponse - 11, // [11:12] is the sub-list for method output_type - 10, // [10:11] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_reference_proto_init() } -func file_buf_alpha_registry_v1alpha1_reference_proto_init() { - if File_buf_alpha_registry_v1alpha1_reference_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_repository_branch_proto_init() - file_buf_alpha_registry_v1alpha1_repository_commit_proto_init() - file_buf_alpha_registry_v1alpha1_repository_tag_proto_init() - file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes[0].OneofWrappers = []any{ - (*reference_Branch)(nil), - (*reference_Tag)(nil), - (*reference_Commit)(nil), - (*reference_Main)(nil), - (*reference_Draft)(nil), - (*reference_VcsCommit)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_reference_proto_rawDesc, - NumEnums: 0, - NumMessages: 6, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_reference_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_reference_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_reference_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_reference_proto = out.File - file_buf_alpha_registry_v1alpha1_reference_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_reference_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_reference_proto_depIdxs = nil -} 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 2de4212a01..9add1715a8 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/repository.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -81,39 +79,21 @@ func (x Visibility) Number() protoreflect.EnumNumber { } type Repository struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // primary key, unique, immutable - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // immutable - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // mutable - 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 valid to be assigned to Owner: - // - // *Repository_UserId - // *Repository_OrganizationId - Owner isRepository_Owner `protobuf_oneof:"owner"` - Visibility Visibility `protobuf:"varint,7,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` - // deprecated means this repository is deprecated. - Deprecated bool `protobuf:"varint,8,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - // deprecation_message is the message shown if the repository is deprecated. - DeprecationMessage string `protobuf:"bytes,9,opt,name=deprecation_message,json=deprecationMessage,proto3" json:"deprecation_message,omitempty"` - // owner_name is the name of the owner of the repository, - // either a username or organization name. - OwnerName string `protobuf:"bytes,10,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // description is the user configurable description of the repository. - Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` - // url is the user configurable URL in the description of the repository, - // always included the scheme and will not have a #fragment suffix. - Url string `protobuf:"bytes,12,opt,name=url,proto3" json:"url,omitempty"` - // default_branch in a BSR repository. It is used when syncing a git repository, to make sure both - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + xxx_hidden_UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Owner isRepository_Owner `protobuf_oneof:"owner"` + xxx_hidden_Visibility Visibility `protobuf:"varint,7,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` + xxx_hidden_Deprecated bool `protobuf:"varint,8,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + xxx_hidden_DeprecationMessage string `protobuf:"bytes,9,opt,name=deprecation_message,json=deprecationMessage,proto3" json:"deprecation_message,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,10,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` + xxx_hidden_Url string `protobuf:"bytes,12,opt,name=url,proto3" json:"url,omitempty"` + xxx_hidden_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() { @@ -143,42 +123,35 @@ func (x *Repository) ProtoReflect() protoreflect.Message { func (x *Repository) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *Repository) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *Repository) GetUpdateTime() *timestamppb.Timestamp { if x != nil { - return x.UpdateTime + return x.xxx_hidden_UpdateTime } return nil } func (x *Repository) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } -func (x *Repository) GetOwner() isRepository_Owner { - if x != nil { - return x.Owner - } - return nil -} - func (x *Repository) GetUserId() string { if x != nil { - if x, ok := x.Owner.(*Repository_UserId); ok { + if x, ok := x.xxx_hidden_Owner.(*repository_UserId); ok { return x.UserId } } @@ -187,7 +160,7 @@ func (x *Repository) GetUserId() string { func (x *Repository) GetOrganizationId() string { if x != nil { - if x, ok := x.Owner.(*Repository_OrganizationId); ok { + if x, ok := x.xxx_hidden_Owner.(*repository_OrganizationId); ok { return x.OrganizationId } } @@ -196,131 +169,131 @@ func (x *Repository) GetOrganizationId() string { func (x *Repository) GetVisibility() Visibility { if x != nil { - return x.Visibility + return x.xxx_hidden_Visibility } return Visibility_VISIBILITY_UNSPECIFIED } func (x *Repository) GetDeprecated() bool { if x != nil { - return x.Deprecated + return x.xxx_hidden_Deprecated } return false } func (x *Repository) GetDeprecationMessage() string { if x != nil { - return x.DeprecationMessage + return x.xxx_hidden_DeprecationMessage } return "" } func (x *Repository) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *Repository) GetDescription() string { if x != nil { - return x.Description + return x.xxx_hidden_Description } return "" } func (x *Repository) GetUrl() string { if x != nil { - return x.Url + return x.xxx_hidden_Url } return "" } func (x *Repository) GetDefaultBranch() string { if x != nil { - return x.DefaultBranch + return x.xxx_hidden_DefaultBranch } return "" } func (x *Repository) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *Repository) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *Repository) SetUpdateTime(v *timestamppb.Timestamp) { - x.UpdateTime = v + x.xxx_hidden_UpdateTime = v } func (x *Repository) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *Repository) SetUserId(v string) { - x.Owner = &Repository_UserId{v} + x.xxx_hidden_Owner = &repository_UserId{v} } func (x *Repository) SetOrganizationId(v string) { - x.Owner = &Repository_OrganizationId{v} + x.xxx_hidden_Owner = &repository_OrganizationId{v} } func (x *Repository) SetVisibility(v Visibility) { - x.Visibility = v + x.xxx_hidden_Visibility = v } func (x *Repository) SetDeprecated(v bool) { - x.Deprecated = v + x.xxx_hidden_Deprecated = v } func (x *Repository) SetDeprecationMessage(v string) { - x.DeprecationMessage = v + x.xxx_hidden_DeprecationMessage = v } func (x *Repository) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *Repository) SetDescription(v string) { - x.Description = v + x.xxx_hidden_Description = v } func (x *Repository) SetUrl(v string) { - x.Url = v + x.xxx_hidden_Url = v } func (x *Repository) SetDefaultBranch(v string) { - x.DefaultBranch = v + x.xxx_hidden_DefaultBranch = v } func (x *Repository) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *Repository) HasUpdateTime() bool { if x == nil { return false } - return x.UpdateTime != nil + return x.xxx_hidden_UpdateTime != nil } func (x *Repository) HasOwner() bool { if x == nil { return false } - return x.Owner != nil + return x.xxx_hidden_Owner != nil } func (x *Repository) HasUserId() bool { if x == nil { return false } - _, ok := x.Owner.(*Repository_UserId) + _, ok := x.xxx_hidden_Owner.(*repository_UserId) return ok } @@ -328,31 +301,31 @@ func (x *Repository) HasOrganizationId() bool { if x == nil { return false } - _, ok := x.Owner.(*Repository_OrganizationId) + _, ok := x.xxx_hidden_Owner.(*repository_OrganizationId) return ok } func (x *Repository) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } func (x *Repository) ClearUpdateTime() { - x.UpdateTime = nil + x.xxx_hidden_UpdateTime = nil } func (x *Repository) ClearOwner() { - x.Owner = nil + x.xxx_hidden_Owner = nil } func (x *Repository) ClearUserId() { - if _, ok := x.Owner.(*Repository_UserId); ok { - x.Owner = nil + if _, ok := x.xxx_hidden_Owner.(*repository_UserId); ok { + x.xxx_hidden_Owner = nil } } func (x *Repository) ClearOrganizationId() { - if _, ok := x.Owner.(*Repository_OrganizationId); ok { - x.Owner = nil + if _, ok := x.xxx_hidden_Owner.(*repository_OrganizationId); ok { + x.xxx_hidden_Owner = nil } } @@ -364,10 +337,10 @@ func (x *Repository) WhichOwner() case_Repository_Owner { if x == nil { return Repository_Owner_not_set_case } - switch x.Owner.(type) { - case *Repository_UserId: + switch x.xxx_hidden_Owner.(type) { + case *repository_UserId: return Repository_UserId_case - case *Repository_OrganizationId: + case *repository_OrganizationId: return Repository_OrganizationId_case default: return Repository_Owner_not_set_case @@ -385,12 +358,12 @@ type Repository_builder struct { UpdateTime *timestamppb.Timestamp // unique, mutable Name string - // Fields of oneof Owner: + // Fields of oneof xxx_hidden_Owner: // foreign key, mutable UserId *string // foreign key, mutable OrganizationId *string - // -- end of Owner + // -- end of xxx_hidden_Owner Visibility Visibility // deprecated means this repository is deprecated. Deprecated bool @@ -414,23 +387,23 @@ func (b0 Repository_builder) Build() *Repository { m0 := &Repository{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.CreateTime = b.CreateTime - x.UpdateTime = b.UpdateTime - x.Name = b.Name + x.xxx_hidden_Id = b.Id + x.xxx_hidden_CreateTime = b.CreateTime + x.xxx_hidden_UpdateTime = b.UpdateTime + x.xxx_hidden_Name = b.Name if b.UserId != nil { - x.Owner = &Repository_UserId{*b.UserId} + x.xxx_hidden_Owner = &repository_UserId{*b.UserId} } if b.OrganizationId != nil { - x.Owner = &Repository_OrganizationId{*b.OrganizationId} - } - x.Visibility = b.Visibility - x.Deprecated = b.Deprecated - x.DeprecationMessage = b.DeprecationMessage - x.OwnerName = b.OwnerName - x.Description = b.Description - x.Url = b.Url - x.DefaultBranch = b.DefaultBranch + x.xxx_hidden_Owner = &repository_OrganizationId{*b.OrganizationId} + } + x.xxx_hidden_Visibility = b.Visibility + x.xxx_hidden_Deprecated = b.Deprecated + x.xxx_hidden_DeprecationMessage = b.DeprecationMessage + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_Description = b.Description + x.xxx_hidden_Url = b.Url + x.xxx_hidden_DefaultBranch = b.DefaultBranch return m0 } @@ -448,26 +421,26 @@ type isRepository_Owner interface { isRepository_Owner() } -type Repository_UserId struct { +type repository_UserId struct { // foreign key, mutable UserId string `protobuf:"bytes,5,opt,name=user_id,json=userId,proto3,oneof"` } -type Repository_OrganizationId struct { +type repository_OrganizationId struct { // foreign key, mutable OrganizationId string `protobuf:"bytes,6,opt,name=organization_id,json=organizationId,proto3,oneof"` } -func (*Repository_UserId) isRepository_Owner() {} +func (*repository_UserId) isRepository_Owner() {} -func (*Repository_OrganizationId) isRepository_Owner() {} +func (*repository_OrganizationId) isRepository_Owner() {} type RepositoryCounts struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_TagsCount uint32 `protobuf:"varint,1,opt,name=tags_count,json=tagsCount,proto3" json:"tags_count,omitempty"` + xxx_hidden_DraftsCount uint32 `protobuf:"varint,3,opt,name=drafts_count,json=draftsCount,proto3" json:"drafts_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryCounts) Reset() { @@ -497,24 +470,24 @@ func (x *RepositoryCounts) ProtoReflect() protoreflect.Message { func (x *RepositoryCounts) GetTagsCount() uint32 { if x != nil { - return x.TagsCount + return x.xxx_hidden_TagsCount } return 0 } func (x *RepositoryCounts) GetDraftsCount() uint32 { if x != nil { - return x.DraftsCount + return x.xxx_hidden_DraftsCount } return 0 } func (x *RepositoryCounts) SetTagsCount(v uint32) { - x.TagsCount = v + x.xxx_hidden_TagsCount = v } func (x *RepositoryCounts) SetDraftsCount(v uint32) { - x.DraftsCount = v + x.xxx_hidden_DraftsCount = v } type RepositoryCounts_builder struct { @@ -528,23 +501,19 @@ func (b0 RepositoryCounts_builder) Build() *RepositoryCounts { m0 := &RepositoryCounts{} b, x := &b0, m0 _, _ = b, x - x.TagsCount = b.TagsCount - x.DraftsCount = b.DraftsCount + x.xxx_hidden_TagsCount = b.TagsCount + x.xxx_hidden_DraftsCount = b.DraftsCount return m0 } type RepositoryContributor struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + xxx_hidden_RepositoryId string `protobuf:"bytes,2,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_ExplicitRole RepositoryRole `protobuf:"varint,3,opt,name=explicit_role,json=explicitRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"explicit_role,omitempty"` + xxx_hidden_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() { @@ -574,57 +543,57 @@ func (x *RepositoryContributor) ProtoReflect() protoreflect.Message { func (x *RepositoryContributor) GetUser() *User { if x != nil { - return x.User + return x.xxx_hidden_User } return nil } func (x *RepositoryContributor) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *RepositoryContributor) GetExplicitRole() RepositoryRole { if x != nil { - return x.ExplicitRole + return x.xxx_hidden_ExplicitRole } return RepositoryRole_REPOSITORY_ROLE_UNSPECIFIED } func (x *RepositoryContributor) GetImplicitRole() RepositoryRole { if x != nil { - return x.ImplicitRole + return x.xxx_hidden_ImplicitRole } return RepositoryRole_REPOSITORY_ROLE_UNSPECIFIED } func (x *RepositoryContributor) SetUser(v *User) { - x.User = v + x.xxx_hidden_User = v } func (x *RepositoryContributor) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *RepositoryContributor) SetExplicitRole(v RepositoryRole) { - x.ExplicitRole = v + x.xxx_hidden_ExplicitRole = v } func (x *RepositoryContributor) SetImplicitRole(v RepositoryRole) { - x.ImplicitRole = v + x.xxx_hidden_ImplicitRole = v } func (x *RepositoryContributor) HasUser() bool { if x == nil { return false } - return x.User != nil + return x.xxx_hidden_User != nil } func (x *RepositoryContributor) ClearUser() { - x.User = nil + x.xxx_hidden_User = nil } type RepositoryContributor_builder struct { @@ -644,29 +613,23 @@ func (b0 RepositoryContributor_builder) Build() *RepositoryContributor { m0 := &RepositoryContributor{} b, x := &b0, m0 _, _ = b, x - x.User = b.User - x.RepositoryId = b.RepositoryId - x.ExplicitRole = b.ExplicitRole - x.ImplicitRole = b.ImplicitRole + x.xxx_hidden_User = b.User + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_ExplicitRole = b.ExplicitRole + x.xxx_hidden_ImplicitRole = b.ImplicitRole return m0 } type RepositoryMetadata struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The ID of the repository. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The name of the repository. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The owner name of the repository. - OwnerName string `protobuf:"bytes,3,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // The verification status of the owner of the repository. - OwnerVerificationStatus VerificationStatus `protobuf:"varint,4,opt,name=owner_verification_status,json=ownerVerificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"owner_verification_status,omitempty"` - // The commit time of the latest main commit in the repository. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,3,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_OwnerVerificationStatus VerificationStatus `protobuf:"varint,4,opt,name=owner_verification_status,json=ownerVerificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"owner_verification_status,omitempty"` + xxx_hidden_LatestCommitTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=latest_commit_time,json=latestCommitTime,proto3" json:"latest_commit_time,omitempty"` + xxx_hidden_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() { @@ -696,79 +659,79 @@ func (x *RepositoryMetadata) ProtoReflect() protoreflect.Message { func (x *RepositoryMetadata) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *RepositoryMetadata) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *RepositoryMetadata) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *RepositoryMetadata) GetOwnerVerificationStatus() VerificationStatus { if x != nil { - return x.OwnerVerificationStatus + return x.xxx_hidden_OwnerVerificationStatus } return VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED } func (x *RepositoryMetadata) GetLatestCommitTime() *timestamppb.Timestamp { if x != nil { - return x.LatestCommitTime + return x.xxx_hidden_LatestCommitTime } return nil } func (x *RepositoryMetadata) GetLatestSpdxLicenseId() string { if x != nil { - return x.LatestSpdxLicenseId + return x.xxx_hidden_LatestSpdxLicenseId } return "" } func (x *RepositoryMetadata) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *RepositoryMetadata) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *RepositoryMetadata) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *RepositoryMetadata) SetOwnerVerificationStatus(v VerificationStatus) { - x.OwnerVerificationStatus = v + x.xxx_hidden_OwnerVerificationStatus = v } func (x *RepositoryMetadata) SetLatestCommitTime(v *timestamppb.Timestamp) { - x.LatestCommitTime = v + x.xxx_hidden_LatestCommitTime = v } func (x *RepositoryMetadata) SetLatestSpdxLicenseId(v string) { - x.LatestSpdxLicenseId = v + x.xxx_hidden_LatestSpdxLicenseId = v } func (x *RepositoryMetadata) HasLatestCommitTime() bool { if x == nil { return false } - return x.LatestCommitTime != nil + return x.xxx_hidden_LatestCommitTime != nil } func (x *RepositoryMetadata) ClearLatestCommitTime() { - x.LatestCommitTime = nil + x.xxx_hidden_LatestCommitTime = nil } type RepositoryMetadata_builder struct { @@ -792,22 +755,20 @@ func (b0 RepositoryMetadata_builder) Build() *RepositoryMetadata { m0 := &RepositoryMetadata{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.Name = b.Name - x.OwnerName = b.OwnerName - x.OwnerVerificationStatus = b.OwnerVerificationStatus - x.LatestCommitTime = b.LatestCommitTime - x.LatestSpdxLicenseId = b.LatestSpdxLicenseId + x.xxx_hidden_Id = b.Id + x.xxx_hidden_Name = b.Name + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_OwnerVerificationStatus = b.OwnerVerificationStatus + x.xxx_hidden_LatestCommitTime = b.LatestCommitTime + x.xxx_hidden_LatestSpdxLicenseId = b.LatestSpdxLicenseId return m0 } type GetRepositoriesByFullNameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -837,13 +798,13 @@ func (x *GetRepositoriesByFullNameRequest) ProtoReflect() protoreflect.Message { func (x *GetRepositoriesByFullNameRequest) GetFullNames() []string { if x != nil { - return x.FullNames + return x.xxx_hidden_FullNames } return nil } func (x *GetRepositoriesByFullNameRequest) SetFullNames(v []string) { - x.FullNames = v + x.xxx_hidden_FullNames = v } type GetRepositoriesByFullNameRequest_builder struct { @@ -858,15 +819,15 @@ func (b0 GetRepositoriesByFullNameRequest_builder) Build() *GetRepositoriesByFul m0 := &GetRepositoriesByFullNameRequest{} b, x := &b0, m0 _, _ = b, x - x.FullNames = b.FullNames + x.xxx_hidden_FullNames = b.FullNames return m0 } type GetRepositoriesByFullNameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Repositories *[]*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoriesByFullNameResponse) Reset() { @@ -896,13 +857,15 @@ func (x *GetRepositoriesByFullNameResponse) ProtoReflect() protoreflect.Message func (x *GetRepositoriesByFullNameResponse) GetRepositories() []*Repository { if x != nil { - return x.Repositories + if x.xxx_hidden_Repositories != nil { + return *x.xxx_hidden_Repositories + } } return nil } func (x *GetRepositoriesByFullNameResponse) SetRepositories(v []*Repository) { - x.Repositories = v + x.xxx_hidden_Repositories = &v } type GetRepositoriesByFullNameResponse_builder struct { @@ -915,13 +878,13 @@ func (b0 GetRepositoriesByFullNameResponse_builder) Build() *GetRepositoriesByFu m0 := &GetRepositoriesByFullNameResponse{} b, x := &b0, m0 _, _ = b, x - x.Repositories = b.Repositories + x.xxx_hidden_Repositories = &b.Repositories return m0 } type GetRepositoryRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -953,13 +916,13 @@ func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message { func (x *GetRepositoryRequest) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *GetRepositoryRequest) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } type GetRepositoryRequest_builder struct { @@ -972,16 +935,16 @@ func (b0 GetRepositoryRequest_builder) Build() *GetRepositoryRequest { m0 := &GetRepositoryRequest{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id + x.xxx_hidden_Id = b.Id return m0 } type GetRepositoryResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Counts *RepositoryCounts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryResponse) Reset() { @@ -1011,46 +974,46 @@ func (x *GetRepositoryResponse) ProtoReflect() protoreflect.Message { func (x *GetRepositoryResponse) GetRepository() *Repository { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return nil } func (x *GetRepositoryResponse) GetCounts() *RepositoryCounts { if x != nil { - return x.Counts + return x.xxx_hidden_Counts } return nil } func (x *GetRepositoryResponse) SetRepository(v *Repository) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *GetRepositoryResponse) SetCounts(v *RepositoryCounts) { - x.Counts = v + x.xxx_hidden_Counts = v } func (x *GetRepositoryResponse) HasRepository() bool { if x == nil { return false } - return x.Repository != nil + return x.xxx_hidden_Repository != nil } func (x *GetRepositoryResponse) HasCounts() bool { if x == nil { return false } - return x.Counts != nil + return x.xxx_hidden_Counts != nil } func (x *GetRepositoryResponse) ClearRepository() { - x.Repository = nil + x.xxx_hidden_Repository = nil } func (x *GetRepositoryResponse) ClearCounts() { - x.Counts = nil + x.xxx_hidden_Counts = nil } type GetRepositoryResponse_builder struct { @@ -1064,16 +1027,16 @@ func (b0 GetRepositoryResponse_builder) Build() *GetRepositoryResponse { m0 := &GetRepositoryResponse{} b, x := &b0, m0 _, _ = b, x - x.Repository = b.Repository - x.Counts = b.Counts + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Counts = b.Counts return m0 } type GetRepositoryByFullNameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryByFullNameRequest) Reset() { @@ -1103,13 +1066,13 @@ func (x *GetRepositoryByFullNameRequest) ProtoReflect() protoreflect.Message { func (x *GetRepositoryByFullNameRequest) GetFullName() string { if x != nil { - return x.FullName + return x.xxx_hidden_FullName } return "" } func (x *GetRepositoryByFullNameRequest) SetFullName(v string) { - x.FullName = v + x.xxx_hidden_FullName = v } type GetRepositoryByFullNameRequest_builder struct { @@ -1122,16 +1085,16 @@ func (b0 GetRepositoryByFullNameRequest_builder) Build() *GetRepositoryByFullNam m0 := &GetRepositoryByFullNameRequest{} b, x := &b0, m0 _, _ = b, x - x.FullName = b.FullName + x.xxx_hidden_FullName = b.FullName return m0 } type GetRepositoryByFullNameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Counts *RepositoryCounts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryByFullNameResponse) Reset() { @@ -1161,46 +1124,46 @@ func (x *GetRepositoryByFullNameResponse) ProtoReflect() protoreflect.Message { func (x *GetRepositoryByFullNameResponse) GetRepository() *Repository { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return nil } func (x *GetRepositoryByFullNameResponse) GetCounts() *RepositoryCounts { if x != nil { - return x.Counts + return x.xxx_hidden_Counts } return nil } func (x *GetRepositoryByFullNameResponse) SetRepository(v *Repository) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *GetRepositoryByFullNameResponse) SetCounts(v *RepositoryCounts) { - x.Counts = v + x.xxx_hidden_Counts = v } func (x *GetRepositoryByFullNameResponse) HasRepository() bool { if x == nil { return false } - return x.Repository != nil + return x.xxx_hidden_Repository != nil } func (x *GetRepositoryByFullNameResponse) HasCounts() bool { if x == nil { return false } - return x.Counts != nil + return x.xxx_hidden_Counts != nil } func (x *GetRepositoryByFullNameResponse) ClearRepository() { - x.Repository = nil + x.xxx_hidden_Repository = nil } func (x *GetRepositoryByFullNameResponse) ClearCounts() { - x.Counts = nil + x.xxx_hidden_Counts = nil } type GetRepositoryByFullNameResponse_builder struct { @@ -1214,19 +1177,18 @@ func (b0 GetRepositoryByFullNameResponse_builder) Build() *GetRepositoryByFullNa m0 := &GetRepositoryByFullNameResponse{} b, x := &b0, m0 _, _ = b, x - x.Repository = b.Repository - x.Counts = b.Counts + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Counts = b.Counts return m0 } type ListRepositoriesRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoriesRequest) Reset() { @@ -1256,35 +1218,35 @@ func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message { func (x *ListRepositoriesRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListRepositoriesRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListRepositoriesRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListRepositoriesRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListRepositoriesRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListRepositoriesRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListRepositoriesRequest_builder struct { @@ -1300,19 +1262,18 @@ func (b0 ListRepositoriesRequest_builder) Build() *ListRepositoriesRequest { m0 := &ListRepositoriesRequest{} b, x := &b0, m0 _, _ = b, x - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListRepositoriesResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Repositories *[]*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` + xxx_hidden_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() { @@ -1342,24 +1303,26 @@ func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message { func (x *ListRepositoriesResponse) GetRepositories() []*Repository { if x != nil { - return x.Repositories + if x.xxx_hidden_Repositories != nil { + return *x.xxx_hidden_Repositories + } } return nil } func (x *ListRepositoriesResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListRepositoriesResponse) SetRepositories(v []*Repository) { - x.Repositories = v + x.xxx_hidden_Repositories = &v } func (x *ListRepositoriesResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListRepositoriesResponse_builder struct { @@ -1374,21 +1337,19 @@ func (b0 ListRepositoriesResponse_builder) Build() *ListRepositoriesResponse { m0 := &ListRepositoriesResponse{} b, x := &b0, m0 _, _ = b, x - x.Repositories = b.Repositories - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Repositories = &b.Repositories + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type ListUserRepositoriesRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListUserRepositoriesRequest) Reset() { @@ -1418,46 +1379,46 @@ func (x *ListUserRepositoriesRequest) ProtoReflect() protoreflect.Message { func (x *ListUserRepositoriesRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *ListUserRepositoriesRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListUserRepositoriesRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListUserRepositoriesRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListUserRepositoriesRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } func (x *ListUserRepositoriesRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListUserRepositoriesRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListUserRepositoriesRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListUserRepositoriesRequest_builder struct { @@ -1475,20 +1436,19 @@ func (b0 ListUserRepositoriesRequest_builder) Build() *ListUserRepositoriesReque m0 := &ListUserRepositoriesRequest{} b, x := &b0, m0 _, _ = b, x - x.UserId = b.UserId - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_UserId = b.UserId + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListUserRepositoriesResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Repositories *[]*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` + xxx_hidden_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() { @@ -1518,24 +1478,26 @@ func (x *ListUserRepositoriesResponse) ProtoReflect() protoreflect.Message { func (x *ListUserRepositoriesResponse) GetRepositories() []*Repository { if x != nil { - return x.Repositories + if x.xxx_hidden_Repositories != nil { + return *x.xxx_hidden_Repositories + } } return nil } func (x *ListUserRepositoriesResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListUserRepositoriesResponse) SetRepositories(v []*Repository) { - x.Repositories = v + x.xxx_hidden_Repositories = &v } func (x *ListUserRepositoriesResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListUserRepositoriesResponse_builder struct { @@ -1550,19 +1512,18 @@ func (b0 ListUserRepositoriesResponse_builder) Build() *ListUserRepositoriesResp m0 := &ListUserRepositoriesResponse{} b, x := &b0, m0 _, _ = b, x - x.Repositories = b.Repositories - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Repositories = &b.Repositories + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type ListRepositoriesUserCanAccessRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoriesUserCanAccessRequest) Reset() { @@ -1592,35 +1553,35 @@ func (x *ListRepositoriesUserCanAccessRequest) ProtoReflect() protoreflect.Messa func (x *ListRepositoriesUserCanAccessRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListRepositoriesUserCanAccessRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListRepositoriesUserCanAccessRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListRepositoriesUserCanAccessRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListRepositoriesUserCanAccessRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListRepositoriesUserCanAccessRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListRepositoriesUserCanAccessRequest_builder struct { @@ -1636,19 +1597,18 @@ func (b0 ListRepositoriesUserCanAccessRequest_builder) Build() *ListRepositories m0 := &ListRepositoriesUserCanAccessRequest{} b, x := &b0, m0 _, _ = b, x - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListRepositoriesUserCanAccessResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Repositories *[]*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` + xxx_hidden_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() { @@ -1678,24 +1638,26 @@ func (x *ListRepositoriesUserCanAccessResponse) ProtoReflect() protoreflect.Mess func (x *ListRepositoriesUserCanAccessResponse) GetRepositories() []*Repository { if x != nil { - return x.Repositories + if x.xxx_hidden_Repositories != nil { + return *x.xxx_hidden_Repositories + } } return nil } func (x *ListRepositoriesUserCanAccessResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListRepositoriesUserCanAccessResponse) SetRepositories(v []*Repository) { - x.Repositories = v + x.xxx_hidden_Repositories = &v } func (x *ListRepositoriesUserCanAccessResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListRepositoriesUserCanAccessResponse_builder struct { @@ -1710,21 +1672,19 @@ func (b0 ListRepositoriesUserCanAccessResponse_builder) Build() *ListRepositorie m0 := &ListRepositoriesUserCanAccessResponse{} b, x := &b0, m0 _, _ = b, x - x.Repositories = b.Repositories - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Repositories = &b.Repositories + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type ListOrganizationRepositoriesRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListOrganizationRepositoriesRequest) Reset() { @@ -1754,46 +1714,46 @@ func (x *ListOrganizationRepositoriesRequest) ProtoReflect() protoreflect.Messag func (x *ListOrganizationRepositoriesRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *ListOrganizationRepositoriesRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListOrganizationRepositoriesRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListOrganizationRepositoriesRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListOrganizationRepositoriesRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *ListOrganizationRepositoriesRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListOrganizationRepositoriesRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListOrganizationRepositoriesRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListOrganizationRepositoriesRequest_builder struct { @@ -1811,20 +1771,19 @@ func (b0 ListOrganizationRepositoriesRequest_builder) Build() *ListOrganizationR m0 := &ListOrganizationRepositoriesRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListOrganizationRepositoriesResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Repositories *[]*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` + xxx_hidden_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() { @@ -1854,24 +1813,26 @@ func (x *ListOrganizationRepositoriesResponse) ProtoReflect() protoreflect.Messa func (x *ListOrganizationRepositoriesResponse) GetRepositories() []*Repository { if x != nil { - return x.Repositories + if x.xxx_hidden_Repositories != nil { + return *x.xxx_hidden_Repositories + } } return nil } func (x *ListOrganizationRepositoriesResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListOrganizationRepositoriesResponse) SetRepositories(v []*Repository) { - x.Repositories = v + x.xxx_hidden_Repositories = &v } func (x *ListOrganizationRepositoriesResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListOrganizationRepositoriesResponse_builder struct { @@ -1886,18 +1847,17 @@ func (b0 ListOrganizationRepositoriesResponse_builder) Build() *ListOrganization m0 := &ListOrganizationRepositoriesResponse{} b, x := &b0, m0 _, _ = b, x - x.Repositories = b.Repositories - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Repositories = &b.Repositories + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type CreateRepositoryByFullNameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` + xxx_hidden_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() { @@ -1927,24 +1887,24 @@ func (x *CreateRepositoryByFullNameRequest) ProtoReflect() protoreflect.Message func (x *CreateRepositoryByFullNameRequest) GetFullName() string { if x != nil { - return x.FullName + return x.xxx_hidden_FullName } return "" } func (x *CreateRepositoryByFullNameRequest) GetVisibility() Visibility { if x != nil { - return x.Visibility + return x.xxx_hidden_Visibility } return Visibility_VISIBILITY_UNSPECIFIED } func (x *CreateRepositoryByFullNameRequest) SetFullName(v string) { - x.FullName = v + x.xxx_hidden_FullName = v } func (x *CreateRepositoryByFullNameRequest) SetVisibility(v Visibility) { - x.Visibility = v + x.xxx_hidden_Visibility = v } type CreateRepositoryByFullNameRequest_builder struct { @@ -1959,16 +1919,16 @@ func (b0 CreateRepositoryByFullNameRequest_builder) Build() *CreateRepositoryByF m0 := &CreateRepositoryByFullNameRequest{} b, x := &b0, m0 _, _ = b, x - x.FullName = b.FullName - x.Visibility = b.Visibility + x.xxx_hidden_FullName = b.FullName + x.xxx_hidden_Visibility = b.Visibility return m0 } type CreateRepositoryByFullNameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRepositoryByFullNameResponse) Reset() { @@ -1998,24 +1958,24 @@ func (x *CreateRepositoryByFullNameResponse) ProtoReflect() protoreflect.Message func (x *CreateRepositoryByFullNameResponse) GetRepository() *Repository { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return nil } func (x *CreateRepositoryByFullNameResponse) SetRepository(v *Repository) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *CreateRepositoryByFullNameResponse) HasRepository() bool { if x == nil { return false } - return x.Repository != nil + return x.xxx_hidden_Repository != nil } func (x *CreateRepositoryByFullNameResponse) ClearRepository() { - x.Repository = nil + x.xxx_hidden_Repository = nil } type CreateRepositoryByFullNameResponse_builder struct { @@ -2028,13 +1988,13 @@ func (b0 CreateRepositoryByFullNameResponse_builder) Build() *CreateRepositoryBy m0 := &CreateRepositoryByFullNameResponse{} b, x := &b0, m0 _, _ = b, x - x.Repository = b.Repository + x.xxx_hidden_Repository = b.Repository return m0 } type DeleteRepositoryRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2066,13 +2026,13 @@ func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message { func (x *DeleteRepositoryRequest) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *DeleteRepositoryRequest) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } type DeleteRepositoryRequest_builder struct { @@ -2085,12 +2045,12 @@ func (b0 DeleteRepositoryRequest_builder) Build() *DeleteRepositoryRequest { m0 := &DeleteRepositoryRequest{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id + x.xxx_hidden_Id = b.Id return m0 } type DeleteRepositoryResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2133,10 +2093,10 @@ func (b0 DeleteRepositoryResponse_builder) Build() *DeleteRepositoryResponse { } type DeleteRepositoryByFullNameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRepositoryByFullNameRequest) Reset() { @@ -2166,13 +2126,13 @@ func (x *DeleteRepositoryByFullNameRequest) ProtoReflect() protoreflect.Message func (x *DeleteRepositoryByFullNameRequest) GetFullName() string { if x != nil { - return x.FullName + return x.xxx_hidden_FullName } return "" } func (x *DeleteRepositoryByFullNameRequest) SetFullName(v string) { - x.FullName = v + x.xxx_hidden_FullName = v } type DeleteRepositoryByFullNameRequest_builder struct { @@ -2185,12 +2145,12 @@ func (b0 DeleteRepositoryByFullNameRequest_builder) Build() *DeleteRepositoryByF m0 := &DeleteRepositoryByFullNameRequest{} b, x := &b0, m0 _, _ = b, x - x.FullName = b.FullName + x.xxx_hidden_FullName = b.FullName return m0 } type DeleteRepositoryByFullNameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2233,14 +2193,12 @@ func (b0 DeleteRepositoryByFullNameResponse_builder) Build() *DeleteRepositoryBy } type DeprecateRepositoryByNameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_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() { @@ -2270,35 +2228,35 @@ func (x *DeprecateRepositoryByNameRequest) ProtoReflect() protoreflect.Message { func (x *DeprecateRepositoryByNameRequest) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *DeprecateRepositoryByNameRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *DeprecateRepositoryByNameRequest) GetDeprecationMessage() string { if x != nil { - return x.DeprecationMessage + return x.xxx_hidden_DeprecationMessage } return "" } func (x *DeprecateRepositoryByNameRequest) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *DeprecateRepositoryByNameRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *DeprecateRepositoryByNameRequest) SetDeprecationMessage(v string) { - x.DeprecationMessage = v + x.xxx_hidden_DeprecationMessage = v } type DeprecateRepositoryByNameRequest_builder struct { @@ -2315,17 +2273,17 @@ func (b0 DeprecateRepositoryByNameRequest_builder) Build() *DeprecateRepositoryB m0 := &DeprecateRepositoryByNameRequest{} b, x := &b0, m0 _, _ = b, x - x.OwnerName = b.OwnerName - x.RepositoryName = b.RepositoryName - x.DeprecationMessage = b.DeprecationMessage + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_DeprecationMessage = b.DeprecationMessage return m0 } type DeprecateRepositoryByNameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeprecateRepositoryByNameResponse) Reset() { @@ -2355,24 +2313,24 @@ func (x *DeprecateRepositoryByNameResponse) ProtoReflect() protoreflect.Message func (x *DeprecateRepositoryByNameResponse) GetRepository() *Repository { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return nil } func (x *DeprecateRepositoryByNameResponse) SetRepository(v *Repository) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *DeprecateRepositoryByNameResponse) HasRepository() bool { if x == nil { return false } - return x.Repository != nil + return x.xxx_hidden_Repository != nil } func (x *DeprecateRepositoryByNameResponse) ClearRepository() { - x.Repository = nil + x.xxx_hidden_Repository = nil } type DeprecateRepositoryByNameResponse_builder struct { @@ -2385,16 +2343,16 @@ func (b0 DeprecateRepositoryByNameResponse_builder) Build() *DeprecateRepository m0 := &DeprecateRepositoryByNameResponse{} b, x := &b0, m0 _, _ = b, x - x.Repository = b.Repository + x.xxx_hidden_Repository = b.Repository return m0 } type UndeprecateRepositoryByNameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_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() { @@ -2424,24 +2382,24 @@ func (x *UndeprecateRepositoryByNameRequest) ProtoReflect() protoreflect.Message func (x *UndeprecateRepositoryByNameRequest) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *UndeprecateRepositoryByNameRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *UndeprecateRepositoryByNameRequest) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *UndeprecateRepositoryByNameRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } type UndeprecateRepositoryByNameRequest_builder struct { @@ -2455,16 +2413,16 @@ func (b0 UndeprecateRepositoryByNameRequest_builder) Build() *UndeprecateReposit m0 := &UndeprecateRepositoryByNameRequest{} b, x := &b0, m0 _, _ = b, x - x.OwnerName = b.OwnerName - x.RepositoryName = b.RepositoryName + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryName = b.RepositoryName return m0 } type UndeprecateRepositoryByNameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UndeprecateRepositoryByNameResponse) Reset() { @@ -2494,24 +2452,24 @@ func (x *UndeprecateRepositoryByNameResponse) ProtoReflect() protoreflect.Messag func (x *UndeprecateRepositoryByNameResponse) GetRepository() *Repository { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return nil } func (x *UndeprecateRepositoryByNameResponse) SetRepository(v *Repository) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *UndeprecateRepositoryByNameResponse) HasRepository() bool { if x == nil { return false } - return x.Repository != nil + return x.xxx_hidden_Repository != nil } func (x *UndeprecateRepositoryByNameResponse) ClearRepository() { - x.Repository = nil + x.xxx_hidden_Repository = nil } type UndeprecateRepositoryByNameResponse_builder struct { @@ -2524,21 +2482,17 @@ func (b0 UndeprecateRepositoryByNameResponse_builder) Build() *UndeprecateReposi m0 := &UndeprecateRepositoryByNameResponse{} b, x := &b0, m0 _, _ = b, x - x.Repository = b.Repository + x.xxx_hidden_Repository = b.Repository return m0 } type SetRepositoryContributorRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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. - UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + xxx_hidden_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() { @@ -2568,35 +2522,35 @@ func (x *SetRepositoryContributorRequest) ProtoReflect() protoreflect.Message { func (x *SetRepositoryContributorRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *SetRepositoryContributorRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *SetRepositoryContributorRequest) GetRepositoryRole() RepositoryRole { if x != nil { - return x.RepositoryRole + return x.xxx_hidden_RepositoryRole } return RepositoryRole_REPOSITORY_ROLE_UNSPECIFIED } func (x *SetRepositoryContributorRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *SetRepositoryContributorRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } func (x *SetRepositoryContributorRequest) SetRepositoryRole(v RepositoryRole) { - x.RepositoryRole = v + x.xxx_hidden_RepositoryRole = v } type SetRepositoryContributorRequest_builder struct { @@ -2615,14 +2569,14 @@ func (b0 SetRepositoryContributorRequest_builder) Build() *SetRepositoryContribu m0 := &SetRepositoryContributorRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.UserId = b.UserId - x.RepositoryRole = b.RepositoryRole + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_UserId = b.UserId + x.xxx_hidden_RepositoryRole = b.RepositoryRole return m0 } type SetRepositoryContributorResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2665,14 +2619,13 @@ func (b0 SetRepositoryContributorResponse_builder) Build() *SetRepositoryContrib } type ListRepositoryContributorsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryContributorsRequest) Reset() { @@ -2702,46 +2655,46 @@ func (x *ListRepositoryContributorsRequest) ProtoReflect() protoreflect.Message func (x *ListRepositoryContributorsRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *ListRepositoryContributorsRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListRepositoryContributorsRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListRepositoryContributorsRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListRepositoryContributorsRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *ListRepositoryContributorsRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListRepositoryContributorsRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListRepositoryContributorsRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListRepositoryContributorsRequest_builder struct { @@ -2758,20 +2711,19 @@ func (b0 ListRepositoryContributorsRequest_builder) Build() *ListRepositoryContr m0 := &ListRepositoryContributorsRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListRepositoryContributorsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Users *[]*RepositoryContributor `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + xxx_hidden_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() { @@ -2801,24 +2753,26 @@ func (x *ListRepositoryContributorsResponse) ProtoReflect() protoreflect.Message func (x *ListRepositoryContributorsResponse) GetUsers() []*RepositoryContributor { if x != nil { - return x.Users + if x.xxx_hidden_Users != nil { + return *x.xxx_hidden_Users + } } return nil } func (x *ListRepositoryContributorsResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListRepositoryContributorsResponse) SetUsers(v []*RepositoryContributor) { - x.Users = v + x.xxx_hidden_Users = &v } func (x *ListRepositoryContributorsResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListRepositoryContributorsResponse_builder struct { @@ -2833,19 +2787,17 @@ func (b0 ListRepositoryContributorsResponse_builder) Build() *ListRepositoryCont m0 := &ListRepositoryContributorsResponse{} b, x := &b0, m0 _, _ = b, x - x.Users = b.Users - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Users = &b.Users + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type GetRepositoryContributorRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_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() { @@ -2875,24 +2827,24 @@ func (x *GetRepositoryContributorRequest) ProtoReflect() protoreflect.Message { func (x *GetRepositoryContributorRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *GetRepositoryContributorRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *GetRepositoryContributorRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *GetRepositoryContributorRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } type GetRepositoryContributorRequest_builder struct { @@ -2908,17 +2860,16 @@ func (b0 GetRepositoryContributorRequest_builder) Build() *GetRepositoryContribu m0 := &GetRepositoryContributorRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.UserId = b.UserId + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_UserId = b.UserId return m0 } type GetRepositoryContributorResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The contributor information of the user in the repository. - User *RepositoryContributor `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_User *RepositoryContributor `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryContributorResponse) Reset() { @@ -2948,24 +2899,24 @@ func (x *GetRepositoryContributorResponse) ProtoReflect() protoreflect.Message { func (x *GetRepositoryContributorResponse) GetUser() *RepositoryContributor { if x != nil { - return x.User + return x.xxx_hidden_User } return nil } func (x *GetRepositoryContributorResponse) SetUser(v *RepositoryContributor) { - x.User = v + x.xxx_hidden_User = v } func (x *GetRepositoryContributorResponse) HasUser() bool { if x == nil { return false } - return x.User != nil + return x.xxx_hidden_User != nil } func (x *GetRepositoryContributorResponse) ClearUser() { - x.User = nil + x.xxx_hidden_User = nil } type GetRepositoryContributorResponse_builder struct { @@ -2979,16 +2930,15 @@ func (b0 GetRepositoryContributorResponse_builder) Build() *GetRepositoryContrib m0 := &GetRepositoryContributorResponse{} b, x := &b0, m0 _, _ = b, x - x.User = b.User + x.xxx_hidden_User = b.User return m0 } type GetRepositorySettingsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -3018,13 +2968,13 @@ func (x *GetRepositorySettingsRequest) ProtoReflect() protoreflect.Message { func (x *GetRepositorySettingsRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *GetRepositorySettingsRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } type GetRepositorySettingsRequest_builder struct { @@ -3038,17 +2988,15 @@ func (b0 GetRepositorySettingsRequest_builder) Build() *GetRepositorySettingsReq m0 := &GetRepositorySettingsRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryId = b.RepositoryId return m0 } type GetRepositorySettingsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -3078,13 +3026,13 @@ func (x *GetRepositorySettingsResponse) ProtoReflect() protoreflect.Message { func (x *GetRepositorySettingsResponse) GetContributorsCount() uint32 { if x != nil { - return x.ContributorsCount + return x.xxx_hidden_ContributorsCount } return 0 } func (x *GetRepositorySettingsResponse) SetContributorsCount(v uint32) { - x.ContributorsCount = v + x.xxx_hidden_ContributorsCount = v } type GetRepositorySettingsResponse_builder struct { @@ -3099,24 +3047,22 @@ func (b0 GetRepositorySettingsResponse_builder) Build() *GetRepositorySettingsRe m0 := &GetRepositorySettingsResponse{} b, x := &b0, m0 _, _ = b, x - x.ContributorsCount = b.ContributorsCount + x.xxx_hidden_ContributorsCount = b.ContributorsCount return m0 } type UpdateRepositorySettingsByNameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 - Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` - // optional, update to url will only be made when this is present - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_Visibility Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` + xxx_hidden_Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` + xxx_hidden_Url *string `protobuf:"bytes,5,opt,name=url,proto3,oneof" json:"url,omitempty"` + xxx_hidden_DefaultBranch *string `protobuf:"bytes,6,opt,name=default_branch,json=defaultBranch,proto3,oneof" json:"default_branch,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRepositorySettingsByNameRequest) Reset() { @@ -3146,101 +3092,116 @@ func (x *UpdateRepositorySettingsByNameRequest) ProtoReflect() protoreflect.Mess func (x *UpdateRepositorySettingsByNameRequest) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *UpdateRepositorySettingsByNameRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *UpdateRepositorySettingsByNameRequest) GetVisibility() Visibility { if x != nil { - return x.Visibility + return x.xxx_hidden_Visibility } return Visibility_VISIBILITY_UNSPECIFIED } func (x *UpdateRepositorySettingsByNameRequest) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description + if x != nil { + if x.xxx_hidden_Description != nil { + return *x.xxx_hidden_Description + } + return "" } return "" } func (x *UpdateRepositorySettingsByNameRequest) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url + if x != nil { + if x.xxx_hidden_Url != nil { + return *x.xxx_hidden_Url + } + return "" } return "" } func (x *UpdateRepositorySettingsByNameRequest) GetDefaultBranch() string { - if x != nil && x.DefaultBranch != nil { - return *x.DefaultBranch + if x != nil { + if x.xxx_hidden_DefaultBranch != nil { + return *x.xxx_hidden_DefaultBranch + } + return "" } return "" } func (x *UpdateRepositorySettingsByNameRequest) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *UpdateRepositorySettingsByNameRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *UpdateRepositorySettingsByNameRequest) SetVisibility(v Visibility) { - x.Visibility = v + x.xxx_hidden_Visibility = v } func (x *UpdateRepositorySettingsByNameRequest) SetDescription(v string) { - x.Description = &v + x.xxx_hidden_Description = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 3, 6) } func (x *UpdateRepositorySettingsByNameRequest) SetUrl(v string) { - x.Url = &v + x.xxx_hidden_Url = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 4, 6) } func (x *UpdateRepositorySettingsByNameRequest) SetDefaultBranch(v string) { - x.DefaultBranch = &v + x.xxx_hidden_DefaultBranch = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 5, 6) } func (x *UpdateRepositorySettingsByNameRequest) HasDescription() bool { if x == nil { return false } - return x.Description != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 3) } func (x *UpdateRepositorySettingsByNameRequest) HasUrl() bool { if x == nil { return false } - return x.Url != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 4) } func (x *UpdateRepositorySettingsByNameRequest) HasDefaultBranch() bool { if x == nil { return false } - return x.DefaultBranch != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 5) } func (x *UpdateRepositorySettingsByNameRequest) ClearDescription() { - x.Description = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 3) + x.xxx_hidden_Description = nil } func (x *UpdateRepositorySettingsByNameRequest) ClearUrl() { - x.Url = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 4) + x.xxx_hidden_Url = nil } func (x *UpdateRepositorySettingsByNameRequest) ClearDefaultBranch() { - x.DefaultBranch = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 5) + x.xxx_hidden_DefaultBranch = nil } type UpdateRepositorySettingsByNameRequest_builder struct { @@ -3262,17 +3223,26 @@ func (b0 UpdateRepositorySettingsByNameRequest_builder) Build() *UpdateRepositor m0 := &UpdateRepositorySettingsByNameRequest{} b, x := &b0, m0 _, _ = b, x - x.OwnerName = b.OwnerName - x.RepositoryName = b.RepositoryName - x.Visibility = b.Visibility - x.Description = b.Description - x.Url = b.Url - x.DefaultBranch = b.DefaultBranch + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_Visibility = b.Visibility + if b.Description != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 3, 6) + x.xxx_hidden_Description = b.Description + } + if b.Url != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 4, 6) + x.xxx_hidden_Url = b.Url + } + if b.DefaultBranch != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 5, 6) + x.xxx_hidden_DefaultBranch = b.DefaultBranch + } return m0 } type UpdateRepositorySettingsByNameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -3315,11 +3285,10 @@ func (b0 UpdateRepositorySettingsByNameResponse_builder) Build() *UpdateReposito } type GetRepositoriesMetadataRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The list of repository IDs to request the metadata. - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoriesMetadataRequest) Reset() { @@ -3349,13 +3318,13 @@ func (x *GetRepositoriesMetadataRequest) ProtoReflect() protoreflect.Message { func (x *GetRepositoriesMetadataRequest) GetIds() []string { if x != nil { - return x.Ids + return x.xxx_hidden_Ids } return nil } func (x *GetRepositoriesMetadataRequest) SetIds(v []string) { - x.Ids = v + x.xxx_hidden_Ids = v } type GetRepositoriesMetadataRequest_builder struct { @@ -3369,15 +3338,15 @@ func (b0 GetRepositoriesMetadataRequest_builder) Build() *GetRepositoriesMetadat m0 := &GetRepositoriesMetadataRequest{} b, x := &b0, m0 _, _ = b, x - x.Ids = b.Ids + x.xxx_hidden_Ids = b.Ids return m0 } type GetRepositoriesMetadataResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Metadata []*RepositoryMetadata `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Metadata *[]*RepositoryMetadata `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoriesMetadataResponse) Reset() { @@ -3407,13 +3376,15 @@ func (x *GetRepositoriesMetadataResponse) ProtoReflect() protoreflect.Message { func (x *GetRepositoriesMetadataResponse) GetMetadata() []*RepositoryMetadata { if x != nil { - return x.Metadata + if x.xxx_hidden_Metadata != nil { + return *x.xxx_hidden_Metadata + } } return nil } func (x *GetRepositoriesMetadataResponse) SetMetadata(v []*RepositoryMetadata) { - x.Metadata = v + x.xxx_hidden_Metadata = &v } type GetRepositoriesMetadataResponse_builder struct { @@ -3426,20 +3397,17 @@ func (b0 GetRepositoriesMetadataResponse_builder) Build() *GetRepositoriesMetada m0 := &GetRepositoriesMetadataResponse{} b, x := &b0, m0 _, _ = b, x - x.Metadata = b.Metadata + x.xxx_hidden_Metadata = &b.Metadata return m0 } type GetRepositoryDependencyDOTStringRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryDependencyDOTStringRequest) Reset() { @@ -3469,35 +3437,35 @@ func (x *GetRepositoryDependencyDOTStringRequest) ProtoReflect() protoreflect.Me func (x *GetRepositoryDependencyDOTStringRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetRepositoryDependencyDOTStringRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *GetRepositoryDependencyDOTStringRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *GetRepositoryDependencyDOTStringRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetRepositoryDependencyDOTStringRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *GetRepositoryDependencyDOTStringRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } type GetRepositoryDependencyDOTStringRequest_builder struct { @@ -3515,20 +3483,17 @@ func (b0 GetRepositoryDependencyDOTStringRequest_builder) Build() *GetRepository m0 := &GetRepositoryDependencyDOTStringRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Reference = b.Reference + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Reference = b.Reference return m0 } type GetRepositoryDependencyDOTStringResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -3558,13 +3523,13 @@ func (x *GetRepositoryDependencyDOTStringResponse) ProtoReflect() protoreflect.M func (x *GetRepositoryDependencyDOTStringResponse) GetDotString() string { if x != nil { - return x.DotString + return x.xxx_hidden_DotString } return "" } func (x *GetRepositoryDependencyDOTStringResponse) SetDotString(v string) { - x.DotString = v + x.xxx_hidden_DotString = v } type GetRepositoryDependencyDOTStringResponse_builder struct { @@ -3580,7 +3545,7 @@ func (b0 GetRepositoryDependencyDOTStringResponse_builder) Build() *GetRepositor m0 := &GetRepositoryDependencyDOTStringResponse{} b, x := &b0, m0 _, _ = b, x - x.DotString = b.DotString + x.xxx_hidden_DotString = b.DotString return m0 } @@ -4298,8 +4263,8 @@ func file_buf_alpha_registry_v1alpha1_repository_proto_init() { file_buf_alpha_registry_v1alpha1_user_proto_init() file_buf_alpha_registry_v1alpha1_verification_status_proto_init() file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[0].OneofWrappers = []any{ - (*Repository_UserId)(nil), - (*Repository_OrganizationId)(nil), + (*repository_UserId)(nil), + (*repository_OrganizationId)(nil), } file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[36].OneofWrappers = []any{} type x struct{} 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 f3367b9874..ebacfa9517 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/repository_branch.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -37,29 +35,17 @@ const ( ) type RepositoryBranch struct { - state protoimpl.MessageState `protogen:"hybrid.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. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The name of the repository branch. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The name of the latest commit on the branch. - LatestCommitName string `protobuf:"bytes,3,opt,name=latest_commit_name,json=latestCommitName,proto3" json:"latest_commit_name,omitempty"` - // is_main_branch denotes whether this branch is considered the main branch of the repository. - IsMainBranch bool `protobuf:"varint,4,opt,name=is_main_branch,json=isMainBranch,proto3" json:"is_main_branch,omitempty"` - // The last update time of the branch. - LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` - // The ID of the user who updated the branch. - LastUpdateUserId string `protobuf:"bytes,6,opt,name=last_update_user_id,json=lastUpdateUserId,proto3" json:"last_update_user_id,omitempty"` - // The author name 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. - LastUpdateGitAuthorName string `protobuf:"bytes,7,opt,name=last_update_git_author_name,json=lastUpdateGitAuthorName,proto3" json:"last_update_git_author_name,omitempty"` - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_LatestCommitName string `protobuf:"bytes,3,opt,name=latest_commit_name,json=latestCommitName,proto3" json:"latest_commit_name,omitempty"` + xxx_hidden_IsMainBranch bool `protobuf:"varint,4,opt,name=is_main_branch,json=isMainBranch,proto3" json:"is_main_branch,omitempty"` + xxx_hidden_LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` + xxx_hidden_LastUpdateUserId string `protobuf:"bytes,6,opt,name=last_update_user_id,json=lastUpdateUserId,proto3" json:"last_update_user_id,omitempty"` + xxx_hidden_LastUpdateGitAuthorName string `protobuf:"bytes,7,opt,name=last_update_git_author_name,json=lastUpdateGitAuthorName,proto3" json:"last_update_git_author_name,omitempty"` + xxx_hidden_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() { @@ -89,101 +75,101 @@ func (x *RepositoryBranch) ProtoReflect() protoreflect.Message { func (x *RepositoryBranch) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *RepositoryBranch) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *RepositoryBranch) GetLatestCommitName() string { if x != nil { - return x.LatestCommitName + return x.xxx_hidden_LatestCommitName } return "" } func (x *RepositoryBranch) GetIsMainBranch() bool { if x != nil { - return x.IsMainBranch + return x.xxx_hidden_IsMainBranch } return false } func (x *RepositoryBranch) GetLastUpdateTime() *timestamppb.Timestamp { if x != nil { - return x.LastUpdateTime + return x.xxx_hidden_LastUpdateTime } return nil } func (x *RepositoryBranch) GetLastUpdateUserId() string { if x != nil { - return x.LastUpdateUserId + return x.xxx_hidden_LastUpdateUserId } return "" } func (x *RepositoryBranch) GetLastUpdateGitAuthorName() string { if x != nil { - return x.LastUpdateGitAuthorName + return x.xxx_hidden_LastUpdateGitAuthorName } return "" } func (x *RepositoryBranch) GetLastUpdateGitCommitHash() string { if x != nil { - return x.LastUpdateGitCommitHash + return x.xxx_hidden_LastUpdateGitCommitHash } return "" } func (x *RepositoryBranch) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *RepositoryBranch) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *RepositoryBranch) SetLatestCommitName(v string) { - x.LatestCommitName = v + x.xxx_hidden_LatestCommitName = v } func (x *RepositoryBranch) SetIsMainBranch(v bool) { - x.IsMainBranch = v + x.xxx_hidden_IsMainBranch = v } func (x *RepositoryBranch) SetLastUpdateTime(v *timestamppb.Timestamp) { - x.LastUpdateTime = v + x.xxx_hidden_LastUpdateTime = v } func (x *RepositoryBranch) SetLastUpdateUserId(v string) { - x.LastUpdateUserId = v + x.xxx_hidden_LastUpdateUserId = v } func (x *RepositoryBranch) SetLastUpdateGitAuthorName(v string) { - x.LastUpdateGitAuthorName = v + x.xxx_hidden_LastUpdateGitAuthorName = v } func (x *RepositoryBranch) SetLastUpdateGitCommitHash(v string) { - x.LastUpdateGitCommitHash = v + x.xxx_hidden_LastUpdateGitCommitHash = v } func (x *RepositoryBranch) HasLastUpdateTime() bool { if x == nil { return false } - return x.LastUpdateTime != nil + return x.xxx_hidden_LastUpdateTime != nil } func (x *RepositoryBranch) ClearLastUpdateTime() { - x.LastUpdateTime = nil + x.xxx_hidden_LastUpdateTime = nil } type RepositoryBranch_builder struct { @@ -215,25 +201,23 @@ func (b0 RepositoryBranch_builder) Build() *RepositoryBranch { m0 := &RepositoryBranch{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.Name = b.Name - x.LatestCommitName = b.LatestCommitName - x.IsMainBranch = b.IsMainBranch - x.LastUpdateTime = b.LastUpdateTime - x.LastUpdateUserId = b.LastUpdateUserId - x.LastUpdateGitAuthorName = b.LastUpdateGitAuthorName - x.LastUpdateGitCommitHash = b.LastUpdateGitCommitHash + x.xxx_hidden_Id = b.Id + x.xxx_hidden_Name = b.Name + x.xxx_hidden_LatestCommitName = b.LatestCommitName + x.xxx_hidden_IsMainBranch = b.IsMainBranch + x.xxx_hidden_LastUpdateTime = b.LastUpdateTime + x.xxx_hidden_LastUpdateUserId = b.LastUpdateUserId + x.xxx_hidden_LastUpdateGitAuthorName = b.LastUpdateGitAuthorName + x.xxx_hidden_LastUpdateGitCommitHash = b.LastUpdateGitCommitHash return m0 } type GetRepositoryBranchRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryBranchRequest) Reset() { @@ -263,24 +247,24 @@ func (x *GetRepositoryBranchRequest) ProtoReflect() protoreflect.Message { func (x *GetRepositoryBranchRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *GetRepositoryBranchRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *GetRepositoryBranchRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *GetRepositoryBranchRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } type GetRepositoryBranchRequest_builder struct { @@ -296,16 +280,16 @@ func (b0 GetRepositoryBranchRequest_builder) Build() *GetRepositoryBranchRequest m0 := &GetRepositoryBranchRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.Name = b.Name + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_Name = b.Name return m0 } type GetRepositoryBranchResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Branch *RepositoryBranch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Branch *RepositoryBranch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryBranchResponse) Reset() { @@ -335,24 +319,24 @@ func (x *GetRepositoryBranchResponse) ProtoReflect() protoreflect.Message { func (x *GetRepositoryBranchResponse) GetBranch() *RepositoryBranch { if x != nil { - return x.Branch + return x.xxx_hidden_Branch } return nil } func (x *GetRepositoryBranchResponse) SetBranch(v *RepositoryBranch) { - x.Branch = v + x.xxx_hidden_Branch = v } func (x *GetRepositoryBranchResponse) HasBranch() bool { if x == nil { return false } - return x.Branch != nil + return x.xxx_hidden_Branch != nil } func (x *GetRepositoryBranchResponse) ClearBranch() { - x.Branch = nil + x.xxx_hidden_Branch = nil } type GetRepositoryBranchResponse_builder struct { @@ -365,19 +349,17 @@ func (b0 GetRepositoryBranchResponse_builder) Build() *GetRepositoryBranchRespon m0 := &GetRepositoryBranchResponse{} b, x := &b0, m0 _, _ = b, x - x.Branch = b.Branch + x.xxx_hidden_Branch = b.Branch return m0 } type ListRepositoryBranchesRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_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() { @@ -407,35 +389,35 @@ func (x *ListRepositoryBranchesRequest) ProtoReflect() protoreflect.Message { func (x *ListRepositoryBranchesRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *ListRepositoryBranchesRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListRepositoryBranchesRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListRepositoryBranchesRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *ListRepositoryBranchesRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListRepositoryBranchesRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } type ListRepositoryBranchesRequest_builder struct { @@ -452,19 +434,18 @@ func (b0 ListRepositoryBranchesRequest_builder) Build() *ListRepositoryBranchesR m0 := &ListRepositoryBranchesRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.PageSize = b.PageSize - x.PageToken = b.PageToken + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken return m0 } type ListRepositoryBranchesResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryBranches *[]*RepositoryBranch `protobuf:"bytes,1,rep,name=repository_branches,json=repositoryBranches,proto3" json:"repository_branches,omitempty"` + xxx_hidden_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() { @@ -494,24 +475,26 @@ func (x *ListRepositoryBranchesResponse) ProtoReflect() protoreflect.Message { func (x *ListRepositoryBranchesResponse) GetRepositoryBranches() []*RepositoryBranch { if x != nil { - return x.RepositoryBranches + if x.xxx_hidden_RepositoryBranches != nil { + return *x.xxx_hidden_RepositoryBranches + } } return nil } func (x *ListRepositoryBranchesResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListRepositoryBranchesResponse) SetRepositoryBranches(v []*RepositoryBranch) { - x.RepositoryBranches = v + x.xxx_hidden_RepositoryBranches = &v } func (x *ListRepositoryBranchesResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListRepositoryBranchesResponse_builder struct { @@ -526,27 +509,19 @@ func (b0 ListRepositoryBranchesResponse_builder) Build() *ListRepositoryBranches m0 := &ListRepositoryBranchesResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryBranches = b.RepositoryBranches - x.NextPageToken = b.NextPageToken + x.xxx_hidden_RepositoryBranches = &b.RepositoryBranches + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type ListRepositoryBranchesByReferenceRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // The reference by which to filter the returned branches. - // - // Types that are valid to be assigned to Reference: - // - // *ListRepositoryBranchesByReferenceRequest_CommitName - // *ListRepositoryBranchesByReferenceRequest_VcsCommitHash - Reference isListRepositoryBranchesByReferenceRequest_Reference `protobuf_oneof:"reference"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reference isListRepositoryBranchesByReferenceRequest_Reference `protobuf_oneof:"reference"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryBranchesByReferenceRequest) Reset() { @@ -576,35 +551,28 @@ func (x *ListRepositoryBranchesByReferenceRequest) ProtoReflect() protoreflect.M func (x *ListRepositoryBranchesByReferenceRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *ListRepositoryBranchesByReferenceRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListRepositoryBranchesByReferenceRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } -func (x *ListRepositoryBranchesByReferenceRequest) GetReference() isListRepositoryBranchesByReferenceRequest_Reference { - if x != nil { - return x.Reference - } - return nil -} - func (x *ListRepositoryBranchesByReferenceRequest) GetCommitName() string { if x != nil { - if x, ok := x.Reference.(*ListRepositoryBranchesByReferenceRequest_CommitName); ok { + if x, ok := x.xxx_hidden_Reference.(*listRepositoryBranchesByReferenceRequest_CommitName); ok { return x.CommitName } } @@ -613,7 +581,7 @@ func (x *ListRepositoryBranchesByReferenceRequest) GetCommitName() string { func (x *ListRepositoryBranchesByReferenceRequest) GetVcsCommitHash() string { if x != nil { - if x, ok := x.Reference.(*ListRepositoryBranchesByReferenceRequest_VcsCommitHash); ok { + if x, ok := x.xxx_hidden_Reference.(*listRepositoryBranchesByReferenceRequest_VcsCommitHash); ok { return x.VcsCommitHash } } @@ -621,37 +589,37 @@ func (x *ListRepositoryBranchesByReferenceRequest) GetVcsCommitHash() string { } func (x *ListRepositoryBranchesByReferenceRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *ListRepositoryBranchesByReferenceRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListRepositoryBranchesByReferenceRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListRepositoryBranchesByReferenceRequest) SetCommitName(v string) { - x.Reference = &ListRepositoryBranchesByReferenceRequest_CommitName{v} + x.xxx_hidden_Reference = &listRepositoryBranchesByReferenceRequest_CommitName{v} } func (x *ListRepositoryBranchesByReferenceRequest) SetVcsCommitHash(v string) { - x.Reference = &ListRepositoryBranchesByReferenceRequest_VcsCommitHash{v} + x.xxx_hidden_Reference = &listRepositoryBranchesByReferenceRequest_VcsCommitHash{v} } func (x *ListRepositoryBranchesByReferenceRequest) HasReference() bool { if x == nil { return false } - return x.Reference != nil + return x.xxx_hidden_Reference != nil } func (x *ListRepositoryBranchesByReferenceRequest) HasCommitName() bool { if x == nil { return false } - _, ok := x.Reference.(*ListRepositoryBranchesByReferenceRequest_CommitName) + _, ok := x.xxx_hidden_Reference.(*listRepositoryBranchesByReferenceRequest_CommitName) return ok } @@ -659,23 +627,23 @@ func (x *ListRepositoryBranchesByReferenceRequest) HasVcsCommitHash() bool { if x == nil { return false } - _, ok := x.Reference.(*ListRepositoryBranchesByReferenceRequest_VcsCommitHash) + _, ok := x.xxx_hidden_Reference.(*listRepositoryBranchesByReferenceRequest_VcsCommitHash) return ok } func (x *ListRepositoryBranchesByReferenceRequest) ClearReference() { - x.Reference = nil + x.xxx_hidden_Reference = nil } func (x *ListRepositoryBranchesByReferenceRequest) ClearCommitName() { - if _, ok := x.Reference.(*ListRepositoryBranchesByReferenceRequest_CommitName); ok { - x.Reference = nil + if _, ok := x.xxx_hidden_Reference.(*listRepositoryBranchesByReferenceRequest_CommitName); ok { + x.xxx_hidden_Reference = nil } } func (x *ListRepositoryBranchesByReferenceRequest) ClearVcsCommitHash() { - if _, ok := x.Reference.(*ListRepositoryBranchesByReferenceRequest_VcsCommitHash); ok { - x.Reference = nil + if _, ok := x.xxx_hidden_Reference.(*listRepositoryBranchesByReferenceRequest_VcsCommitHash); ok { + x.xxx_hidden_Reference = nil } } @@ -687,10 +655,10 @@ func (x *ListRepositoryBranchesByReferenceRequest) WhichReference() case_ListRep if x == nil { return ListRepositoryBranchesByReferenceRequest_Reference_not_set_case } - switch x.Reference.(type) { - case *ListRepositoryBranchesByReferenceRequest_CommitName: + switch x.xxx_hidden_Reference.(type) { + case *listRepositoryBranchesByReferenceRequest_CommitName: return ListRepositoryBranchesByReferenceRequest_CommitName_case - case *ListRepositoryBranchesByReferenceRequest_VcsCommitHash: + case *listRepositoryBranchesByReferenceRequest_VcsCommitHash: return ListRepositoryBranchesByReferenceRequest_VcsCommitHash_case default: return ListRepositoryBranchesByReferenceRequest_Reference_not_set_case @@ -707,27 +675,27 @@ type ListRepositoryBranchesByReferenceRequest_builder struct { PageToken string // The reference by which to filter the returned branches. - // Fields of oneof Reference: + // Fields of oneof xxx_hidden_Reference: // The name of a BSR commit. This will filter the branches to only those that include the commit. CommitName *string // The hash of a VCS commit. This will filter the branches to only those that include the commit // associated with the VCS hash. VcsCommitHash *string - // -- end of Reference + // -- end of xxx_hidden_Reference } func (b0 ListRepositoryBranchesByReferenceRequest_builder) Build() *ListRepositoryBranchesByReferenceRequest { m0 := &ListRepositoryBranchesByReferenceRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.PageSize = b.PageSize - x.PageToken = b.PageToken + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken if b.CommitName != nil { - x.Reference = &ListRepositoryBranchesByReferenceRequest_CommitName{*b.CommitName} + x.xxx_hidden_Reference = &listRepositoryBranchesByReferenceRequest_CommitName{*b.CommitName} } if b.VcsCommitHash != nil { - x.Reference = &ListRepositoryBranchesByReferenceRequest_VcsCommitHash{*b.VcsCommitHash} + x.xxx_hidden_Reference = &listRepositoryBranchesByReferenceRequest_VcsCommitHash{*b.VcsCommitHash} } return m0 } @@ -746,30 +714,29 @@ type isListRepositoryBranchesByReferenceRequest_Reference interface { isListRepositoryBranchesByReferenceRequest_Reference() } -type ListRepositoryBranchesByReferenceRequest_CommitName struct { +type listRepositoryBranchesByReferenceRequest_CommitName struct { // The name of a BSR commit. This will filter the branches to only those that include the commit. CommitName string `protobuf:"bytes,4,opt,name=commit_name,json=commitName,proto3,oneof"` } -type ListRepositoryBranchesByReferenceRequest_VcsCommitHash struct { +type listRepositoryBranchesByReferenceRequest_VcsCommitHash struct { // The hash of a VCS commit. This will filter the branches to only those that include the commit // associated with the VCS hash. VcsCommitHash string `protobuf:"bytes,5,opt,name=vcs_commit_hash,json=vcsCommitHash,proto3,oneof"` } -func (*ListRepositoryBranchesByReferenceRequest_CommitName) isListRepositoryBranchesByReferenceRequest_Reference() { +func (*listRepositoryBranchesByReferenceRequest_CommitName) isListRepositoryBranchesByReferenceRequest_Reference() { } -func (*ListRepositoryBranchesByReferenceRequest_VcsCommitHash) isListRepositoryBranchesByReferenceRequest_Reference() { +func (*listRepositoryBranchesByReferenceRequest_VcsCommitHash) isListRepositoryBranchesByReferenceRequest_Reference() { } type ListRepositoryBranchesByReferenceResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryBranches *[]*RepositoryBranch `protobuf:"bytes,1,rep,name=repository_branches,json=repositoryBranches,proto3" json:"repository_branches,omitempty"` + xxx_hidden_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() { @@ -799,24 +766,26 @@ func (x *ListRepositoryBranchesByReferenceResponse) ProtoReflect() protoreflect. func (x *ListRepositoryBranchesByReferenceResponse) GetRepositoryBranches() []*RepositoryBranch { if x != nil { - return x.RepositoryBranches + if x.xxx_hidden_RepositoryBranches != nil { + return *x.xxx_hidden_RepositoryBranches + } } return nil } func (x *ListRepositoryBranchesByReferenceResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListRepositoryBranchesByReferenceResponse) SetRepositoryBranches(v []*RepositoryBranch) { - x.RepositoryBranches = v + x.xxx_hidden_RepositoryBranches = &v } func (x *ListRepositoryBranchesByReferenceResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListRepositoryBranchesByReferenceResponse_builder struct { @@ -831,17 +800,16 @@ func (b0 ListRepositoryBranchesByReferenceResponse_builder) Build() *ListReposit m0 := &ListRepositoryBranchesByReferenceResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryBranches = b.RepositoryBranches - x.NextPageToken = b.NextPageToken + x.xxx_hidden_RepositoryBranches = &b.RepositoryBranches + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type GetCurrentDefaultBranchRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -871,13 +839,13 @@ func (x *GetCurrentDefaultBranchRequest) ProtoReflect() protoreflect.Message { func (x *GetCurrentDefaultBranchRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *GetCurrentDefaultBranchRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } type GetCurrentDefaultBranchRequest_builder struct { @@ -891,15 +859,15 @@ func (b0 GetCurrentDefaultBranchRequest_builder) Build() *GetCurrentDefaultBranc m0 := &GetCurrentDefaultBranchRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryId = b.RepositoryId return m0 } type GetCurrentDefaultBranchResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -929,24 +897,24 @@ func (x *GetCurrentDefaultBranchResponse) ProtoReflect() protoreflect.Message { func (x *GetCurrentDefaultBranchResponse) GetCurrentDefaultBranch() *RepositoryBranch { if x != nil { - return x.CurrentDefaultBranch + return x.xxx_hidden_CurrentDefaultBranch } return nil } func (x *GetCurrentDefaultBranchResponse) SetCurrentDefaultBranch(v *RepositoryBranch) { - x.CurrentDefaultBranch = v + x.xxx_hidden_CurrentDefaultBranch = v } func (x *GetCurrentDefaultBranchResponse) HasCurrentDefaultBranch() bool { if x == nil { return false } - return x.CurrentDefaultBranch != nil + return x.xxx_hidden_CurrentDefaultBranch != nil } func (x *GetCurrentDefaultBranchResponse) ClearCurrentDefaultBranch() { - x.CurrentDefaultBranch = nil + x.xxx_hidden_CurrentDefaultBranch = nil } type GetCurrentDefaultBranchResponse_builder struct { @@ -959,7 +927,7 @@ func (b0 GetCurrentDefaultBranchResponse_builder) Build() *GetCurrentDefaultBran m0 := &GetCurrentDefaultBranchResponse{} b, x := &b0, m0 _, _ = b, x - x.CurrentDefaultBranch = b.CurrentDefaultBranch + x.xxx_hidden_CurrentDefaultBranch = b.CurrentDefaultBranch return m0 } @@ -1170,8 +1138,8 @@ func file_buf_alpha_registry_v1alpha1_repository_branch_proto_init() { return } file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[5].OneofWrappers = []any{ - (*ListRepositoryBranchesByReferenceRequest_CommitName)(nil), - (*ListRepositoryBranchesByReferenceRequest_VcsCommitHash)(nil), + (*listRepositoryBranchesByReferenceRequest_CommitName)(nil), + (*listRepositoryBranchesByReferenceRequest_VcsCommitHash)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_branch_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_branch_protoopaque.pb.go deleted file mode 100644 index 2b48e81b7f..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_branch_protoopaque.pb.go +++ /dev/null @@ -1,1164 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/repository_branch.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type RepositoryBranch struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_LatestCommitName string `protobuf:"bytes,3,opt,name=latest_commit_name,json=latestCommitName,proto3" json:"latest_commit_name,omitempty"` - xxx_hidden_IsMainBranch bool `protobuf:"varint,4,opt,name=is_main_branch,json=isMainBranch,proto3" json:"is_main_branch,omitempty"` - xxx_hidden_LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` - xxx_hidden_LastUpdateUserId string `protobuf:"bytes,6,opt,name=last_update_user_id,json=lastUpdateUserId,proto3" json:"last_update_user_id,omitempty"` - xxx_hidden_LastUpdateGitAuthorName string `protobuf:"bytes,7,opt,name=last_update_git_author_name,json=lastUpdateGitAuthorName,proto3" json:"last_update_git_author_name,omitempty"` - xxx_hidden_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() { - *x = RepositoryBranch{} - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RepositoryBranch) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryBranch) ProtoMessage() {} - -func (x *RepositoryBranch) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RepositoryBranch) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *RepositoryBranch) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *RepositoryBranch) GetLatestCommitName() string { - if x != nil { - return x.xxx_hidden_LatestCommitName - } - return "" -} - -func (x *RepositoryBranch) GetIsMainBranch() bool { - if x != nil { - return x.xxx_hidden_IsMainBranch - } - return false -} - -func (x *RepositoryBranch) GetLastUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_LastUpdateTime - } - return nil -} - -func (x *RepositoryBranch) GetLastUpdateUserId() string { - if x != nil { - return x.xxx_hidden_LastUpdateUserId - } - return "" -} - -func (x *RepositoryBranch) GetLastUpdateGitAuthorName() string { - if x != nil { - return x.xxx_hidden_LastUpdateGitAuthorName - } - return "" -} - -func (x *RepositoryBranch) GetLastUpdateGitCommitHash() string { - if x != nil { - return x.xxx_hidden_LastUpdateGitCommitHash - } - return "" -} - -func (x *RepositoryBranch) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *RepositoryBranch) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *RepositoryBranch) SetLatestCommitName(v string) { - x.xxx_hidden_LatestCommitName = v -} - -func (x *RepositoryBranch) SetIsMainBranch(v bool) { - x.xxx_hidden_IsMainBranch = v -} - -func (x *RepositoryBranch) SetLastUpdateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_LastUpdateTime = v -} - -func (x *RepositoryBranch) SetLastUpdateUserId(v string) { - x.xxx_hidden_LastUpdateUserId = v -} - -func (x *RepositoryBranch) SetLastUpdateGitAuthorName(v string) { - x.xxx_hidden_LastUpdateGitAuthorName = v -} - -func (x *RepositoryBranch) SetLastUpdateGitCommitHash(v string) { - x.xxx_hidden_LastUpdateGitCommitHash = v -} - -func (x *RepositoryBranch) HasLastUpdateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_LastUpdateTime != nil -} - -func (x *RepositoryBranch) ClearLastUpdateTime() { - x.xxx_hidden_LastUpdateTime = nil -} - -type RepositoryBranch_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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. - Id string - // The name of the repository branch. - Name string - // The name of the latest commit on the branch. - LatestCommitName string - // is_main_branch denotes whether this branch is considered the main branch of the repository. - IsMainBranch bool - // The last update time of the branch. - LastUpdateTime *timestamppb.Timestamp - // The ID of the user who updated the branch. - LastUpdateUserId string - // The author name 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. - LastUpdateGitAuthorName string - // 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 -} - -func (b0 RepositoryBranch_builder) Build() *RepositoryBranch { - m0 := &RepositoryBranch{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_Name = b.Name - x.xxx_hidden_LatestCommitName = b.LatestCommitName - x.xxx_hidden_IsMainBranch = b.IsMainBranch - x.xxx_hidden_LastUpdateTime = b.LastUpdateTime - x.xxx_hidden_LastUpdateUserId = b.LastUpdateUserId - x.xxx_hidden_LastUpdateGitAuthorName = b.LastUpdateGitAuthorName - x.xxx_hidden_LastUpdateGitCommitHash = b.LastUpdateGitCommitHash - return m0 -} - -type GetRepositoryBranchRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoryBranchRequest) Reset() { - *x = GetRepositoryBranchRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryBranchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryBranchRequest) ProtoMessage() {} - -func (x *GetRepositoryBranchRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryBranchRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *GetRepositoryBranchRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *GetRepositoryBranchRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *GetRepositoryBranchRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -type GetRepositoryBranchRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository for which the branch is requested. - RepositoryId string - // The name of the branch to get. - Name string -} - -func (b0 GetRepositoryBranchRequest_builder) Build() *GetRepositoryBranchRequest { - m0 := &GetRepositoryBranchRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_Name = b.Name - return m0 -} - -type GetRepositoryBranchResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Branch *RepositoryBranch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoryBranchResponse) Reset() { - *x = GetRepositoryBranchResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryBranchResponse) ProtoMessage() {} - -func (x *GetRepositoryBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryBranchResponse) GetBranch() *RepositoryBranch { - if x != nil { - return x.xxx_hidden_Branch - } - return nil -} - -func (x *GetRepositoryBranchResponse) SetBranch(v *RepositoryBranch) { - x.xxx_hidden_Branch = v -} - -func (x *GetRepositoryBranchResponse) HasBranch() bool { - if x == nil { - return false - } - return x.xxx_hidden_Branch != nil -} - -func (x *GetRepositoryBranchResponse) ClearBranch() { - x.xxx_hidden_Branch = nil -} - -type GetRepositoryBranchResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Branch *RepositoryBranch -} - -func (b0 GetRepositoryBranchResponse_builder) Build() *GetRepositoryBranchResponse { - m0 := &GetRepositoryBranchResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Branch = b.Branch - return m0 -} - -type ListRepositoryBranchesRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_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() { - *x = ListRepositoryBranchesRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryBranchesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryBranchesRequest) ProtoMessage() {} - -func (x *ListRepositoryBranchesRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryBranchesRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *ListRepositoryBranchesRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListRepositoryBranchesRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListRepositoryBranchesRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *ListRepositoryBranchesRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListRepositoryBranchesRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -type ListRepositoryBranchesRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository whose branches should be listed. - RepositoryId string - PageSize uint32 - // The first page is returned if this is empty. - PageToken string -} - -func (b0 ListRepositoryBranchesRequest_builder) Build() *ListRepositoryBranchesRequest { - m0 := &ListRepositoryBranchesRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - return m0 -} - -type ListRepositoryBranchesResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryBranches *[]*RepositoryBranch `protobuf:"bytes,1,rep,name=repository_branches,json=repositoryBranches,proto3" json:"repository_branches,omitempty"` - xxx_hidden_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() { - *x = ListRepositoryBranchesResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryBranchesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryBranchesResponse) ProtoMessage() {} - -func (x *ListRepositoryBranchesResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryBranchesResponse) GetRepositoryBranches() []*RepositoryBranch { - if x != nil { - if x.xxx_hidden_RepositoryBranches != nil { - return *x.xxx_hidden_RepositoryBranches - } - } - return nil -} - -func (x *ListRepositoryBranchesResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListRepositoryBranchesResponse) SetRepositoryBranches(v []*RepositoryBranch) { - x.xxx_hidden_RepositoryBranches = &v -} - -func (x *ListRepositoryBranchesResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListRepositoryBranchesResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryBranches []*RepositoryBranch - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListRepositoryBranchesResponse_builder) Build() *ListRepositoryBranchesResponse { - m0 := &ListRepositoryBranchesResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryBranches = &b.RepositoryBranches - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type ListRepositoryBranchesByReferenceRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reference isListRepositoryBranchesByReferenceRequest_Reference `protobuf_oneof:"reference"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListRepositoryBranchesByReferenceRequest) Reset() { - *x = ListRepositoryBranchesByReferenceRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryBranchesByReferenceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryBranchesByReferenceRequest) ProtoMessage() {} - -func (x *ListRepositoryBranchesByReferenceRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryBranchesByReferenceRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *ListRepositoryBranchesByReferenceRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListRepositoryBranchesByReferenceRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListRepositoryBranchesByReferenceRequest) GetCommitName() string { - if x != nil { - if x, ok := x.xxx_hidden_Reference.(*listRepositoryBranchesByReferenceRequest_CommitName); ok { - return x.CommitName - } - } - return "" -} - -func (x *ListRepositoryBranchesByReferenceRequest) GetVcsCommitHash() string { - if x != nil { - if x, ok := x.xxx_hidden_Reference.(*listRepositoryBranchesByReferenceRequest_VcsCommitHash); ok { - return x.VcsCommitHash - } - } - return "" -} - -func (x *ListRepositoryBranchesByReferenceRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *ListRepositoryBranchesByReferenceRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListRepositoryBranchesByReferenceRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListRepositoryBranchesByReferenceRequest) SetCommitName(v string) { - x.xxx_hidden_Reference = &listRepositoryBranchesByReferenceRequest_CommitName{v} -} - -func (x *ListRepositoryBranchesByReferenceRequest) SetVcsCommitHash(v string) { - x.xxx_hidden_Reference = &listRepositoryBranchesByReferenceRequest_VcsCommitHash{v} -} - -func (x *ListRepositoryBranchesByReferenceRequest) HasReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_Reference != nil -} - -func (x *ListRepositoryBranchesByReferenceRequest) HasCommitName() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Reference.(*listRepositoryBranchesByReferenceRequest_CommitName) - return ok -} - -func (x *ListRepositoryBranchesByReferenceRequest) HasVcsCommitHash() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Reference.(*listRepositoryBranchesByReferenceRequest_VcsCommitHash) - return ok -} - -func (x *ListRepositoryBranchesByReferenceRequest) ClearReference() { - x.xxx_hidden_Reference = nil -} - -func (x *ListRepositoryBranchesByReferenceRequest) ClearCommitName() { - if _, ok := x.xxx_hidden_Reference.(*listRepositoryBranchesByReferenceRequest_CommitName); ok { - x.xxx_hidden_Reference = nil - } -} - -func (x *ListRepositoryBranchesByReferenceRequest) ClearVcsCommitHash() { - if _, ok := x.xxx_hidden_Reference.(*listRepositoryBranchesByReferenceRequest_VcsCommitHash); ok { - x.xxx_hidden_Reference = nil - } -} - -const ListRepositoryBranchesByReferenceRequest_Reference_not_set_case case_ListRepositoryBranchesByReferenceRequest_Reference = 0 -const ListRepositoryBranchesByReferenceRequest_CommitName_case case_ListRepositoryBranchesByReferenceRequest_Reference = 4 -const ListRepositoryBranchesByReferenceRequest_VcsCommitHash_case case_ListRepositoryBranchesByReferenceRequest_Reference = 5 - -func (x *ListRepositoryBranchesByReferenceRequest) WhichReference() case_ListRepositoryBranchesByReferenceRequest_Reference { - if x == nil { - return ListRepositoryBranchesByReferenceRequest_Reference_not_set_case - } - switch x.xxx_hidden_Reference.(type) { - case *listRepositoryBranchesByReferenceRequest_CommitName: - return ListRepositoryBranchesByReferenceRequest_CommitName_case - case *listRepositoryBranchesByReferenceRequest_VcsCommitHash: - return ListRepositoryBranchesByReferenceRequest_VcsCommitHash_case - default: - return ListRepositoryBranchesByReferenceRequest_Reference_not_set_case - } -} - -type ListRepositoryBranchesByReferenceRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository whose branches should be listed. - RepositoryId string - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - // The reference by which to filter the returned branches. - - // Fields of oneof xxx_hidden_Reference: - // The name of a BSR commit. This will filter the branches to only those that include the commit. - CommitName *string - // The hash of a VCS commit. This will filter the branches to only those that include the commit - // associated with the VCS hash. - VcsCommitHash *string - // -- end of xxx_hidden_Reference -} - -func (b0 ListRepositoryBranchesByReferenceRequest_builder) Build() *ListRepositoryBranchesByReferenceRequest { - m0 := &ListRepositoryBranchesByReferenceRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - if b.CommitName != nil { - x.xxx_hidden_Reference = &listRepositoryBranchesByReferenceRequest_CommitName{*b.CommitName} - } - if b.VcsCommitHash != nil { - x.xxx_hidden_Reference = &listRepositoryBranchesByReferenceRequest_VcsCommitHash{*b.VcsCommitHash} - } - return m0 -} - -type case_ListRepositoryBranchesByReferenceRequest_Reference protoreflect.FieldNumber - -func (x case_ListRepositoryBranchesByReferenceRequest_Reference) String() string { - md := file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[5].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isListRepositoryBranchesByReferenceRequest_Reference interface { - isListRepositoryBranchesByReferenceRequest_Reference() -} - -type listRepositoryBranchesByReferenceRequest_CommitName struct { - // The name of a BSR commit. This will filter the branches to only those that include the commit. - CommitName string `protobuf:"bytes,4,opt,name=commit_name,json=commitName,proto3,oneof"` -} - -type listRepositoryBranchesByReferenceRequest_VcsCommitHash struct { - // The hash of a VCS commit. This will filter the branches to only those that include the commit - // associated with the VCS hash. - VcsCommitHash string `protobuf:"bytes,5,opt,name=vcs_commit_hash,json=vcsCommitHash,proto3,oneof"` -} - -func (*listRepositoryBranchesByReferenceRequest_CommitName) isListRepositoryBranchesByReferenceRequest_Reference() { -} - -func (*listRepositoryBranchesByReferenceRequest_VcsCommitHash) isListRepositoryBranchesByReferenceRequest_Reference() { -} - -type ListRepositoryBranchesByReferenceResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryBranches *[]*RepositoryBranch `protobuf:"bytes,1,rep,name=repository_branches,json=repositoryBranches,proto3" json:"repository_branches,omitempty"` - xxx_hidden_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() { - *x = ListRepositoryBranchesByReferenceResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryBranchesByReferenceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryBranchesByReferenceResponse) ProtoMessage() {} - -func (x *ListRepositoryBranchesByReferenceResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryBranchesByReferenceResponse) GetRepositoryBranches() []*RepositoryBranch { - if x != nil { - if x.xxx_hidden_RepositoryBranches != nil { - return *x.xxx_hidden_RepositoryBranches - } - } - return nil -} - -func (x *ListRepositoryBranchesByReferenceResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListRepositoryBranchesByReferenceResponse) SetRepositoryBranches(v []*RepositoryBranch) { - x.xxx_hidden_RepositoryBranches = &v -} - -func (x *ListRepositoryBranchesByReferenceResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListRepositoryBranchesByReferenceResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryBranches []*RepositoryBranch - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListRepositoryBranchesByReferenceResponse_builder) Build() *ListRepositoryBranchesByReferenceResponse { - m0 := &ListRepositoryBranchesByReferenceResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryBranches = &b.RepositoryBranches - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type GetCurrentDefaultBranchRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetCurrentDefaultBranchRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetCurrentDefaultBranchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCurrentDefaultBranchRequest) ProtoMessage() {} - -func (x *GetCurrentDefaultBranchRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetCurrentDefaultBranchRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *GetCurrentDefaultBranchRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -type GetCurrentDefaultBranchRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository whose current default branch is returned. - RepositoryId string -} - -func (b0 GetCurrentDefaultBranchRequest_builder) Build() *GetCurrentDefaultBranchRequest { - m0 := &GetCurrentDefaultBranchRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - return m0 -} - -type GetCurrentDefaultBranchResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetCurrentDefaultBranchResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetCurrentDefaultBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCurrentDefaultBranchResponse) ProtoMessage() {} - -func (x *GetCurrentDefaultBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetCurrentDefaultBranchResponse) GetCurrentDefaultBranch() *RepositoryBranch { - if x != nil { - return x.xxx_hidden_CurrentDefaultBranch - } - return nil -} - -func (x *GetCurrentDefaultBranchResponse) SetCurrentDefaultBranch(v *RepositoryBranch) { - x.xxx_hidden_CurrentDefaultBranch = v -} - -func (x *GetCurrentDefaultBranchResponse) HasCurrentDefaultBranch() bool { - if x == nil { - return false - } - return x.xxx_hidden_CurrentDefaultBranch != nil -} - -func (x *GetCurrentDefaultBranchResponse) ClearCurrentDefaultBranch() { - x.xxx_hidden_CurrentDefaultBranch = nil -} - -type GetCurrentDefaultBranchResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - CurrentDefaultBranch *RepositoryBranch -} - -func (b0 GetCurrentDefaultBranchResponse_builder) Build() *GetCurrentDefaultBranchResponse { - m0 := &GetCurrentDefaultBranchResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_CurrentDefaultBranch = b.CurrentDefaultBranch - return m0 -} - -var File_buf_alpha_registry_v1alpha1_repository_branch_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_repository_branch_proto_rawDesc = []byte{ - 0x0a, 0x33, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0xfb, 0x02, 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, - 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, - 0x5f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, - 0x12, 0x44, 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x5f, 0x67, 0x69, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x6c, 0x61, 0x73, 0x74, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x1b, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x5f, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x68, 0x61, - 0x73, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x48, 0x61, 0x73, - 0x68, 0x22, 0x55, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x64, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x80, - 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, - 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, - 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x22, 0xa8, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x13, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, - 0x52, 0x12, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, - 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xe5, 0x01, 0x0a, - 0x28, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x1b, - 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a, 0x0b, 0x63, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, - 0x0f, 0x76, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x76, 0x63, 0x73, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x48, 0x61, 0x73, 0x68, 0x42, 0x0b, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x22, 0xb3, 0x01, 0x0a, 0x29, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x42, - 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x13, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x12, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, - 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, - 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x45, 0x0a, 0x1e, 0x47, 0x65, - 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, - 0x64, 0x22, 0x86, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, - 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x16, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, - 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x52, 0x14, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x32, 0x98, 0x05, 0x0a, 0x17, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x37, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x96, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, - 0x73, 0x12, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, - 0xb7, 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x45, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x46, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, - 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x99, 0x01, 0x0a, 0x17, 0x47, 0x65, - 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x3b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x44, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0xa2, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x15, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, - 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, - 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, - 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, - 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, - 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, - 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_buf_alpha_registry_v1alpha1_repository_branch_proto_goTypes = []any{ - (*RepositoryBranch)(nil), // 0: buf.alpha.registry.v1alpha1.RepositoryBranch - (*GetRepositoryBranchRequest)(nil), // 1: buf.alpha.registry.v1alpha1.GetRepositoryBranchRequest - (*GetRepositoryBranchResponse)(nil), // 2: buf.alpha.registry.v1alpha1.GetRepositoryBranchResponse - (*ListRepositoryBranchesRequest)(nil), // 3: buf.alpha.registry.v1alpha1.ListRepositoryBranchesRequest - (*ListRepositoryBranchesResponse)(nil), // 4: buf.alpha.registry.v1alpha1.ListRepositoryBranchesResponse - (*ListRepositoryBranchesByReferenceRequest)(nil), // 5: buf.alpha.registry.v1alpha1.ListRepositoryBranchesByReferenceRequest - (*ListRepositoryBranchesByReferenceResponse)(nil), // 6: buf.alpha.registry.v1alpha1.ListRepositoryBranchesByReferenceResponse - (*GetCurrentDefaultBranchRequest)(nil), // 7: buf.alpha.registry.v1alpha1.GetCurrentDefaultBranchRequest - (*GetCurrentDefaultBranchResponse)(nil), // 8: buf.alpha.registry.v1alpha1.GetCurrentDefaultBranchResponse - (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp -} -var file_buf_alpha_registry_v1alpha1_repository_branch_proto_depIdxs = []int32{ - 9, // 0: buf.alpha.registry.v1alpha1.RepositoryBranch.last_update_time:type_name -> google.protobuf.Timestamp - 0, // 1: buf.alpha.registry.v1alpha1.GetRepositoryBranchResponse.branch:type_name -> buf.alpha.registry.v1alpha1.RepositoryBranch - 0, // 2: buf.alpha.registry.v1alpha1.ListRepositoryBranchesResponse.repository_branches:type_name -> buf.alpha.registry.v1alpha1.RepositoryBranch - 0, // 3: buf.alpha.registry.v1alpha1.ListRepositoryBranchesByReferenceResponse.repository_branches:type_name -> buf.alpha.registry.v1alpha1.RepositoryBranch - 0, // 4: buf.alpha.registry.v1alpha1.GetCurrentDefaultBranchResponse.current_default_branch:type_name -> buf.alpha.registry.v1alpha1.RepositoryBranch - 1, // 5: buf.alpha.registry.v1alpha1.RepositoryBranchService.GetRepositoryBranch:input_type -> buf.alpha.registry.v1alpha1.GetRepositoryBranchRequest - 3, // 6: buf.alpha.registry.v1alpha1.RepositoryBranchService.ListRepositoryBranches:input_type -> buf.alpha.registry.v1alpha1.ListRepositoryBranchesRequest - 5, // 7: buf.alpha.registry.v1alpha1.RepositoryBranchService.ListRepositoryBranchesByReference:input_type -> buf.alpha.registry.v1alpha1.ListRepositoryBranchesByReferenceRequest - 7, // 8: buf.alpha.registry.v1alpha1.RepositoryBranchService.GetCurrentDefaultBranch:input_type -> buf.alpha.registry.v1alpha1.GetCurrentDefaultBranchRequest - 2, // 9: buf.alpha.registry.v1alpha1.RepositoryBranchService.GetRepositoryBranch:output_type -> buf.alpha.registry.v1alpha1.GetRepositoryBranchResponse - 4, // 10: buf.alpha.registry.v1alpha1.RepositoryBranchService.ListRepositoryBranches:output_type -> buf.alpha.registry.v1alpha1.ListRepositoryBranchesResponse - 6, // 11: buf.alpha.registry.v1alpha1.RepositoryBranchService.ListRepositoryBranchesByReference:output_type -> buf.alpha.registry.v1alpha1.ListRepositoryBranchesByReferenceResponse - 8, // 12: buf.alpha.registry.v1alpha1.RepositoryBranchService.GetCurrentDefaultBranch:output_type -> buf.alpha.registry.v1alpha1.GetCurrentDefaultBranchResponse - 9, // [9:13] is the sub-list for method output_type - 5, // [5:9] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_repository_branch_proto_init() } -func file_buf_alpha_registry_v1alpha1_repository_branch_proto_init() { - if File_buf_alpha_registry_v1alpha1_repository_branch_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes[5].OneofWrappers = []any{ - (*listRepositoryBranchesByReferenceRequest_CommitName)(nil), - (*listRepositoryBranchesByReferenceRequest_VcsCommitHash)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_repository_branch_proto_rawDesc, - NumEnums: 0, - NumMessages: 9, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_repository_branch_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_repository_branch_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_repository_branch_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_repository_branch_proto = out.File - file_buf_alpha_registry_v1alpha1_repository_branch_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_repository_branch_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_repository_branch_proto_depIdxs = nil -} 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 c972f48c71..9072bc0619 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/repository_commit.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -37,40 +35,22 @@ const ( ) type RepositoryCommit struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // primary key, unique, immutable - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // immutable - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The digest of the commit. - Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` - // The name of the commit. - // This is what is referenced by users. - // Unique, immutable. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // The branch on which this commit was created. - Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"` - // The username of the user who authored this commit. - Author string `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"` - // The tags associated with this commit - Tags []*RepositoryTag `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` - // The commit's draft name, if it is a draft commit. - DraftName string `protobuf:"bytes,9,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` - // spdx_license_id is the license of the commit, based on the - // license file pushed, which should be one of the identifier defined in - // https://spdx.org/licenses, and will be not set if the license file is not - // presented or cannot be classified into a known license. - SpdxLicenseId string `protobuf:"bytes,10,opt,name=spdx_license_id,json=spdxLicenseId,proto3" json:"spdx_license_id,omitempty"` - // The manifest digest of the commit. - ManifestDigest string `protobuf:"bytes,11,opt,name=manifest_digest,json=manifestDigest,proto3" json:"manifest_digest,omitempty"` - // Number of tags associated with the commit. - TagCount int64 `protobuf:"varint,12,opt,name=tag_count,json=tagCount,proto3" json:"tag_count,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + xxx_hidden_Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"` + xxx_hidden_Author string `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"` + xxx_hidden_Tags *[]*RepositoryTag `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` + xxx_hidden_DraftName string `protobuf:"bytes,9,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` + xxx_hidden_SpdxLicenseId string `protobuf:"bytes,10,opt,name=spdx_license_id,json=spdxLicenseId,proto3" json:"spdx_license_id,omitempty"` + xxx_hidden_ManifestDigest string `protobuf:"bytes,11,opt,name=manifest_digest,json=manifestDigest,proto3" json:"manifest_digest,omitempty"` + xxx_hidden_TagCount int64 `protobuf:"varint,12,opt,name=tag_count,json=tagCount,proto3" json:"tag_count,omitempty"` + xxx_hidden_GitCommitsCount int64 `protobuf:"varint,13,opt,name=git_commits_count,json=gitCommitsCount,proto3" json:"git_commits_count,omitempty"` + xxx_hidden_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() { @@ -100,156 +80,158 @@ func (x *RepositoryCommit) ProtoReflect() protoreflect.Message { func (x *RepositoryCommit) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *RepositoryCommit) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *RepositoryCommit) GetDigest() string { if x != nil { - return x.Digest + return x.xxx_hidden_Digest } return "" } func (x *RepositoryCommit) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *RepositoryCommit) GetBranch() string { if x != nil { - return x.Branch + return x.xxx_hidden_Branch } return "" } func (x *RepositoryCommit) GetAuthor() string { if x != nil { - return x.Author + return x.xxx_hidden_Author } return "" } func (x *RepositoryCommit) GetTags() []*RepositoryTag { if x != nil { - return x.Tags + if x.xxx_hidden_Tags != nil { + return *x.xxx_hidden_Tags + } } return nil } func (x *RepositoryCommit) GetDraftName() string { if x != nil { - return x.DraftName + return x.xxx_hidden_DraftName } return "" } func (x *RepositoryCommit) GetSpdxLicenseId() string { if x != nil { - return x.SpdxLicenseId + return x.xxx_hidden_SpdxLicenseId } return "" } func (x *RepositoryCommit) GetManifestDigest() string { if x != nil { - return x.ManifestDigest + return x.xxx_hidden_ManifestDigest } return "" } func (x *RepositoryCommit) GetTagCount() int64 { if x != nil { - return x.TagCount + return x.xxx_hidden_TagCount } return 0 } func (x *RepositoryCommit) GetGitCommitsCount() int64 { if x != nil { - return x.GitCommitsCount + return x.xxx_hidden_GitCommitsCount } return 0 } func (x *RepositoryCommit) GetB5Digest() string { if x != nil { - return x.B5Digest + return x.xxx_hidden_B5Digest } return "" } func (x *RepositoryCommit) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *RepositoryCommit) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *RepositoryCommit) SetDigest(v string) { - x.Digest = v + x.xxx_hidden_Digest = v } func (x *RepositoryCommit) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *RepositoryCommit) SetBranch(v string) { - x.Branch = v + x.xxx_hidden_Branch = v } func (x *RepositoryCommit) SetAuthor(v string) { - x.Author = v + x.xxx_hidden_Author = v } func (x *RepositoryCommit) SetTags(v []*RepositoryTag) { - x.Tags = v + x.xxx_hidden_Tags = &v } func (x *RepositoryCommit) SetDraftName(v string) { - x.DraftName = v + x.xxx_hidden_DraftName = v } func (x *RepositoryCommit) SetSpdxLicenseId(v string) { - x.SpdxLicenseId = v + x.xxx_hidden_SpdxLicenseId = v } func (x *RepositoryCommit) SetManifestDigest(v string) { - x.ManifestDigest = v + x.xxx_hidden_ManifestDigest = v } func (x *RepositoryCommit) SetTagCount(v int64) { - x.TagCount = v + x.xxx_hidden_TagCount = v } func (x *RepositoryCommit) SetGitCommitsCount(v int64) { - x.GitCommitsCount = v + x.xxx_hidden_GitCommitsCount = v } func (x *RepositoryCommit) SetB5Digest(v string) { - x.B5Digest = v + x.xxx_hidden_B5Digest = v } func (x *RepositoryCommit) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *RepositoryCommit) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } type RepositoryCommit_builder struct { @@ -292,39 +274,32 @@ func (b0 RepositoryCommit_builder) Build() *RepositoryCommit { m0 := &RepositoryCommit{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.CreateTime = b.CreateTime - x.Digest = b.Digest - x.Name = b.Name - x.Branch = b.Branch - x.Author = b.Author - x.Tags = b.Tags - x.DraftName = b.DraftName - x.SpdxLicenseId = b.SpdxLicenseId - x.ManifestDigest = b.ManifestDigest - x.TagCount = b.TagCount - x.GitCommitsCount = b.GitCommitsCount - x.B5Digest = b.B5Digest + x.xxx_hidden_Id = b.Id + x.xxx_hidden_CreateTime = b.CreateTime + x.xxx_hidden_Digest = b.Digest + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Branch = b.Branch + x.xxx_hidden_Author = b.Author + x.xxx_hidden_Tags = &b.Tags + x.xxx_hidden_DraftName = b.DraftName + x.xxx_hidden_SpdxLicenseId = b.SpdxLicenseId + x.xxx_hidden_ManifestDigest = b.ManifestDigest + x.xxx_hidden_TagCount = b.TagCount + x.xxx_hidden_GitCommitsCount = b.GitCommitsCount + x.xxx_hidden_B5Digest = b.B5Digest return m0 } type ListRepositoryCommitsByBranchRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 repository branch whose commits should be listed. - RepositoryBranchName string `protobuf:"bytes,3,opt,name=repository_branch_name,json=repositoryBranchName,proto3" json:"repository_branch_name,omitempty"` - PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // For now this is the id of he last commit returned in the previous page. - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_RepositoryBranchName string `protobuf:"bytes,3,opt,name=repository_branch_name,json=repositoryBranchName,proto3" json:"repository_branch_name,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryCommitsByBranchRequest) Reset() { @@ -354,68 +329,68 @@ func (x *ListRepositoryCommitsByBranchRequest) ProtoReflect() protoreflect.Messa func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryBranchName() string { if x != nil { - return x.RepositoryBranchName + return x.xxx_hidden_RepositoryBranchName } return "" } func (x *ListRepositoryCommitsByBranchRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListRepositoryCommitsByBranchRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListRepositoryCommitsByBranchRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListRepositoryCommitsByBranchRequest) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *ListRepositoryCommitsByBranchRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *ListRepositoryCommitsByBranchRequest) SetRepositoryBranchName(v string) { - x.RepositoryBranchName = v + x.xxx_hidden_RepositoryBranchName = v } func (x *ListRepositoryCommitsByBranchRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListRepositoryCommitsByBranchRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListRepositoryCommitsByBranchRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListRepositoryCommitsByBranchRequest_builder struct { @@ -440,21 +415,21 @@ func (b0 ListRepositoryCommitsByBranchRequest_builder) Build() *ListRepositoryCo m0 := &ListRepositoryCommitsByBranchRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.RepositoryBranchName = b.RepositoryBranchName - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_RepositoryBranchName = b.RepositoryBranchName + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListRepositoryCommitsByBranchResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryCommits *[]*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` + xxx_hidden_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() { @@ -484,24 +459,26 @@ func (x *ListRepositoryCommitsByBranchResponse) ProtoReflect() protoreflect.Mess func (x *ListRepositoryCommitsByBranchResponse) GetRepositoryCommits() []*RepositoryCommit { if x != nil { - return x.RepositoryCommits + if x.xxx_hidden_RepositoryCommits != nil { + return *x.xxx_hidden_RepositoryCommits + } } return nil } func (x *ListRepositoryCommitsByBranchResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListRepositoryCommitsByBranchResponse) SetRepositoryCommits(v []*RepositoryCommit) { - x.RepositoryCommits = v + x.xxx_hidden_RepositoryCommits = &v } func (x *ListRepositoryCommitsByBranchResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListRepositoryCommitsByBranchResponse_builder struct { @@ -515,25 +492,21 @@ func (b0 ListRepositoryCommitsByBranchResponse_builder) Build() *ListRepositoryC m0 := &ListRepositoryCommitsByBranchResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryCommits = b.RepositoryCommits - x.NextPageToken = b.NextPageToken + x.xxx_hidden_RepositoryCommits = &b.RepositoryCommits + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type ListRepositoryCommitsByReferenceRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryCommitsByReferenceRequest) Reset() { @@ -563,68 +536,68 @@ func (x *ListRepositoryCommitsByReferenceRequest) ProtoReflect() protoreflect.Me func (x *ListRepositoryCommitsByReferenceRequest) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *ListRepositoryCommitsByReferenceRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *ListRepositoryCommitsByReferenceRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *ListRepositoryCommitsByReferenceRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListRepositoryCommitsByReferenceRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListRepositoryCommitsByReferenceRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListRepositoryCommitsByReferenceRequest) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *ListRepositoryCommitsByReferenceRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *ListRepositoryCommitsByReferenceRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } func (x *ListRepositoryCommitsByReferenceRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListRepositoryCommitsByReferenceRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListRepositoryCommitsByReferenceRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListRepositoryCommitsByReferenceRequest_builder struct { @@ -646,21 +619,21 @@ func (b0 ListRepositoryCommitsByReferenceRequest_builder) Build() *ListRepositor m0 := &ListRepositoryCommitsByReferenceRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.Reference = b.Reference - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_Reference = b.Reference + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListRepositoryCommitsByReferenceResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryCommits *[]*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` + xxx_hidden_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() { @@ -690,24 +663,26 @@ func (x *ListRepositoryCommitsByReferenceResponse) ProtoReflect() protoreflect.M func (x *ListRepositoryCommitsByReferenceResponse) GetRepositoryCommits() []*RepositoryCommit { if x != nil { - return x.RepositoryCommits + if x.xxx_hidden_RepositoryCommits != nil { + return *x.xxx_hidden_RepositoryCommits + } } return nil } func (x *ListRepositoryCommitsByReferenceResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListRepositoryCommitsByReferenceResponse) SetRepositoryCommits(v []*RepositoryCommit) { - x.RepositoryCommits = v + x.xxx_hidden_RepositoryCommits = &v } func (x *ListRepositoryCommitsByReferenceResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListRepositoryCommitsByReferenceResponse_builder struct { @@ -721,22 +696,18 @@ func (b0 ListRepositoryCommitsByReferenceResponse_builder) Build() *ListReposito m0 := &ListRepositoryCommitsByReferenceResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryCommits = b.RepositoryCommits - x.NextPageToken = b.NextPageToken + x.xxx_hidden_RepositoryCommits = &b.RepositoryCommits + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type GetRepositoryCommitByReferenceRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryCommitByReferenceRequest) Reset() { @@ -766,35 +737,35 @@ func (x *GetRepositoryCommitByReferenceRequest) ProtoReflect() protoreflect.Mess func (x *GetRepositoryCommitByReferenceRequest) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *GetRepositoryCommitByReferenceRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *GetRepositoryCommitByReferenceRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *GetRepositoryCommitByReferenceRequest) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *GetRepositoryCommitByReferenceRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *GetRepositoryCommitByReferenceRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } type GetRepositoryCommitByReferenceRequest_builder struct { @@ -813,17 +784,17 @@ func (b0 GetRepositoryCommitByReferenceRequest_builder) Build() *GetRepositoryCo m0 := &GetRepositoryCommitByReferenceRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.Reference = b.Reference + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_Reference = b.Reference return m0 } type GetRepositoryCommitByReferenceResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - RepositoryCommit *RepositoryCommit `protobuf:"bytes,1,opt,name=repository_commit,json=repositoryCommit,proto3" json:"repository_commit,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -853,24 +824,24 @@ func (x *GetRepositoryCommitByReferenceResponse) ProtoReflect() protoreflect.Mes func (x *GetRepositoryCommitByReferenceResponse) GetRepositoryCommit() *RepositoryCommit { if x != nil { - return x.RepositoryCommit + return x.xxx_hidden_RepositoryCommit } return nil } func (x *GetRepositoryCommitByReferenceResponse) SetRepositoryCommit(v *RepositoryCommit) { - x.RepositoryCommit = v + x.xxx_hidden_RepositoryCommit = v } func (x *GetRepositoryCommitByReferenceResponse) HasRepositoryCommit() bool { if x == nil { return false } - return x.RepositoryCommit != nil + return x.xxx_hidden_RepositoryCommit != nil } func (x *GetRepositoryCommitByReferenceResponse) ClearRepositoryCommit() { - x.RepositoryCommit = nil + x.xxx_hidden_RepositoryCommit = nil } type GetRepositoryCommitByReferenceResponse_builder struct { @@ -883,23 +854,19 @@ func (b0 GetRepositoryCommitByReferenceResponse_builder) Build() *GetRepositoryC m0 := &GetRepositoryCommitByReferenceResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryCommit = b.RepositoryCommit + x.xxx_hidden_RepositoryCommit = b.RepositoryCommit return m0 } type ListRepositoryDraftCommitsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryDraftCommitsRequest) Reset() { @@ -929,57 +896,57 @@ func (x *ListRepositoryDraftCommitsRequest) ProtoReflect() protoreflect.Message func (x *ListRepositoryDraftCommitsRequest) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *ListRepositoryDraftCommitsRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *ListRepositoryDraftCommitsRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListRepositoryDraftCommitsRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListRepositoryDraftCommitsRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListRepositoryDraftCommitsRequest) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *ListRepositoryDraftCommitsRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *ListRepositoryDraftCommitsRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListRepositoryDraftCommitsRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListRepositoryDraftCommitsRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListRepositoryDraftCommitsRequest_builder struct { @@ -1000,21 +967,20 @@ func (b0 ListRepositoryDraftCommitsRequest_builder) Build() *ListRepositoryDraft m0 := &ListRepositoryDraftCommitsRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListRepositoryDraftCommitsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryCommits *[]*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` + xxx_hidden_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() { @@ -1044,24 +1010,26 @@ func (x *ListRepositoryDraftCommitsResponse) ProtoReflect() protoreflect.Message func (x *ListRepositoryDraftCommitsResponse) GetRepositoryCommits() []*RepositoryCommit { if x != nil { - return x.RepositoryCommits + if x.xxx_hidden_RepositoryCommits != nil { + return *x.xxx_hidden_RepositoryCommits + } } return nil } func (x *ListRepositoryDraftCommitsResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListRepositoryDraftCommitsResponse) SetRepositoryCommits(v []*RepositoryCommit) { - x.RepositoryCommits = v + x.xxx_hidden_RepositoryCommits = &v } func (x *ListRepositoryDraftCommitsResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListRepositoryDraftCommitsResponse_builder struct { @@ -1076,21 +1044,18 @@ func (b0 ListRepositoryDraftCommitsResponse_builder) Build() *ListRepositoryDraf m0 := &ListRepositoryDraftCommitsResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryCommits = b.RepositoryCommits - x.NextPageToken = b.NextPageToken + x.xxx_hidden_RepositoryCommits = &b.RepositoryCommits + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type DeleteRepositoryDraftCommitRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_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() { @@ -1120,35 +1085,35 @@ func (x *DeleteRepositoryDraftCommitRequest) ProtoReflect() protoreflect.Message func (x *DeleteRepositoryDraftCommitRequest) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *DeleteRepositoryDraftCommitRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *DeleteRepositoryDraftCommitRequest) GetDraftName() string { if x != nil { - return x.DraftName + return x.xxx_hidden_DraftName } return "" } func (x *DeleteRepositoryDraftCommitRequest) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *DeleteRepositoryDraftCommitRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *DeleteRepositoryDraftCommitRequest) SetDraftName(v string) { - x.DraftName = v + x.xxx_hidden_DraftName = v } type DeleteRepositoryDraftCommitRequest_builder struct { @@ -1166,14 +1131,14 @@ func (b0 DeleteRepositoryDraftCommitRequest_builder) Build() *DeleteRepositoryDr m0 := &DeleteRepositoryDraftCommitRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.DraftName = b.DraftName + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_DraftName = b.DraftName return m0 } type DeleteRepositoryDraftCommitResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_commit_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_commit_protoopaque.pb.go deleted file mode 100644 index cf866545a9..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_commit_protoopaque.pb.go +++ /dev/null @@ -1,1479 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/repository_commit.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type RepositoryCommit struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - xxx_hidden_Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"` - xxx_hidden_Author string `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"` - xxx_hidden_Tags *[]*RepositoryTag `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` - xxx_hidden_DraftName string `protobuf:"bytes,9,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"` - xxx_hidden_SpdxLicenseId string `protobuf:"bytes,10,opt,name=spdx_license_id,json=spdxLicenseId,proto3" json:"spdx_license_id,omitempty"` - xxx_hidden_ManifestDigest string `protobuf:"bytes,11,opt,name=manifest_digest,json=manifestDigest,proto3" json:"manifest_digest,omitempty"` - xxx_hidden_TagCount int64 `protobuf:"varint,12,opt,name=tag_count,json=tagCount,proto3" json:"tag_count,omitempty"` - xxx_hidden_GitCommitsCount int64 `protobuf:"varint,13,opt,name=git_commits_count,json=gitCommitsCount,proto3" json:"git_commits_count,omitempty"` - xxx_hidden_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() { - *x = RepositoryCommit{} - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RepositoryCommit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryCommit) ProtoMessage() {} - -func (x *RepositoryCommit) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RepositoryCommit) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *RepositoryCommit) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *RepositoryCommit) GetDigest() string { - if x != nil { - return x.xxx_hidden_Digest - } - return "" -} - -func (x *RepositoryCommit) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *RepositoryCommit) GetBranch() string { - if x != nil { - return x.xxx_hidden_Branch - } - return "" -} - -func (x *RepositoryCommit) GetAuthor() string { - if x != nil { - return x.xxx_hidden_Author - } - return "" -} - -func (x *RepositoryCommit) GetTags() []*RepositoryTag { - if x != nil { - if x.xxx_hidden_Tags != nil { - return *x.xxx_hidden_Tags - } - } - return nil -} - -func (x *RepositoryCommit) GetDraftName() string { - if x != nil { - return x.xxx_hidden_DraftName - } - return "" -} - -func (x *RepositoryCommit) GetSpdxLicenseId() string { - if x != nil { - return x.xxx_hidden_SpdxLicenseId - } - return "" -} - -func (x *RepositoryCommit) GetManifestDigest() string { - if x != nil { - return x.xxx_hidden_ManifestDigest - } - return "" -} - -func (x *RepositoryCommit) GetTagCount() int64 { - if x != nil { - return x.xxx_hidden_TagCount - } - return 0 -} - -func (x *RepositoryCommit) GetGitCommitsCount() int64 { - if x != nil { - return x.xxx_hidden_GitCommitsCount - } - return 0 -} - -func (x *RepositoryCommit) GetB5Digest() string { - if x != nil { - return x.xxx_hidden_B5Digest - } - return "" -} - -func (x *RepositoryCommit) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *RepositoryCommit) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *RepositoryCommit) SetDigest(v string) { - x.xxx_hidden_Digest = v -} - -func (x *RepositoryCommit) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *RepositoryCommit) SetBranch(v string) { - x.xxx_hidden_Branch = v -} - -func (x *RepositoryCommit) SetAuthor(v string) { - x.xxx_hidden_Author = v -} - -func (x *RepositoryCommit) SetTags(v []*RepositoryTag) { - x.xxx_hidden_Tags = &v -} - -func (x *RepositoryCommit) SetDraftName(v string) { - x.xxx_hidden_DraftName = v -} - -func (x *RepositoryCommit) SetSpdxLicenseId(v string) { - x.xxx_hidden_SpdxLicenseId = v -} - -func (x *RepositoryCommit) SetManifestDigest(v string) { - x.xxx_hidden_ManifestDigest = v -} - -func (x *RepositoryCommit) SetTagCount(v int64) { - x.xxx_hidden_TagCount = v -} - -func (x *RepositoryCommit) SetGitCommitsCount(v int64) { - x.xxx_hidden_GitCommitsCount = v -} - -func (x *RepositoryCommit) SetB5Digest(v string) { - x.xxx_hidden_B5Digest = v -} - -func (x *RepositoryCommit) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *RepositoryCommit) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -type RepositoryCommit_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // primary key, unique, immutable - Id string - // immutable - CreateTime *timestamppb.Timestamp - // The digest of the commit. - Digest string - // The name of the commit. - // This is what is referenced by users. - // Unique, immutable. - Name string - // The branch on which this commit was created. - Branch string - // The username of the user who authored this commit. - Author string - // The tags associated with this commit - Tags []*RepositoryTag - // The commit's draft name, if it is a draft commit. - DraftName string - // spdx_license_id is the license of the commit, based on the - // license file pushed, which should be one of the identifier defined in - // https://spdx.org/licenses, and will be not set if the license file is not - // presented or cannot be classified into a known license. - SpdxLicenseId string - // The manifest digest of the commit. - ManifestDigest string - // Number of tags associated with the commit. - TagCount int64 - // Number of git commits with associated with the BSR commit. - GitCommitsCount int64 - // The b5 digest of the commit. - B5Digest string -} - -func (b0 RepositoryCommit_builder) Build() *RepositoryCommit { - m0 := &RepositoryCommit{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_CreateTime = b.CreateTime - x.xxx_hidden_Digest = b.Digest - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Branch = b.Branch - x.xxx_hidden_Author = b.Author - x.xxx_hidden_Tags = &b.Tags - x.xxx_hidden_DraftName = b.DraftName - x.xxx_hidden_SpdxLicenseId = b.SpdxLicenseId - x.xxx_hidden_ManifestDigest = b.ManifestDigest - x.xxx_hidden_TagCount = b.TagCount - x.xxx_hidden_GitCommitsCount = b.GitCommitsCount - x.xxx_hidden_B5Digest = b.B5Digest - return m0 -} - -type ListRepositoryCommitsByBranchRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_RepositoryBranchName string `protobuf:"bytes,3,opt,name=repository_branch_name,json=repositoryBranchName,proto3" json:"repository_branch_name,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListRepositoryCommitsByBranchRequest) Reset() { - *x = ListRepositoryCommitsByBranchRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryCommitsByBranchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryCommitsByBranchRequest) ProtoMessage() {} - -func (x *ListRepositoryCommitsByBranchRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryBranchName() string { - if x != nil { - return x.xxx_hidden_RepositoryBranchName - } - return "" -} - -func (x *ListRepositoryCommitsByBranchRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListRepositoryCommitsByBranchRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListRepositoryCommitsByBranchRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListRepositoryCommitsByBranchRequest) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *ListRepositoryCommitsByBranchRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *ListRepositoryCommitsByBranchRequest) SetRepositoryBranchName(v string) { - x.xxx_hidden_RepositoryBranchName = v -} - -func (x *ListRepositoryCommitsByBranchRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListRepositoryCommitsByBranchRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListRepositoryCommitsByBranchRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListRepositoryCommitsByBranchRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the repository which the repository branch belongs to. - RepositoryOwner string - // The name of the repository which the repository branch belongs to. - RepositoryName string - // The name of the repository branch whose commits should be listed. - RepositoryBranchName string - PageSize uint32 - // For now this is the id of he last commit returned in the previous page. - // 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 - Reverse bool -} - -func (b0 ListRepositoryCommitsByBranchRequest_builder) Build() *ListRepositoryCommitsByBranchRequest { - m0 := &ListRepositoryCommitsByBranchRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_RepositoryBranchName = b.RepositoryBranchName - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListRepositoryCommitsByBranchResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryCommits *[]*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` - xxx_hidden_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() { - *x = ListRepositoryCommitsByBranchResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryCommitsByBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryCommitsByBranchResponse) ProtoMessage() {} - -func (x *ListRepositoryCommitsByBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryCommitsByBranchResponse) GetRepositoryCommits() []*RepositoryCommit { - if x != nil { - if x.xxx_hidden_RepositoryCommits != nil { - return *x.xxx_hidden_RepositoryCommits - } - } - return nil -} - -func (x *ListRepositoryCommitsByBranchResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListRepositoryCommitsByBranchResponse) SetRepositoryCommits(v []*RepositoryCommit) { - x.xxx_hidden_RepositoryCommits = &v -} - -func (x *ListRepositoryCommitsByBranchResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListRepositoryCommitsByBranchResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryCommits []*RepositoryCommit - NextPageToken string -} - -func (b0 ListRepositoryCommitsByBranchResponse_builder) Build() *ListRepositoryCommitsByBranchResponse { - m0 := &ListRepositoryCommitsByBranchResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryCommits = &b.RepositoryCommits - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type ListRepositoryCommitsByReferenceRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListRepositoryCommitsByReferenceRequest) Reset() { - *x = ListRepositoryCommitsByReferenceRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryCommitsByReferenceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryCommitsByReferenceRequest) ProtoMessage() {} - -func (x *ListRepositoryCommitsByReferenceRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryCommitsByReferenceRequest) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *ListRepositoryCommitsByReferenceRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *ListRepositoryCommitsByReferenceRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *ListRepositoryCommitsByReferenceRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListRepositoryCommitsByReferenceRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListRepositoryCommitsByReferenceRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListRepositoryCommitsByReferenceRequest) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *ListRepositoryCommitsByReferenceRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *ListRepositoryCommitsByReferenceRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -func (x *ListRepositoryCommitsByReferenceRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListRepositoryCommitsByReferenceRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListRepositoryCommitsByReferenceRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListRepositoryCommitsByReferenceRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the repository which the repository reference belongs to. - RepositoryOwner string - // The name of the repository which the repository reference belongs to. - RepositoryName string - // 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 - PageSize uint32 - PageToken string - Reverse bool -} - -func (b0 ListRepositoryCommitsByReferenceRequest_builder) Build() *ListRepositoryCommitsByReferenceRequest { - m0 := &ListRepositoryCommitsByReferenceRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_Reference = b.Reference - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListRepositoryCommitsByReferenceResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryCommits *[]*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` - xxx_hidden_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() { - *x = ListRepositoryCommitsByReferenceResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryCommitsByReferenceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryCommitsByReferenceResponse) ProtoMessage() {} - -func (x *ListRepositoryCommitsByReferenceResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryCommitsByReferenceResponse) GetRepositoryCommits() []*RepositoryCommit { - if x != nil { - if x.xxx_hidden_RepositoryCommits != nil { - return *x.xxx_hidden_RepositoryCommits - } - } - return nil -} - -func (x *ListRepositoryCommitsByReferenceResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListRepositoryCommitsByReferenceResponse) SetRepositoryCommits(v []*RepositoryCommit) { - x.xxx_hidden_RepositoryCommits = &v -} - -func (x *ListRepositoryCommitsByReferenceResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListRepositoryCommitsByReferenceResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryCommits []*RepositoryCommit - NextPageToken string -} - -func (b0 ListRepositoryCommitsByReferenceResponse_builder) Build() *ListRepositoryCommitsByReferenceResponse { - m0 := &ListRepositoryCommitsByReferenceResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryCommits = &b.RepositoryCommits - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type GetRepositoryCommitByReferenceRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoryCommitByReferenceRequest) Reset() { - *x = GetRepositoryCommitByReferenceRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryCommitByReferenceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryCommitByReferenceRequest) ProtoMessage() {} - -func (x *GetRepositoryCommitByReferenceRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryCommitByReferenceRequest) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *GetRepositoryCommitByReferenceRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *GetRepositoryCommitByReferenceRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *GetRepositoryCommitByReferenceRequest) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *GetRepositoryCommitByReferenceRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *GetRepositoryCommitByReferenceRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -type GetRepositoryCommitByReferenceRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the repository which the reference belongs to. - RepositoryOwner string - // The name of the repository which the reference belongs to. - RepositoryName string - // 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 -} - -func (b0 GetRepositoryCommitByReferenceRequest_builder) Build() *GetRepositoryCommitByReferenceRequest { - m0 := &GetRepositoryCommitByReferenceRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_Reference = b.Reference - return m0 -} - -type GetRepositoryCommitByReferenceResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetRepositoryCommitByReferenceResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryCommitByReferenceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryCommitByReferenceResponse) ProtoMessage() {} - -func (x *GetRepositoryCommitByReferenceResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryCommitByReferenceResponse) GetRepositoryCommit() *RepositoryCommit { - if x != nil { - return x.xxx_hidden_RepositoryCommit - } - return nil -} - -func (x *GetRepositoryCommitByReferenceResponse) SetRepositoryCommit(v *RepositoryCommit) { - x.xxx_hidden_RepositoryCommit = v -} - -func (x *GetRepositoryCommitByReferenceResponse) HasRepositoryCommit() bool { - if x == nil { - return false - } - return x.xxx_hidden_RepositoryCommit != nil -} - -func (x *GetRepositoryCommitByReferenceResponse) ClearRepositoryCommit() { - x.xxx_hidden_RepositoryCommit = nil -} - -type GetRepositoryCommitByReferenceResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryCommit *RepositoryCommit -} - -func (b0 GetRepositoryCommitByReferenceResponse_builder) Build() *GetRepositoryCommitByReferenceResponse { - m0 := &GetRepositoryCommitByReferenceResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryCommit = b.RepositoryCommit - return m0 -} - -type ListRepositoryDraftCommitsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListRepositoryDraftCommitsRequest) Reset() { - *x = ListRepositoryDraftCommitsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryDraftCommitsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryDraftCommitsRequest) ProtoMessage() {} - -func (x *ListRepositoryDraftCommitsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryDraftCommitsRequest) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *ListRepositoryDraftCommitsRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *ListRepositoryDraftCommitsRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListRepositoryDraftCommitsRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListRepositoryDraftCommitsRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListRepositoryDraftCommitsRequest) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *ListRepositoryDraftCommitsRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *ListRepositoryDraftCommitsRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListRepositoryDraftCommitsRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListRepositoryDraftCommitsRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListRepositoryDraftCommitsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the repository which the repository branch belongs to. - RepositoryOwner string - // The name of the repository which the repository branch belongs to. - RepositoryName string - PageSize uint32 - PageToken string - // By default, draft commits are ordered by last update time descending. - // Reverse orders them ascending. - Reverse bool -} - -func (b0 ListRepositoryDraftCommitsRequest_builder) Build() *ListRepositoryDraftCommitsRequest { - m0 := &ListRepositoryDraftCommitsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListRepositoryDraftCommitsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryCommits *[]*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` - xxx_hidden_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() { - *x = ListRepositoryDraftCommitsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryDraftCommitsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryDraftCommitsResponse) ProtoMessage() {} - -func (x *ListRepositoryDraftCommitsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryDraftCommitsResponse) GetRepositoryCommits() []*RepositoryCommit { - if x != nil { - if x.xxx_hidden_RepositoryCommits != nil { - return *x.xxx_hidden_RepositoryCommits - } - } - return nil -} - -func (x *ListRepositoryDraftCommitsResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListRepositoryDraftCommitsResponse) SetRepositoryCommits(v []*RepositoryCommit) { - x.xxx_hidden_RepositoryCommits = &v -} - -func (x *ListRepositoryDraftCommitsResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListRepositoryDraftCommitsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Each commit will have draft_name set. - RepositoryCommits []*RepositoryCommit - NextPageToken string -} - -func (b0 ListRepositoryDraftCommitsResponse_builder) Build() *ListRepositoryDraftCommitsResponse { - m0 := &ListRepositoryDraftCommitsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryCommits = &b.RepositoryCommits - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type DeleteRepositoryDraftCommitRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_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() { - *x = DeleteRepositoryDraftCommitRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteRepositoryDraftCommitRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRepositoryDraftCommitRequest) ProtoMessage() {} - -func (x *DeleteRepositoryDraftCommitRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeleteRepositoryDraftCommitRequest) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *DeleteRepositoryDraftCommitRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *DeleteRepositoryDraftCommitRequest) GetDraftName() string { - if x != nil { - return x.xxx_hidden_DraftName - } - return "" -} - -func (x *DeleteRepositoryDraftCommitRequest) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *DeleteRepositoryDraftCommitRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *DeleteRepositoryDraftCommitRequest) SetDraftName(v string) { - x.xxx_hidden_DraftName = v -} - -type DeleteRepositoryDraftCommitRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the repository which the repository branch belongs to. - RepositoryOwner string - // The name of the repository which the repository branch belongs to. - RepositoryName string - // The name of the draft to delete. - DraftName string -} - -func (b0 DeleteRepositoryDraftCommitRequest_builder) Build() *DeleteRepositoryDraftCommitRequest { - m0 := &DeleteRepositoryDraftCommitRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_DraftName = b.DraftName - return m0 -} - -type DeleteRepositoryDraftCommitResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteRepositoryDraftCommitResponse) Reset() { - *x = DeleteRepositoryDraftCommitResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteRepositoryDraftCommitResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRepositoryDraftCommitResponse) ProtoMessage() {} - -func (x *DeleteRepositoryDraftCommitResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeleteRepositoryDraftCommitResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeleteRepositoryDraftCommitResponse_builder) Build() *DeleteRepositoryDraftCommitResponse { - m0 := &DeleteRepositoryDraftCommitResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -var File_buf_alpha_registry_v1alpha1_repository_commit_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_repository_commit_proto_rawDesc = []byte{ - 0x0a, 0x33, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x1a, 0x30, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x74, 0x61, 0x67, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x03, 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, - 0x61, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x72, 0x61, 0x66, 0x74, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x70, 0x64, 0x78, 0x5f, 0x6c, 0x69, 0x63, 0x65, 0x6e, - 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x70, 0x64, - 0x78, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, - 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x44, 0x69, 0x67, - 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x67, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x61, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x5f, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x67, 0x69, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x62, 0x35, 0x5f, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x62, 0x35, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x52, - 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, - 0x5f, 0x69, 0x64, 0x22, 0x86, 0x02, 0x0a, 0x24, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x34, 0x0a, 0x16, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x62, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x14, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, - 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, - 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x22, 0xad, 0x01, 0x0a, - 0x25, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, - 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xf1, 0x01, 0x0a, - 0x27, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4f, 0x77, - 0x6e, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, - 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, - 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, - 0x22, 0xb0, 0x01, 0x0a, 0x28, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, - 0x12, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, - 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x22, 0x99, 0x01, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x79, 0x52, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, - 0x10, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, - 0x84, 0x01, 0x0a, 0x26, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x11, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0xcd, 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x72, 0x61, 0x66, 0x74, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, - 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, - 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, - 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x22, 0xaa, 0x01, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x72, 0x61, 0x66, 0x74, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, - 0x12, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, - 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x22, 0x97, 0x01, 0x0a, 0x22, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x72, 0x61, 0x66, 0x74, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, - 0x0a, 0x0a, 0x64, 0x72, 0x61, 0x66, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x64, 0x72, 0x61, 0x66, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x25, 0x0a, - 0x23, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x44, 0x72, 0x61, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xff, 0x06, 0x0a, 0x17, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0xae, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x42, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x12, 0x41, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0x88, 0x02, 0x01, 0x90, 0x02, - 0x01, 0x12, 0xb4, 0x01, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x44, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, - 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xae, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x42, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x79, 0x52, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x43, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xa2, 0x01, 0x0a, 0x1a, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x72, 0x61, 0x66, - 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x3e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x72, 0x61, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x72, 0x61, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xa5, - 0x01, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x44, 0x72, 0x61, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x3f, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x72, 0x61, - 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x40, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x72, - 0x61, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x42, 0xa2, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x15, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, - 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, - 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, - 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_buf_alpha_registry_v1alpha1_repository_commit_proto_goTypes = []any{ - (*RepositoryCommit)(nil), // 0: buf.alpha.registry.v1alpha1.RepositoryCommit - (*ListRepositoryCommitsByBranchRequest)(nil), // 1: buf.alpha.registry.v1alpha1.ListRepositoryCommitsByBranchRequest - (*ListRepositoryCommitsByBranchResponse)(nil), // 2: buf.alpha.registry.v1alpha1.ListRepositoryCommitsByBranchResponse - (*ListRepositoryCommitsByReferenceRequest)(nil), // 3: buf.alpha.registry.v1alpha1.ListRepositoryCommitsByReferenceRequest - (*ListRepositoryCommitsByReferenceResponse)(nil), // 4: buf.alpha.registry.v1alpha1.ListRepositoryCommitsByReferenceResponse - (*GetRepositoryCommitByReferenceRequest)(nil), // 5: buf.alpha.registry.v1alpha1.GetRepositoryCommitByReferenceRequest - (*GetRepositoryCommitByReferenceResponse)(nil), // 6: buf.alpha.registry.v1alpha1.GetRepositoryCommitByReferenceResponse - (*ListRepositoryDraftCommitsRequest)(nil), // 7: buf.alpha.registry.v1alpha1.ListRepositoryDraftCommitsRequest - (*ListRepositoryDraftCommitsResponse)(nil), // 8: buf.alpha.registry.v1alpha1.ListRepositoryDraftCommitsResponse - (*DeleteRepositoryDraftCommitRequest)(nil), // 9: buf.alpha.registry.v1alpha1.DeleteRepositoryDraftCommitRequest - (*DeleteRepositoryDraftCommitResponse)(nil), // 10: buf.alpha.registry.v1alpha1.DeleteRepositoryDraftCommitResponse - (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp - (*RepositoryTag)(nil), // 12: buf.alpha.registry.v1alpha1.RepositoryTag -} -var file_buf_alpha_registry_v1alpha1_repository_commit_proto_depIdxs = []int32{ - 11, // 0: buf.alpha.registry.v1alpha1.RepositoryCommit.create_time:type_name -> google.protobuf.Timestamp - 12, // 1: buf.alpha.registry.v1alpha1.RepositoryCommit.tags:type_name -> buf.alpha.registry.v1alpha1.RepositoryTag - 0, // 2: buf.alpha.registry.v1alpha1.ListRepositoryCommitsByBranchResponse.repository_commits:type_name -> buf.alpha.registry.v1alpha1.RepositoryCommit - 0, // 3: buf.alpha.registry.v1alpha1.ListRepositoryCommitsByReferenceResponse.repository_commits:type_name -> buf.alpha.registry.v1alpha1.RepositoryCommit - 0, // 4: buf.alpha.registry.v1alpha1.GetRepositoryCommitByReferenceResponse.repository_commit:type_name -> buf.alpha.registry.v1alpha1.RepositoryCommit - 0, // 5: buf.alpha.registry.v1alpha1.ListRepositoryDraftCommitsResponse.repository_commits:type_name -> buf.alpha.registry.v1alpha1.RepositoryCommit - 1, // 6: buf.alpha.registry.v1alpha1.RepositoryCommitService.ListRepositoryCommitsByBranch:input_type -> buf.alpha.registry.v1alpha1.ListRepositoryCommitsByBranchRequest - 3, // 7: buf.alpha.registry.v1alpha1.RepositoryCommitService.ListRepositoryCommitsByReference:input_type -> buf.alpha.registry.v1alpha1.ListRepositoryCommitsByReferenceRequest - 5, // 8: buf.alpha.registry.v1alpha1.RepositoryCommitService.GetRepositoryCommitByReference:input_type -> buf.alpha.registry.v1alpha1.GetRepositoryCommitByReferenceRequest - 7, // 9: buf.alpha.registry.v1alpha1.RepositoryCommitService.ListRepositoryDraftCommits:input_type -> buf.alpha.registry.v1alpha1.ListRepositoryDraftCommitsRequest - 9, // 10: buf.alpha.registry.v1alpha1.RepositoryCommitService.DeleteRepositoryDraftCommit:input_type -> buf.alpha.registry.v1alpha1.DeleteRepositoryDraftCommitRequest - 2, // 11: buf.alpha.registry.v1alpha1.RepositoryCommitService.ListRepositoryCommitsByBranch:output_type -> buf.alpha.registry.v1alpha1.ListRepositoryCommitsByBranchResponse - 4, // 12: buf.alpha.registry.v1alpha1.RepositoryCommitService.ListRepositoryCommitsByReference:output_type -> buf.alpha.registry.v1alpha1.ListRepositoryCommitsByReferenceResponse - 6, // 13: buf.alpha.registry.v1alpha1.RepositoryCommitService.GetRepositoryCommitByReference:output_type -> buf.alpha.registry.v1alpha1.GetRepositoryCommitByReferenceResponse - 8, // 14: buf.alpha.registry.v1alpha1.RepositoryCommitService.ListRepositoryDraftCommits:output_type -> buf.alpha.registry.v1alpha1.ListRepositoryDraftCommitsResponse - 10, // 15: buf.alpha.registry.v1alpha1.RepositoryCommitService.DeleteRepositoryDraftCommit:output_type -> buf.alpha.registry.v1alpha1.DeleteRepositoryDraftCommitResponse - 11, // [11:16] is the sub-list for method output_type - 6, // [6:11] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_repository_commit_proto_init() } -func file_buf_alpha_registry_v1alpha1_repository_commit_proto_init() { - if File_buf_alpha_registry_v1alpha1_repository_commit_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_repository_tag_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_repository_commit_proto_rawDesc, - NumEnums: 0, - NumMessages: 11, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_repository_commit_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_repository_commit_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_repository_commit_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_repository_commit_proto = out.File - file_buf_alpha_registry_v1alpha1_repository_commit_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_repository_commit_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_repository_commit_proto_depIdxs = nil -} diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_protoopaque.pb.go deleted file mode 100644 index 66f2410506..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_protoopaque.pb.go +++ /dev/null @@ -1,4291 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/repository.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Visibility int32 - -const ( - Visibility_VISIBILITY_UNSPECIFIED Visibility = 0 - Visibility_VISIBILITY_PUBLIC Visibility = 1 - Visibility_VISIBILITY_PRIVATE Visibility = 2 -) - -// Enum value maps for Visibility. -var ( - Visibility_name = map[int32]string{ - 0: "VISIBILITY_UNSPECIFIED", - 1: "VISIBILITY_PUBLIC", - 2: "VISIBILITY_PRIVATE", - } - Visibility_value = map[string]int32{ - "VISIBILITY_UNSPECIFIED": 0, - "VISIBILITY_PUBLIC": 1, - "VISIBILITY_PRIVATE": 2, - } -) - -func (x Visibility) Enum() *Visibility { - p := new(Visibility) - *p = x - return p -} - -func (x Visibility) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Visibility) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_repository_proto_enumTypes[0].Descriptor() -} - -func (Visibility) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_repository_proto_enumTypes[0] -} - -func (x Visibility) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type Repository struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - xxx_hidden_UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Owner isRepository_Owner `protobuf_oneof:"owner"` - xxx_hidden_Visibility Visibility `protobuf:"varint,7,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` - xxx_hidden_Deprecated bool `protobuf:"varint,8,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - xxx_hidden_DeprecationMessage string `protobuf:"bytes,9,opt,name=deprecation_message,json=deprecationMessage,proto3" json:"deprecation_message,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,10,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` - xxx_hidden_Url string `protobuf:"bytes,12,opt,name=url,proto3" json:"url,omitempty"` - xxx_hidden_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() { - *x = Repository{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Repository) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Repository) ProtoMessage() {} - -func (x *Repository) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Repository) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *Repository) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *Repository) GetUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_UpdateTime - } - return nil -} - -func (x *Repository) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *Repository) GetUserId() string { - if x != nil { - if x, ok := x.xxx_hidden_Owner.(*repository_UserId); ok { - return x.UserId - } - } - return "" -} - -func (x *Repository) GetOrganizationId() string { - if x != nil { - if x, ok := x.xxx_hidden_Owner.(*repository_OrganizationId); ok { - return x.OrganizationId - } - } - return "" -} - -func (x *Repository) GetVisibility() Visibility { - if x != nil { - return x.xxx_hidden_Visibility - } - return Visibility_VISIBILITY_UNSPECIFIED -} - -func (x *Repository) GetDeprecated() bool { - if x != nil { - return x.xxx_hidden_Deprecated - } - return false -} - -func (x *Repository) GetDeprecationMessage() string { - if x != nil { - return x.xxx_hidden_DeprecationMessage - } - return "" -} - -func (x *Repository) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *Repository) GetDescription() string { - if x != nil { - return x.xxx_hidden_Description - } - return "" -} - -func (x *Repository) GetUrl() string { - if x != nil { - return x.xxx_hidden_Url - } - return "" -} - -func (x *Repository) GetDefaultBranch() string { - if x != nil { - return x.xxx_hidden_DefaultBranch - } - return "" -} - -func (x *Repository) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *Repository) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *Repository) SetUpdateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_UpdateTime = v -} - -func (x *Repository) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *Repository) SetUserId(v string) { - x.xxx_hidden_Owner = &repository_UserId{v} -} - -func (x *Repository) SetOrganizationId(v string) { - x.xxx_hidden_Owner = &repository_OrganizationId{v} -} - -func (x *Repository) SetVisibility(v Visibility) { - x.xxx_hidden_Visibility = v -} - -func (x *Repository) SetDeprecated(v bool) { - x.xxx_hidden_Deprecated = v -} - -func (x *Repository) SetDeprecationMessage(v string) { - x.xxx_hidden_DeprecationMessage = v -} - -func (x *Repository) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *Repository) SetDescription(v string) { - x.xxx_hidden_Description = v -} - -func (x *Repository) SetUrl(v string) { - x.xxx_hidden_Url = v -} - -func (x *Repository) SetDefaultBranch(v string) { - x.xxx_hidden_DefaultBranch = v -} - -func (x *Repository) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *Repository) HasUpdateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_UpdateTime != nil -} - -func (x *Repository) HasOwner() bool { - if x == nil { - return false - } - return x.xxx_hidden_Owner != nil -} - -func (x *Repository) HasUserId() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Owner.(*repository_UserId) - return ok -} - -func (x *Repository) HasOrganizationId() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Owner.(*repository_OrganizationId) - return ok -} - -func (x *Repository) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -func (x *Repository) ClearUpdateTime() { - x.xxx_hidden_UpdateTime = nil -} - -func (x *Repository) ClearOwner() { - x.xxx_hidden_Owner = nil -} - -func (x *Repository) ClearUserId() { - if _, ok := x.xxx_hidden_Owner.(*repository_UserId); ok { - x.xxx_hidden_Owner = nil - } -} - -func (x *Repository) ClearOrganizationId() { - if _, ok := x.xxx_hidden_Owner.(*repository_OrganizationId); ok { - x.xxx_hidden_Owner = nil - } -} - -const Repository_Owner_not_set_case case_Repository_Owner = 0 -const Repository_UserId_case case_Repository_Owner = 5 -const Repository_OrganizationId_case case_Repository_Owner = 6 - -func (x *Repository) WhichOwner() case_Repository_Owner { - if x == nil { - return Repository_Owner_not_set_case - } - switch x.xxx_hidden_Owner.(type) { - case *repository_UserId: - return Repository_UserId_case - case *repository_OrganizationId: - return Repository_OrganizationId_case - default: - return Repository_Owner_not_set_case - } -} - -type Repository_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // primary key, unique, immutable - Id string - // immutable - CreateTime *timestamppb.Timestamp - // mutable - UpdateTime *timestamppb.Timestamp - // unique, mutable - Name string - // Fields of oneof xxx_hidden_Owner: - // foreign key, mutable - UserId *string - // foreign key, mutable - OrganizationId *string - // -- end of xxx_hidden_Owner - Visibility Visibility - // deprecated means this repository is deprecated. - Deprecated bool - // deprecation_message is the message shown if the repository is deprecated. - DeprecationMessage string - // owner_name is the name of the owner of the repository, - // either a username or organization name. - OwnerName string - // description is the user configurable description of the repository. - Description string - // url is the user configurable URL in the description of the repository, - // always included the scheme and will not have a #fragment suffix. - Url string - // default_branch in a BSR repository. It is used when syncing a git repository, to make sure both - // default branches (BSR and Git) are in sync. By default, every BSR repository is created with a - // "main" default branch. - DefaultBranch string -} - -func (b0 Repository_builder) Build() *Repository { - m0 := &Repository{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_CreateTime = b.CreateTime - x.xxx_hidden_UpdateTime = b.UpdateTime - x.xxx_hidden_Name = b.Name - if b.UserId != nil { - x.xxx_hidden_Owner = &repository_UserId{*b.UserId} - } - if b.OrganizationId != nil { - x.xxx_hidden_Owner = &repository_OrganizationId{*b.OrganizationId} - } - x.xxx_hidden_Visibility = b.Visibility - x.xxx_hidden_Deprecated = b.Deprecated - x.xxx_hidden_DeprecationMessage = b.DeprecationMessage - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_Description = b.Description - x.xxx_hidden_Url = b.Url - x.xxx_hidden_DefaultBranch = b.DefaultBranch - return m0 -} - -type case_Repository_Owner protoreflect.FieldNumber - -func (x case_Repository_Owner) String() string { - md := file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[0].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isRepository_Owner interface { - isRepository_Owner() -} - -type repository_UserId struct { - // foreign key, mutable - UserId string `protobuf:"bytes,5,opt,name=user_id,json=userId,proto3,oneof"` -} - -type repository_OrganizationId struct { - // foreign key, mutable - OrganizationId string `protobuf:"bytes,6,opt,name=organization_id,json=organizationId,proto3,oneof"` -} - -func (*repository_UserId) isRepository_Owner() {} - -func (*repository_OrganizationId) isRepository_Owner() {} - -type RepositoryCounts struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_TagsCount uint32 `protobuf:"varint,1,opt,name=tags_count,json=tagsCount,proto3" json:"tags_count,omitempty"` - xxx_hidden_DraftsCount uint32 `protobuf:"varint,3,opt,name=drafts_count,json=draftsCount,proto3" json:"drafts_count,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RepositoryCounts) Reset() { - *x = RepositoryCounts{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RepositoryCounts) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryCounts) ProtoMessage() {} - -func (x *RepositoryCounts) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RepositoryCounts) GetTagsCount() uint32 { - if x != nil { - return x.xxx_hidden_TagsCount - } - return 0 -} - -func (x *RepositoryCounts) GetDraftsCount() uint32 { - if x != nil { - return x.xxx_hidden_DraftsCount - } - return 0 -} - -func (x *RepositoryCounts) SetTagsCount(v uint32) { - x.xxx_hidden_TagsCount = v -} - -func (x *RepositoryCounts) SetDraftsCount(v uint32) { - x.xxx_hidden_DraftsCount = v -} - -type RepositoryCounts_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - TagsCount uint32 - DraftsCount uint32 -} - -func (b0 RepositoryCounts_builder) Build() *RepositoryCounts { - m0 := &RepositoryCounts{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_TagsCount = b.TagsCount - x.xxx_hidden_DraftsCount = b.DraftsCount - return m0 -} - -type RepositoryContributor struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - xxx_hidden_RepositoryId string `protobuf:"bytes,2,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_ExplicitRole RepositoryRole `protobuf:"varint,3,opt,name=explicit_role,json=explicitRole,proto3,enum=buf.alpha.registry.v1alpha1.RepositoryRole" json:"explicit_role,omitempty"` - xxx_hidden_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() { - *x = RepositoryContributor{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RepositoryContributor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryContributor) ProtoMessage() {} - -func (x *RepositoryContributor) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RepositoryContributor) GetUser() *User { - if x != nil { - return x.xxx_hidden_User - } - return nil -} - -func (x *RepositoryContributor) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *RepositoryContributor) GetExplicitRole() RepositoryRole { - if x != nil { - return x.xxx_hidden_ExplicitRole - } - return RepositoryRole_REPOSITORY_ROLE_UNSPECIFIED -} - -func (x *RepositoryContributor) GetImplicitRole() RepositoryRole { - if x != nil { - return x.xxx_hidden_ImplicitRole - } - return RepositoryRole_REPOSITORY_ROLE_UNSPECIFIED -} - -func (x *RepositoryContributor) SetUser(v *User) { - x.xxx_hidden_User = v -} - -func (x *RepositoryContributor) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *RepositoryContributor) SetExplicitRole(v RepositoryRole) { - x.xxx_hidden_ExplicitRole = v -} - -func (x *RepositoryContributor) SetImplicitRole(v RepositoryRole) { - x.xxx_hidden_ImplicitRole = v -} - -func (x *RepositoryContributor) HasUser() bool { - if x == nil { - return false - } - return x.xxx_hidden_User != nil -} - -func (x *RepositoryContributor) ClearUser() { - x.xxx_hidden_User = nil -} - -type RepositoryContributor_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - User *User - // The ID of the for which the role belongs to. - RepositoryId string - // The role that the user has been explicitly assigned against the repository. - ExplicitRole RepositoryRole - // 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 -} - -func (b0 RepositoryContributor_builder) Build() *RepositoryContributor { - m0 := &RepositoryContributor{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_User = b.User - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_ExplicitRole = b.ExplicitRole - x.xxx_hidden_ImplicitRole = b.ImplicitRole - return m0 -} - -type RepositoryMetadata struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,3,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_OwnerVerificationStatus VerificationStatus `protobuf:"varint,4,opt,name=owner_verification_status,json=ownerVerificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"owner_verification_status,omitempty"` - xxx_hidden_LatestCommitTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=latest_commit_time,json=latestCommitTime,proto3" json:"latest_commit_time,omitempty"` - xxx_hidden_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() { - *x = RepositoryMetadata{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RepositoryMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryMetadata) ProtoMessage() {} - -func (x *RepositoryMetadata) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RepositoryMetadata) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *RepositoryMetadata) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *RepositoryMetadata) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *RepositoryMetadata) GetOwnerVerificationStatus() VerificationStatus { - if x != nil { - return x.xxx_hidden_OwnerVerificationStatus - } - return VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED -} - -func (x *RepositoryMetadata) GetLatestCommitTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_LatestCommitTime - } - return nil -} - -func (x *RepositoryMetadata) GetLatestSpdxLicenseId() string { - if x != nil { - return x.xxx_hidden_LatestSpdxLicenseId - } - return "" -} - -func (x *RepositoryMetadata) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *RepositoryMetadata) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *RepositoryMetadata) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *RepositoryMetadata) SetOwnerVerificationStatus(v VerificationStatus) { - x.xxx_hidden_OwnerVerificationStatus = v -} - -func (x *RepositoryMetadata) SetLatestCommitTime(v *timestamppb.Timestamp) { - x.xxx_hidden_LatestCommitTime = v -} - -func (x *RepositoryMetadata) SetLatestSpdxLicenseId(v string) { - x.xxx_hidden_LatestSpdxLicenseId = v -} - -func (x *RepositoryMetadata) HasLatestCommitTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_LatestCommitTime != nil -} - -func (x *RepositoryMetadata) ClearLatestCommitTime() { - x.xxx_hidden_LatestCommitTime = nil -} - -type RepositoryMetadata_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository. - Id string - // The name of the repository. - Name string - // The owner name of the repository. - OwnerName string - // The verification status of the owner of the repository. - OwnerVerificationStatus VerificationStatus - // The commit time of the latest main commit in the repository. - LatestCommitTime *timestamppb.Timestamp - // The SPDX license ID of the latest main commit in the repository. - LatestSpdxLicenseId string -} - -func (b0 RepositoryMetadata_builder) Build() *RepositoryMetadata { - m0 := &RepositoryMetadata{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_Name = b.Name - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_OwnerVerificationStatus = b.OwnerVerificationStatus - x.xxx_hidden_LatestCommitTime = b.LatestCommitTime - x.xxx_hidden_LatestSpdxLicenseId = b.LatestSpdxLicenseId - return m0 -} - -type GetRepositoriesByFullNameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetRepositoriesByFullNameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoriesByFullNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoriesByFullNameRequest) ProtoMessage() {} - -func (x *GetRepositoriesByFullNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoriesByFullNameRequest) GetFullNames() []string { - if x != nil { - return x.xxx_hidden_FullNames - } - return nil -} - -func (x *GetRepositoriesByFullNameRequest) SetFullNames(v []string) { - x.xxx_hidden_FullNames = v -} - -type GetRepositoriesByFullNameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // minimum length is 1 - // maximum length is 250 - FullNames []string -} - -func (b0 GetRepositoriesByFullNameRequest_builder) Build() *GetRepositoriesByFullNameRequest { - m0 := &GetRepositoriesByFullNameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_FullNames = b.FullNames - return m0 -} - -type GetRepositoriesByFullNameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Repositories *[]*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoriesByFullNameResponse) Reset() { - *x = GetRepositoriesByFullNameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoriesByFullNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoriesByFullNameResponse) ProtoMessage() {} - -func (x *GetRepositoriesByFullNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoriesByFullNameResponse) GetRepositories() []*Repository { - if x != nil { - if x.xxx_hidden_Repositories != nil { - return *x.xxx_hidden_Repositories - } - } - return nil -} - -func (x *GetRepositoriesByFullNameResponse) SetRepositories(v []*Repository) { - x.xxx_hidden_Repositories = &v -} - -type GetRepositoriesByFullNameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Repositories []*Repository -} - -func (b0 GetRepositoriesByFullNameResponse_builder) Build() *GetRepositoriesByFullNameResponse { - m0 := &GetRepositoriesByFullNameResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Repositories = &b.Repositories - return m0 -} - -type GetRepositoryRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoryRequest) Reset() { - *x = GetRepositoryRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryRequest) ProtoMessage() {} - -func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryRequest) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *GetRepositoryRequest) SetId(v string) { - x.xxx_hidden_Id = v -} - -type GetRepositoryRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string -} - -func (b0 GetRepositoryRequest_builder) Build() *GetRepositoryRequest { - m0 := &GetRepositoryRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - return m0 -} - -type GetRepositoryResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Counts *RepositoryCounts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoryResponse) Reset() { - *x = GetRepositoryResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryResponse) ProtoMessage() {} - -func (x *GetRepositoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryResponse) GetRepository() *Repository { - if x != nil { - return x.xxx_hidden_Repository - } - return nil -} - -func (x *GetRepositoryResponse) GetCounts() *RepositoryCounts { - if x != nil { - return x.xxx_hidden_Counts - } - return nil -} - -func (x *GetRepositoryResponse) SetRepository(v *Repository) { - x.xxx_hidden_Repository = v -} - -func (x *GetRepositoryResponse) SetCounts(v *RepositoryCounts) { - x.xxx_hidden_Counts = v -} - -func (x *GetRepositoryResponse) HasRepository() bool { - if x == nil { - return false - } - return x.xxx_hidden_Repository != nil -} - -func (x *GetRepositoryResponse) HasCounts() bool { - if x == nil { - return false - } - return x.xxx_hidden_Counts != nil -} - -func (x *GetRepositoryResponse) ClearRepository() { - x.xxx_hidden_Repository = nil -} - -func (x *GetRepositoryResponse) ClearCounts() { - x.xxx_hidden_Counts = nil -} - -type GetRepositoryResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Repository *Repository - Counts *RepositoryCounts -} - -func (b0 GetRepositoryResponse_builder) Build() *GetRepositoryResponse { - m0 := &GetRepositoryResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Counts = b.Counts - return m0 -} - -type GetRepositoryByFullNameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoryByFullNameRequest) Reset() { - *x = GetRepositoryByFullNameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryByFullNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryByFullNameRequest) ProtoMessage() {} - -func (x *GetRepositoryByFullNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryByFullNameRequest) GetFullName() string { - if x != nil { - return x.xxx_hidden_FullName - } - return "" -} - -func (x *GetRepositoryByFullNameRequest) SetFullName(v string) { - x.xxx_hidden_FullName = v -} - -type GetRepositoryByFullNameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - FullName string -} - -func (b0 GetRepositoryByFullNameRequest_builder) Build() *GetRepositoryByFullNameRequest { - m0 := &GetRepositoryByFullNameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_FullName = b.FullName - return m0 -} - -type GetRepositoryByFullNameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Counts *RepositoryCounts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoryByFullNameResponse) Reset() { - *x = GetRepositoryByFullNameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryByFullNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryByFullNameResponse) ProtoMessage() {} - -func (x *GetRepositoryByFullNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryByFullNameResponse) GetRepository() *Repository { - if x != nil { - return x.xxx_hidden_Repository - } - return nil -} - -func (x *GetRepositoryByFullNameResponse) GetCounts() *RepositoryCounts { - if x != nil { - return x.xxx_hidden_Counts - } - return nil -} - -func (x *GetRepositoryByFullNameResponse) SetRepository(v *Repository) { - x.xxx_hidden_Repository = v -} - -func (x *GetRepositoryByFullNameResponse) SetCounts(v *RepositoryCounts) { - x.xxx_hidden_Counts = v -} - -func (x *GetRepositoryByFullNameResponse) HasRepository() bool { - if x == nil { - return false - } - return x.xxx_hidden_Repository != nil -} - -func (x *GetRepositoryByFullNameResponse) HasCounts() bool { - if x == nil { - return false - } - return x.xxx_hidden_Counts != nil -} - -func (x *GetRepositoryByFullNameResponse) ClearRepository() { - x.xxx_hidden_Repository = nil -} - -func (x *GetRepositoryByFullNameResponse) ClearCounts() { - x.xxx_hidden_Counts = nil -} - -type GetRepositoryByFullNameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Repository *Repository - Counts *RepositoryCounts -} - -func (b0 GetRepositoryByFullNameResponse_builder) Build() *GetRepositoryByFullNameResponse { - m0 := &GetRepositoryByFullNameResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Counts = b.Counts - return m0 -} - -type ListRepositoriesRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListRepositoriesRequest) Reset() { - *x = ListRepositoriesRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoriesRequest) ProtoMessage() {} - -func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoriesRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListRepositoriesRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListRepositoriesRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListRepositoriesRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListRepositoriesRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListRepositoriesRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListRepositoriesRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool -} - -func (b0 ListRepositoriesRequest_builder) Build() *ListRepositoriesRequest { - m0 := &ListRepositoriesRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListRepositoriesResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Repositories *[]*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` - xxx_hidden_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() { - *x = ListRepositoriesResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoriesResponse) ProtoMessage() {} - -func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoriesResponse) GetRepositories() []*Repository { - if x != nil { - if x.xxx_hidden_Repositories != nil { - return *x.xxx_hidden_Repositories - } - } - return nil -} - -func (x *ListRepositoriesResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListRepositoriesResponse) SetRepositories(v []*Repository) { - x.xxx_hidden_Repositories = &v -} - -func (x *ListRepositoriesResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListRepositoriesResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Repositories []*Repository - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListRepositoriesResponse_builder) Build() *ListRepositoriesResponse { - m0 := &ListRepositoriesResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Repositories = &b.Repositories - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type ListUserRepositoriesRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListUserRepositoriesRequest) Reset() { - *x = ListUserRepositoriesRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListUserRepositoriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListUserRepositoriesRequest) ProtoMessage() {} - -func (x *ListUserRepositoriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListUserRepositoriesRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *ListUserRepositoriesRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListUserRepositoriesRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListUserRepositoriesRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListUserRepositoriesRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -func (x *ListUserRepositoriesRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListUserRepositoriesRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListUserRepositoriesRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListUserRepositoriesRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the user whose repositories should be listed. - UserId string - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool -} - -func (b0 ListUserRepositoriesRequest_builder) Build() *ListUserRepositoriesRequest { - m0 := &ListUserRepositoriesRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_UserId = b.UserId - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListUserRepositoriesResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Repositories *[]*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` - xxx_hidden_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() { - *x = ListUserRepositoriesResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListUserRepositoriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListUserRepositoriesResponse) ProtoMessage() {} - -func (x *ListUserRepositoriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListUserRepositoriesResponse) GetRepositories() []*Repository { - if x != nil { - if x.xxx_hidden_Repositories != nil { - return *x.xxx_hidden_Repositories - } - } - return nil -} - -func (x *ListUserRepositoriesResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListUserRepositoriesResponse) SetRepositories(v []*Repository) { - x.xxx_hidden_Repositories = &v -} - -func (x *ListUserRepositoriesResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListUserRepositoriesResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Repositories []*Repository - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListUserRepositoriesResponse_builder) Build() *ListUserRepositoriesResponse { - m0 := &ListUserRepositoriesResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Repositories = &b.Repositories - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type ListRepositoriesUserCanAccessRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListRepositoriesUserCanAccessRequest) Reset() { - *x = ListRepositoriesUserCanAccessRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoriesUserCanAccessRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoriesUserCanAccessRequest) ProtoMessage() {} - -func (x *ListRepositoriesUserCanAccessRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoriesUserCanAccessRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListRepositoriesUserCanAccessRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListRepositoriesUserCanAccessRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListRepositoriesUserCanAccessRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListRepositoriesUserCanAccessRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListRepositoriesUserCanAccessRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListRepositoriesUserCanAccessRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool -} - -func (b0 ListRepositoriesUserCanAccessRequest_builder) Build() *ListRepositoriesUserCanAccessRequest { - m0 := &ListRepositoriesUserCanAccessRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListRepositoriesUserCanAccessResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Repositories *[]*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` - xxx_hidden_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() { - *x = ListRepositoriesUserCanAccessResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoriesUserCanAccessResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoriesUserCanAccessResponse) ProtoMessage() {} - -func (x *ListRepositoriesUserCanAccessResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoriesUserCanAccessResponse) GetRepositories() []*Repository { - if x != nil { - if x.xxx_hidden_Repositories != nil { - return *x.xxx_hidden_Repositories - } - } - return nil -} - -func (x *ListRepositoriesUserCanAccessResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListRepositoriesUserCanAccessResponse) SetRepositories(v []*Repository) { - x.xxx_hidden_Repositories = &v -} - -func (x *ListRepositoriesUserCanAccessResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListRepositoriesUserCanAccessResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Repositories []*Repository - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListRepositoriesUserCanAccessResponse_builder) Build() *ListRepositoriesUserCanAccessResponse { - m0 := &ListRepositoriesUserCanAccessResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Repositories = &b.Repositories - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type ListOrganizationRepositoriesRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListOrganizationRepositoriesRequest) Reset() { - *x = ListOrganizationRepositoriesRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListOrganizationRepositoriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOrganizationRepositoriesRequest) ProtoMessage() {} - -func (x *ListOrganizationRepositoriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListOrganizationRepositoriesRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *ListOrganizationRepositoriesRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListOrganizationRepositoriesRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListOrganizationRepositoriesRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListOrganizationRepositoriesRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *ListOrganizationRepositoriesRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListOrganizationRepositoriesRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListOrganizationRepositoriesRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListOrganizationRepositoriesRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the organization whose repositories should be listed. - OrganizationId string - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool -} - -func (b0 ListOrganizationRepositoriesRequest_builder) Build() *ListOrganizationRepositoriesRequest { - m0 := &ListOrganizationRepositoriesRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListOrganizationRepositoriesResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Repositories *[]*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` - xxx_hidden_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() { - *x = ListOrganizationRepositoriesResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListOrganizationRepositoriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOrganizationRepositoriesResponse) ProtoMessage() {} - -func (x *ListOrganizationRepositoriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListOrganizationRepositoriesResponse) GetRepositories() []*Repository { - if x != nil { - if x.xxx_hidden_Repositories != nil { - return *x.xxx_hidden_Repositories - } - } - return nil -} - -func (x *ListOrganizationRepositoriesResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListOrganizationRepositoriesResponse) SetRepositories(v []*Repository) { - x.xxx_hidden_Repositories = &v -} - -func (x *ListOrganizationRepositoriesResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListOrganizationRepositoriesResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Repositories []*Repository - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListOrganizationRepositoriesResponse_builder) Build() *ListOrganizationRepositoriesResponse { - m0 := &ListOrganizationRepositoriesResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Repositories = &b.Repositories - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type CreateRepositoryByFullNameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` - xxx_hidden_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() { - *x = CreateRepositoryByFullNameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateRepositoryByFullNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRepositoryByFullNameRequest) ProtoMessage() {} - -func (x *CreateRepositoryByFullNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateRepositoryByFullNameRequest) GetFullName() string { - if x != nil { - return x.xxx_hidden_FullName - } - return "" -} - -func (x *CreateRepositoryByFullNameRequest) GetVisibility() Visibility { - if x != nil { - return x.xxx_hidden_Visibility - } - return Visibility_VISIBILITY_UNSPECIFIED -} - -func (x *CreateRepositoryByFullNameRequest) SetFullName(v string) { - x.xxx_hidden_FullName = v -} - -func (x *CreateRepositoryByFullNameRequest) SetVisibility(v Visibility) { - x.xxx_hidden_Visibility = v -} - -type CreateRepositoryByFullNameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Must be unique across repositories. - FullName string - Visibility Visibility -} - -func (b0 CreateRepositoryByFullNameRequest_builder) Build() *CreateRepositoryByFullNameRequest { - m0 := &CreateRepositoryByFullNameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_FullName = b.FullName - x.xxx_hidden_Visibility = b.Visibility - return m0 -} - -type CreateRepositoryByFullNameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateRepositoryByFullNameResponse) Reset() { - *x = CreateRepositoryByFullNameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateRepositoryByFullNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRepositoryByFullNameResponse) ProtoMessage() {} - -func (x *CreateRepositoryByFullNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateRepositoryByFullNameResponse) GetRepository() *Repository { - if x != nil { - return x.xxx_hidden_Repository - } - return nil -} - -func (x *CreateRepositoryByFullNameResponse) SetRepository(v *Repository) { - x.xxx_hidden_Repository = v -} - -func (x *CreateRepositoryByFullNameResponse) HasRepository() bool { - if x == nil { - return false - } - return x.xxx_hidden_Repository != nil -} - -func (x *CreateRepositoryByFullNameResponse) ClearRepository() { - x.xxx_hidden_Repository = nil -} - -type CreateRepositoryByFullNameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Repository *Repository -} - -func (b0 CreateRepositoryByFullNameResponse_builder) Build() *CreateRepositoryByFullNameResponse { - m0 := &CreateRepositoryByFullNameResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Repository = b.Repository - return m0 -} - -type DeleteRepositoryRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteRepositoryRequest) Reset() { - *x = DeleteRepositoryRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteRepositoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRepositoryRequest) ProtoMessage() {} - -func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeleteRepositoryRequest) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *DeleteRepositoryRequest) SetId(v string) { - x.xxx_hidden_Id = v -} - -type DeleteRepositoryRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string -} - -func (b0 DeleteRepositoryRequest_builder) Build() *DeleteRepositoryRequest { - m0 := &DeleteRepositoryRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - return m0 -} - -type DeleteRepositoryResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteRepositoryResponse) Reset() { - *x = DeleteRepositoryResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteRepositoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRepositoryResponse) ProtoMessage() {} - -func (x *DeleteRepositoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeleteRepositoryResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeleteRepositoryResponse_builder) Build() *DeleteRepositoryResponse { - m0 := &DeleteRepositoryResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type DeleteRepositoryByFullNameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteRepositoryByFullNameRequest) Reset() { - *x = DeleteRepositoryByFullNameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteRepositoryByFullNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRepositoryByFullNameRequest) ProtoMessage() {} - -func (x *DeleteRepositoryByFullNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeleteRepositoryByFullNameRequest) GetFullName() string { - if x != nil { - return x.xxx_hidden_FullName - } - return "" -} - -func (x *DeleteRepositoryByFullNameRequest) SetFullName(v string) { - x.xxx_hidden_FullName = v -} - -type DeleteRepositoryByFullNameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - FullName string -} - -func (b0 DeleteRepositoryByFullNameRequest_builder) Build() *DeleteRepositoryByFullNameRequest { - m0 := &DeleteRepositoryByFullNameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_FullName = b.FullName - return m0 -} - -type DeleteRepositoryByFullNameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteRepositoryByFullNameResponse) Reset() { - *x = DeleteRepositoryByFullNameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteRepositoryByFullNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRepositoryByFullNameResponse) ProtoMessage() {} - -func (x *DeleteRepositoryByFullNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeleteRepositoryByFullNameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeleteRepositoryByFullNameResponse_builder) Build() *DeleteRepositoryByFullNameResponse { - m0 := &DeleteRepositoryByFullNameResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type DeprecateRepositoryByNameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_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() { - *x = DeprecateRepositoryByNameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeprecateRepositoryByNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeprecateRepositoryByNameRequest) ProtoMessage() {} - -func (x *DeprecateRepositoryByNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeprecateRepositoryByNameRequest) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *DeprecateRepositoryByNameRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *DeprecateRepositoryByNameRequest) GetDeprecationMessage() string { - if x != nil { - return x.xxx_hidden_DeprecationMessage - } - return "" -} - -func (x *DeprecateRepositoryByNameRequest) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *DeprecateRepositoryByNameRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *DeprecateRepositoryByNameRequest) SetDeprecationMessage(v string) { - x.xxx_hidden_DeprecationMessage = v -} - -type DeprecateRepositoryByNameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - OwnerName string - RepositoryName string - // 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 -} - -func (b0 DeprecateRepositoryByNameRequest_builder) Build() *DeprecateRepositoryByNameRequest { - m0 := &DeprecateRepositoryByNameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_DeprecationMessage = b.DeprecationMessage - return m0 -} - -type DeprecateRepositoryByNameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeprecateRepositoryByNameResponse) Reset() { - *x = DeprecateRepositoryByNameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeprecateRepositoryByNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeprecateRepositoryByNameResponse) ProtoMessage() {} - -func (x *DeprecateRepositoryByNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeprecateRepositoryByNameResponse) GetRepository() *Repository { - if x != nil { - return x.xxx_hidden_Repository - } - return nil -} - -func (x *DeprecateRepositoryByNameResponse) SetRepository(v *Repository) { - x.xxx_hidden_Repository = v -} - -func (x *DeprecateRepositoryByNameResponse) HasRepository() bool { - if x == nil { - return false - } - return x.xxx_hidden_Repository != nil -} - -func (x *DeprecateRepositoryByNameResponse) ClearRepository() { - x.xxx_hidden_Repository = nil -} - -type DeprecateRepositoryByNameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Repository *Repository -} - -func (b0 DeprecateRepositoryByNameResponse_builder) Build() *DeprecateRepositoryByNameResponse { - m0 := &DeprecateRepositoryByNameResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Repository = b.Repository - return m0 -} - -type UndeprecateRepositoryByNameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_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() { - *x = UndeprecateRepositoryByNameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UndeprecateRepositoryByNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UndeprecateRepositoryByNameRequest) ProtoMessage() {} - -func (x *UndeprecateRepositoryByNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UndeprecateRepositoryByNameRequest) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *UndeprecateRepositoryByNameRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *UndeprecateRepositoryByNameRequest) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *UndeprecateRepositoryByNameRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -type UndeprecateRepositoryByNameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - OwnerName string - RepositoryName string -} - -func (b0 UndeprecateRepositoryByNameRequest_builder) Build() *UndeprecateRepositoryByNameRequest { - m0 := &UndeprecateRepositoryByNameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryName = b.RepositoryName - return m0 -} - -type UndeprecateRepositoryByNameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UndeprecateRepositoryByNameResponse) Reset() { - *x = UndeprecateRepositoryByNameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UndeprecateRepositoryByNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UndeprecateRepositoryByNameResponse) ProtoMessage() {} - -func (x *UndeprecateRepositoryByNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UndeprecateRepositoryByNameResponse) GetRepository() *Repository { - if x != nil { - return x.xxx_hidden_Repository - } - return nil -} - -func (x *UndeprecateRepositoryByNameResponse) SetRepository(v *Repository) { - x.xxx_hidden_Repository = v -} - -func (x *UndeprecateRepositoryByNameResponse) HasRepository() bool { - if x == nil { - return false - } - return x.xxx_hidden_Repository != nil -} - -func (x *UndeprecateRepositoryByNameResponse) ClearRepository() { - x.xxx_hidden_Repository = nil -} - -type UndeprecateRepositoryByNameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Repository *Repository -} - -func (b0 UndeprecateRepositoryByNameResponse_builder) Build() *UndeprecateRepositoryByNameResponse { - m0 := &UndeprecateRepositoryByNameResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Repository = b.Repository - return m0 -} - -type SetRepositoryContributorRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - xxx_hidden_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() { - *x = SetRepositoryContributorRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetRepositoryContributorRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetRepositoryContributorRequest) ProtoMessage() {} - -func (x *SetRepositoryContributorRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SetRepositoryContributorRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *SetRepositoryContributorRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *SetRepositoryContributorRequest) GetRepositoryRole() RepositoryRole { - if x != nil { - return x.xxx_hidden_RepositoryRole - } - return RepositoryRole_REPOSITORY_ROLE_UNSPECIFIED -} - -func (x *SetRepositoryContributorRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *SetRepositoryContributorRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -func (x *SetRepositoryContributorRequest) SetRepositoryRole(v RepositoryRole) { - x.xxx_hidden_RepositoryRole = v -} - -type SetRepositoryContributorRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository for which the user's role will be set. - RepositoryId string - // The ID of the user whose role will be set. - UserId string - // The role to assign to the user. - // Setting UNSPECIFIED means removing the user's role. - RepositoryRole RepositoryRole -} - -func (b0 SetRepositoryContributorRequest_builder) Build() *SetRepositoryContributorRequest { - m0 := &SetRepositoryContributorRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_UserId = b.UserId - x.xxx_hidden_RepositoryRole = b.RepositoryRole - return m0 -} - -type SetRepositoryContributorResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetRepositoryContributorResponse) Reset() { - *x = SetRepositoryContributorResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetRepositoryContributorResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetRepositoryContributorResponse) ProtoMessage() {} - -func (x *SetRepositoryContributorResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type SetRepositoryContributorResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 SetRepositoryContributorResponse_builder) Build() *SetRepositoryContributorResponse { - m0 := &SetRepositoryContributorResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type ListRepositoryContributorsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListRepositoryContributorsRequest) Reset() { - *x = ListRepositoryContributorsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryContributorsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryContributorsRequest) ProtoMessage() {} - -func (x *ListRepositoryContributorsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryContributorsRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *ListRepositoryContributorsRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListRepositoryContributorsRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListRepositoryContributorsRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListRepositoryContributorsRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *ListRepositoryContributorsRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListRepositoryContributorsRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListRepositoryContributorsRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListRepositoryContributorsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryId string - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool -} - -func (b0 ListRepositoryContributorsRequest_builder) Build() *ListRepositoryContributorsRequest { - m0 := &ListRepositoryContributorsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListRepositoryContributorsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Users *[]*RepositoryContributor `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` - xxx_hidden_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() { - *x = ListRepositoryContributorsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryContributorsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryContributorsResponse) ProtoMessage() {} - -func (x *ListRepositoryContributorsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryContributorsResponse) GetUsers() []*RepositoryContributor { - if x != nil { - if x.xxx_hidden_Users != nil { - return *x.xxx_hidden_Users - } - } - return nil -} - -func (x *ListRepositoryContributorsResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListRepositoryContributorsResponse) SetUsers(v []*RepositoryContributor) { - x.xxx_hidden_Users = &v -} - -func (x *ListRepositoryContributorsResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListRepositoryContributorsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Users []*RepositoryContributor - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListRepositoryContributorsResponse_builder) Build() *ListRepositoryContributorsResponse { - m0 := &ListRepositoryContributorsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Users = &b.Users - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type GetRepositoryContributorRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_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() { - *x = GetRepositoryContributorRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryContributorRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryContributorRequest) ProtoMessage() {} - -func (x *GetRepositoryContributorRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[32] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryContributorRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *GetRepositoryContributorRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *GetRepositoryContributorRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *GetRepositoryContributorRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -type GetRepositoryContributorRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository for which to get the contributor information. - RepositoryId string - // The ID of the user for which to get the contributor information. - UserId string -} - -func (b0 GetRepositoryContributorRequest_builder) Build() *GetRepositoryContributorRequest { - m0 := &GetRepositoryContributorRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_UserId = b.UserId - return m0 -} - -type GetRepositoryContributorResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_User *RepositoryContributor `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoryContributorResponse) Reset() { - *x = GetRepositoryContributorResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryContributorResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryContributorResponse) ProtoMessage() {} - -func (x *GetRepositoryContributorResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[33] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryContributorResponse) GetUser() *RepositoryContributor { - if x != nil { - return x.xxx_hidden_User - } - return nil -} - -func (x *GetRepositoryContributorResponse) SetUser(v *RepositoryContributor) { - x.xxx_hidden_User = v -} - -func (x *GetRepositoryContributorResponse) HasUser() bool { - if x == nil { - return false - } - return x.xxx_hidden_User != nil -} - -func (x *GetRepositoryContributorResponse) ClearUser() { - x.xxx_hidden_User = nil -} - -type GetRepositoryContributorResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The contributor information of the user in the repository. - User *RepositoryContributor -} - -func (b0 GetRepositoryContributorResponse_builder) Build() *GetRepositoryContributorResponse { - m0 := &GetRepositoryContributorResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_User = b.User - return m0 -} - -type GetRepositorySettingsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetRepositorySettingsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositorySettingsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositorySettingsRequest) ProtoMessage() {} - -func (x *GetRepositorySettingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[34] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositorySettingsRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *GetRepositorySettingsRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -type GetRepositorySettingsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository for which to get the settings. - RepositoryId string -} - -func (b0 GetRepositorySettingsRequest_builder) Build() *GetRepositorySettingsRequest { - m0 := &GetRepositorySettingsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - return m0 -} - -type GetRepositorySettingsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetRepositorySettingsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositorySettingsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositorySettingsResponse) ProtoMessage() {} - -func (x *GetRepositorySettingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[35] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositorySettingsResponse) GetContributorsCount() uint32 { - if x != nil { - return x.xxx_hidden_ContributorsCount - } - return 0 -} - -func (x *GetRepositorySettingsResponse) SetContributorsCount(v uint32) { - x.xxx_hidden_ContributorsCount = v -} - -type GetRepositorySettingsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The number of outside contributors in the repository, - // excluding owning-organization's members that have an explicit role. - ContributorsCount uint32 -} - -func (b0 GetRepositorySettingsResponse_builder) Build() *GetRepositorySettingsResponse { - m0 := &GetRepositorySettingsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_ContributorsCount = b.ContributorsCount - return m0 -} - -type UpdateRepositorySettingsByNameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OwnerName string `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_Visibility Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` - xxx_hidden_Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` - xxx_hidden_Url *string `protobuf:"bytes,5,opt,name=url,proto3,oneof" json:"url,omitempty"` - xxx_hidden_DefaultBranch *string `protobuf:"bytes,6,opt,name=default_branch,json=defaultBranch,proto3,oneof" json:"default_branch,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateRepositorySettingsByNameRequest) Reset() { - *x = UpdateRepositorySettingsByNameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateRepositorySettingsByNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRepositorySettingsByNameRequest) ProtoMessage() {} - -func (x *UpdateRepositorySettingsByNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[36] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateRepositorySettingsByNameRequest) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *UpdateRepositorySettingsByNameRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *UpdateRepositorySettingsByNameRequest) GetVisibility() Visibility { - if x != nil { - return x.xxx_hidden_Visibility - } - return Visibility_VISIBILITY_UNSPECIFIED -} - -func (x *UpdateRepositorySettingsByNameRequest) GetDescription() string { - if x != nil { - if x.xxx_hidden_Description != nil { - return *x.xxx_hidden_Description - } - return "" - } - return "" -} - -func (x *UpdateRepositorySettingsByNameRequest) GetUrl() string { - if x != nil { - if x.xxx_hidden_Url != nil { - return *x.xxx_hidden_Url - } - return "" - } - return "" -} - -func (x *UpdateRepositorySettingsByNameRequest) GetDefaultBranch() string { - if x != nil { - if x.xxx_hidden_DefaultBranch != nil { - return *x.xxx_hidden_DefaultBranch - } - return "" - } - return "" -} - -func (x *UpdateRepositorySettingsByNameRequest) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *UpdateRepositorySettingsByNameRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *UpdateRepositorySettingsByNameRequest) SetVisibility(v Visibility) { - x.xxx_hidden_Visibility = v -} - -func (x *UpdateRepositorySettingsByNameRequest) SetDescription(v string) { - x.xxx_hidden_Description = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 3, 6) -} - -func (x *UpdateRepositorySettingsByNameRequest) SetUrl(v string) { - x.xxx_hidden_Url = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 4, 6) -} - -func (x *UpdateRepositorySettingsByNameRequest) SetDefaultBranch(v string) { - x.xxx_hidden_DefaultBranch = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 5, 6) -} - -func (x *UpdateRepositorySettingsByNameRequest) HasDescription() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 3) -} - -func (x *UpdateRepositorySettingsByNameRequest) HasUrl() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 4) -} - -func (x *UpdateRepositorySettingsByNameRequest) HasDefaultBranch() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 5) -} - -func (x *UpdateRepositorySettingsByNameRequest) ClearDescription() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 3) - x.xxx_hidden_Description = nil -} - -func (x *UpdateRepositorySettingsByNameRequest) ClearUrl() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 4) - x.xxx_hidden_Url = nil -} - -func (x *UpdateRepositorySettingsByNameRequest) ClearDefaultBranch() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 5) - x.xxx_hidden_DefaultBranch = nil -} - -type UpdateRepositorySettingsByNameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - OwnerName string - RepositoryName string - // optional, update to visibility will only be made if this is specified. - Visibility Visibility - // optional, update to description will only be made when this is present - Description *string - // optional, update to url will only be made when this is present - Url *string - // optional, update to default_branch will only be made when this is present - DefaultBranch *string -} - -func (b0 UpdateRepositorySettingsByNameRequest_builder) Build() *UpdateRepositorySettingsByNameRequest { - m0 := &UpdateRepositorySettingsByNameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_Visibility = b.Visibility - if b.Description != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 3, 6) - x.xxx_hidden_Description = b.Description - } - if b.Url != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 4, 6) - x.xxx_hidden_Url = b.Url - } - if b.DefaultBranch != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 5, 6) - x.xxx_hidden_DefaultBranch = b.DefaultBranch - } - return m0 -} - -type UpdateRepositorySettingsByNameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateRepositorySettingsByNameResponse) Reset() { - *x = UpdateRepositorySettingsByNameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateRepositorySettingsByNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRepositorySettingsByNameResponse) ProtoMessage() {} - -func (x *UpdateRepositorySettingsByNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[37] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type UpdateRepositorySettingsByNameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 UpdateRepositorySettingsByNameResponse_builder) Build() *UpdateRepositorySettingsByNameResponse { - m0 := &UpdateRepositorySettingsByNameResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetRepositoriesMetadataRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoriesMetadataRequest) Reset() { - *x = GetRepositoriesMetadataRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoriesMetadataRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoriesMetadataRequest) ProtoMessage() {} - -func (x *GetRepositoriesMetadataRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[38] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoriesMetadataRequest) GetIds() []string { - if x != nil { - return x.xxx_hidden_Ids - } - return nil -} - -func (x *GetRepositoriesMetadataRequest) SetIds(v []string) { - x.xxx_hidden_Ids = v -} - -type GetRepositoriesMetadataRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The list of repository IDs to request the metadata. - Ids []string -} - -func (b0 GetRepositoriesMetadataRequest_builder) Build() *GetRepositoriesMetadataRequest { - m0 := &GetRepositoriesMetadataRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Ids = b.Ids - return m0 -} - -type GetRepositoriesMetadataResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Metadata *[]*RepositoryMetadata `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoriesMetadataResponse) Reset() { - *x = GetRepositoriesMetadataResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoriesMetadataResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoriesMetadataResponse) ProtoMessage() {} - -func (x *GetRepositoriesMetadataResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[39] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoriesMetadataResponse) GetMetadata() []*RepositoryMetadata { - if x != nil { - if x.xxx_hidden_Metadata != nil { - return *x.xxx_hidden_Metadata - } - } - return nil -} - -func (x *GetRepositoriesMetadataResponse) SetMetadata(v []*RepositoryMetadata) { - x.xxx_hidden_Metadata = &v -} - -type GetRepositoriesMetadataResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Metadata []*RepositoryMetadata -} - -func (b0 GetRepositoriesMetadataResponse_builder) Build() *GetRepositoriesMetadataResponse { - m0 := &GetRepositoriesMetadataResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Metadata = &b.Metadata - return m0 -} - -type GetRepositoryDependencyDOTStringRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoryDependencyDOTStringRequest) Reset() { - *x = GetRepositoryDependencyDOTStringRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryDependencyDOTStringRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryDependencyDOTStringRequest) ProtoMessage() {} - -func (x *GetRepositoryDependencyDOTStringRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[40] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryDependencyDOTStringRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetRepositoryDependencyDOTStringRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *GetRepositoryDependencyDOTStringRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *GetRepositoryDependencyDOTStringRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetRepositoryDependencyDOTStringRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *GetRepositoryDependencyDOTStringRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -type GetRepositoryDependencyDOTStringRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the BSR repository. - Owner string - // The name of the BSR repository. - Repository string - // Optional reference (if unspecified, will use the repository's default_branch). - Reference string -} - -func (b0 GetRepositoryDependencyDOTStringRequest_builder) Build() *GetRepositoryDependencyDOTStringRequest { - m0 := &GetRepositoryDependencyDOTStringRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Reference = b.Reference - return m0 -} - -type GetRepositoryDependencyDOTStringResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetRepositoryDependencyDOTStringResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryDependencyDOTStringResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryDependencyDOTStringResponse) ProtoMessage() {} - -func (x *GetRepositoryDependencyDOTStringResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[41] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryDependencyDOTStringResponse) GetDotString() string { - if x != nil { - return x.xxx_hidden_DotString - } - return "" -} - -func (x *GetRepositoryDependencyDOTStringResponse) SetDotString(v string) { - x.xxx_hidden_DotString = v -} - -type GetRepositoryDependencyDOTStringResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The string DOT representation of the dependency graph for the repository. - // - // DOT language reference: https://graphviz.org/doc/info/lang.html - DotString string -} - -func (b0 GetRepositoryDependencyDOTStringResponse_builder) Build() *GetRepositoryDependencyDOTStringResponse { - m0 := &GetRepositoryDependencyDOTStringResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_DotString = b.DotString - return m0 -} - -var File_buf_alpha_registry_v1alpha1_repository_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_repository_proto_rawDesc = []byte{ - 0x0a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x26, 0x62, 0x75, 0x66, - 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x62, 0x75, 0x66, - 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x04, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, - 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x19, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x0f, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, - 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, - 0x2f, 0x0a, 0x13, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, - 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x75, 0x72, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x62, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x42, 0x07, 0x0a, 0x05, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x22, 0x68, 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x67, 0x73, 0x5f, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x67, - 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x72, 0x61, 0x66, 0x74, 0x73, - 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x72, - 0x61, 0x66, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, - 0x0c, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x97, 0x02, - 0x0a, 0x15, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x23, - 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x5f, - 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, - 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x50, 0x0a, 0x0d, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x63, 0x69, - 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x0c, 0x69, 0x6d, 0x70, 0x6c, 0x69, - 0x63, 0x69, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0xc3, 0x02, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x6b, 0x0a, 0x19, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x17, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x48, - 0x0a, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6c, 0x61, 0x74, 0x65, - 0x73, 0x74, 0x5f, 0x73, 0x70, 0x64, 0x78, 0x5f, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, - 0x53, 0x70, 0x64, 0x78, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x49, 0x64, 0x22, 0x41, 0x0a, - 0x20, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, - 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x22, 0x70, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x69, 0x65, 0x73, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, - 0x65, 0x73, 0x22, 0x26, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xa7, 0x01, 0x0a, 0x15, 0x47, - 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x45, 0x0a, - 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x06, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x73, 0x22, 0x3d, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0xb1, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x45, 0x0a, 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, - 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x6f, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, - 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, - 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, - 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, - 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8c, 0x01, 0x0a, 0x1b, 0x4c, - 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, - 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x22, 0x93, 0x01, 0x0a, 0x1c, 0x4c, 0x69, - 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, - 0x7c, 0x0a, 0x24, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x69, 0x65, 0x73, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, - 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, - 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x22, 0x9c, 0x01, - 0x0a, 0x25, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, - 0x65, 0x73, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, - 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa4, 0x01, 0x0a, - 0x23, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, - 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, - 0x65, 0x72, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, - 0x72, 0x73, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x24, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0c, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, - 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x22, 0x89, 0x01, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x6d, 0x0a, - 0x22, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x29, 0x0a, 0x17, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x40, 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, - 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x22, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, - 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x20, - 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x65, 0x70, 0x72, - 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x6c, 0x0a, 0x21, 0x44, 0x65, 0x70, - 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, - 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x6c, 0x0a, 0x22, 0x55, 0x6e, 0x64, 0x65, 0x70, - 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, - 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6e, 0x0a, 0x23, 0x55, 0x6e, 0x64, 0x65, 0x70, 0x72, 0x65, - 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, - 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xb5, 0x01, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, - 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x17, - 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x0e, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x22, 0x0a, - 0x20, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, - 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, - 0x72, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, - 0x73, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x05, 0x75, 0x73, 0x65, - 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x75, 0x73, - 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, - 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5f, 0x0a, 0x1f, 0x47, - 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, - 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x6a, 0x0a, 0x20, - 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x46, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, - 0x6f, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x43, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, 0x4e, 0x0a, - 0x1d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, - 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x5f, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xcd, 0x02, - 0x0a, 0x25, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x47, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, - 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, - 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x03, - 0x75, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, - 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, - 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x88, - 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x64, - 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x28, 0x0a, - 0x26, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x6e, 0x0a, 0x1f, 0x47, - 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, - 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x7d, 0x0a, 0x27, 0x47, - 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x70, 0x65, - 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x4f, 0x54, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x49, 0x0a, 0x28, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, - 0x64, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x4f, 0x54, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x6f, 0x74, 0x5f, 0x73, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x6f, 0x74, 0x53, - 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2a, 0x57, 0x0a, 0x0a, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, - 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, - 0x15, 0x0a, 0x11, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, - 0x42, 0x4c, 0x49, 0x43, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, - 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x02, 0x32, 0xc5, - 0x17, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x7b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, - 0x01, 0x12, 0x99, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, - 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x84, 0x01, - 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, - 0x65, 0x73, 0x12, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x03, 0x90, 0x02, 0x01, 0x12, 0x90, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x38, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xab, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x55, 0x73, 0x65, 0x72, - 0x43, 0x61, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x41, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x55, 0x73, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x41, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x55, 0x73, 0x65, 0x72, 0x43, - 0x61, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xa8, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x40, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, - 0x12, 0xa2, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x3e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, - 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x3f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, - 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0x84, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x34, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x35, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0xa2, 0x01, 0x0a, - 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, - 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, - 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, - 0x02, 0x12, 0x9a, 0x01, 0x0a, 0x19, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x3d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, - 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x70, - 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa0, - 0x01, 0x0a, 0x1b, 0x55, 0x6e, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x6e, 0x64, - 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x40, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x6e, - 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x9f, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x69, 0x65, 0x73, 0x42, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x3d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x42, 0x79, 0x46, - 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x42, 0x79, 0x46, 0x75, - 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, - 0x90, 0x02, 0x01, 0x12, 0x97, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, - 0x12, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, - 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa2, 0x01, - 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x3e, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, - 0x02, 0x01, 0x12, 0x9c, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x12, - 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, - 0x01, 0x12, 0x93, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x39, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xa9, 0x01, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x99, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x3b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, - 0xb4, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x4f, 0x54, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x12, 0x44, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x4f, 0x54, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, - 0x44, 0x4f, 0x54, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x9c, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0f, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, - 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, - 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, - 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, - 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_repository_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes = make([]protoimpl.MessageInfo, 42) -var file_buf_alpha_registry_v1alpha1_repository_proto_goTypes = []any{ - (Visibility)(0), // 0: buf.alpha.registry.v1alpha1.Visibility - (*Repository)(nil), // 1: buf.alpha.registry.v1alpha1.Repository - (*RepositoryCounts)(nil), // 2: buf.alpha.registry.v1alpha1.RepositoryCounts - (*RepositoryContributor)(nil), // 3: buf.alpha.registry.v1alpha1.RepositoryContributor - (*RepositoryMetadata)(nil), // 4: buf.alpha.registry.v1alpha1.RepositoryMetadata - (*GetRepositoriesByFullNameRequest)(nil), // 5: buf.alpha.registry.v1alpha1.GetRepositoriesByFullNameRequest - (*GetRepositoriesByFullNameResponse)(nil), // 6: buf.alpha.registry.v1alpha1.GetRepositoriesByFullNameResponse - (*GetRepositoryRequest)(nil), // 7: buf.alpha.registry.v1alpha1.GetRepositoryRequest - (*GetRepositoryResponse)(nil), // 8: buf.alpha.registry.v1alpha1.GetRepositoryResponse - (*GetRepositoryByFullNameRequest)(nil), // 9: buf.alpha.registry.v1alpha1.GetRepositoryByFullNameRequest - (*GetRepositoryByFullNameResponse)(nil), // 10: buf.alpha.registry.v1alpha1.GetRepositoryByFullNameResponse - (*ListRepositoriesRequest)(nil), // 11: buf.alpha.registry.v1alpha1.ListRepositoriesRequest - (*ListRepositoriesResponse)(nil), // 12: buf.alpha.registry.v1alpha1.ListRepositoriesResponse - (*ListUserRepositoriesRequest)(nil), // 13: buf.alpha.registry.v1alpha1.ListUserRepositoriesRequest - (*ListUserRepositoriesResponse)(nil), // 14: buf.alpha.registry.v1alpha1.ListUserRepositoriesResponse - (*ListRepositoriesUserCanAccessRequest)(nil), // 15: buf.alpha.registry.v1alpha1.ListRepositoriesUserCanAccessRequest - (*ListRepositoriesUserCanAccessResponse)(nil), // 16: buf.alpha.registry.v1alpha1.ListRepositoriesUserCanAccessResponse - (*ListOrganizationRepositoriesRequest)(nil), // 17: buf.alpha.registry.v1alpha1.ListOrganizationRepositoriesRequest - (*ListOrganizationRepositoriesResponse)(nil), // 18: buf.alpha.registry.v1alpha1.ListOrganizationRepositoriesResponse - (*CreateRepositoryByFullNameRequest)(nil), // 19: buf.alpha.registry.v1alpha1.CreateRepositoryByFullNameRequest - (*CreateRepositoryByFullNameResponse)(nil), // 20: buf.alpha.registry.v1alpha1.CreateRepositoryByFullNameResponse - (*DeleteRepositoryRequest)(nil), // 21: buf.alpha.registry.v1alpha1.DeleteRepositoryRequest - (*DeleteRepositoryResponse)(nil), // 22: buf.alpha.registry.v1alpha1.DeleteRepositoryResponse - (*DeleteRepositoryByFullNameRequest)(nil), // 23: buf.alpha.registry.v1alpha1.DeleteRepositoryByFullNameRequest - (*DeleteRepositoryByFullNameResponse)(nil), // 24: buf.alpha.registry.v1alpha1.DeleteRepositoryByFullNameResponse - (*DeprecateRepositoryByNameRequest)(nil), // 25: buf.alpha.registry.v1alpha1.DeprecateRepositoryByNameRequest - (*DeprecateRepositoryByNameResponse)(nil), // 26: buf.alpha.registry.v1alpha1.DeprecateRepositoryByNameResponse - (*UndeprecateRepositoryByNameRequest)(nil), // 27: buf.alpha.registry.v1alpha1.UndeprecateRepositoryByNameRequest - (*UndeprecateRepositoryByNameResponse)(nil), // 28: buf.alpha.registry.v1alpha1.UndeprecateRepositoryByNameResponse - (*SetRepositoryContributorRequest)(nil), // 29: buf.alpha.registry.v1alpha1.SetRepositoryContributorRequest - (*SetRepositoryContributorResponse)(nil), // 30: buf.alpha.registry.v1alpha1.SetRepositoryContributorResponse - (*ListRepositoryContributorsRequest)(nil), // 31: buf.alpha.registry.v1alpha1.ListRepositoryContributorsRequest - (*ListRepositoryContributorsResponse)(nil), // 32: buf.alpha.registry.v1alpha1.ListRepositoryContributorsResponse - (*GetRepositoryContributorRequest)(nil), // 33: buf.alpha.registry.v1alpha1.GetRepositoryContributorRequest - (*GetRepositoryContributorResponse)(nil), // 34: buf.alpha.registry.v1alpha1.GetRepositoryContributorResponse - (*GetRepositorySettingsRequest)(nil), // 35: buf.alpha.registry.v1alpha1.GetRepositorySettingsRequest - (*GetRepositorySettingsResponse)(nil), // 36: buf.alpha.registry.v1alpha1.GetRepositorySettingsResponse - (*UpdateRepositorySettingsByNameRequest)(nil), // 37: buf.alpha.registry.v1alpha1.UpdateRepositorySettingsByNameRequest - (*UpdateRepositorySettingsByNameResponse)(nil), // 38: buf.alpha.registry.v1alpha1.UpdateRepositorySettingsByNameResponse - (*GetRepositoriesMetadataRequest)(nil), // 39: buf.alpha.registry.v1alpha1.GetRepositoriesMetadataRequest - (*GetRepositoriesMetadataResponse)(nil), // 40: buf.alpha.registry.v1alpha1.GetRepositoriesMetadataResponse - (*GetRepositoryDependencyDOTStringRequest)(nil), // 41: buf.alpha.registry.v1alpha1.GetRepositoryDependencyDOTStringRequest - (*GetRepositoryDependencyDOTStringResponse)(nil), // 42: buf.alpha.registry.v1alpha1.GetRepositoryDependencyDOTStringResponse - (*timestamppb.Timestamp)(nil), // 43: google.protobuf.Timestamp - (*User)(nil), // 44: buf.alpha.registry.v1alpha1.User - (RepositoryRole)(0), // 45: buf.alpha.registry.v1alpha1.RepositoryRole - (VerificationStatus)(0), // 46: buf.alpha.registry.v1alpha1.VerificationStatus -} -var file_buf_alpha_registry_v1alpha1_repository_proto_depIdxs = []int32{ - 43, // 0: buf.alpha.registry.v1alpha1.Repository.create_time:type_name -> google.protobuf.Timestamp - 43, // 1: buf.alpha.registry.v1alpha1.Repository.update_time:type_name -> google.protobuf.Timestamp - 0, // 2: buf.alpha.registry.v1alpha1.Repository.visibility:type_name -> buf.alpha.registry.v1alpha1.Visibility - 44, // 3: buf.alpha.registry.v1alpha1.RepositoryContributor.user:type_name -> buf.alpha.registry.v1alpha1.User - 45, // 4: buf.alpha.registry.v1alpha1.RepositoryContributor.explicit_role:type_name -> buf.alpha.registry.v1alpha1.RepositoryRole - 45, // 5: buf.alpha.registry.v1alpha1.RepositoryContributor.implicit_role:type_name -> buf.alpha.registry.v1alpha1.RepositoryRole - 46, // 6: buf.alpha.registry.v1alpha1.RepositoryMetadata.owner_verification_status:type_name -> buf.alpha.registry.v1alpha1.VerificationStatus - 43, // 7: buf.alpha.registry.v1alpha1.RepositoryMetadata.latest_commit_time:type_name -> google.protobuf.Timestamp - 1, // 8: buf.alpha.registry.v1alpha1.GetRepositoriesByFullNameResponse.repositories:type_name -> buf.alpha.registry.v1alpha1.Repository - 1, // 9: buf.alpha.registry.v1alpha1.GetRepositoryResponse.repository:type_name -> buf.alpha.registry.v1alpha1.Repository - 2, // 10: buf.alpha.registry.v1alpha1.GetRepositoryResponse.counts:type_name -> buf.alpha.registry.v1alpha1.RepositoryCounts - 1, // 11: buf.alpha.registry.v1alpha1.GetRepositoryByFullNameResponse.repository:type_name -> buf.alpha.registry.v1alpha1.Repository - 2, // 12: buf.alpha.registry.v1alpha1.GetRepositoryByFullNameResponse.counts:type_name -> buf.alpha.registry.v1alpha1.RepositoryCounts - 1, // 13: buf.alpha.registry.v1alpha1.ListRepositoriesResponse.repositories:type_name -> buf.alpha.registry.v1alpha1.Repository - 1, // 14: buf.alpha.registry.v1alpha1.ListUserRepositoriesResponse.repositories:type_name -> buf.alpha.registry.v1alpha1.Repository - 1, // 15: buf.alpha.registry.v1alpha1.ListRepositoriesUserCanAccessResponse.repositories:type_name -> buf.alpha.registry.v1alpha1.Repository - 1, // 16: buf.alpha.registry.v1alpha1.ListOrganizationRepositoriesResponse.repositories:type_name -> buf.alpha.registry.v1alpha1.Repository - 0, // 17: buf.alpha.registry.v1alpha1.CreateRepositoryByFullNameRequest.visibility:type_name -> buf.alpha.registry.v1alpha1.Visibility - 1, // 18: buf.alpha.registry.v1alpha1.CreateRepositoryByFullNameResponse.repository:type_name -> buf.alpha.registry.v1alpha1.Repository - 1, // 19: buf.alpha.registry.v1alpha1.DeprecateRepositoryByNameResponse.repository:type_name -> buf.alpha.registry.v1alpha1.Repository - 1, // 20: buf.alpha.registry.v1alpha1.UndeprecateRepositoryByNameResponse.repository:type_name -> buf.alpha.registry.v1alpha1.Repository - 45, // 21: buf.alpha.registry.v1alpha1.SetRepositoryContributorRequest.repository_role:type_name -> buf.alpha.registry.v1alpha1.RepositoryRole - 3, // 22: buf.alpha.registry.v1alpha1.ListRepositoryContributorsResponse.users:type_name -> buf.alpha.registry.v1alpha1.RepositoryContributor - 3, // 23: buf.alpha.registry.v1alpha1.GetRepositoryContributorResponse.user:type_name -> buf.alpha.registry.v1alpha1.RepositoryContributor - 0, // 24: buf.alpha.registry.v1alpha1.UpdateRepositorySettingsByNameRequest.visibility:type_name -> buf.alpha.registry.v1alpha1.Visibility - 4, // 25: buf.alpha.registry.v1alpha1.GetRepositoriesMetadataResponse.metadata:type_name -> buf.alpha.registry.v1alpha1.RepositoryMetadata - 7, // 26: buf.alpha.registry.v1alpha1.RepositoryService.GetRepository:input_type -> buf.alpha.registry.v1alpha1.GetRepositoryRequest - 9, // 27: buf.alpha.registry.v1alpha1.RepositoryService.GetRepositoryByFullName:input_type -> buf.alpha.registry.v1alpha1.GetRepositoryByFullNameRequest - 11, // 28: buf.alpha.registry.v1alpha1.RepositoryService.ListRepositories:input_type -> buf.alpha.registry.v1alpha1.ListRepositoriesRequest - 13, // 29: buf.alpha.registry.v1alpha1.RepositoryService.ListUserRepositories:input_type -> buf.alpha.registry.v1alpha1.ListUserRepositoriesRequest - 15, // 30: buf.alpha.registry.v1alpha1.RepositoryService.ListRepositoriesUserCanAccess:input_type -> buf.alpha.registry.v1alpha1.ListRepositoriesUserCanAccessRequest - 17, // 31: buf.alpha.registry.v1alpha1.RepositoryService.ListOrganizationRepositories:input_type -> buf.alpha.registry.v1alpha1.ListOrganizationRepositoriesRequest - 19, // 32: buf.alpha.registry.v1alpha1.RepositoryService.CreateRepositoryByFullName:input_type -> buf.alpha.registry.v1alpha1.CreateRepositoryByFullNameRequest - 21, // 33: buf.alpha.registry.v1alpha1.RepositoryService.DeleteRepository:input_type -> buf.alpha.registry.v1alpha1.DeleteRepositoryRequest - 23, // 34: buf.alpha.registry.v1alpha1.RepositoryService.DeleteRepositoryByFullName:input_type -> buf.alpha.registry.v1alpha1.DeleteRepositoryByFullNameRequest - 25, // 35: buf.alpha.registry.v1alpha1.RepositoryService.DeprecateRepositoryByName:input_type -> buf.alpha.registry.v1alpha1.DeprecateRepositoryByNameRequest - 27, // 36: buf.alpha.registry.v1alpha1.RepositoryService.UndeprecateRepositoryByName:input_type -> buf.alpha.registry.v1alpha1.UndeprecateRepositoryByNameRequest - 5, // 37: buf.alpha.registry.v1alpha1.RepositoryService.GetRepositoriesByFullName:input_type -> buf.alpha.registry.v1alpha1.GetRepositoriesByFullNameRequest - 29, // 38: buf.alpha.registry.v1alpha1.RepositoryService.SetRepositoryContributor:input_type -> buf.alpha.registry.v1alpha1.SetRepositoryContributorRequest - 31, // 39: buf.alpha.registry.v1alpha1.RepositoryService.ListRepositoryContributors:input_type -> buf.alpha.registry.v1alpha1.ListRepositoryContributorsRequest - 33, // 40: buf.alpha.registry.v1alpha1.RepositoryService.GetRepositoryContributor:input_type -> buf.alpha.registry.v1alpha1.GetRepositoryContributorRequest - 35, // 41: buf.alpha.registry.v1alpha1.RepositoryService.GetRepositorySettings:input_type -> buf.alpha.registry.v1alpha1.GetRepositorySettingsRequest - 37, // 42: buf.alpha.registry.v1alpha1.RepositoryService.UpdateRepositorySettingsByName:input_type -> buf.alpha.registry.v1alpha1.UpdateRepositorySettingsByNameRequest - 39, // 43: buf.alpha.registry.v1alpha1.RepositoryService.GetRepositoriesMetadata:input_type -> buf.alpha.registry.v1alpha1.GetRepositoriesMetadataRequest - 41, // 44: buf.alpha.registry.v1alpha1.RepositoryService.GetRepositoryDependencyDOTString:input_type -> buf.alpha.registry.v1alpha1.GetRepositoryDependencyDOTStringRequest - 8, // 45: buf.alpha.registry.v1alpha1.RepositoryService.GetRepository:output_type -> buf.alpha.registry.v1alpha1.GetRepositoryResponse - 10, // 46: buf.alpha.registry.v1alpha1.RepositoryService.GetRepositoryByFullName:output_type -> buf.alpha.registry.v1alpha1.GetRepositoryByFullNameResponse - 12, // 47: buf.alpha.registry.v1alpha1.RepositoryService.ListRepositories:output_type -> buf.alpha.registry.v1alpha1.ListRepositoriesResponse - 14, // 48: buf.alpha.registry.v1alpha1.RepositoryService.ListUserRepositories:output_type -> buf.alpha.registry.v1alpha1.ListUserRepositoriesResponse - 16, // 49: buf.alpha.registry.v1alpha1.RepositoryService.ListRepositoriesUserCanAccess:output_type -> buf.alpha.registry.v1alpha1.ListRepositoriesUserCanAccessResponse - 18, // 50: buf.alpha.registry.v1alpha1.RepositoryService.ListOrganizationRepositories:output_type -> buf.alpha.registry.v1alpha1.ListOrganizationRepositoriesResponse - 20, // 51: buf.alpha.registry.v1alpha1.RepositoryService.CreateRepositoryByFullName:output_type -> buf.alpha.registry.v1alpha1.CreateRepositoryByFullNameResponse - 22, // 52: buf.alpha.registry.v1alpha1.RepositoryService.DeleteRepository:output_type -> buf.alpha.registry.v1alpha1.DeleteRepositoryResponse - 24, // 53: buf.alpha.registry.v1alpha1.RepositoryService.DeleteRepositoryByFullName:output_type -> buf.alpha.registry.v1alpha1.DeleteRepositoryByFullNameResponse - 26, // 54: buf.alpha.registry.v1alpha1.RepositoryService.DeprecateRepositoryByName:output_type -> buf.alpha.registry.v1alpha1.DeprecateRepositoryByNameResponse - 28, // 55: buf.alpha.registry.v1alpha1.RepositoryService.UndeprecateRepositoryByName:output_type -> buf.alpha.registry.v1alpha1.UndeprecateRepositoryByNameResponse - 6, // 56: buf.alpha.registry.v1alpha1.RepositoryService.GetRepositoriesByFullName:output_type -> buf.alpha.registry.v1alpha1.GetRepositoriesByFullNameResponse - 30, // 57: buf.alpha.registry.v1alpha1.RepositoryService.SetRepositoryContributor:output_type -> buf.alpha.registry.v1alpha1.SetRepositoryContributorResponse - 32, // 58: buf.alpha.registry.v1alpha1.RepositoryService.ListRepositoryContributors:output_type -> buf.alpha.registry.v1alpha1.ListRepositoryContributorsResponse - 34, // 59: buf.alpha.registry.v1alpha1.RepositoryService.GetRepositoryContributor:output_type -> buf.alpha.registry.v1alpha1.GetRepositoryContributorResponse - 36, // 60: buf.alpha.registry.v1alpha1.RepositoryService.GetRepositorySettings:output_type -> buf.alpha.registry.v1alpha1.GetRepositorySettingsResponse - 38, // 61: buf.alpha.registry.v1alpha1.RepositoryService.UpdateRepositorySettingsByName:output_type -> buf.alpha.registry.v1alpha1.UpdateRepositorySettingsByNameResponse - 40, // 62: buf.alpha.registry.v1alpha1.RepositoryService.GetRepositoriesMetadata:output_type -> buf.alpha.registry.v1alpha1.GetRepositoriesMetadataResponse - 42, // 63: buf.alpha.registry.v1alpha1.RepositoryService.GetRepositoryDependencyDOTString:output_type -> buf.alpha.registry.v1alpha1.GetRepositoryDependencyDOTStringResponse - 45, // [45:64] is the sub-list for method output_type - 26, // [26:45] is the sub-list for method input_type - 26, // [26:26] is the sub-list for extension type_name - 26, // [26:26] is the sub-list for extension extendee - 0, // [0:26] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_repository_proto_init() } -func file_buf_alpha_registry_v1alpha1_repository_proto_init() { - if File_buf_alpha_registry_v1alpha1_repository_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_role_proto_init() - file_buf_alpha_registry_v1alpha1_user_proto_init() - file_buf_alpha_registry_v1alpha1_verification_status_proto_init() - file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[0].OneofWrappers = []any{ - (*repository_UserId)(nil), - (*repository_OrganizationId)(nil), - } - file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes[36].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_repository_proto_rawDesc, - NumEnums: 1, - NumMessages: 42, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_repository_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_repository_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_repository_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_repository_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_repository_proto = out.File - file_buf_alpha_registry_v1alpha1_repository_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_repository_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_repository_proto_depIdxs = nil -} 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 d42c0d2d07..04d96f3e4e 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/repository_tag.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -37,23 +35,14 @@ const ( ) type RepositoryTag struct { - state protoimpl.MessageState `protogen:"hybrid.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. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // immutable - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // We reserve field number '3' for the update_time. - // google.protobuf.Timestamp update_time = 3; - // The name of the repository tag, e.g. "6e2e7f24718a76caa32a80d0e2b1841ef2c61403". - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_CommitName string `protobuf:"bytes,5,opt,name=commit_name,json=commitName,proto3" json:"commit_name,omitempty"` + xxx_hidden_Author string `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryTag) Reset() { @@ -83,68 +72,68 @@ func (x *RepositoryTag) ProtoReflect() protoreflect.Message { func (x *RepositoryTag) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *RepositoryTag) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *RepositoryTag) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *RepositoryTag) GetCommitName() string { if x != nil { - return x.CommitName + return x.xxx_hidden_CommitName } return "" } func (x *RepositoryTag) GetAuthor() string { if x != nil { - return x.Author + return x.xxx_hidden_Author } return "" } func (x *RepositoryTag) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *RepositoryTag) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *RepositoryTag) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *RepositoryTag) SetCommitName(v string) { - x.CommitName = v + x.xxx_hidden_CommitName = v } func (x *RepositoryTag) SetAuthor(v string) { - x.Author = v + x.xxx_hidden_Author = v } func (x *RepositoryTag) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *RepositoryTag) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } type RepositoryTag_builder struct { @@ -170,22 +159,20 @@ func (b0 RepositoryTag_builder) Build() *RepositoryTag { m0 := &RepositoryTag{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.CreateTime = b.CreateTime - x.Name = b.Name - x.CommitName = b.CommitName - x.Author = b.Author + x.xxx_hidden_Id = b.Id + x.xxx_hidden_CreateTime = b.CreateTime + x.xxx_hidden_Name = b.Name + x.xxx_hidden_CommitName = b.CommitName + x.xxx_hidden_Author = b.Author return m0 } type GetRepositoryTagRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryTagRequest) Reset() { @@ -215,24 +202,24 @@ func (x *GetRepositoryTagRequest) ProtoReflect() protoreflect.Message { func (x *GetRepositoryTagRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *GetRepositoryTagRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *GetRepositoryTagRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *GetRepositoryTagRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } type GetRepositoryTagRequest_builder struct { @@ -248,16 +235,16 @@ func (b0 GetRepositoryTagRequest_builder) Build() *GetRepositoryTagRequest { m0 := &GetRepositoryTagRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.Name = b.Name + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_Name = b.Name return m0 } type GetRepositoryTagResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRepositoryTagResponse) Reset() { @@ -287,24 +274,24 @@ func (x *GetRepositoryTagResponse) ProtoReflect() protoreflect.Message { func (x *GetRepositoryTagResponse) GetRepositoryTag() *RepositoryTag { if x != nil { - return x.RepositoryTag + return x.xxx_hidden_RepositoryTag } return nil } func (x *GetRepositoryTagResponse) SetRepositoryTag(v *RepositoryTag) { - x.RepositoryTag = v + x.xxx_hidden_RepositoryTag = v } func (x *GetRepositoryTagResponse) HasRepositoryTag() bool { if x == nil { return false } - return x.RepositoryTag != nil + return x.xxx_hidden_RepositoryTag != nil } func (x *GetRepositoryTagResponse) ClearRepositoryTag() { - x.RepositoryTag = nil + x.xxx_hidden_RepositoryTag = nil } type GetRepositoryTagResponse_builder struct { @@ -317,20 +304,17 @@ func (b0 GetRepositoryTagResponse_builder) Build() *GetRepositoryTagResponse { m0 := &GetRepositoryTagResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryTag = b.RepositoryTag + x.xxx_hidden_RepositoryTag = b.RepositoryTag return m0 } type CreateRepositoryTagRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_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() { @@ -360,35 +344,35 @@ func (x *CreateRepositoryTagRequest) ProtoReflect() protoreflect.Message { func (x *CreateRepositoryTagRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *CreateRepositoryTagRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *CreateRepositoryTagRequest) GetCommitName() string { if x != nil { - return x.CommitName + return x.xxx_hidden_CommitName } return "" } func (x *CreateRepositoryTagRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *CreateRepositoryTagRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *CreateRepositoryTagRequest) SetCommitName(v string) { - x.CommitName = v + x.xxx_hidden_CommitName = v } type CreateRepositoryTagRequest_builder struct { @@ -406,17 +390,17 @@ func (b0 CreateRepositoryTagRequest_builder) Build() *CreateRepositoryTagRequest m0 := &CreateRepositoryTagRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.Name = b.Name - x.CommitName = b.CommitName + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_Name = b.Name + x.xxx_hidden_CommitName = b.CommitName return m0 } type CreateRepositoryTagResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRepositoryTagResponse) Reset() { @@ -446,24 +430,24 @@ func (x *CreateRepositoryTagResponse) ProtoReflect() protoreflect.Message { func (x *CreateRepositoryTagResponse) GetRepositoryTag() *RepositoryTag { if x != nil { - return x.RepositoryTag + return x.xxx_hidden_RepositoryTag } return nil } func (x *CreateRepositoryTagResponse) SetRepositoryTag(v *RepositoryTag) { - x.RepositoryTag = v + x.xxx_hidden_RepositoryTag = v } func (x *CreateRepositoryTagResponse) HasRepositoryTag() bool { if x == nil { return false } - return x.RepositoryTag != nil + return x.xxx_hidden_RepositoryTag != nil } func (x *CreateRepositoryTagResponse) ClearRepositoryTag() { - x.RepositoryTag = nil + x.xxx_hidden_RepositoryTag = nil } type CreateRepositoryTagResponse_builder struct { @@ -476,20 +460,19 @@ func (b0 CreateRepositoryTagResponse_builder) Build() *CreateRepositoryTagRespon m0 := &CreateRepositoryTagResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryTag = b.RepositoryTag + x.xxx_hidden_RepositoryTag = b.RepositoryTag return m0 } type UpdateRepositoryTagRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_CommitName *string `protobuf:"bytes,3,opt,name=commit_name,json=commitName,proto3,oneof" json:"commit_name,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRepositoryTagRequest) Reset() { @@ -519,46 +502,51 @@ func (x *UpdateRepositoryTagRequest) ProtoReflect() protoreflect.Message { func (x *UpdateRepositoryTagRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *UpdateRepositoryTagRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *UpdateRepositoryTagRequest) GetCommitName() string { - if x != nil && x.CommitName != nil { - return *x.CommitName + if x != nil { + if x.xxx_hidden_CommitName != nil { + return *x.xxx_hidden_CommitName + } + return "" } return "" } func (x *UpdateRepositoryTagRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *UpdateRepositoryTagRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *UpdateRepositoryTagRequest) SetCommitName(v string) { - x.CommitName = &v + x.xxx_hidden_CommitName = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 2, 3) } func (x *UpdateRepositoryTagRequest) HasCommitName() bool { if x == nil { return false } - return x.CommitName != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 2) } func (x *UpdateRepositoryTagRequest) ClearCommitName() { - x.CommitName = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 2) + x.xxx_hidden_CommitName = nil } type UpdateRepositoryTagRequest_builder struct { @@ -576,17 +564,20 @@ func (b0 UpdateRepositoryTagRequest_builder) Build() *UpdateRepositoryTagRequest m0 := &UpdateRepositoryTagRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.Name = b.Name - x.CommitName = b.CommitName + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_Name = b.Name + if b.CommitName != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 2, 3) + x.xxx_hidden_CommitName = b.CommitName + } return m0 } type UpdateRepositoryTagResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRepositoryTagResponse) Reset() { @@ -616,24 +607,24 @@ func (x *UpdateRepositoryTagResponse) ProtoReflect() protoreflect.Message { func (x *UpdateRepositoryTagResponse) GetRepositoryTag() *RepositoryTag { if x != nil { - return x.RepositoryTag + return x.xxx_hidden_RepositoryTag } return nil } func (x *UpdateRepositoryTagResponse) SetRepositoryTag(v *RepositoryTag) { - x.RepositoryTag = v + x.xxx_hidden_RepositoryTag = v } func (x *UpdateRepositoryTagResponse) HasRepositoryTag() bool { if x == nil { return false } - return x.RepositoryTag != nil + return x.xxx_hidden_RepositoryTag != nil } func (x *UpdateRepositoryTagResponse) ClearRepositoryTag() { - x.RepositoryTag = nil + x.xxx_hidden_RepositoryTag = nil } type UpdateRepositoryTagResponse_builder struct { @@ -646,20 +637,18 @@ func (b0 UpdateRepositoryTagResponse_builder) Build() *UpdateRepositoryTagRespon m0 := &UpdateRepositoryTagResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryTag = b.RepositoryTag + x.xxx_hidden_RepositoryTag = b.RepositoryTag return m0 } type ListRepositoryTagsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryTagsRequest) Reset() { @@ -689,46 +678,46 @@ func (x *ListRepositoryTagsRequest) ProtoReflect() protoreflect.Message { func (x *ListRepositoryTagsRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *ListRepositoryTagsRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListRepositoryTagsRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListRepositoryTagsRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListRepositoryTagsRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *ListRepositoryTagsRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListRepositoryTagsRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListRepositoryTagsRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListRepositoryTagsRequest_builder struct { @@ -746,20 +735,19 @@ func (b0 ListRepositoryTagsRequest_builder) Build() *ListRepositoryTagsRequest { m0 := &ListRepositoryTagsRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListRepositoryTagsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryTags *[]*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` + xxx_hidden_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() { @@ -789,24 +777,26 @@ func (x *ListRepositoryTagsResponse) ProtoReflect() protoreflect.Message { func (x *ListRepositoryTagsResponse) GetRepositoryTags() []*RepositoryTag { if x != nil { - return x.RepositoryTags + if x.xxx_hidden_RepositoryTags != nil { + return *x.xxx_hidden_RepositoryTags + } } return nil } func (x *ListRepositoryTagsResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListRepositoryTagsResponse) SetRepositoryTags(v []*RepositoryTag) { - x.RepositoryTags = v + x.xxx_hidden_RepositoryTags = &v } func (x *ListRepositoryTagsResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListRepositoryTagsResponse_builder struct { @@ -821,23 +811,20 @@ func (b0 ListRepositoryTagsResponse_builder) Build() *ListRepositoryTagsResponse m0 := &ListRepositoryTagsResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryTags = b.RepositoryTags - x.NextPageToken = b.NextPageToken + x.xxx_hidden_RepositoryTags = &b.RepositoryTags + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type ListRepositoryTagsForReferenceRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRepositoryTagsForReferenceRequest) Reset() { @@ -867,57 +854,57 @@ func (x *ListRepositoryTagsForReferenceRequest) ProtoReflect() protoreflect.Mess func (x *ListRepositoryTagsForReferenceRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *ListRepositoryTagsForReferenceRequest) GetReference() string { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return "" } func (x *ListRepositoryTagsForReferenceRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListRepositoryTagsForReferenceRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListRepositoryTagsForReferenceRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListRepositoryTagsForReferenceRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *ListRepositoryTagsForReferenceRequest) SetReference(v string) { - x.Reference = v + x.xxx_hidden_Reference = v } func (x *ListRepositoryTagsForReferenceRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListRepositoryTagsForReferenceRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListRepositoryTagsForReferenceRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListRepositoryTagsForReferenceRequest_builder struct { @@ -937,21 +924,20 @@ func (b0 ListRepositoryTagsForReferenceRequest_builder) Build() *ListRepositoryT m0 := &ListRepositoryTagsForReferenceRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.Reference = b.Reference - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_Reference = b.Reference + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListRepositoryTagsForReferenceResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryTags *[]*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` + xxx_hidden_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() { @@ -981,24 +967,26 @@ func (x *ListRepositoryTagsForReferenceResponse) ProtoReflect() protoreflect.Mes func (x *ListRepositoryTagsForReferenceResponse) GetRepositoryTags() []*RepositoryTag { if x != nil { - return x.RepositoryTags + if x.xxx_hidden_RepositoryTags != nil { + return *x.xxx_hidden_RepositoryTags + } } return nil } func (x *ListRepositoryTagsForReferenceResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListRepositoryTagsForReferenceResponse) SetRepositoryTags(v []*RepositoryTag) { - x.RepositoryTags = v + x.xxx_hidden_RepositoryTags = &v } func (x *ListRepositoryTagsForReferenceResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListRepositoryTagsForReferenceResponse_builder struct { @@ -1013,8 +1001,8 @@ func (b0 ListRepositoryTagsForReferenceResponse_builder) Build() *ListRepository m0 := &ListRepositoryTagsForReferenceResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryTags = b.RepositoryTags - x.NextPageToken = b.NextPageToken + x.xxx_hidden_RepositoryTags = &b.RepositoryTags + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_tag_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_tag_protoopaque.pb.go deleted file mode 100644 index b5b70b31a3..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/repository_tag_protoopaque.pb.go +++ /dev/null @@ -1,1249 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/repository_tag.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type RepositoryTag struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_CommitName string `protobuf:"bytes,5,opt,name=commit_name,json=commitName,proto3" json:"commit_name,omitempty"` - xxx_hidden_Author string `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RepositoryTag) Reset() { - *x = RepositoryTag{} - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RepositoryTag) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryTag) ProtoMessage() {} - -func (x *RepositoryTag) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RepositoryTag) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *RepositoryTag) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *RepositoryTag) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *RepositoryTag) GetCommitName() string { - if x != nil { - return x.xxx_hidden_CommitName - } - return "" -} - -func (x *RepositoryTag) GetAuthor() string { - if x != nil { - return x.xxx_hidden_Author - } - return "" -} - -func (x *RepositoryTag) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *RepositoryTag) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *RepositoryTag) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *RepositoryTag) SetCommitName(v string) { - x.xxx_hidden_CommitName = v -} - -func (x *RepositoryTag) SetAuthor(v string) { - x.xxx_hidden_Author = v -} - -func (x *RepositoryTag) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *RepositoryTag) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -type RepositoryTag_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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. - Id string - // immutable - CreateTime *timestamppb.Timestamp - // We reserve field number '3' for the update_time. - // google.protobuf.Timestamp update_time = 3; - // The name of the repository tag, e.g. "6e2e7f24718a76caa32a80d0e2b1841ef2c61403". - Name string - // The name of the commit this tag belongs to. - CommitName string - // The username of the author of the tag. - Author string -} - -func (b0 RepositoryTag_builder) Build() *RepositoryTag { - m0 := &RepositoryTag{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_CreateTime = b.CreateTime - x.xxx_hidden_Name = b.Name - x.xxx_hidden_CommitName = b.CommitName - x.xxx_hidden_Author = b.Author - return m0 -} - -type GetRepositoryTagRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoryTagRequest) Reset() { - *x = GetRepositoryTagRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryTagRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryTagRequest) ProtoMessage() {} - -func (x *GetRepositoryTagRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryTagRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *GetRepositoryTagRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *GetRepositoryTagRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *GetRepositoryTagRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -type GetRepositoryTagRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository this tag belongs to. - RepositoryId string - // The name of the repository tag to get, e.g. "6e2e7f24718a76caa32a80d0e2b1841ef2c61403". - Name string -} - -func (b0 GetRepositoryTagRequest_builder) Build() *GetRepositoryTagRequest { - m0 := &GetRepositoryTagRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_Name = b.Name - return m0 -} - -type GetRepositoryTagResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRepositoryTagResponse) Reset() { - *x = GetRepositoryTagResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRepositoryTagResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryTagResponse) ProtoMessage() {} - -func (x *GetRepositoryTagResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRepositoryTagResponse) GetRepositoryTag() *RepositoryTag { - if x != nil { - return x.xxx_hidden_RepositoryTag - } - return nil -} - -func (x *GetRepositoryTagResponse) SetRepositoryTag(v *RepositoryTag) { - x.xxx_hidden_RepositoryTag = v -} - -func (x *GetRepositoryTagResponse) HasRepositoryTag() bool { - if x == nil { - return false - } - return x.xxx_hidden_RepositoryTag != nil -} - -func (x *GetRepositoryTagResponse) ClearRepositoryTag() { - x.xxx_hidden_RepositoryTag = nil -} - -type GetRepositoryTagResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryTag *RepositoryTag -} - -func (b0 GetRepositoryTagResponse_builder) Build() *GetRepositoryTagResponse { - m0 := &GetRepositoryTagResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryTag = b.RepositoryTag - return m0 -} - -type CreateRepositoryTagRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_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() { - *x = CreateRepositoryTagRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateRepositoryTagRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRepositoryTagRequest) ProtoMessage() {} - -func (x *CreateRepositoryTagRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateRepositoryTagRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *CreateRepositoryTagRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *CreateRepositoryTagRequest) GetCommitName() string { - if x != nil { - return x.xxx_hidden_CommitName - } - return "" -} - -func (x *CreateRepositoryTagRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *CreateRepositoryTagRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *CreateRepositoryTagRequest) SetCommitName(v string) { - x.xxx_hidden_CommitName = v -} - -type CreateRepositoryTagRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository this tag should be created on. - RepositoryId string - // The name of the repository tag, e.g. "6e2e7f24718a76caa32a80d0e2b1841ef2c61403". - Name string - // The name of the commit this tag should be created for. - CommitName string -} - -func (b0 CreateRepositoryTagRequest_builder) Build() *CreateRepositoryTagRequest { - m0 := &CreateRepositoryTagRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_Name = b.Name - x.xxx_hidden_CommitName = b.CommitName - return m0 -} - -type CreateRepositoryTagResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateRepositoryTagResponse) Reset() { - *x = CreateRepositoryTagResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateRepositoryTagResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRepositoryTagResponse) ProtoMessage() {} - -func (x *CreateRepositoryTagResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateRepositoryTagResponse) GetRepositoryTag() *RepositoryTag { - if x != nil { - return x.xxx_hidden_RepositoryTag - } - return nil -} - -func (x *CreateRepositoryTagResponse) SetRepositoryTag(v *RepositoryTag) { - x.xxx_hidden_RepositoryTag = v -} - -func (x *CreateRepositoryTagResponse) HasRepositoryTag() bool { - if x == nil { - return false - } - return x.xxx_hidden_RepositoryTag != nil -} - -func (x *CreateRepositoryTagResponse) ClearRepositoryTag() { - x.xxx_hidden_RepositoryTag = nil -} - -type CreateRepositoryTagResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryTag *RepositoryTag -} - -func (b0 CreateRepositoryTagResponse_builder) Build() *CreateRepositoryTagResponse { - m0 := &CreateRepositoryTagResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryTag = b.RepositoryTag - return m0 -} - -type UpdateRepositoryTagRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_CommitName *string `protobuf:"bytes,3,opt,name=commit_name,json=commitName,proto3,oneof" json:"commit_name,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateRepositoryTagRequest) Reset() { - *x = UpdateRepositoryTagRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateRepositoryTagRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRepositoryTagRequest) ProtoMessage() {} - -func (x *UpdateRepositoryTagRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateRepositoryTagRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *UpdateRepositoryTagRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *UpdateRepositoryTagRequest) GetCommitName() string { - if x != nil { - if x.xxx_hidden_CommitName != nil { - return *x.xxx_hidden_CommitName - } - return "" - } - return "" -} - -func (x *UpdateRepositoryTagRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *UpdateRepositoryTagRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *UpdateRepositoryTagRequest) SetCommitName(v string) { - x.xxx_hidden_CommitName = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 2, 3) -} - -func (x *UpdateRepositoryTagRequest) HasCommitName() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 2) -} - -func (x *UpdateRepositoryTagRequest) ClearCommitName() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 2) - x.xxx_hidden_CommitName = nil -} - -type UpdateRepositoryTagRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository this tag belongs to. - RepositoryId string - // The name of the repository tag, to update e.g. "6e2e7f24718a76caa32a80d0e2b1841ef2c61403". - Name string - // The name of the commit this tag should reference. - CommitName *string -} - -func (b0 UpdateRepositoryTagRequest_builder) Build() *UpdateRepositoryTagRequest { - m0 := &UpdateRepositoryTagRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_Name = b.Name - if b.CommitName != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 2, 3) - x.xxx_hidden_CommitName = b.CommitName - } - return m0 -} - -type UpdateRepositoryTagResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateRepositoryTagResponse) Reset() { - *x = UpdateRepositoryTagResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateRepositoryTagResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRepositoryTagResponse) ProtoMessage() {} - -func (x *UpdateRepositoryTagResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateRepositoryTagResponse) GetRepositoryTag() *RepositoryTag { - if x != nil { - return x.xxx_hidden_RepositoryTag - } - return nil -} - -func (x *UpdateRepositoryTagResponse) SetRepositoryTag(v *RepositoryTag) { - x.xxx_hidden_RepositoryTag = v -} - -func (x *UpdateRepositoryTagResponse) HasRepositoryTag() bool { - if x == nil { - return false - } - return x.xxx_hidden_RepositoryTag != nil -} - -func (x *UpdateRepositoryTagResponse) ClearRepositoryTag() { - x.xxx_hidden_RepositoryTag = nil -} - -type UpdateRepositoryTagResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryTag *RepositoryTag -} - -func (b0 UpdateRepositoryTagResponse_builder) Build() *UpdateRepositoryTagResponse { - m0 := &UpdateRepositoryTagResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryTag = b.RepositoryTag - return m0 -} - -type ListRepositoryTagsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListRepositoryTagsRequest) Reset() { - *x = ListRepositoryTagsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryTagsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryTagsRequest) ProtoMessage() {} - -func (x *ListRepositoryTagsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryTagsRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *ListRepositoryTagsRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListRepositoryTagsRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListRepositoryTagsRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListRepositoryTagsRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *ListRepositoryTagsRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListRepositoryTagsRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListRepositoryTagsRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListRepositoryTagsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository whose tags should be listed. - RepositoryId string - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool -} - -func (b0 ListRepositoryTagsRequest_builder) Build() *ListRepositoryTagsRequest { - m0 := &ListRepositoryTagsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListRepositoryTagsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryTags *[]*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` - xxx_hidden_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() { - *x = ListRepositoryTagsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryTagsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryTagsResponse) ProtoMessage() {} - -func (x *ListRepositoryTagsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryTagsResponse) GetRepositoryTags() []*RepositoryTag { - if x != nil { - if x.xxx_hidden_RepositoryTags != nil { - return *x.xxx_hidden_RepositoryTags - } - } - return nil -} - -func (x *ListRepositoryTagsResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListRepositoryTagsResponse) SetRepositoryTags(v []*RepositoryTag) { - x.xxx_hidden_RepositoryTags = &v -} - -func (x *ListRepositoryTagsResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListRepositoryTagsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryTags []*RepositoryTag - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListRepositoryTagsResponse_builder) Build() *ListRepositoryTagsResponse { - m0 := &ListRepositoryTagsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryTags = &b.RepositoryTags - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type ListRepositoryTagsForReferenceRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListRepositoryTagsForReferenceRequest) Reset() { - *x = ListRepositoryTagsForReferenceRequest{} - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryTagsForReferenceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryTagsForReferenceRequest) ProtoMessage() {} - -func (x *ListRepositoryTagsForReferenceRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryTagsForReferenceRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *ListRepositoryTagsForReferenceRequest) GetReference() string { - if x != nil { - return x.xxx_hidden_Reference - } - return "" -} - -func (x *ListRepositoryTagsForReferenceRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListRepositoryTagsForReferenceRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListRepositoryTagsForReferenceRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListRepositoryTagsForReferenceRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *ListRepositoryTagsForReferenceRequest) SetReference(v string) { - x.xxx_hidden_Reference = v -} - -func (x *ListRepositoryTagsForReferenceRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListRepositoryTagsForReferenceRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListRepositoryTagsForReferenceRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListRepositoryTagsForReferenceRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the repository whose tags should be listed. - RepositoryId string - // Optional reference (if unspecified, will use the repository's default_branch). - Reference string - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool -} - -func (b0 ListRepositoryTagsForReferenceRequest_builder) Build() *ListRepositoryTagsForReferenceRequest { - m0 := &ListRepositoryTagsForReferenceRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_Reference = b.Reference - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListRepositoryTagsForReferenceResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryTags *[]*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` - xxx_hidden_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() { - *x = ListRepositoryTagsForReferenceResponse{} - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListRepositoryTagsForReferenceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRepositoryTagsForReferenceResponse) ProtoMessage() {} - -func (x *ListRepositoryTagsForReferenceResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListRepositoryTagsForReferenceResponse) GetRepositoryTags() []*RepositoryTag { - if x != nil { - if x.xxx_hidden_RepositoryTags != nil { - return *x.xxx_hidden_RepositoryTags - } - } - return nil -} - -func (x *ListRepositoryTagsForReferenceResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListRepositoryTagsForReferenceResponse) SetRepositoryTags(v []*RepositoryTag) { - x.xxx_hidden_RepositoryTags = &v -} - -func (x *ListRepositoryTagsForReferenceResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListRepositoryTagsForReferenceResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryTags []*RepositoryTag - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListRepositoryTagsForReferenceResponse_builder) Build() *ListRepositoryTagsForReferenceResponse { - m0 := &ListRepositoryTagsForReferenceResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryTags = &b.RepositoryTags - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -var File_buf_alpha_registry_v1alpha1_repository_tag_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_repository_tag_proto_rawDesc = []byte{ - 0x0a, 0x30, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x74, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, - 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0xa9, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, - 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x22, 0x52, 0x0a, 0x17, - 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x22, 0x6d, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0e, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, - 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x22, - 0x76, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, - 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x70, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x22, 0x8b, 0x01, 0x0a, 0x1a, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, - 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x70, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x22, 0x96, 0x01, 0x0a, 0x19, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, - 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, - 0x72, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, - 0x73, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x53, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, - 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x54, 0x61, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xc0, - 0x01, 0x0a, 0x25, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x54, 0x61, 0x67, 0x73, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x1c, 0x0a, - 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, - 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, - 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, - 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, - 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x26, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x73, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0f, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, - 0x67, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, - 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, - 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xfb, 0x05, 0x0a, 0x14, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x12, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, - 0x67, 0x12, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, - 0x67, 0x12, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0x8a, 0x01, 0x0a, 0x12, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x73, - 0x12, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xae, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x73, 0x46, 0x6f, 0x72, - 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x42, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x73, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x73, 0x46, 0x6f, - 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x9f, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x12, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, - 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, - 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, - 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, - 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, - 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, - 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, - 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_buf_alpha_registry_v1alpha1_repository_tag_proto_goTypes = []any{ - (*RepositoryTag)(nil), // 0: buf.alpha.registry.v1alpha1.RepositoryTag - (*GetRepositoryTagRequest)(nil), // 1: buf.alpha.registry.v1alpha1.GetRepositoryTagRequest - (*GetRepositoryTagResponse)(nil), // 2: buf.alpha.registry.v1alpha1.GetRepositoryTagResponse - (*CreateRepositoryTagRequest)(nil), // 3: buf.alpha.registry.v1alpha1.CreateRepositoryTagRequest - (*CreateRepositoryTagResponse)(nil), // 4: buf.alpha.registry.v1alpha1.CreateRepositoryTagResponse - (*UpdateRepositoryTagRequest)(nil), // 5: buf.alpha.registry.v1alpha1.UpdateRepositoryTagRequest - (*UpdateRepositoryTagResponse)(nil), // 6: buf.alpha.registry.v1alpha1.UpdateRepositoryTagResponse - (*ListRepositoryTagsRequest)(nil), // 7: buf.alpha.registry.v1alpha1.ListRepositoryTagsRequest - (*ListRepositoryTagsResponse)(nil), // 8: buf.alpha.registry.v1alpha1.ListRepositoryTagsResponse - (*ListRepositoryTagsForReferenceRequest)(nil), // 9: buf.alpha.registry.v1alpha1.ListRepositoryTagsForReferenceRequest - (*ListRepositoryTagsForReferenceResponse)(nil), // 10: buf.alpha.registry.v1alpha1.ListRepositoryTagsForReferenceResponse - (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp -} -var file_buf_alpha_registry_v1alpha1_repository_tag_proto_depIdxs = []int32{ - 11, // 0: buf.alpha.registry.v1alpha1.RepositoryTag.create_time:type_name -> google.protobuf.Timestamp - 0, // 1: buf.alpha.registry.v1alpha1.GetRepositoryTagResponse.repository_tag:type_name -> buf.alpha.registry.v1alpha1.RepositoryTag - 0, // 2: buf.alpha.registry.v1alpha1.CreateRepositoryTagResponse.repository_tag:type_name -> buf.alpha.registry.v1alpha1.RepositoryTag - 0, // 3: buf.alpha.registry.v1alpha1.UpdateRepositoryTagResponse.repository_tag:type_name -> buf.alpha.registry.v1alpha1.RepositoryTag - 0, // 4: buf.alpha.registry.v1alpha1.ListRepositoryTagsResponse.repository_tags:type_name -> buf.alpha.registry.v1alpha1.RepositoryTag - 0, // 5: buf.alpha.registry.v1alpha1.ListRepositoryTagsForReferenceResponse.repository_tags:type_name -> buf.alpha.registry.v1alpha1.RepositoryTag - 1, // 6: buf.alpha.registry.v1alpha1.RepositoryTagService.GetRepositoryTag:input_type -> buf.alpha.registry.v1alpha1.GetRepositoryTagRequest - 3, // 7: buf.alpha.registry.v1alpha1.RepositoryTagService.CreateRepositoryTag:input_type -> buf.alpha.registry.v1alpha1.CreateRepositoryTagRequest - 5, // 8: buf.alpha.registry.v1alpha1.RepositoryTagService.UpdateRepositoryTag:input_type -> buf.alpha.registry.v1alpha1.UpdateRepositoryTagRequest - 7, // 9: buf.alpha.registry.v1alpha1.RepositoryTagService.ListRepositoryTags:input_type -> buf.alpha.registry.v1alpha1.ListRepositoryTagsRequest - 9, // 10: buf.alpha.registry.v1alpha1.RepositoryTagService.ListRepositoryTagsForReference:input_type -> buf.alpha.registry.v1alpha1.ListRepositoryTagsForReferenceRequest - 2, // 11: buf.alpha.registry.v1alpha1.RepositoryTagService.GetRepositoryTag:output_type -> buf.alpha.registry.v1alpha1.GetRepositoryTagResponse - 4, // 12: buf.alpha.registry.v1alpha1.RepositoryTagService.CreateRepositoryTag:output_type -> buf.alpha.registry.v1alpha1.CreateRepositoryTagResponse - 6, // 13: buf.alpha.registry.v1alpha1.RepositoryTagService.UpdateRepositoryTag:output_type -> buf.alpha.registry.v1alpha1.UpdateRepositoryTagResponse - 8, // 14: buf.alpha.registry.v1alpha1.RepositoryTagService.ListRepositoryTags:output_type -> buf.alpha.registry.v1alpha1.ListRepositoryTagsResponse - 10, // 15: buf.alpha.registry.v1alpha1.RepositoryTagService.ListRepositoryTagsForReference:output_type -> buf.alpha.registry.v1alpha1.ListRepositoryTagsForReferenceResponse - 11, // [11:16] is the sub-list for method output_type - 6, // [6:11] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_repository_tag_proto_init() } -func file_buf_alpha_registry_v1alpha1_repository_tag_proto_init() { - if File_buf_alpha_registry_v1alpha1_repository_tag_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes[5].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_repository_tag_proto_rawDesc, - NumEnums: 0, - NumMessages: 11, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_repository_tag_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_repository_tag_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_repository_tag_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_repository_tag_proto = out.File - file_buf_alpha_registry_v1alpha1_repository_tag_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_repository_tag_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_repository_tag_proto_depIdxs = nil -} 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 88bbad0e9e..588f50736b 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/resolve.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -87,21 +85,11 @@ func (x ResolvedReferenceType) Number() protoreflect.EnumNumber { } type GetModulePinsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 - // identities of the dependencies they want to update in module_references. - // - // When resolving, if a client supplied module pin is: - // - in the transitive closure of pins resolved from the module_references, - // the client supplied module pin will be an extra candidate for tie - // breaking. - // - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_ModuleReferences *[]*v1alpha1.ModuleReference `protobuf:"bytes,1,rep,name=module_references,json=moduleReferences,proto3" json:"module_references,omitempty"` + xxx_hidden_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() { @@ -131,24 +119,28 @@ func (x *GetModulePinsRequest) ProtoReflect() protoreflect.Message { func (x *GetModulePinsRequest) GetModuleReferences() []*v1alpha1.ModuleReference { if x != nil { - return x.ModuleReferences + if x.xxx_hidden_ModuleReferences != nil { + return *x.xxx_hidden_ModuleReferences + } } return nil } func (x *GetModulePinsRequest) GetCurrentModulePins() []*v1alpha1.ModulePin { if x != nil { - return x.CurrentModulePins + if x.xxx_hidden_CurrentModulePins != nil { + return *x.xxx_hidden_CurrentModulePins + } } return nil } func (x *GetModulePinsRequest) SetModuleReferences(v []*v1alpha1.ModuleReference) { - x.ModuleReferences = v + x.xxx_hidden_ModuleReferences = &v } func (x *GetModulePinsRequest) SetCurrentModulePins(v []*v1alpha1.ModulePin) { - x.CurrentModulePins = v + x.xxx_hidden_CurrentModulePins = &v } type GetModulePinsRequest_builder struct { @@ -172,16 +164,16 @@ func (b0 GetModulePinsRequest_builder) Build() *GetModulePinsRequest { m0 := &GetModulePinsRequest{} b, x := &b0, m0 _, _ = b, x - x.ModuleReferences = b.ModuleReferences - x.CurrentModulePins = b.CurrentModulePins + x.xxx_hidden_ModuleReferences = &b.ModuleReferences + x.xxx_hidden_CurrentModulePins = &b.CurrentModulePins return m0 } type GetModulePinsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - ModulePins []*v1alpha1.ModulePin `protobuf:"bytes,1,rep,name=module_pins,json=modulePins,proto3" json:"module_pins,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_ModulePins *[]*v1alpha1.ModulePin `protobuf:"bytes,1,rep,name=module_pins,json=modulePins,proto3" json:"module_pins,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetModulePinsResponse) Reset() { @@ -211,13 +203,15 @@ func (x *GetModulePinsResponse) ProtoReflect() protoreflect.Message { func (x *GetModulePinsResponse) GetModulePins() []*v1alpha1.ModulePin { if x != nil { - return x.ModulePins + if x.xxx_hidden_ModulePins != nil { + return *x.xxx_hidden_ModulePins + } } return nil } func (x *GetModulePinsResponse) SetModulePins(v []*v1alpha1.ModulePin) { - x.ModulePins = v + x.xxx_hidden_ModulePins = &v } type GetModulePinsResponse_builder struct { @@ -230,15 +224,15 @@ func (b0 GetModulePinsResponse_builder) Build() *GetModulePinsResponse { m0 := &GetModulePinsResponse{} b, x := &b0, m0 _, _ = b, x - x.ModulePins = b.ModulePins + x.xxx_hidden_ModulePins = &b.ModulePins return m0 } type GetLocalModulePinsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -268,13 +262,15 @@ func (x *GetLocalModulePinsRequest) ProtoReflect() protoreflect.Message { func (x *GetLocalModulePinsRequest) GetLocalModuleReferences() []*LocalModuleReference { if x != nil { - return x.LocalModuleReferences + if x.xxx_hidden_LocalModuleReferences != nil { + return *x.xxx_hidden_LocalModuleReferences + } } return nil } func (x *GetLocalModulePinsRequest) SetLocalModuleReferences(v []*LocalModuleReference) { - x.LocalModuleReferences = v + x.xxx_hidden_LocalModuleReferences = &v } type GetLocalModulePinsRequest_builder struct { @@ -287,20 +283,17 @@ func (b0 GetLocalModulePinsRequest_builder) Build() *GetLocalModulePinsRequest { m0 := &GetLocalModulePinsRequest{} b, x := &b0, m0 _, _ = b, x - x.LocalModuleReferences = b.LocalModuleReferences + x.xxx_hidden_LocalModuleReferences = &b.LocalModuleReferences return m0 } type LocalModuleResolveResult struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Reference *LocalModuleReference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` + xxx_hidden_Pin *LocalModulePin `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` + xxx_hidden_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() { @@ -330,57 +323,57 @@ func (x *LocalModuleResolveResult) ProtoReflect() protoreflect.Message { func (x *LocalModuleResolveResult) GetReference() *LocalModuleReference { if x != nil { - return x.Reference + return x.xxx_hidden_Reference } return nil } func (x *LocalModuleResolveResult) GetPin() *LocalModulePin { if x != nil { - return x.Pin + return x.xxx_hidden_Pin } return nil } func (x *LocalModuleResolveResult) GetResolvedReferenceType() ResolvedReferenceType { if x != nil { - return x.ResolvedReferenceType + return x.xxx_hidden_ResolvedReferenceType } return ResolvedReferenceType_RESOLVED_REFERENCE_TYPE_UNSPECIFIED } func (x *LocalModuleResolveResult) SetReference(v *LocalModuleReference) { - x.Reference = v + x.xxx_hidden_Reference = v } func (x *LocalModuleResolveResult) SetPin(v *LocalModulePin) { - x.Pin = v + x.xxx_hidden_Pin = v } func (x *LocalModuleResolveResult) SetResolvedReferenceType(v ResolvedReferenceType) { - x.ResolvedReferenceType = v + x.xxx_hidden_ResolvedReferenceType = v } func (x *LocalModuleResolveResult) HasReference() bool { if x == nil { return false } - return x.Reference != nil + return x.xxx_hidden_Reference != nil } func (x *LocalModuleResolveResult) HasPin() bool { if x == nil { return false } - return x.Pin != nil + return x.xxx_hidden_Pin != nil } func (x *LocalModuleResolveResult) ClearReference() { - x.Reference = nil + x.xxx_hidden_Reference = nil } func (x *LocalModuleResolveResult) ClearPin() { - x.Pin = nil + x.xxx_hidden_Pin = nil } type LocalModuleResolveResult_builder struct { @@ -398,21 +391,18 @@ func (b0 LocalModuleResolveResult_builder) Build() *LocalModuleResolveResult { m0 := &LocalModuleResolveResult{} b, x := &b0, m0 _, _ = b, x - x.Reference = b.Reference - x.Pin = b.Pin - x.ResolvedReferenceType = b.ResolvedReferenceType + x.xxx_hidden_Reference = b.Reference + x.xxx_hidden_Pin = b.Pin + x.xxx_hidden_ResolvedReferenceType = b.ResolvedReferenceType return m0 } type GetLocalModulePinsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_LocalModuleResolveResults *[]*LocalModuleResolveResult `protobuf:"bytes,1,rep,name=local_module_resolve_results,json=localModuleResolveResults,proto3" json:"local_module_resolve_results,omitempty"` + xxx_hidden_Dependencies *[]*v1alpha1.ModulePin `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetLocalModulePinsResponse) Reset() { @@ -442,24 +432,28 @@ func (x *GetLocalModulePinsResponse) ProtoReflect() protoreflect.Message { func (x *GetLocalModulePinsResponse) GetLocalModuleResolveResults() []*LocalModuleResolveResult { if x != nil { - return x.LocalModuleResolveResults + if x.xxx_hidden_LocalModuleResolveResults != nil { + return *x.xxx_hidden_LocalModuleResolveResults + } } return nil } func (x *GetLocalModulePinsResponse) GetDependencies() []*v1alpha1.ModulePin { if x != nil { - return x.Dependencies + if x.xxx_hidden_Dependencies != nil { + return *x.xxx_hidden_Dependencies + } } return nil } func (x *GetLocalModulePinsResponse) SetLocalModuleResolveResults(v []*LocalModuleResolveResult) { - x.LocalModuleResolveResults = v + x.xxx_hidden_LocalModuleResolveResults = &v } func (x *GetLocalModulePinsResponse) SetDependencies(v []*v1alpha1.ModulePin) { - x.Dependencies = v + x.xxx_hidden_Dependencies = &v } type GetLocalModulePinsResponse_builder struct { @@ -476,19 +470,17 @@ func (b0 GetLocalModulePinsResponse_builder) Build() *GetLocalModulePinsResponse m0 := &GetLocalModulePinsResponse{} b, x := &b0, m0 _, _ = b, x - x.LocalModuleResolveResults = b.LocalModuleResolveResults - x.Dependencies = b.Dependencies + x.xxx_hidden_LocalModuleResolveResults = &b.LocalModuleResolveResults + x.xxx_hidden_Dependencies = &b.Dependencies return m0 } type GetGoVersionRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` + xxx_hidden_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() { @@ -518,46 +510,46 @@ func (x *GetGoVersionRequest) ProtoReflect() protoreflect.Message { func (x *GetGoVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { if x != nil { - return x.PluginReference + return x.xxx_hidden_PluginReference } return nil } func (x *GetGoVersionRequest) GetModuleReference() *LocalModuleReference { if x != nil { - return x.ModuleReference + return x.xxx_hidden_ModuleReference } return nil } func (x *GetGoVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.PluginReference = v + x.xxx_hidden_PluginReference = v } func (x *GetGoVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.ModuleReference = v + x.xxx_hidden_ModuleReference = v } func (x *GetGoVersionRequest) HasPluginReference() bool { if x == nil { return false } - return x.PluginReference != nil + return x.xxx_hidden_PluginReference != nil } func (x *GetGoVersionRequest) HasModuleReference() bool { if x == nil { return false } - return x.ModuleReference != nil + return x.xxx_hidden_ModuleReference != nil } func (x *GetGoVersionRequest) ClearPluginReference() { - x.PluginReference = nil + x.xxx_hidden_PluginReference = nil } func (x *GetGoVersionRequest) ClearModuleReference() { - x.ModuleReference = nil + x.xxx_hidden_ModuleReference = nil } type GetGoVersionRequest_builder struct { @@ -573,17 +565,16 @@ func (b0 GetGoVersionRequest_builder) Build() *GetGoVersionRequest { m0 := &GetGoVersionRequest{} b, x := &b0, m0 _, _ = b, x - x.PluginReference = b.PluginReference - x.ModuleReference = b.ModuleReference + x.xxx_hidden_PluginReference = b.PluginReference + x.xxx_hidden_ModuleReference = b.ModuleReference return m0 } type GetGoVersionResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetGoVersionResponse) Reset() { @@ -613,13 +604,13 @@ func (x *GetGoVersionResponse) ProtoReflect() protoreflect.Message { func (x *GetGoVersionResponse) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *GetGoVersionResponse) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } type GetGoVersionResponse_builder struct { @@ -633,18 +624,16 @@ func (b0 GetGoVersionResponse_builder) Build() *GetGoVersionResponse { m0 := &GetGoVersionResponse{} b, x := &b0, m0 _, _ = b, x - x.Version = b.Version + x.xxx_hidden_Version = b.Version return m0 } type GetMavenVersionRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` + xxx_hidden_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() { @@ -674,46 +663,46 @@ func (x *GetMavenVersionRequest) ProtoReflect() protoreflect.Message { func (x *GetMavenVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { if x != nil { - return x.PluginReference + return x.xxx_hidden_PluginReference } return nil } func (x *GetMavenVersionRequest) GetModuleReference() *LocalModuleReference { if x != nil { - return x.ModuleReference + return x.xxx_hidden_ModuleReference } return nil } func (x *GetMavenVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.PluginReference = v + x.xxx_hidden_PluginReference = v } func (x *GetMavenVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.ModuleReference = v + x.xxx_hidden_ModuleReference = v } func (x *GetMavenVersionRequest) HasPluginReference() bool { if x == nil { return false } - return x.PluginReference != nil + return x.xxx_hidden_PluginReference != nil } func (x *GetMavenVersionRequest) HasModuleReference() bool { if x == nil { return false } - return x.ModuleReference != nil + return x.xxx_hidden_ModuleReference != nil } func (x *GetMavenVersionRequest) ClearPluginReference() { - x.PluginReference = nil + x.xxx_hidden_PluginReference = nil } func (x *GetMavenVersionRequest) ClearModuleReference() { - x.ModuleReference = nil + x.xxx_hidden_ModuleReference = nil } type GetMavenVersionRequest_builder struct { @@ -729,17 +718,16 @@ func (b0 GetMavenVersionRequest_builder) Build() *GetMavenVersionRequest { m0 := &GetMavenVersionRequest{} b, x := &b0, m0 _, _ = b, x - x.PluginReference = b.PluginReference - x.ModuleReference = b.ModuleReference + x.xxx_hidden_PluginReference = b.PluginReference + x.xxx_hidden_ModuleReference = b.ModuleReference return m0 } type GetMavenVersionResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetMavenVersionResponse) Reset() { @@ -769,13 +757,13 @@ func (x *GetMavenVersionResponse) ProtoReflect() protoreflect.Message { func (x *GetMavenVersionResponse) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *GetMavenVersionResponse) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } type GetMavenVersionResponse_builder struct { @@ -789,18 +777,16 @@ func (b0 GetMavenVersionResponse_builder) Build() *GetMavenVersionResponse { m0 := &GetMavenVersionResponse{} b, x := &b0, m0 _, _ = b, x - x.Version = b.Version + x.xxx_hidden_Version = b.Version return m0 } type GetNPMVersionRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` + xxx_hidden_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() { @@ -830,46 +816,46 @@ func (x *GetNPMVersionRequest) ProtoReflect() protoreflect.Message { func (x *GetNPMVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { if x != nil { - return x.PluginReference + return x.xxx_hidden_PluginReference } return nil } func (x *GetNPMVersionRequest) GetModuleReference() *LocalModuleReference { if x != nil { - return x.ModuleReference + return x.xxx_hidden_ModuleReference } return nil } func (x *GetNPMVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.PluginReference = v + x.xxx_hidden_PluginReference = v } func (x *GetNPMVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.ModuleReference = v + x.xxx_hidden_ModuleReference = v } func (x *GetNPMVersionRequest) HasPluginReference() bool { if x == nil { return false } - return x.PluginReference != nil + return x.xxx_hidden_PluginReference != nil } func (x *GetNPMVersionRequest) HasModuleReference() bool { if x == nil { return false } - return x.ModuleReference != nil + return x.xxx_hidden_ModuleReference != nil } func (x *GetNPMVersionRequest) ClearPluginReference() { - x.PluginReference = nil + x.xxx_hidden_PluginReference = nil } func (x *GetNPMVersionRequest) ClearModuleReference() { - x.ModuleReference = nil + x.xxx_hidden_ModuleReference = nil } type GetNPMVersionRequest_builder struct { @@ -885,17 +871,16 @@ func (b0 GetNPMVersionRequest_builder) Build() *GetNPMVersionRequest { m0 := &GetNPMVersionRequest{} b, x := &b0, m0 _, _ = b, x - x.PluginReference = b.PluginReference - x.ModuleReference = b.ModuleReference + x.xxx_hidden_PluginReference = b.PluginReference + x.xxx_hidden_ModuleReference = b.ModuleReference return m0 } type GetNPMVersionResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNPMVersionResponse) Reset() { @@ -925,13 +910,13 @@ func (x *GetNPMVersionResponse) ProtoReflect() protoreflect.Message { func (x *GetNPMVersionResponse) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *GetNPMVersionResponse) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } type GetNPMVersionResponse_builder struct { @@ -945,18 +930,16 @@ func (b0 GetNPMVersionResponse_builder) Build() *GetNPMVersionResponse { m0 := &GetNPMVersionResponse{} b, x := &b0, m0 _, _ = b, x - x.Version = b.Version + x.xxx_hidden_Version = b.Version return m0 } type GetSwiftVersionRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` + xxx_hidden_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() { @@ -986,46 +969,46 @@ func (x *GetSwiftVersionRequest) ProtoReflect() protoreflect.Message { func (x *GetSwiftVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { if x != nil { - return x.PluginReference + return x.xxx_hidden_PluginReference } return nil } func (x *GetSwiftVersionRequest) GetModuleReference() *LocalModuleReference { if x != nil { - return x.ModuleReference + return x.xxx_hidden_ModuleReference } return nil } func (x *GetSwiftVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.PluginReference = v + x.xxx_hidden_PluginReference = v } func (x *GetSwiftVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.ModuleReference = v + x.xxx_hidden_ModuleReference = v } func (x *GetSwiftVersionRequest) HasPluginReference() bool { if x == nil { return false } - return x.PluginReference != nil + return x.xxx_hidden_PluginReference != nil } func (x *GetSwiftVersionRequest) HasModuleReference() bool { if x == nil { return false } - return x.ModuleReference != nil + return x.xxx_hidden_ModuleReference != nil } func (x *GetSwiftVersionRequest) ClearPluginReference() { - x.PluginReference = nil + x.xxx_hidden_PluginReference = nil } func (x *GetSwiftVersionRequest) ClearModuleReference() { - x.ModuleReference = nil + x.xxx_hidden_ModuleReference = nil } type GetSwiftVersionRequest_builder struct { @@ -1041,17 +1024,16 @@ func (b0 GetSwiftVersionRequest_builder) Build() *GetSwiftVersionRequest { m0 := &GetSwiftVersionRequest{} b, x := &b0, m0 _, _ = b, x - x.PluginReference = b.PluginReference - x.ModuleReference = b.ModuleReference + x.xxx_hidden_PluginReference = b.PluginReference + x.xxx_hidden_ModuleReference = b.ModuleReference return m0 } type GetSwiftVersionResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSwiftVersionResponse) Reset() { @@ -1081,13 +1063,13 @@ func (x *GetSwiftVersionResponse) ProtoReflect() protoreflect.Message { func (x *GetSwiftVersionResponse) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *GetSwiftVersionResponse) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } type GetSwiftVersionResponse_builder struct { @@ -1101,18 +1083,16 @@ func (b0 GetSwiftVersionResponse_builder) Build() *GetSwiftVersionResponse { m0 := &GetSwiftVersionResponse{} b, x := &b0, m0 _, _ = b, x - x.Version = b.Version + x.xxx_hidden_Version = b.Version return m0 } type GetPythonVersionRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` + xxx_hidden_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() { @@ -1142,46 +1122,46 @@ func (x *GetPythonVersionRequest) ProtoReflect() protoreflect.Message { func (x *GetPythonVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { if x != nil { - return x.PluginReference + return x.xxx_hidden_PluginReference } return nil } func (x *GetPythonVersionRequest) GetModuleReference() *LocalModuleReference { if x != nil { - return x.ModuleReference + return x.xxx_hidden_ModuleReference } return nil } func (x *GetPythonVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.PluginReference = v + x.xxx_hidden_PluginReference = v } func (x *GetPythonVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.ModuleReference = v + x.xxx_hidden_ModuleReference = v } func (x *GetPythonVersionRequest) HasPluginReference() bool { if x == nil { return false } - return x.PluginReference != nil + return x.xxx_hidden_PluginReference != nil } func (x *GetPythonVersionRequest) HasModuleReference() bool { if x == nil { return false } - return x.ModuleReference != nil + return x.xxx_hidden_ModuleReference != nil } func (x *GetPythonVersionRequest) ClearPluginReference() { - x.PluginReference = nil + x.xxx_hidden_PluginReference = nil } func (x *GetPythonVersionRequest) ClearModuleReference() { - x.ModuleReference = nil + x.xxx_hidden_ModuleReference = nil } type GetPythonVersionRequest_builder struct { @@ -1197,17 +1177,16 @@ func (b0 GetPythonVersionRequest_builder) Build() *GetPythonVersionRequest { m0 := &GetPythonVersionRequest{} b, x := &b0, m0 _, _ = b, x - x.PluginReference = b.PluginReference - x.ModuleReference = b.ModuleReference + x.xxx_hidden_PluginReference = b.PluginReference + x.xxx_hidden_ModuleReference = b.ModuleReference return m0 } type GetPythonVersionResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPythonVersionResponse) Reset() { @@ -1237,13 +1216,13 @@ func (x *GetPythonVersionResponse) ProtoReflect() protoreflect.Message { func (x *GetPythonVersionResponse) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *GetPythonVersionResponse) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } type GetPythonVersionResponse_builder struct { @@ -1257,18 +1236,16 @@ func (b0 GetPythonVersionResponse_builder) Build() *GetPythonVersionResponse { m0 := &GetPythonVersionResponse{} b, x := &b0, m0 _, _ = b, x - x.Version = b.Version + x.xxx_hidden_Version = b.Version return m0 } type GetCargoVersionRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` + xxx_hidden_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() { @@ -1298,46 +1275,46 @@ func (x *GetCargoVersionRequest) ProtoReflect() protoreflect.Message { func (x *GetCargoVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { if x != nil { - return x.PluginReference + return x.xxx_hidden_PluginReference } return nil } func (x *GetCargoVersionRequest) GetModuleReference() *LocalModuleReference { if x != nil { - return x.ModuleReference + return x.xxx_hidden_ModuleReference } return nil } func (x *GetCargoVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.PluginReference = v + x.xxx_hidden_PluginReference = v } func (x *GetCargoVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.ModuleReference = v + x.xxx_hidden_ModuleReference = v } func (x *GetCargoVersionRequest) HasPluginReference() bool { if x == nil { return false } - return x.PluginReference != nil + return x.xxx_hidden_PluginReference != nil } func (x *GetCargoVersionRequest) HasModuleReference() bool { if x == nil { return false } - return x.ModuleReference != nil + return x.xxx_hidden_ModuleReference != nil } func (x *GetCargoVersionRequest) ClearPluginReference() { - x.PluginReference = nil + x.xxx_hidden_PluginReference = nil } func (x *GetCargoVersionRequest) ClearModuleReference() { - x.ModuleReference = nil + x.xxx_hidden_ModuleReference = nil } type GetCargoVersionRequest_builder struct { @@ -1353,17 +1330,16 @@ func (b0 GetCargoVersionRequest_builder) Build() *GetCargoVersionRequest { m0 := &GetCargoVersionRequest{} b, x := &b0, m0 _, _ = b, x - x.PluginReference = b.PluginReference - x.ModuleReference = b.ModuleReference + x.xxx_hidden_PluginReference = b.PluginReference + x.xxx_hidden_ModuleReference = b.ModuleReference return m0 } type GetCargoVersionResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCargoVersionResponse) Reset() { @@ -1393,13 +1369,13 @@ func (x *GetCargoVersionResponse) ProtoReflect() protoreflect.Message { func (x *GetCargoVersionResponse) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *GetCargoVersionResponse) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } type GetCargoVersionResponse_builder struct { @@ -1413,18 +1389,16 @@ func (b0 GetCargoVersionResponse_builder) Build() *GetCargoVersionResponse { m0 := &GetCargoVersionResponse{} b, x := &b0, m0 _, _ = b, x - x.Version = b.Version + x.xxx_hidden_Version = b.Version return m0 } type GetNugetVersionRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` + xxx_hidden_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() { @@ -1454,46 +1428,46 @@ func (x *GetNugetVersionRequest) ProtoReflect() protoreflect.Message { func (x *GetNugetVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { if x != nil { - return x.PluginReference + return x.xxx_hidden_PluginReference } return nil } func (x *GetNugetVersionRequest) GetModuleReference() *LocalModuleReference { if x != nil { - return x.ModuleReference + return x.xxx_hidden_ModuleReference } return nil } func (x *GetNugetVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.PluginReference = v + x.xxx_hidden_PluginReference = v } func (x *GetNugetVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.ModuleReference = v + x.xxx_hidden_ModuleReference = v } func (x *GetNugetVersionRequest) HasPluginReference() bool { if x == nil { return false } - return x.PluginReference != nil + return x.xxx_hidden_PluginReference != nil } func (x *GetNugetVersionRequest) HasModuleReference() bool { if x == nil { return false } - return x.ModuleReference != nil + return x.xxx_hidden_ModuleReference != nil } func (x *GetNugetVersionRequest) ClearPluginReference() { - x.PluginReference = nil + x.xxx_hidden_PluginReference = nil } func (x *GetNugetVersionRequest) ClearModuleReference() { - x.ModuleReference = nil + x.xxx_hidden_ModuleReference = nil } type GetNugetVersionRequest_builder struct { @@ -1509,17 +1483,16 @@ func (b0 GetNugetVersionRequest_builder) Build() *GetNugetVersionRequest { m0 := &GetNugetVersionRequest{} b, x := &b0, m0 _, _ = b, x - x.PluginReference = b.PluginReference - x.ModuleReference = b.ModuleReference + x.xxx_hidden_PluginReference = b.PluginReference + x.xxx_hidden_ModuleReference = b.ModuleReference return m0 } type GetNugetVersionResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNugetVersionResponse) Reset() { @@ -1549,13 +1522,13 @@ func (x *GetNugetVersionResponse) ProtoReflect() protoreflect.Message { func (x *GetNugetVersionResponse) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *GetNugetVersionResponse) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } type GetNugetVersionResponse_builder struct { @@ -1569,18 +1542,16 @@ func (b0 GetNugetVersionResponse_builder) Build() *GetNugetVersionResponse { m0 := &GetNugetVersionResponse{} b, x := &b0, m0 _, _ = b, x - x.Version = b.Version + x.xxx_hidden_Version = b.Version return m0 } type GetCmakeVersionRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` + xxx_hidden_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() { @@ -1610,46 +1581,46 @@ func (x *GetCmakeVersionRequest) ProtoReflect() protoreflect.Message { func (x *GetCmakeVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { if x != nil { - return x.PluginReference + return x.xxx_hidden_PluginReference } return nil } func (x *GetCmakeVersionRequest) GetModuleReference() *LocalModuleReference { if x != nil { - return x.ModuleReference + return x.xxx_hidden_ModuleReference } return nil } func (x *GetCmakeVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.PluginReference = v + x.xxx_hidden_PluginReference = v } func (x *GetCmakeVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.ModuleReference = v + x.xxx_hidden_ModuleReference = v } func (x *GetCmakeVersionRequest) HasPluginReference() bool { if x == nil { return false } - return x.PluginReference != nil + return x.xxx_hidden_PluginReference != nil } func (x *GetCmakeVersionRequest) HasModuleReference() bool { if x == nil { return false } - return x.ModuleReference != nil + return x.xxx_hidden_ModuleReference != nil } func (x *GetCmakeVersionRequest) ClearPluginReference() { - x.PluginReference = nil + x.xxx_hidden_PluginReference = nil } func (x *GetCmakeVersionRequest) ClearModuleReference() { - x.ModuleReference = nil + x.xxx_hidden_ModuleReference = nil } type GetCmakeVersionRequest_builder struct { @@ -1665,17 +1636,16 @@ func (b0 GetCmakeVersionRequest_builder) Build() *GetCmakeVersionRequest { m0 := &GetCmakeVersionRequest{} b, x := &b0, m0 _, _ = b, x - x.PluginReference = b.PluginReference - x.ModuleReference = b.ModuleReference + x.xxx_hidden_PluginReference = b.PluginReference + x.xxx_hidden_ModuleReference = b.ModuleReference return m0 } type GetCmakeVersionResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetCmakeVersionResponse) Reset() { @@ -1705,13 +1675,13 @@ func (x *GetCmakeVersionResponse) ProtoReflect() protoreflect.Message { func (x *GetCmakeVersionResponse) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *GetCmakeVersionResponse) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } type GetCmakeVersionResponse_builder struct { @@ -1725,29 +1695,20 @@ func (b0 GetCmakeVersionResponse_builder) Build() *GetCmakeVersionResponse { m0 := &GetCmakeVersionResponse{} b, x := &b0, m0 _, _ = b, x - x.Version = b.Version + x.xxx_hidden_Version = b.Version return m0 } // GetRemotePackageVersionPlugin is a plugin reference. // If the version is empty, this is a reference to the latest version. type GetRemotePackageVersionPlugin struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The owner of the plugin. - // example: bufbuild - Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - // The name of the plugin. - // example: connect-go - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The version of the plugin. - // If empty, this is a reference to the latest version. - // example: v1.0.0 - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_Revision uint32 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRemotePackageVersionPlugin) Reset() { @@ -1777,46 +1738,46 @@ func (x *GetRemotePackageVersionPlugin) ProtoReflect() protoreflect.Message { func (x *GetRemotePackageVersionPlugin) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetRemotePackageVersionPlugin) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *GetRemotePackageVersionPlugin) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *GetRemotePackageVersionPlugin) GetRevision() uint32 { if x != nil { - return x.Revision + return x.xxx_hidden_Revision } return 0 } func (x *GetRemotePackageVersionPlugin) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetRemotePackageVersionPlugin) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *GetRemotePackageVersionPlugin) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *GetRemotePackageVersionPlugin) SetRevision(v uint32) { - x.Revision = v + x.xxx_hidden_Revision = v } type GetRemotePackageVersionPlugin_builder struct { @@ -1841,10 +1802,10 @@ func (b0 GetRemotePackageVersionPlugin_builder) Build() *GetRemotePackageVersion m0 := &GetRemotePackageVersionPlugin{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Name = b.Name - x.Version = b.Version - x.Revision = b.Revision + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Version = b.Version + x.xxx_hidden_Revision = b.Revision return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/resolve_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/resolve_protoopaque.pb.go deleted file mode 100644 index 6b171f6a9b..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/resolve_protoopaque.pb.go +++ /dev/null @@ -1,2262 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/resolve.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - v1alpha1 "github.com/bufbuild/buf/private/gen/proto/go/buf/alpha/module/v1alpha1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type ResolvedReferenceType int32 - -const ( - ResolvedReferenceType_RESOLVED_REFERENCE_TYPE_UNSPECIFIED ResolvedReferenceType = 0 - ResolvedReferenceType_RESOLVED_REFERENCE_TYPE_COMMIT ResolvedReferenceType = 1 - ResolvedReferenceType_RESOLVED_REFERENCE_TYPE_BRANCH ResolvedReferenceType = 2 - ResolvedReferenceType_RESOLVED_REFERENCE_TYPE_TAG ResolvedReferenceType = 3 - ResolvedReferenceType_RESOLVED_REFERENCE_TYPE_DRAFT ResolvedReferenceType = 5 -) - -// Enum value maps for ResolvedReferenceType. -var ( - ResolvedReferenceType_name = map[int32]string{ - 0: "RESOLVED_REFERENCE_TYPE_UNSPECIFIED", - 1: "RESOLVED_REFERENCE_TYPE_COMMIT", - 2: "RESOLVED_REFERENCE_TYPE_BRANCH", - 3: "RESOLVED_REFERENCE_TYPE_TAG", - 5: "RESOLVED_REFERENCE_TYPE_DRAFT", - } - ResolvedReferenceType_value = map[string]int32{ - "RESOLVED_REFERENCE_TYPE_UNSPECIFIED": 0, - "RESOLVED_REFERENCE_TYPE_COMMIT": 1, - "RESOLVED_REFERENCE_TYPE_BRANCH": 2, - "RESOLVED_REFERENCE_TYPE_TAG": 3, - "RESOLVED_REFERENCE_TYPE_DRAFT": 5, - } -) - -func (x ResolvedReferenceType) Enum() *ResolvedReferenceType { - p := new(ResolvedReferenceType) - *p = x - return p -} - -func (x ResolvedReferenceType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ResolvedReferenceType) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_resolve_proto_enumTypes[0].Descriptor() -} - -func (ResolvedReferenceType) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_resolve_proto_enumTypes[0] -} - -func (x ResolvedReferenceType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type GetModulePinsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_ModuleReferences *[]*v1alpha1.ModuleReference `protobuf:"bytes,1,rep,name=module_references,json=moduleReferences,proto3" json:"module_references,omitempty"` - xxx_hidden_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() { - *x = GetModulePinsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetModulePinsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetModulePinsRequest) ProtoMessage() {} - -func (x *GetModulePinsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetModulePinsRequest) GetModuleReferences() []*v1alpha1.ModuleReference { - if x != nil { - if x.xxx_hidden_ModuleReferences != nil { - return *x.xxx_hidden_ModuleReferences - } - } - return nil -} - -func (x *GetModulePinsRequest) GetCurrentModulePins() []*v1alpha1.ModulePin { - if x != nil { - if x.xxx_hidden_CurrentModulePins != nil { - return *x.xxx_hidden_CurrentModulePins - } - } - return nil -} - -func (x *GetModulePinsRequest) SetModuleReferences(v []*v1alpha1.ModuleReference) { - x.xxx_hidden_ModuleReferences = &v -} - -func (x *GetModulePinsRequest) SetCurrentModulePins(v []*v1alpha1.ModulePin) { - x.xxx_hidden_CurrentModulePins = &v -} - -type GetModulePinsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - ModuleReferences []*v1alpha1.ModuleReference - // current_module_pins allows for partial dependency updates by letting clients - // send a request with the pins for their current module and only the - // identities of the dependencies they want to update in module_references. - // - // When resolving, if a client supplied module pin is: - // - in the transitive closure of pins resolved from the module_references, - // the client supplied module pin will be an extra candidate for tie - // breaking. - // - NOT in the in the transitive closure of pins resolved from the - // module_references, it will be returned as is. - CurrentModulePins []*v1alpha1.ModulePin -} - -func (b0 GetModulePinsRequest_builder) Build() *GetModulePinsRequest { - m0 := &GetModulePinsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_ModuleReferences = &b.ModuleReferences - x.xxx_hidden_CurrentModulePins = &b.CurrentModulePins - return m0 -} - -type GetModulePinsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_ModulePins *[]*v1alpha1.ModulePin `protobuf:"bytes,1,rep,name=module_pins,json=modulePins,proto3" json:"module_pins,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetModulePinsResponse) Reset() { - *x = GetModulePinsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetModulePinsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetModulePinsResponse) ProtoMessage() {} - -func (x *GetModulePinsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetModulePinsResponse) GetModulePins() []*v1alpha1.ModulePin { - if x != nil { - if x.xxx_hidden_ModulePins != nil { - return *x.xxx_hidden_ModulePins - } - } - return nil -} - -func (x *GetModulePinsResponse) SetModulePins(v []*v1alpha1.ModulePin) { - x.xxx_hidden_ModulePins = &v -} - -type GetModulePinsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - ModulePins []*v1alpha1.ModulePin -} - -func (b0 GetModulePinsResponse_builder) Build() *GetModulePinsResponse { - m0 := &GetModulePinsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_ModulePins = &b.ModulePins - return m0 -} - -type GetLocalModulePinsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = GetLocalModulePinsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetLocalModulePinsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetLocalModulePinsRequest) ProtoMessage() {} - -func (x *GetLocalModulePinsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetLocalModulePinsRequest) GetLocalModuleReferences() []*LocalModuleReference { - if x != nil { - if x.xxx_hidden_LocalModuleReferences != nil { - return *x.xxx_hidden_LocalModuleReferences - } - } - return nil -} - -func (x *GetLocalModulePinsRequest) SetLocalModuleReferences(v []*LocalModuleReference) { - x.xxx_hidden_LocalModuleReferences = &v -} - -type GetLocalModulePinsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - LocalModuleReferences []*LocalModuleReference -} - -func (b0 GetLocalModulePinsRequest_builder) Build() *GetLocalModulePinsRequest { - m0 := &GetLocalModulePinsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_LocalModuleReferences = &b.LocalModuleReferences - return m0 -} - -type LocalModuleResolveResult struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Reference *LocalModuleReference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` - xxx_hidden_Pin *LocalModulePin `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` - xxx_hidden_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() { - *x = LocalModuleResolveResult{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *LocalModuleResolveResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocalModuleResolveResult) ProtoMessage() {} - -func (x *LocalModuleResolveResult) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *LocalModuleResolveResult) GetReference() *LocalModuleReference { - if x != nil { - return x.xxx_hidden_Reference - } - return nil -} - -func (x *LocalModuleResolveResult) GetPin() *LocalModulePin { - if x != nil { - return x.xxx_hidden_Pin - } - return nil -} - -func (x *LocalModuleResolveResult) GetResolvedReferenceType() ResolvedReferenceType { - if x != nil { - return x.xxx_hidden_ResolvedReferenceType - } - return ResolvedReferenceType_RESOLVED_REFERENCE_TYPE_UNSPECIFIED -} - -func (x *LocalModuleResolveResult) SetReference(v *LocalModuleReference) { - x.xxx_hidden_Reference = v -} - -func (x *LocalModuleResolveResult) SetPin(v *LocalModulePin) { - x.xxx_hidden_Pin = v -} - -func (x *LocalModuleResolveResult) SetResolvedReferenceType(v ResolvedReferenceType) { - x.xxx_hidden_ResolvedReferenceType = v -} - -func (x *LocalModuleResolveResult) HasReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_Reference != nil -} - -func (x *LocalModuleResolveResult) HasPin() bool { - if x == nil { - return false - } - return x.xxx_hidden_Pin != nil -} - -func (x *LocalModuleResolveResult) ClearReference() { - x.xxx_hidden_Reference = nil -} - -func (x *LocalModuleResolveResult) ClearPin() { - x.xxx_hidden_Pin = nil -} - -type LocalModuleResolveResult_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // A copy of the reference that was resolved. - Reference *LocalModuleReference - // The pin the reference resolved to. - Pin *LocalModulePin - // The type the reference resolved as. - ResolvedReferenceType ResolvedReferenceType -} - -func (b0 LocalModuleResolveResult_builder) Build() *LocalModuleResolveResult { - m0 := &LocalModuleResolveResult{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Reference = b.Reference - x.xxx_hidden_Pin = b.Pin - x.xxx_hidden_ResolvedReferenceType = b.ResolvedReferenceType - return m0 -} - -type GetLocalModulePinsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_LocalModuleResolveResults *[]*LocalModuleResolveResult `protobuf:"bytes,1,rep,name=local_module_resolve_results,json=localModuleResolveResults,proto3" json:"local_module_resolve_results,omitempty"` - xxx_hidden_Dependencies *[]*v1alpha1.ModulePin `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetLocalModulePinsResponse) Reset() { - *x = GetLocalModulePinsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetLocalModulePinsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetLocalModulePinsResponse) ProtoMessage() {} - -func (x *GetLocalModulePinsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetLocalModulePinsResponse) GetLocalModuleResolveResults() []*LocalModuleResolveResult { - if x != nil { - if x.xxx_hidden_LocalModuleResolveResults != nil { - return *x.xxx_hidden_LocalModuleResolveResults - } - } - return nil -} - -func (x *GetLocalModulePinsResponse) GetDependencies() []*v1alpha1.ModulePin { - if x != nil { - if x.xxx_hidden_Dependencies != nil { - return *x.xxx_hidden_Dependencies - } - } - return nil -} - -func (x *GetLocalModulePinsResponse) SetLocalModuleResolveResults(v []*LocalModuleResolveResult) { - x.xxx_hidden_LocalModuleResolveResults = &v -} - -func (x *GetLocalModulePinsResponse) SetDependencies(v []*v1alpha1.ModulePin) { - x.xxx_hidden_Dependencies = &v -} - -type GetLocalModulePinsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - LocalModuleResolveResults []*LocalModuleResolveResult - // dependencies are the dependencies of the LocalModulePins. - // - // This includes the transitive deps. - Dependencies []*v1alpha1.ModulePin -} - -func (b0 GetLocalModulePinsResponse_builder) Build() *GetLocalModulePinsResponse { - m0 := &GetLocalModulePinsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_LocalModuleResolveResults = &b.LocalModuleResolveResults - x.xxx_hidden_Dependencies = &b.Dependencies - return m0 -} - -type GetGoVersionRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` - xxx_hidden_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() { - *x = GetGoVersionRequest{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetGoVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetGoVersionRequest) ProtoMessage() {} - -func (x *GetGoVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetGoVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { - if x != nil { - return x.xxx_hidden_PluginReference - } - return nil -} - -func (x *GetGoVersionRequest) GetModuleReference() *LocalModuleReference { - if x != nil { - return x.xxx_hidden_ModuleReference - } - return nil -} - -func (x *GetGoVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.xxx_hidden_PluginReference = v -} - -func (x *GetGoVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.xxx_hidden_ModuleReference = v -} - -func (x *GetGoVersionRequest) HasPluginReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_PluginReference != nil -} - -func (x *GetGoVersionRequest) HasModuleReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_ModuleReference != nil -} - -func (x *GetGoVersionRequest) ClearPluginReference() { - x.xxx_hidden_PluginReference = nil -} - -func (x *GetGoVersionRequest) ClearModuleReference() { - x.xxx_hidden_ModuleReference = nil -} - -type GetGoVersionRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The plugin reference to resolve. - PluginReference *GetRemotePackageVersionPlugin - // The module reference to resolve. - ModuleReference *LocalModuleReference -} - -func (b0 GetGoVersionRequest_builder) Build() *GetGoVersionRequest { - m0 := &GetGoVersionRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PluginReference = b.PluginReference - x.xxx_hidden_ModuleReference = b.ModuleReference - return m0 -} - -type GetGoVersionResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetGoVersionResponse) Reset() { - *x = GetGoVersionResponse{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetGoVersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetGoVersionResponse) ProtoMessage() {} - -func (x *GetGoVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetGoVersionResponse) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *GetGoVersionResponse) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -type GetGoVersionResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // version is the resolved version to be used with the go module proxy. - Version string -} - -func (b0 GetGoVersionResponse_builder) Build() *GetGoVersionResponse { - m0 := &GetGoVersionResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Version = b.Version - return m0 -} - -type GetMavenVersionRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` - xxx_hidden_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() { - *x = GetMavenVersionRequest{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetMavenVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetMavenVersionRequest) ProtoMessage() {} - -func (x *GetMavenVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetMavenVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { - if x != nil { - return x.xxx_hidden_PluginReference - } - return nil -} - -func (x *GetMavenVersionRequest) GetModuleReference() *LocalModuleReference { - if x != nil { - return x.xxx_hidden_ModuleReference - } - return nil -} - -func (x *GetMavenVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.xxx_hidden_PluginReference = v -} - -func (x *GetMavenVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.xxx_hidden_ModuleReference = v -} - -func (x *GetMavenVersionRequest) HasPluginReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_PluginReference != nil -} - -func (x *GetMavenVersionRequest) HasModuleReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_ModuleReference != nil -} - -func (x *GetMavenVersionRequest) ClearPluginReference() { - x.xxx_hidden_PluginReference = nil -} - -func (x *GetMavenVersionRequest) ClearModuleReference() { - x.xxx_hidden_ModuleReference = nil -} - -type GetMavenVersionRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The plugin reference to resolve. - PluginReference *GetRemotePackageVersionPlugin - // The module reference to resolve. - ModuleReference *LocalModuleReference -} - -func (b0 GetMavenVersionRequest_builder) Build() *GetMavenVersionRequest { - m0 := &GetMavenVersionRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PluginReference = b.PluginReference - x.xxx_hidden_ModuleReference = b.ModuleReference - return m0 -} - -type GetMavenVersionResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetMavenVersionResponse) Reset() { - *x = GetMavenVersionResponse{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetMavenVersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetMavenVersionResponse) ProtoMessage() {} - -func (x *GetMavenVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetMavenVersionResponse) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *GetMavenVersionResponse) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -type GetMavenVersionResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // version is the resolved version to be used with the maven repository. - Version string -} - -func (b0 GetMavenVersionResponse_builder) Build() *GetMavenVersionResponse { - m0 := &GetMavenVersionResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Version = b.Version - return m0 -} - -type GetNPMVersionRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` - xxx_hidden_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() { - *x = GetNPMVersionRequest{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetNPMVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetNPMVersionRequest) ProtoMessage() {} - -func (x *GetNPMVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetNPMVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { - if x != nil { - return x.xxx_hidden_PluginReference - } - return nil -} - -func (x *GetNPMVersionRequest) GetModuleReference() *LocalModuleReference { - if x != nil { - return x.xxx_hidden_ModuleReference - } - return nil -} - -func (x *GetNPMVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.xxx_hidden_PluginReference = v -} - -func (x *GetNPMVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.xxx_hidden_ModuleReference = v -} - -func (x *GetNPMVersionRequest) HasPluginReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_PluginReference != nil -} - -func (x *GetNPMVersionRequest) HasModuleReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_ModuleReference != nil -} - -func (x *GetNPMVersionRequest) ClearPluginReference() { - x.xxx_hidden_PluginReference = nil -} - -func (x *GetNPMVersionRequest) ClearModuleReference() { - x.xxx_hidden_ModuleReference = nil -} - -type GetNPMVersionRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The plugin reference to resolve. - PluginReference *GetRemotePackageVersionPlugin - // The module reference to resolve. - ModuleReference *LocalModuleReference -} - -func (b0 GetNPMVersionRequest_builder) Build() *GetNPMVersionRequest { - m0 := &GetNPMVersionRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PluginReference = b.PluginReference - x.xxx_hidden_ModuleReference = b.ModuleReference - return m0 -} - -type GetNPMVersionResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetNPMVersionResponse) Reset() { - *x = GetNPMVersionResponse{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetNPMVersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetNPMVersionResponse) ProtoMessage() {} - -func (x *GetNPMVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetNPMVersionResponse) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *GetNPMVersionResponse) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -type GetNPMVersionResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // version is the resolved version to be used with the npm registry. - Version string -} - -func (b0 GetNPMVersionResponse_builder) Build() *GetNPMVersionResponse { - m0 := &GetNPMVersionResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Version = b.Version - return m0 -} - -type GetSwiftVersionRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` - xxx_hidden_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() { - *x = GetSwiftVersionRequest{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSwiftVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSwiftVersionRequest) ProtoMessage() {} - -func (x *GetSwiftVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetSwiftVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { - if x != nil { - return x.xxx_hidden_PluginReference - } - return nil -} - -func (x *GetSwiftVersionRequest) GetModuleReference() *LocalModuleReference { - if x != nil { - return x.xxx_hidden_ModuleReference - } - return nil -} - -func (x *GetSwiftVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.xxx_hidden_PluginReference = v -} - -func (x *GetSwiftVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.xxx_hidden_ModuleReference = v -} - -func (x *GetSwiftVersionRequest) HasPluginReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_PluginReference != nil -} - -func (x *GetSwiftVersionRequest) HasModuleReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_ModuleReference != nil -} - -func (x *GetSwiftVersionRequest) ClearPluginReference() { - x.xxx_hidden_PluginReference = nil -} - -func (x *GetSwiftVersionRequest) ClearModuleReference() { - x.xxx_hidden_ModuleReference = nil -} - -type GetSwiftVersionRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The plugin reference to resolve. - PluginReference *GetRemotePackageVersionPlugin - // The module reference to resolve. - ModuleReference *LocalModuleReference -} - -func (b0 GetSwiftVersionRequest_builder) Build() *GetSwiftVersionRequest { - m0 := &GetSwiftVersionRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PluginReference = b.PluginReference - x.xxx_hidden_ModuleReference = b.ModuleReference - return m0 -} - -type GetSwiftVersionResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetSwiftVersionResponse) Reset() { - *x = GetSwiftVersionResponse{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSwiftVersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSwiftVersionResponse) ProtoMessage() {} - -func (x *GetSwiftVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetSwiftVersionResponse) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *GetSwiftVersionResponse) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -type GetSwiftVersionResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // version is the resolved version to be used with the swift registry. - Version string -} - -func (b0 GetSwiftVersionResponse_builder) Build() *GetSwiftVersionResponse { - m0 := &GetSwiftVersionResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Version = b.Version - return m0 -} - -type GetPythonVersionRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` - xxx_hidden_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() { - *x = GetPythonVersionRequest{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetPythonVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetPythonVersionRequest) ProtoMessage() {} - -func (x *GetPythonVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetPythonVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { - if x != nil { - return x.xxx_hidden_PluginReference - } - return nil -} - -func (x *GetPythonVersionRequest) GetModuleReference() *LocalModuleReference { - if x != nil { - return x.xxx_hidden_ModuleReference - } - return nil -} - -func (x *GetPythonVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.xxx_hidden_PluginReference = v -} - -func (x *GetPythonVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.xxx_hidden_ModuleReference = v -} - -func (x *GetPythonVersionRequest) HasPluginReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_PluginReference != nil -} - -func (x *GetPythonVersionRequest) HasModuleReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_ModuleReference != nil -} - -func (x *GetPythonVersionRequest) ClearPluginReference() { - x.xxx_hidden_PluginReference = nil -} - -func (x *GetPythonVersionRequest) ClearModuleReference() { - x.xxx_hidden_ModuleReference = nil -} - -type GetPythonVersionRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The plugin reference to resolve. - PluginReference *GetRemotePackageVersionPlugin - // The module reference to resolve. - ModuleReference *LocalModuleReference -} - -func (b0 GetPythonVersionRequest_builder) Build() *GetPythonVersionRequest { - m0 := &GetPythonVersionRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PluginReference = b.PluginReference - x.xxx_hidden_ModuleReference = b.ModuleReference - return m0 -} - -type GetPythonVersionResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetPythonVersionResponse) Reset() { - *x = GetPythonVersionResponse{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetPythonVersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetPythonVersionResponse) ProtoMessage() {} - -func (x *GetPythonVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetPythonVersionResponse) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *GetPythonVersionResponse) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -type GetPythonVersionResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // version is the resolved version to be used with the python repository. - Version string -} - -func (b0 GetPythonVersionResponse_builder) Build() *GetPythonVersionResponse { - m0 := &GetPythonVersionResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Version = b.Version - return m0 -} - -type GetCargoVersionRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` - xxx_hidden_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() { - *x = GetCargoVersionRequest{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetCargoVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCargoVersionRequest) ProtoMessage() {} - -func (x *GetCargoVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetCargoVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { - if x != nil { - return x.xxx_hidden_PluginReference - } - return nil -} - -func (x *GetCargoVersionRequest) GetModuleReference() *LocalModuleReference { - if x != nil { - return x.xxx_hidden_ModuleReference - } - return nil -} - -func (x *GetCargoVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.xxx_hidden_PluginReference = v -} - -func (x *GetCargoVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.xxx_hidden_ModuleReference = v -} - -func (x *GetCargoVersionRequest) HasPluginReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_PluginReference != nil -} - -func (x *GetCargoVersionRequest) HasModuleReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_ModuleReference != nil -} - -func (x *GetCargoVersionRequest) ClearPluginReference() { - x.xxx_hidden_PluginReference = nil -} - -func (x *GetCargoVersionRequest) ClearModuleReference() { - x.xxx_hidden_ModuleReference = nil -} - -type GetCargoVersionRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The plugin reference to resolve. - PluginReference *GetRemotePackageVersionPlugin - // The module reference to resolve. - ModuleReference *LocalModuleReference -} - -func (b0 GetCargoVersionRequest_builder) Build() *GetCargoVersionRequest { - m0 := &GetCargoVersionRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PluginReference = b.PluginReference - x.xxx_hidden_ModuleReference = b.ModuleReference - return m0 -} - -type GetCargoVersionResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetCargoVersionResponse) Reset() { - *x = GetCargoVersionResponse{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetCargoVersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCargoVersionResponse) ProtoMessage() {} - -func (x *GetCargoVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetCargoVersionResponse) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *GetCargoVersionResponse) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -type GetCargoVersionResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // version is the resolved version to be used with the cargo registry. - Version string -} - -func (b0 GetCargoVersionResponse_builder) Build() *GetCargoVersionResponse { - m0 := &GetCargoVersionResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Version = b.Version - return m0 -} - -type GetNugetVersionRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` - xxx_hidden_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() { - *x = GetNugetVersionRequest{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetNugetVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetNugetVersionRequest) ProtoMessage() {} - -func (x *GetNugetVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetNugetVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { - if x != nil { - return x.xxx_hidden_PluginReference - } - return nil -} - -func (x *GetNugetVersionRequest) GetModuleReference() *LocalModuleReference { - if x != nil { - return x.xxx_hidden_ModuleReference - } - return nil -} - -func (x *GetNugetVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.xxx_hidden_PluginReference = v -} - -func (x *GetNugetVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.xxx_hidden_ModuleReference = v -} - -func (x *GetNugetVersionRequest) HasPluginReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_PluginReference != nil -} - -func (x *GetNugetVersionRequest) HasModuleReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_ModuleReference != nil -} - -func (x *GetNugetVersionRequest) ClearPluginReference() { - x.xxx_hidden_PluginReference = nil -} - -func (x *GetNugetVersionRequest) ClearModuleReference() { - x.xxx_hidden_ModuleReference = nil -} - -type GetNugetVersionRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The plugin reference to resolve. - PluginReference *GetRemotePackageVersionPlugin - // The module reference to resolve. - ModuleReference *LocalModuleReference -} - -func (b0 GetNugetVersionRequest_builder) Build() *GetNugetVersionRequest { - m0 := &GetNugetVersionRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PluginReference = b.PluginReference - x.xxx_hidden_ModuleReference = b.ModuleReference - return m0 -} - -type GetNugetVersionResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetNugetVersionResponse) Reset() { - *x = GetNugetVersionResponse{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetNugetVersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetNugetVersionResponse) ProtoMessage() {} - -func (x *GetNugetVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetNugetVersionResponse) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *GetNugetVersionResponse) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -type GetNugetVersionResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // version is the resolved version to be used with the nuget registry. - Version string -} - -func (b0 GetNugetVersionResponse_builder) Build() *GetNugetVersionResponse { - m0 := &GetNugetVersionResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Version = b.Version - return m0 -} - -type GetCmakeVersionRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PluginReference *GetRemotePackageVersionPlugin `protobuf:"bytes,1,opt,name=plugin_reference,json=pluginReference,proto3" json:"plugin_reference,omitempty"` - xxx_hidden_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() { - *x = GetCmakeVersionRequest{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetCmakeVersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCmakeVersionRequest) ProtoMessage() {} - -func (x *GetCmakeVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetCmakeVersionRequest) GetPluginReference() *GetRemotePackageVersionPlugin { - if x != nil { - return x.xxx_hidden_PluginReference - } - return nil -} - -func (x *GetCmakeVersionRequest) GetModuleReference() *LocalModuleReference { - if x != nil { - return x.xxx_hidden_ModuleReference - } - return nil -} - -func (x *GetCmakeVersionRequest) SetPluginReference(v *GetRemotePackageVersionPlugin) { - x.xxx_hidden_PluginReference = v -} - -func (x *GetCmakeVersionRequest) SetModuleReference(v *LocalModuleReference) { - x.xxx_hidden_ModuleReference = v -} - -func (x *GetCmakeVersionRequest) HasPluginReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_PluginReference != nil -} - -func (x *GetCmakeVersionRequest) HasModuleReference() bool { - if x == nil { - return false - } - return x.xxx_hidden_ModuleReference != nil -} - -func (x *GetCmakeVersionRequest) ClearPluginReference() { - x.xxx_hidden_PluginReference = nil -} - -func (x *GetCmakeVersionRequest) ClearModuleReference() { - x.xxx_hidden_ModuleReference = nil -} - -type GetCmakeVersionRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The plugin reference to resolve. - PluginReference *GetRemotePackageVersionPlugin - // The module reference to resolve. - ModuleReference *LocalModuleReference -} - -func (b0 GetCmakeVersionRequest_builder) Build() *GetCmakeVersionRequest { - m0 := &GetCmakeVersionRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PluginReference = b.PluginReference - x.xxx_hidden_ModuleReference = b.ModuleReference - return m0 -} - -type GetCmakeVersionResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetCmakeVersionResponse) Reset() { - *x = GetCmakeVersionResponse{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetCmakeVersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCmakeVersionResponse) ProtoMessage() {} - -func (x *GetCmakeVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetCmakeVersionResponse) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *GetCmakeVersionResponse) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -type GetCmakeVersionResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // version is the resolved version to be used with the cmake registry. - Version string -} - -func (b0 GetCmakeVersionResponse_builder) Build() *GetCmakeVersionResponse { - m0 := &GetCmakeVersionResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Version = b.Version - return m0 -} - -// GetRemotePackageVersionPlugin is a plugin reference. -// If the version is empty, this is a reference to the latest version. -type GetRemotePackageVersionPlugin struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_Revision uint32 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetRemotePackageVersionPlugin) Reset() { - *x = GetRemotePackageVersionPlugin{} - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetRemotePackageVersionPlugin) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRemotePackageVersionPlugin) ProtoMessage() {} - -func (x *GetRemotePackageVersionPlugin) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetRemotePackageVersionPlugin) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetRemotePackageVersionPlugin) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *GetRemotePackageVersionPlugin) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *GetRemotePackageVersionPlugin) GetRevision() uint32 { - if x != nil { - return x.xxx_hidden_Revision - } - return 0 -} - -func (x *GetRemotePackageVersionPlugin) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetRemotePackageVersionPlugin) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *GetRemotePackageVersionPlugin) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *GetRemotePackageVersionPlugin) SetRevision(v uint32) { - x.xxx_hidden_Revision = v -} - -type GetRemotePackageVersionPlugin_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the plugin. - // example: bufbuild - Owner string - // The name of the plugin. - // example: connect-go - Name string - // The version of the plugin. - // If empty, this is a reference to the latest version. - // example: v1.0.0 - Version string - // The revision of the plugin version. - // example: 1 - Revision uint32 -} - -func (b0 GetRemotePackageVersionPlugin_builder) Build() *GetRemotePackageVersionPlugin { - m0 := &GetRemotePackageVersionPlugin{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Version = b.Version - x.xxx_hidden_Revision = b.Revision - return m0 -} - -var File_buf_alpha_registry_v1alpha1_resolve_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_resolve_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, - 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x28, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, 0x01, 0x0a, 0x14, 0x47, - 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x11, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x10, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x54, 0x0a, 0x13, - 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x70, - 0x69, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x52, - 0x11, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, - 0x6e, 0x73, 0x22, 0x5e, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, - 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0b, 0x6d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x24, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, - 0x6e, 0x73, 0x22, 0x86, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x69, 0x0a, 0x17, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x52, 0x15, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x22, 0xa9, 0x02, 0x0a, 0x18, - 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, - 0x76, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4f, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x03, 0x70, 0x69, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x50, 0x69, 0x6e, 0x52, 0x03, 0x70, 0x69, 0x6e, 0x12, 0x6a, 0x0a, 0x17, 0x72, 0x65, 0x73, 0x6f, - 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, - 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x15, 0x72, - 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x52, 0x0b, 0x69, 0x73, 0x5f, 0x62, - 0x73, 0x72, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x22, 0xde, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, - 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x76, 0x0a, 0x1c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x52, 0x19, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x48, - 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x65, - 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x22, 0xda, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, - 0x47, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x65, 0x0a, 0x10, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x0f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x30, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x47, 0x6f, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xdd, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4d, - 0x61, 0x76, 0x65, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x65, 0x0a, 0x10, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x0f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x10, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x33, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x61, - 0x76, 0x65, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xdb, 0x01, 0x0a, - 0x14, 0x47, 0x65, 0x74, 0x4e, 0x50, 0x4d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x65, 0x0a, 0x10, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x0f, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x10, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x31, 0x0a, 0x15, 0x47, 0x65, - 0x74, 0x4e, 0x50, 0x4d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xdd, 0x01, - 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x77, 0x69, 0x66, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x65, 0x0a, 0x10, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x0f, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, - 0x5c, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x33, 0x0a, - 0x17, 0x47, 0x65, 0x74, 0x53, 0x77, 0x69, 0x66, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x22, 0xde, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x65, - 0x0a, 0x10, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x52, 0x0f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, - 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x22, 0x34, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xdd, 0x01, 0x0a, 0x16, 0x47, 0x65, - 0x74, 0x43, 0x61, 0x72, 0x67, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x65, 0x0a, 0x10, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x0f, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x10, 0x6d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x33, 0x0a, 0x17, 0x47, 0x65, 0x74, - 0x43, 0x61, 0x72, 0x67, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xdd, - 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x67, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x65, 0x0a, 0x10, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, - 0x0f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x12, 0x5c, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x6d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x33, - 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x67, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x22, 0xdd, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x6d, 0x61, 0x6b, 0x65, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x65, - 0x0a, 0x10, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x52, 0x0f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, - 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x22, 0x33, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x6d, 0x61, 0x6b, 0x65, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x7f, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x52, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, - 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2a, 0xf1, 0x01, 0x0a, 0x15, 0x52, 0x65, - 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x23, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, 0x44, 0x5f, - 0x52, 0x45, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, - 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x46, 0x45, 0x52, 0x45, 0x4e, - 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x01, - 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x46, - 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x52, 0x41, 0x4e, - 0x43, 0x48, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, 0x44, - 0x5f, 0x52, 0x45, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x54, 0x41, 0x47, 0x10, 0x03, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, - 0x44, 0x5f, 0x52, 0x45, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x44, 0x52, 0x41, 0x46, 0x54, 0x10, 0x05, 0x22, 0x04, 0x08, 0x04, 0x10, 0x04, 0x2a, 0x1d, - 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x46, 0x45, 0x52, 0x45, 0x4e, - 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x4b, 0x32, 0x9f, 0x09, - 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x7b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, - 0x73, 0x12, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x78, 0x0a, - 0x0c, 0x47, 0x65, 0x74, 0x47, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x47, - 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x47, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, - 0x77, 0x69, 0x66, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x77, 0x69, - 0x66, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x53, 0x77, 0x69, 0x66, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x81, 0x01, 0x0a, 0x0f, - 0x47, 0x65, 0x74, 0x4d, 0x61, 0x76, 0x65, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x4d, 0x61, 0x76, 0x65, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x76, 0x65, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, - 0x7b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4e, 0x50, 0x4d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x4e, 0x50, 0x4d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x50, 0x4d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x84, 0x01, 0x0a, - 0x10, 0x47, 0x65, 0x74, 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, - 0x90, 0x02, 0x01, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x61, 0x72, 0x67, 0x6f, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x72, 0x67, 0x6f, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, - 0x72, 0x67, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4e, - 0x75, 0x67, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x67, - 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x4e, 0x75, 0x67, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x81, 0x01, 0x0a, 0x0f, - 0x47, 0x65, 0x74, 0x43, 0x6d, 0x61, 0x6b, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x43, 0x6d, 0x61, 0x6b, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6d, 0x61, 0x6b, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x32, - 0xa2, 0x01, 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4c, - 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x73, 0x12, 0x36, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x50, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x03, 0x90, 0x02, 0x01, 0x42, 0x99, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, - 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, - 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, - 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, - 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_resolve_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes = make([]protoimpl.MessageInfo, 22) -var file_buf_alpha_registry_v1alpha1_resolve_proto_goTypes = []any{ - (ResolvedReferenceType)(0), // 0: buf.alpha.registry.v1alpha1.ResolvedReferenceType - (*GetModulePinsRequest)(nil), // 1: buf.alpha.registry.v1alpha1.GetModulePinsRequest - (*GetModulePinsResponse)(nil), // 2: buf.alpha.registry.v1alpha1.GetModulePinsResponse - (*GetLocalModulePinsRequest)(nil), // 3: buf.alpha.registry.v1alpha1.GetLocalModulePinsRequest - (*LocalModuleResolveResult)(nil), // 4: buf.alpha.registry.v1alpha1.LocalModuleResolveResult - (*GetLocalModulePinsResponse)(nil), // 5: buf.alpha.registry.v1alpha1.GetLocalModulePinsResponse - (*GetGoVersionRequest)(nil), // 6: buf.alpha.registry.v1alpha1.GetGoVersionRequest - (*GetGoVersionResponse)(nil), // 7: buf.alpha.registry.v1alpha1.GetGoVersionResponse - (*GetMavenVersionRequest)(nil), // 8: buf.alpha.registry.v1alpha1.GetMavenVersionRequest - (*GetMavenVersionResponse)(nil), // 9: buf.alpha.registry.v1alpha1.GetMavenVersionResponse - (*GetNPMVersionRequest)(nil), // 10: buf.alpha.registry.v1alpha1.GetNPMVersionRequest - (*GetNPMVersionResponse)(nil), // 11: buf.alpha.registry.v1alpha1.GetNPMVersionResponse - (*GetSwiftVersionRequest)(nil), // 12: buf.alpha.registry.v1alpha1.GetSwiftVersionRequest - (*GetSwiftVersionResponse)(nil), // 13: buf.alpha.registry.v1alpha1.GetSwiftVersionResponse - (*GetPythonVersionRequest)(nil), // 14: buf.alpha.registry.v1alpha1.GetPythonVersionRequest - (*GetPythonVersionResponse)(nil), // 15: buf.alpha.registry.v1alpha1.GetPythonVersionResponse - (*GetCargoVersionRequest)(nil), // 16: buf.alpha.registry.v1alpha1.GetCargoVersionRequest - (*GetCargoVersionResponse)(nil), // 17: buf.alpha.registry.v1alpha1.GetCargoVersionResponse - (*GetNugetVersionRequest)(nil), // 18: buf.alpha.registry.v1alpha1.GetNugetVersionRequest - (*GetNugetVersionResponse)(nil), // 19: buf.alpha.registry.v1alpha1.GetNugetVersionResponse - (*GetCmakeVersionRequest)(nil), // 20: buf.alpha.registry.v1alpha1.GetCmakeVersionRequest - (*GetCmakeVersionResponse)(nil), // 21: buf.alpha.registry.v1alpha1.GetCmakeVersionResponse - (*GetRemotePackageVersionPlugin)(nil), // 22: buf.alpha.registry.v1alpha1.GetRemotePackageVersionPlugin - (*v1alpha1.ModuleReference)(nil), // 23: buf.alpha.module.v1alpha1.ModuleReference - (*v1alpha1.ModulePin)(nil), // 24: buf.alpha.module.v1alpha1.ModulePin - (*LocalModuleReference)(nil), // 25: buf.alpha.registry.v1alpha1.LocalModuleReference - (*LocalModulePin)(nil), // 26: buf.alpha.registry.v1alpha1.LocalModulePin -} -var file_buf_alpha_registry_v1alpha1_resolve_proto_depIdxs = []int32{ - 23, // 0: buf.alpha.registry.v1alpha1.GetModulePinsRequest.module_references:type_name -> buf.alpha.module.v1alpha1.ModuleReference - 24, // 1: buf.alpha.registry.v1alpha1.GetModulePinsRequest.current_module_pins:type_name -> buf.alpha.module.v1alpha1.ModulePin - 24, // 2: buf.alpha.registry.v1alpha1.GetModulePinsResponse.module_pins:type_name -> buf.alpha.module.v1alpha1.ModulePin - 25, // 3: buf.alpha.registry.v1alpha1.GetLocalModulePinsRequest.local_module_references:type_name -> buf.alpha.registry.v1alpha1.LocalModuleReference - 25, // 4: buf.alpha.registry.v1alpha1.LocalModuleResolveResult.reference:type_name -> buf.alpha.registry.v1alpha1.LocalModuleReference - 26, // 5: buf.alpha.registry.v1alpha1.LocalModuleResolveResult.pin:type_name -> buf.alpha.registry.v1alpha1.LocalModulePin - 0, // 6: buf.alpha.registry.v1alpha1.LocalModuleResolveResult.resolved_reference_type:type_name -> buf.alpha.registry.v1alpha1.ResolvedReferenceType - 4, // 7: buf.alpha.registry.v1alpha1.GetLocalModulePinsResponse.local_module_resolve_results:type_name -> buf.alpha.registry.v1alpha1.LocalModuleResolveResult - 24, // 8: buf.alpha.registry.v1alpha1.GetLocalModulePinsResponse.dependencies:type_name -> buf.alpha.module.v1alpha1.ModulePin - 22, // 9: buf.alpha.registry.v1alpha1.GetGoVersionRequest.plugin_reference:type_name -> buf.alpha.registry.v1alpha1.GetRemotePackageVersionPlugin - 25, // 10: buf.alpha.registry.v1alpha1.GetGoVersionRequest.module_reference:type_name -> buf.alpha.registry.v1alpha1.LocalModuleReference - 22, // 11: buf.alpha.registry.v1alpha1.GetMavenVersionRequest.plugin_reference:type_name -> buf.alpha.registry.v1alpha1.GetRemotePackageVersionPlugin - 25, // 12: buf.alpha.registry.v1alpha1.GetMavenVersionRequest.module_reference:type_name -> buf.alpha.registry.v1alpha1.LocalModuleReference - 22, // 13: buf.alpha.registry.v1alpha1.GetNPMVersionRequest.plugin_reference:type_name -> buf.alpha.registry.v1alpha1.GetRemotePackageVersionPlugin - 25, // 14: buf.alpha.registry.v1alpha1.GetNPMVersionRequest.module_reference:type_name -> buf.alpha.registry.v1alpha1.LocalModuleReference - 22, // 15: buf.alpha.registry.v1alpha1.GetSwiftVersionRequest.plugin_reference:type_name -> buf.alpha.registry.v1alpha1.GetRemotePackageVersionPlugin - 25, // 16: buf.alpha.registry.v1alpha1.GetSwiftVersionRequest.module_reference:type_name -> buf.alpha.registry.v1alpha1.LocalModuleReference - 22, // 17: buf.alpha.registry.v1alpha1.GetPythonVersionRequest.plugin_reference:type_name -> buf.alpha.registry.v1alpha1.GetRemotePackageVersionPlugin - 25, // 18: buf.alpha.registry.v1alpha1.GetPythonVersionRequest.module_reference:type_name -> buf.alpha.registry.v1alpha1.LocalModuleReference - 22, // 19: buf.alpha.registry.v1alpha1.GetCargoVersionRequest.plugin_reference:type_name -> buf.alpha.registry.v1alpha1.GetRemotePackageVersionPlugin - 25, // 20: buf.alpha.registry.v1alpha1.GetCargoVersionRequest.module_reference:type_name -> buf.alpha.registry.v1alpha1.LocalModuleReference - 22, // 21: buf.alpha.registry.v1alpha1.GetNugetVersionRequest.plugin_reference:type_name -> buf.alpha.registry.v1alpha1.GetRemotePackageVersionPlugin - 25, // 22: buf.alpha.registry.v1alpha1.GetNugetVersionRequest.module_reference:type_name -> buf.alpha.registry.v1alpha1.LocalModuleReference - 22, // 23: buf.alpha.registry.v1alpha1.GetCmakeVersionRequest.plugin_reference:type_name -> buf.alpha.registry.v1alpha1.GetRemotePackageVersionPlugin - 25, // 24: buf.alpha.registry.v1alpha1.GetCmakeVersionRequest.module_reference:type_name -> buf.alpha.registry.v1alpha1.LocalModuleReference - 1, // 25: buf.alpha.registry.v1alpha1.ResolveService.GetModulePins:input_type -> buf.alpha.registry.v1alpha1.GetModulePinsRequest - 6, // 26: buf.alpha.registry.v1alpha1.ResolveService.GetGoVersion:input_type -> buf.alpha.registry.v1alpha1.GetGoVersionRequest - 12, // 27: buf.alpha.registry.v1alpha1.ResolveService.GetSwiftVersion:input_type -> buf.alpha.registry.v1alpha1.GetSwiftVersionRequest - 8, // 28: buf.alpha.registry.v1alpha1.ResolveService.GetMavenVersion:input_type -> buf.alpha.registry.v1alpha1.GetMavenVersionRequest - 10, // 29: buf.alpha.registry.v1alpha1.ResolveService.GetNPMVersion:input_type -> buf.alpha.registry.v1alpha1.GetNPMVersionRequest - 14, // 30: buf.alpha.registry.v1alpha1.ResolveService.GetPythonVersion:input_type -> buf.alpha.registry.v1alpha1.GetPythonVersionRequest - 16, // 31: buf.alpha.registry.v1alpha1.ResolveService.GetCargoVersion:input_type -> buf.alpha.registry.v1alpha1.GetCargoVersionRequest - 18, // 32: buf.alpha.registry.v1alpha1.ResolveService.GetNugetVersion:input_type -> buf.alpha.registry.v1alpha1.GetNugetVersionRequest - 20, // 33: buf.alpha.registry.v1alpha1.ResolveService.GetCmakeVersion:input_type -> buf.alpha.registry.v1alpha1.GetCmakeVersionRequest - 3, // 34: buf.alpha.registry.v1alpha1.LocalResolveService.GetLocalModulePins:input_type -> buf.alpha.registry.v1alpha1.GetLocalModulePinsRequest - 2, // 35: buf.alpha.registry.v1alpha1.ResolveService.GetModulePins:output_type -> buf.alpha.registry.v1alpha1.GetModulePinsResponse - 7, // 36: buf.alpha.registry.v1alpha1.ResolveService.GetGoVersion:output_type -> buf.alpha.registry.v1alpha1.GetGoVersionResponse - 13, // 37: buf.alpha.registry.v1alpha1.ResolveService.GetSwiftVersion:output_type -> buf.alpha.registry.v1alpha1.GetSwiftVersionResponse - 9, // 38: buf.alpha.registry.v1alpha1.ResolveService.GetMavenVersion:output_type -> buf.alpha.registry.v1alpha1.GetMavenVersionResponse - 11, // 39: buf.alpha.registry.v1alpha1.ResolveService.GetNPMVersion:output_type -> buf.alpha.registry.v1alpha1.GetNPMVersionResponse - 15, // 40: buf.alpha.registry.v1alpha1.ResolveService.GetPythonVersion:output_type -> buf.alpha.registry.v1alpha1.GetPythonVersionResponse - 17, // 41: buf.alpha.registry.v1alpha1.ResolveService.GetCargoVersion:output_type -> buf.alpha.registry.v1alpha1.GetCargoVersionResponse - 19, // 42: buf.alpha.registry.v1alpha1.ResolveService.GetNugetVersion:output_type -> buf.alpha.registry.v1alpha1.GetNugetVersionResponse - 21, // 43: buf.alpha.registry.v1alpha1.ResolveService.GetCmakeVersion:output_type -> buf.alpha.registry.v1alpha1.GetCmakeVersionResponse - 5, // 44: buf.alpha.registry.v1alpha1.LocalResolveService.GetLocalModulePins:output_type -> buf.alpha.registry.v1alpha1.GetLocalModulePinsResponse - 35, // [35:45] is the sub-list for method output_type - 25, // [25:35] is the sub-list for method input_type - 25, // [25:25] is the sub-list for extension type_name - 25, // [25:25] is the sub-list for extension extendee - 0, // [0:25] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_resolve_proto_init() } -func file_buf_alpha_registry_v1alpha1_resolve_proto_init() { - if File_buf_alpha_registry_v1alpha1_resolve_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_module_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_resolve_proto_rawDesc, - NumEnums: 1, - NumMessages: 22, - NumExtensions: 0, - NumServices: 2, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_resolve_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_resolve_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_resolve_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_resolve_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_resolve_proto = out.File - file_buf_alpha_registry_v1alpha1_resolve_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_resolve_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_resolve_proto_depIdxs = nil -} 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 7f1839d46f..4b020b9b8c 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/resource.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -36,14 +34,10 @@ const ( ) type Resource struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Types that are valid to be assigned to Resource: - // - // *Resource_Repository - // *Resource_Plugin - Resource isResource_Resource `protobuf_oneof:"resource"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Resource isResource_Resource `protobuf_oneof:"resource"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Resource) Reset() { @@ -71,16 +65,9 @@ func (x *Resource) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -func (x *Resource) GetResource() isResource_Resource { - if x != nil { - return x.Resource - } - return nil -} - func (x *Resource) GetRepository() *Repository { if x != nil { - if x, ok := x.Resource.(*Resource_Repository); ok { + if x, ok := x.xxx_hidden_Resource.(*resource_Repository); ok { return x.Repository } } @@ -89,7 +76,7 @@ func (x *Resource) GetRepository() *Repository { func (x *Resource) GetPlugin() *CuratedPlugin { if x != nil { - if x, ok := x.Resource.(*Resource_Plugin); ok { + if x, ok := x.xxx_hidden_Resource.(*resource_Plugin); ok { return x.Plugin } } @@ -98,32 +85,32 @@ func (x *Resource) GetPlugin() *CuratedPlugin { func (x *Resource) SetRepository(v *Repository) { if v == nil { - x.Resource = nil + x.xxx_hidden_Resource = nil return } - x.Resource = &Resource_Repository{v} + x.xxx_hidden_Resource = &resource_Repository{v} } func (x *Resource) SetPlugin(v *CuratedPlugin) { if v == nil { - x.Resource = nil + x.xxx_hidden_Resource = nil return } - x.Resource = &Resource_Plugin{v} + x.xxx_hidden_Resource = &resource_Plugin{v} } func (x *Resource) HasResource() bool { if x == nil { return false } - return x.Resource != nil + return x.xxx_hidden_Resource != nil } func (x *Resource) HasRepository() bool { if x == nil { return false } - _, ok := x.Resource.(*Resource_Repository) + _, ok := x.xxx_hidden_Resource.(*resource_Repository) return ok } @@ -131,23 +118,23 @@ func (x *Resource) HasPlugin() bool { if x == nil { return false } - _, ok := x.Resource.(*Resource_Plugin) + _, ok := x.xxx_hidden_Resource.(*resource_Plugin) return ok } func (x *Resource) ClearResource() { - x.Resource = nil + x.xxx_hidden_Resource = nil } func (x *Resource) ClearRepository() { - if _, ok := x.Resource.(*Resource_Repository); ok { - x.Resource = nil + if _, ok := x.xxx_hidden_Resource.(*resource_Repository); ok { + x.xxx_hidden_Resource = nil } } func (x *Resource) ClearPlugin() { - if _, ok := x.Resource.(*Resource_Plugin); ok { - x.Resource = nil + if _, ok := x.xxx_hidden_Resource.(*resource_Plugin); ok { + x.xxx_hidden_Resource = nil } } @@ -159,10 +146,10 @@ func (x *Resource) WhichResource() case_Resource_Resource { if x == nil { return Resource_Resource_not_set_case } - switch x.Resource.(type) { - case *Resource_Repository: + switch x.xxx_hidden_Resource.(type) { + case *resource_Repository: return Resource_Repository_case - case *Resource_Plugin: + case *resource_Plugin: return Resource_Plugin_case default: return Resource_Resource_not_set_case @@ -172,10 +159,10 @@ func (x *Resource) WhichResource() case_Resource_Resource { type Resource_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - // Fields of oneof Resource: + // Fields of oneof xxx_hidden_Resource: Repository *Repository Plugin *CuratedPlugin - // -- end of Resource + // -- end of xxx_hidden_Resource } func (b0 Resource_builder) Build() *Resource { @@ -183,10 +170,10 @@ func (b0 Resource_builder) Build() *Resource { b, x := &b0, m0 _, _ = b, x if b.Repository != nil { - x.Resource = &Resource_Repository{b.Repository} + x.xxx_hidden_Resource = &resource_Repository{b.Repository} } if b.Plugin != nil { - x.Resource = &Resource_Plugin{b.Plugin} + x.xxx_hidden_Resource = &resource_Plugin{b.Plugin} } return m0 } @@ -205,26 +192,24 @@ type isResource_Resource interface { isResource_Resource() } -type Resource_Repository struct { +type resource_Repository struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3,oneof"` } -type Resource_Plugin struct { +type resource_Plugin struct { Plugin *CuratedPlugin `protobuf:"bytes,2,opt,name=plugin,proto3,oneof"` } -func (*Resource_Repository) isResource_Resource() {} +func (*resource_Repository) isResource_Resource() {} -func (*Resource_Plugin) isResource_Resource() {} +func (*resource_Plugin) isResource_Resource() {} type GetResourceByNameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetResourceByNameRequest) Reset() { @@ -254,24 +239,24 @@ func (x *GetResourceByNameRequest) ProtoReflect() protoreflect.Message { func (x *GetResourceByNameRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetResourceByNameRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *GetResourceByNameRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetResourceByNameRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } type GetResourceByNameRequest_builder struct { @@ -287,16 +272,16 @@ func (b0 GetResourceByNameRequest_builder) Build() *GetResourceByNameRequest { m0 := &GetResourceByNameRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Name = b.Name + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Name = b.Name return m0 } type GetResourceByNameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetResourceByNameResponse) Reset() { @@ -326,24 +311,24 @@ func (x *GetResourceByNameResponse) ProtoReflect() protoreflect.Message { func (x *GetResourceByNameResponse) GetResource() *Resource { if x != nil { - return x.Resource + return x.xxx_hidden_Resource } return nil } func (x *GetResourceByNameResponse) SetResource(v *Resource) { - x.Resource = v + x.xxx_hidden_Resource = v } func (x *GetResourceByNameResponse) HasResource() bool { if x == nil { return false } - return x.Resource != nil + return x.xxx_hidden_Resource != nil } func (x *GetResourceByNameResponse) ClearResource() { - x.Resource = nil + x.xxx_hidden_Resource = nil } type GetResourceByNameResponse_builder struct { @@ -356,7 +341,7 @@ func (b0 GetResourceByNameResponse_builder) Build() *GetResourceByNameResponse { m0 := &GetResourceByNameResponse{} b, x := &b0, m0 _, _ = b, x - x.Resource = b.Resource + x.xxx_hidden_Resource = b.Resource return m0 } @@ -454,8 +439,8 @@ func file_buf_alpha_registry_v1alpha1_resource_proto_init() { file_buf_alpha_registry_v1alpha1_plugin_curation_proto_init() file_buf_alpha_registry_v1alpha1_repository_proto_init() file_buf_alpha_registry_v1alpha1_resource_proto_msgTypes[0].OneofWrappers = []any{ - (*Resource_Repository)(nil), - (*Resource_Plugin)(nil), + (*resource_Repository)(nil), + (*resource_Plugin)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/resource_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/resource_protoopaque.pb.go deleted file mode 100644 index 6e2ab29046..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/resource_protoopaque.pb.go +++ /dev/null @@ -1,465 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/resource.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Resource struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Resource isResource_Resource `protobuf_oneof:"resource"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Resource) Reset() { - *x = Resource{} - mi := &file_buf_alpha_registry_v1alpha1_resource_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Resource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Resource) ProtoMessage() {} - -func (x *Resource) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resource_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Resource) GetRepository() *Repository { - if x != nil { - if x, ok := x.xxx_hidden_Resource.(*resource_Repository); ok { - return x.Repository - } - } - return nil -} - -func (x *Resource) GetPlugin() *CuratedPlugin { - if x != nil { - if x, ok := x.xxx_hidden_Resource.(*resource_Plugin); ok { - return x.Plugin - } - } - return nil -} - -func (x *Resource) SetRepository(v *Repository) { - if v == nil { - x.xxx_hidden_Resource = nil - return - } - x.xxx_hidden_Resource = &resource_Repository{v} -} - -func (x *Resource) SetPlugin(v *CuratedPlugin) { - if v == nil { - x.xxx_hidden_Resource = nil - return - } - x.xxx_hidden_Resource = &resource_Plugin{v} -} - -func (x *Resource) HasResource() bool { - if x == nil { - return false - } - return x.xxx_hidden_Resource != nil -} - -func (x *Resource) HasRepository() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Resource.(*resource_Repository) - return ok -} - -func (x *Resource) HasPlugin() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Resource.(*resource_Plugin) - return ok -} - -func (x *Resource) ClearResource() { - x.xxx_hidden_Resource = nil -} - -func (x *Resource) ClearRepository() { - if _, ok := x.xxx_hidden_Resource.(*resource_Repository); ok { - x.xxx_hidden_Resource = nil - } -} - -func (x *Resource) ClearPlugin() { - if _, ok := x.xxx_hidden_Resource.(*resource_Plugin); ok { - x.xxx_hidden_Resource = nil - } -} - -const Resource_Resource_not_set_case case_Resource_Resource = 0 -const Resource_Repository_case case_Resource_Resource = 1 -const Resource_Plugin_case case_Resource_Resource = 2 - -func (x *Resource) WhichResource() case_Resource_Resource { - if x == nil { - return Resource_Resource_not_set_case - } - switch x.xxx_hidden_Resource.(type) { - case *resource_Repository: - return Resource_Repository_case - case *resource_Plugin: - return Resource_Plugin_case - default: - return Resource_Resource_not_set_case - } -} - -type Resource_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Fields of oneof xxx_hidden_Resource: - Repository *Repository - Plugin *CuratedPlugin - // -- end of xxx_hidden_Resource -} - -func (b0 Resource_builder) Build() *Resource { - m0 := &Resource{} - b, x := &b0, m0 - _, _ = b, x - if b.Repository != nil { - x.xxx_hidden_Resource = &resource_Repository{b.Repository} - } - if b.Plugin != nil { - x.xxx_hidden_Resource = &resource_Plugin{b.Plugin} - } - return m0 -} - -type case_Resource_Resource protoreflect.FieldNumber - -func (x case_Resource_Resource) String() string { - md := file_buf_alpha_registry_v1alpha1_resource_proto_msgTypes[0].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isResource_Resource interface { - isResource_Resource() -} - -type resource_Repository struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3,oneof"` -} - -type resource_Plugin struct { - Plugin *CuratedPlugin `protobuf:"bytes,2,opt,name=plugin,proto3,oneof"` -} - -func (*resource_Repository) isResource_Resource() {} - -func (*resource_Plugin) isResource_Resource() {} - -type GetResourceByNameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetResourceByNameRequest) Reset() { - *x = GetResourceByNameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_resource_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetResourceByNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetResourceByNameRequest) ProtoMessage() {} - -func (x *GetResourceByNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resource_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetResourceByNameRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetResourceByNameRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *GetResourceByNameRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetResourceByNameRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -type GetResourceByNameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Owner of the requested resource. - Owner string - // Name of the requested resource. - Name string -} - -func (b0 GetResourceByNameRequest_builder) Build() *GetResourceByNameRequest { - m0 := &GetResourceByNameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Name = b.Name - return m0 -} - -type GetResourceByNameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetResourceByNameResponse) Reset() { - *x = GetResourceByNameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_resource_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetResourceByNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetResourceByNameResponse) ProtoMessage() {} - -func (x *GetResourceByNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_resource_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetResourceByNameResponse) GetResource() *Resource { - if x != nil { - return x.xxx_hidden_Resource - } - return nil -} - -func (x *GetResourceByNameResponse) SetResource(v *Resource) { - x.xxx_hidden_Resource = v -} - -func (x *GetResourceByNameResponse) HasResource() bool { - if x == nil { - return false - } - return x.xxx_hidden_Resource != nil -} - -func (x *GetResourceByNameResponse) ClearResource() { - x.xxx_hidden_Resource = nil -} - -type GetResourceByNameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Resource *Resource -} - -func (b0 GetResourceByNameResponse_builder) Build() *GetResourceByNameResponse { - m0 := &GetResourceByNameResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Resource = b.Resource - return m0 -} - -var File_buf_alpha_registry_v1alpha1_resource_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_resource_proto_rawDesc = []byte{ - 0x0a, 0x2a, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x31, 0x62, 0x75, 0x66, 0x2f, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x63, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x62, 0x75, - 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x01, 0x0a, 0x08, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x44, 0x0a, 0x06, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x48, 0x00, - 0x52, 0x06, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x22, 0x44, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x5e, 0x0a, 0x19, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x32, 0x9b, 0x01, 0x0a, 0x0f, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x87, - 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x79, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x79, - 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x9a, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0d, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, - 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, - 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, - 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, - 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_buf_alpha_registry_v1alpha1_resource_proto_goTypes = []any{ - (*Resource)(nil), // 0: buf.alpha.registry.v1alpha1.Resource - (*GetResourceByNameRequest)(nil), // 1: buf.alpha.registry.v1alpha1.GetResourceByNameRequest - (*GetResourceByNameResponse)(nil), // 2: buf.alpha.registry.v1alpha1.GetResourceByNameResponse - (*Repository)(nil), // 3: buf.alpha.registry.v1alpha1.Repository - (*CuratedPlugin)(nil), // 4: buf.alpha.registry.v1alpha1.CuratedPlugin -} -var file_buf_alpha_registry_v1alpha1_resource_proto_depIdxs = []int32{ - 3, // 0: buf.alpha.registry.v1alpha1.Resource.repository:type_name -> buf.alpha.registry.v1alpha1.Repository - 4, // 1: buf.alpha.registry.v1alpha1.Resource.plugin:type_name -> buf.alpha.registry.v1alpha1.CuratedPlugin - 0, // 2: buf.alpha.registry.v1alpha1.GetResourceByNameResponse.resource:type_name -> buf.alpha.registry.v1alpha1.Resource - 1, // 3: buf.alpha.registry.v1alpha1.ResourceService.GetResourceByName:input_type -> buf.alpha.registry.v1alpha1.GetResourceByNameRequest - 2, // 4: buf.alpha.registry.v1alpha1.ResourceService.GetResourceByName:output_type -> buf.alpha.registry.v1alpha1.GetResourceByNameResponse - 4, // [4:5] is the sub-list for method output_type - 3, // [3:4] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_resource_proto_init() } -func file_buf_alpha_registry_v1alpha1_resource_proto_init() { - if File_buf_alpha_registry_v1alpha1_resource_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_plugin_curation_proto_init() - file_buf_alpha_registry_v1alpha1_repository_proto_init() - file_buf_alpha_registry_v1alpha1_resource_proto_msgTypes[0].OneofWrappers = []any{ - (*resource_Repository)(nil), - (*resource_Plugin)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_resource_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_resource_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_resource_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_resource_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_resource_proto = out.File - file_buf_alpha_registry_v1alpha1_resource_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_resource_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_resource_proto_depIdxs = nil -} 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 a646e8a51d..8b97dff923 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/role.proto -//go:build !protoopaque - package registryv1alpha1 import ( diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/role_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/role_protoopaque.pb.go deleted file mode 100644 index 27e91af701..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/role_protoopaque.pb.go +++ /dev/null @@ -1,342 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/role.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// The roles that users can have in a Server. -type ServerRole int32 - -const ( - ServerRole_SERVER_ROLE_UNSPECIFIED ServerRole = 0 - ServerRole_SERVER_ROLE_ADMIN ServerRole = 1 - ServerRole_SERVER_ROLE_MEMBER ServerRole = 2 -) - -// Enum value maps for ServerRole. -var ( - ServerRole_name = map[int32]string{ - 0: "SERVER_ROLE_UNSPECIFIED", - 1: "SERVER_ROLE_ADMIN", - 2: "SERVER_ROLE_MEMBER", - } - ServerRole_value = map[string]int32{ - "SERVER_ROLE_UNSPECIFIED": 0, - "SERVER_ROLE_ADMIN": 1, - "SERVER_ROLE_MEMBER": 2, - } -) - -func (x ServerRole) Enum() *ServerRole { - p := new(ServerRole) - *p = x - return p -} - -func (x ServerRole) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ServerRole) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_role_proto_enumTypes[0].Descriptor() -} - -func (ServerRole) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_role_proto_enumTypes[0] -} - -func (x ServerRole) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// The roles that users can have in a Organization. -type OrganizationRole int32 - -const ( - OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED OrganizationRole = 0 - OrganizationRole_ORGANIZATION_ROLE_OWNER OrganizationRole = 1 - OrganizationRole_ORGANIZATION_ROLE_ADMIN OrganizationRole = 2 - OrganizationRole_ORGANIZATION_ROLE_MEMBER OrganizationRole = 3 - OrganizationRole_ORGANIZATION_ROLE_MACHINE OrganizationRole = 4 -) - -// Enum value maps for OrganizationRole. -var ( - OrganizationRole_name = map[int32]string{ - 0: "ORGANIZATION_ROLE_UNSPECIFIED", - 1: "ORGANIZATION_ROLE_OWNER", - 2: "ORGANIZATION_ROLE_ADMIN", - 3: "ORGANIZATION_ROLE_MEMBER", - 4: "ORGANIZATION_ROLE_MACHINE", - } - OrganizationRole_value = map[string]int32{ - "ORGANIZATION_ROLE_UNSPECIFIED": 0, - "ORGANIZATION_ROLE_OWNER": 1, - "ORGANIZATION_ROLE_ADMIN": 2, - "ORGANIZATION_ROLE_MEMBER": 3, - "ORGANIZATION_ROLE_MACHINE": 4, - } -) - -func (x OrganizationRole) Enum() *OrganizationRole { - p := new(OrganizationRole) - *p = x - return p -} - -func (x OrganizationRole) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (OrganizationRole) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_role_proto_enumTypes[1].Descriptor() -} - -func (OrganizationRole) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_role_proto_enumTypes[1] -} - -func (x OrganizationRole) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// The source of a user's role in an Organization. -type OrganizationRoleSource int32 - -const ( - OrganizationRoleSource_ORGANIZATION_ROLE_SOURCE_UNSPECIFIED OrganizationRoleSource = 0 - OrganizationRoleSource_ORGANIZATION_ROLE_SOURCE_DIRECT OrganizationRoleSource = 1 - OrganizationRoleSource_ORGANIZATION_ROLE_SOURCE_JIT OrganizationRoleSource = 2 - OrganizationRoleSource_ORGANIZATION_ROLE_SOURCE_IDP_GROUP OrganizationRoleSource = 3 -) - -// Enum value maps for OrganizationRoleSource. -var ( - OrganizationRoleSource_name = map[int32]string{ - 0: "ORGANIZATION_ROLE_SOURCE_UNSPECIFIED", - 1: "ORGANIZATION_ROLE_SOURCE_DIRECT", - 2: "ORGANIZATION_ROLE_SOURCE_JIT", - 3: "ORGANIZATION_ROLE_SOURCE_IDP_GROUP", - } - OrganizationRoleSource_value = map[string]int32{ - "ORGANIZATION_ROLE_SOURCE_UNSPECIFIED": 0, - "ORGANIZATION_ROLE_SOURCE_DIRECT": 1, - "ORGANIZATION_ROLE_SOURCE_JIT": 2, - "ORGANIZATION_ROLE_SOURCE_IDP_GROUP": 3, - } -) - -func (x OrganizationRoleSource) Enum() *OrganizationRoleSource { - p := new(OrganizationRoleSource) - *p = x - return p -} - -func (x OrganizationRoleSource) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (OrganizationRoleSource) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_role_proto_enumTypes[2].Descriptor() -} - -func (OrganizationRoleSource) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_role_proto_enumTypes[2] -} - -func (x OrganizationRoleSource) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// The roles that users can have for a Repository. -type RepositoryRole int32 - -const ( - RepositoryRole_REPOSITORY_ROLE_UNSPECIFIED RepositoryRole = 0 - RepositoryRole_REPOSITORY_ROLE_OWNER RepositoryRole = 1 - RepositoryRole_REPOSITORY_ROLE_ADMIN RepositoryRole = 2 - RepositoryRole_REPOSITORY_ROLE_WRITE RepositoryRole = 3 - RepositoryRole_REPOSITORY_ROLE_READ RepositoryRole = 4 - RepositoryRole_REPOSITORY_ROLE_LIMITED_WRITE RepositoryRole = 5 -) - -// Enum value maps for RepositoryRole. -var ( - RepositoryRole_name = map[int32]string{ - 0: "REPOSITORY_ROLE_UNSPECIFIED", - 1: "REPOSITORY_ROLE_OWNER", - 2: "REPOSITORY_ROLE_ADMIN", - 3: "REPOSITORY_ROLE_WRITE", - 4: "REPOSITORY_ROLE_READ", - 5: "REPOSITORY_ROLE_LIMITED_WRITE", - } - RepositoryRole_value = map[string]int32{ - "REPOSITORY_ROLE_UNSPECIFIED": 0, - "REPOSITORY_ROLE_OWNER": 1, - "REPOSITORY_ROLE_ADMIN": 2, - "REPOSITORY_ROLE_WRITE": 3, - "REPOSITORY_ROLE_READ": 4, - "REPOSITORY_ROLE_LIMITED_WRITE": 5, - } -) - -func (x RepositoryRole) Enum() *RepositoryRole { - p := new(RepositoryRole) - *p = x - return p -} - -func (x RepositoryRole) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (RepositoryRole) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_role_proto_enumTypes[3].Descriptor() -} - -func (RepositoryRole) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_role_proto_enumTypes[3] -} - -func (x RepositoryRole) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -var File_buf_alpha_registry_v1alpha1_role_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_role_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x6f, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2a, 0x58, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, - 0x6f, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x52, 0x4f, - 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x15, 0x0a, 0x11, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, - 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x45, 0x52, 0x56, 0x45, - 0x52, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x2a, - 0xac, 0x01, 0x0a, 0x10, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x4f, 0x52, 0x47, 0x41, 0x4e, - 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4f, 0x57, 0x4e, - 0x45, 0x52, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, - 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x03, 0x12, - 0x1d, 0x0a, 0x19, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4d, 0x41, 0x43, 0x48, 0x49, 0x4e, 0x45, 0x10, 0x04, 0x2a, 0xb1, - 0x01, 0x0a, 0x16, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x6f, 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x28, 0x0a, 0x24, 0x4f, 0x52, 0x47, - 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x53, - 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, - 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, - 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x4f, 0x52, 0x47, 0x41, - 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x53, 0x4f, - 0x55, 0x52, 0x43, 0x45, 0x5f, 0x4a, 0x49, 0x54, 0x10, 0x02, 0x12, 0x26, 0x0a, 0x22, 0x4f, 0x52, - 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, - 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x44, 0x50, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, - 0x10, 0x03, 0x2a, 0xbf, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, - 0x4f, 0x52, 0x59, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, - 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, - 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, - 0x01, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, - 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, - 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, - 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x50, 0x4f, 0x53, - 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x10, - 0x04, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, 0x5f, - 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x5f, 0x57, 0x52, 0x49, - 0x54, 0x45, 0x10, 0x05, 0x42, 0x96, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x09, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, - 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, - 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, - 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_role_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_buf_alpha_registry_v1alpha1_role_proto_goTypes = []any{ - (ServerRole)(0), // 0: buf.alpha.registry.v1alpha1.ServerRole - (OrganizationRole)(0), // 1: buf.alpha.registry.v1alpha1.OrganizationRole - (OrganizationRoleSource)(0), // 2: buf.alpha.registry.v1alpha1.OrganizationRoleSource - (RepositoryRole)(0), // 3: buf.alpha.registry.v1alpha1.RepositoryRole -} -var file_buf_alpha_registry_v1alpha1_role_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_role_proto_init() } -func file_buf_alpha_registry_v1alpha1_role_proto_init() { - if File_buf_alpha_registry_v1alpha1_role_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_role_proto_rawDesc, - NumEnums: 4, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_role_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_role_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_role_proto_enumTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_role_proto = out.File - file_buf_alpha_registry_v1alpha1_role_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_role_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_role_proto_depIdxs = nil -} 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 10072464d4..029d40fe27 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/schema.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -84,53 +82,16 @@ func (x Format) Number() protoreflect.EnumNumber { } type GetSchemaRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // The name of the repo that contains the schema to retrieve. - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - // Optional version of the repo. If unspecified, defaults to latest version on - // the repo's "main" branch. - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - // Zero or more types names. The names may refer to messages, enums, services, - // methods, or extensions. All names must be fully-qualified. If any name - // is unknown, the request will fail and no schema will be returned. - // - // If no names are provided, the full schema for the module is returned. - // Otherwise, the resulting schema contains only the named elements and all of - // their dependencies. This is enough information for the caller to construct - // a dynamic message for any requested message types or to dynamically invoke - // an RPC for any requested methods or services. - Types []string `protobuf:"bytes,4,rep,name=types,proto3" json:"types,omitempty"` - // If present, this is a commit that the client already has cached. So if the - // given module version resolves to this same commit, the server should not - // send back any descriptors since the client already has them. - // - // This allows a client to efficiently poll for updates: after the initial RPC - // to get a schema, the client can cache the descriptors and the resolved - // commit. It then includes that commit in subsequent requests in this field, - // and the server will only reply with a schema (and new commit) if/when the - // resolved commit changes. - IfNotCommit string `protobuf:"bytes,5,opt,name=if_not_commit,json=ifNotCommit,proto3" json:"if_not_commit,omitempty"` - // If true, the returned schema will not include extension definitions for custom - // options that appear on schema elements. When filtering the schema based on the - // given element names, options on all encountered elements are usually examined - // as well. But that is not the case if excluding custom options. - // - // This flag is ignored if element_names is empty as the entire schema is always - // returned in that case. - ExcludeCustomOptions bool `protobuf:"varint,6,opt,name=exclude_custom_options,json=excludeCustomOptions,proto3" json:"exclude_custom_options,omitempty"` - // If true, the returned schema will not include known extensions for extendable - // messages for schema elements. If exclude_custom_options is true, such extensions - // may still be returned if the applicable descriptor options type is part of the - // requested schema. - // - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_Types []string `protobuf:"bytes,4,rep,name=types,proto3" json:"types,omitempty"` + xxx_hidden_IfNotCommit string `protobuf:"bytes,5,opt,name=if_not_commit,json=ifNotCommit,proto3" json:"if_not_commit,omitempty"` + xxx_hidden_ExcludeCustomOptions bool `protobuf:"varint,6,opt,name=exclude_custom_options,json=excludeCustomOptions,proto3" json:"exclude_custom_options,omitempty"` + xxx_hidden_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() { @@ -160,79 +121,79 @@ func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { func (x *GetSchemaRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *GetSchemaRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *GetSchemaRequest) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *GetSchemaRequest) GetTypes() []string { if x != nil { - return x.Types + return x.xxx_hidden_Types } return nil } func (x *GetSchemaRequest) GetIfNotCommit() string { if x != nil { - return x.IfNotCommit + return x.xxx_hidden_IfNotCommit } return "" } func (x *GetSchemaRequest) GetExcludeCustomOptions() bool { if x != nil { - return x.ExcludeCustomOptions + return x.xxx_hidden_ExcludeCustomOptions } return false } func (x *GetSchemaRequest) GetExcludeKnownExtensions() bool { if x != nil { - return x.ExcludeKnownExtensions + return x.xxx_hidden_ExcludeKnownExtensions } return false } func (x *GetSchemaRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *GetSchemaRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *GetSchemaRequest) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *GetSchemaRequest) SetTypes(v []string) { - x.Types = v + x.xxx_hidden_Types = v } func (x *GetSchemaRequest) SetIfNotCommit(v string) { - x.IfNotCommit = v + x.xxx_hidden_IfNotCommit = v } func (x *GetSchemaRequest) SetExcludeCustomOptions(v bool) { - x.ExcludeCustomOptions = v + x.xxx_hidden_ExcludeCustomOptions = v } func (x *GetSchemaRequest) SetExcludeKnownExtensions(v bool) { - x.ExcludeKnownExtensions = v + x.xxx_hidden_ExcludeKnownExtensions = v } type GetSchemaRequest_builder struct { @@ -288,29 +249,22 @@ func (b0 GetSchemaRequest_builder) Build() *GetSchemaRequest { m0 := &GetSchemaRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Version = b.Version - x.Types = b.Types - x.IfNotCommit = b.IfNotCommit - x.ExcludeCustomOptions = b.ExcludeCustomOptions - x.ExcludeKnownExtensions = b.ExcludeKnownExtensions + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Version = b.Version + x.xxx_hidden_Types = b.Types + x.xxx_hidden_IfNotCommit = b.IfNotCommit + x.xxx_hidden_ExcludeCustomOptions = b.ExcludeCustomOptions + x.xxx_hidden_ExcludeKnownExtensions = b.ExcludeKnownExtensions return m0 } type GetSchemaResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 - // branch. If the request did not include any version, this is the latest - // version for the module's main branch. - 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` + xxx_hidden_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() { @@ -340,35 +294,35 @@ func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message { func (x *GetSchemaResponse) GetCommit() string { if x != nil { - return x.Commit + return x.xxx_hidden_Commit } return "" } func (x *GetSchemaResponse) GetSchemaFiles() *descriptorpb.FileDescriptorSet { if x != nil { - return x.SchemaFiles + return x.xxx_hidden_SchemaFiles } return nil } func (x *GetSchemaResponse) SetCommit(v string) { - x.Commit = v + x.xxx_hidden_Commit = v } func (x *GetSchemaResponse) SetSchemaFiles(v *descriptorpb.FileDescriptorSet) { - x.SchemaFiles = v + x.xxx_hidden_SchemaFiles = v } func (x *GetSchemaResponse) HasSchemaFiles() bool { if x == nil { return false } - return x.SchemaFiles != nil + return x.xxx_hidden_SchemaFiles != nil } func (x *GetSchemaResponse) ClearSchemaFiles() { - x.SchemaFiles = nil + x.xxx_hidden_SchemaFiles = nil } type GetSchemaResponse_builder struct { @@ -389,44 +343,23 @@ func (b0 GetSchemaResponse_builder) Build() *GetSchemaResponse { m0 := &GetSchemaResponse{} b, x := &b0, m0 _, _ = b, x - x.Commit = b.Commit - x.SchemaFiles = b.SchemaFiles + x.xxx_hidden_Commit = b.Commit + x.xxx_hidden_SchemaFiles = b.SchemaFiles return m0 } type ConvertMessageRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // The name of the repo that contains the schema to retrieve. - Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - // Optional version of the repo. This can be a tag or branch name or a commit. - // If unspecified, defaults to latest version on the repo's "main" branch. - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - // The fully-qualified name of the message. Required. - MessageName string `protobuf:"bytes,4,opt,name=message_name,json=messageName,proto3" json:"message_name,omitempty"` - // The format of the input data. Required. - InputFormat Format `protobuf:"varint,5,opt,name=input_format,json=inputFormat,proto3,enum=buf.alpha.registry.v1alpha1.Format" json:"input_format,omitempty"` - // The input data that is to be converted. Required. This must be - // a valid encoding of type indicated by message_name in the format - // indicated by input_format. - InputData []byte `protobuf:"bytes,6,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` - // If true, any unresolvable fields in the input are discarded. For - // formats other than FORMAT_BINARY, this means that the operation - // will fail if the input contains unrecognized field names. For - // FORMAT_BINARY, unrecognized fields can be retained and possibly - // 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 valid to be assigned to OutputFormat: - // - // *ConvertMessageRequest_OutputBinary - // *ConvertMessageRequest_OutputJson - // *ConvertMessageRequest_OutputText - OutputFormat isConvertMessageRequest_OutputFormat `protobuf_oneof:"output_format"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + xxx_hidden_MessageName string `protobuf:"bytes,4,opt,name=message_name,json=messageName,proto3" json:"message_name,omitempty"` + xxx_hidden_InputFormat Format `protobuf:"varint,5,opt,name=input_format,json=inputFormat,proto3,enum=buf.alpha.registry.v1alpha1.Format" json:"input_format,omitempty"` + xxx_hidden_InputData []byte `protobuf:"bytes,6,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` + xxx_hidden_DiscardUnknown bool `protobuf:"varint,7,opt,name=discard_unknown,json=discardUnknown,proto3" json:"discard_unknown,omitempty"` + xxx_hidden_OutputFormat isConvertMessageRequest_OutputFormat `protobuf_oneof:"output_format"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConvertMessageRequest) Reset() { @@ -456,63 +389,56 @@ func (x *ConvertMessageRequest) ProtoReflect() protoreflect.Message { func (x *ConvertMessageRequest) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *ConvertMessageRequest) GetRepository() string { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return "" } func (x *ConvertMessageRequest) GetVersion() string { if x != nil { - return x.Version + return x.xxx_hidden_Version } return "" } func (x *ConvertMessageRequest) GetMessageName() string { if x != nil { - return x.MessageName + return x.xxx_hidden_MessageName } return "" } func (x *ConvertMessageRequest) GetInputFormat() Format { if x != nil { - return x.InputFormat + return x.xxx_hidden_InputFormat } return Format_FORMAT_UNSPECIFIED } func (x *ConvertMessageRequest) GetInputData() []byte { if x != nil { - return x.InputData + return x.xxx_hidden_InputData } return nil } func (x *ConvertMessageRequest) GetDiscardUnknown() bool { if x != nil { - return x.DiscardUnknown + return x.xxx_hidden_DiscardUnknown } return false } -func (x *ConvertMessageRequest) GetOutputFormat() isConvertMessageRequest_OutputFormat { - if x != nil { - return x.OutputFormat - } - return nil -} - func (x *ConvertMessageRequest) GetOutputBinary() *BinaryOutputOptions { if x != nil { - if x, ok := x.OutputFormat.(*ConvertMessageRequest_OutputBinary); ok { + if x, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputBinary); ok { return x.OutputBinary } } @@ -521,7 +447,7 @@ func (x *ConvertMessageRequest) GetOutputBinary() *BinaryOutputOptions { func (x *ConvertMessageRequest) GetOutputJson() *JSONOutputOptions { if x != nil { - if x, ok := x.OutputFormat.(*ConvertMessageRequest_OutputJson); ok { + if x, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputJson); ok { return x.OutputJson } } @@ -530,7 +456,7 @@ func (x *ConvertMessageRequest) GetOutputJson() *JSONOutputOptions { func (x *ConvertMessageRequest) GetOutputText() *TextOutputOptions { if x != nil { - if x, ok := x.OutputFormat.(*ConvertMessageRequest_OutputText); ok { + if x, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputText); ok { return x.OutputText } } @@ -538,72 +464,72 @@ func (x *ConvertMessageRequest) GetOutputText() *TextOutputOptions { } func (x *ConvertMessageRequest) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *ConvertMessageRequest) SetRepository(v string) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *ConvertMessageRequest) SetVersion(v string) { - x.Version = v + x.xxx_hidden_Version = v } func (x *ConvertMessageRequest) SetMessageName(v string) { - x.MessageName = v + x.xxx_hidden_MessageName = v } func (x *ConvertMessageRequest) SetInputFormat(v Format) { - x.InputFormat = v + x.xxx_hidden_InputFormat = v } func (x *ConvertMessageRequest) SetInputData(v []byte) { if v == nil { v = []byte{} } - x.InputData = v + x.xxx_hidden_InputData = v } func (x *ConvertMessageRequest) SetDiscardUnknown(v bool) { - x.DiscardUnknown = v + x.xxx_hidden_DiscardUnknown = v } func (x *ConvertMessageRequest) SetOutputBinary(v *BinaryOutputOptions) { if v == nil { - x.OutputFormat = nil + x.xxx_hidden_OutputFormat = nil return } - x.OutputFormat = &ConvertMessageRequest_OutputBinary{v} + x.xxx_hidden_OutputFormat = &convertMessageRequest_OutputBinary{v} } func (x *ConvertMessageRequest) SetOutputJson(v *JSONOutputOptions) { if v == nil { - x.OutputFormat = nil + x.xxx_hidden_OutputFormat = nil return } - x.OutputFormat = &ConvertMessageRequest_OutputJson{v} + x.xxx_hidden_OutputFormat = &convertMessageRequest_OutputJson{v} } func (x *ConvertMessageRequest) SetOutputText(v *TextOutputOptions) { if v == nil { - x.OutputFormat = nil + x.xxx_hidden_OutputFormat = nil return } - x.OutputFormat = &ConvertMessageRequest_OutputText{v} + x.xxx_hidden_OutputFormat = &convertMessageRequest_OutputText{v} } func (x *ConvertMessageRequest) HasOutputFormat() bool { if x == nil { return false } - return x.OutputFormat != nil + return x.xxx_hidden_OutputFormat != nil } func (x *ConvertMessageRequest) HasOutputBinary() bool { if x == nil { return false } - _, ok := x.OutputFormat.(*ConvertMessageRequest_OutputBinary) + _, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputBinary) return ok } @@ -611,7 +537,7 @@ func (x *ConvertMessageRequest) HasOutputJson() bool { if x == nil { return false } - _, ok := x.OutputFormat.(*ConvertMessageRequest_OutputJson) + _, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputJson) return ok } @@ -619,29 +545,29 @@ func (x *ConvertMessageRequest) HasOutputText() bool { if x == nil { return false } - _, ok := x.OutputFormat.(*ConvertMessageRequest_OutputText) + _, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputText) return ok } func (x *ConvertMessageRequest) ClearOutputFormat() { - x.OutputFormat = nil + x.xxx_hidden_OutputFormat = nil } func (x *ConvertMessageRequest) ClearOutputBinary() { - if _, ok := x.OutputFormat.(*ConvertMessageRequest_OutputBinary); ok { - x.OutputFormat = nil + if _, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputBinary); ok { + x.xxx_hidden_OutputFormat = nil } } func (x *ConvertMessageRequest) ClearOutputJson() { - if _, ok := x.OutputFormat.(*ConvertMessageRequest_OutputJson); ok { - x.OutputFormat = nil + if _, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputJson); ok { + x.xxx_hidden_OutputFormat = nil } } func (x *ConvertMessageRequest) ClearOutputText() { - if _, ok := x.OutputFormat.(*ConvertMessageRequest_OutputText); ok { - x.OutputFormat = nil + if _, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputText); ok { + x.xxx_hidden_OutputFormat = nil } } @@ -654,12 +580,12 @@ func (x *ConvertMessageRequest) WhichOutputFormat() case_ConvertMessageRequest_O if x == nil { return ConvertMessageRequest_OutputFormat_not_set_case } - switch x.OutputFormat.(type) { - case *ConvertMessageRequest_OutputBinary: + switch x.xxx_hidden_OutputFormat.(type) { + case *convertMessageRequest_OutputBinary: return ConvertMessageRequest_OutputBinary_case - case *ConvertMessageRequest_OutputJson: + case *convertMessageRequest_OutputJson: return ConvertMessageRequest_OutputJson_case - case *ConvertMessageRequest_OutputText: + case *convertMessageRequest_OutputText: return ConvertMessageRequest_OutputText_case default: return ConvertMessageRequest_OutputFormat_not_set_case @@ -692,32 +618,32 @@ type ConvertMessageRequest_builder struct { // included in the reformatted output (depending on the requested // output format). DiscardUnknown bool - // Fields of oneof OutputFormat: + // Fields of oneof xxx_hidden_OutputFormat: OutputBinary *BinaryOutputOptions OutputJson *JSONOutputOptions OutputText *TextOutputOptions - // -- end of OutputFormat + // -- end of xxx_hidden_OutputFormat } func (b0 ConvertMessageRequest_builder) Build() *ConvertMessageRequest { m0 := &ConvertMessageRequest{} b, x := &b0, m0 _, _ = b, x - x.Owner = b.Owner - x.Repository = b.Repository - x.Version = b.Version - x.MessageName = b.MessageName - x.InputFormat = b.InputFormat - x.InputData = b.InputData - x.DiscardUnknown = b.DiscardUnknown + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Repository = b.Repository + x.xxx_hidden_Version = b.Version + x.xxx_hidden_MessageName = b.MessageName + x.xxx_hidden_InputFormat = b.InputFormat + x.xxx_hidden_InputData = b.InputData + x.xxx_hidden_DiscardUnknown = b.DiscardUnknown if b.OutputBinary != nil { - x.OutputFormat = &ConvertMessageRequest_OutputBinary{b.OutputBinary} + x.xxx_hidden_OutputFormat = &convertMessageRequest_OutputBinary{b.OutputBinary} } if b.OutputJson != nil { - x.OutputFormat = &ConvertMessageRequest_OutputJson{b.OutputJson} + x.xxx_hidden_OutputFormat = &convertMessageRequest_OutputJson{b.OutputJson} } if b.OutputText != nil { - x.OutputFormat = &ConvertMessageRequest_OutputText{b.OutputText} + x.xxx_hidden_OutputFormat = &convertMessageRequest_OutputText{b.OutputText} } return m0 } @@ -736,26 +662,26 @@ type isConvertMessageRequest_OutputFormat interface { isConvertMessageRequest_OutputFormat() } -type ConvertMessageRequest_OutputBinary struct { +type convertMessageRequest_OutputBinary struct { OutputBinary *BinaryOutputOptions `protobuf:"bytes,8,opt,name=output_binary,json=outputBinary,proto3,oneof"` } -type ConvertMessageRequest_OutputJson struct { +type convertMessageRequest_OutputJson struct { OutputJson *JSONOutputOptions `protobuf:"bytes,9,opt,name=output_json,json=outputJson,proto3,oneof"` } -type ConvertMessageRequest_OutputText struct { +type convertMessageRequest_OutputText struct { OutputText *TextOutputOptions `protobuf:"bytes,10,opt,name=output_text,json=outputText,proto3,oneof"` } -func (*ConvertMessageRequest_OutputBinary) isConvertMessageRequest_OutputFormat() {} +func (*convertMessageRequest_OutputBinary) isConvertMessageRequest_OutputFormat() {} -func (*ConvertMessageRequest_OutputJson) isConvertMessageRequest_OutputFormat() {} +func (*convertMessageRequest_OutputJson) isConvertMessageRequest_OutputFormat() {} -func (*ConvertMessageRequest_OutputText) isConvertMessageRequest_OutputFormat() {} +func (*convertMessageRequest_OutputText) isConvertMessageRequest_OutputFormat() {} type BinaryOutputOptions struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -798,16 +724,11 @@ func (b0 BinaryOutputOptions_builder) Build() *BinaryOutputOptions { } type JSONOutputOptions struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // Includes fields that have their default values. This applies only to fields - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_UseEnumNumbers bool `protobuf:"varint,3,opt,name=use_enum_numbers,json=useEnumNumbers,proto3" json:"use_enum_numbers,omitempty"` + xxx_hidden_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() { @@ -837,24 +758,24 @@ func (x *JSONOutputOptions) ProtoReflect() protoreflect.Message { func (x *JSONOutputOptions) GetUseEnumNumbers() bool { if x != nil { - return x.UseEnumNumbers + return x.xxx_hidden_UseEnumNumbers } return false } func (x *JSONOutputOptions) GetIncludeDefaults() bool { if x != nil { - return x.IncludeDefaults + return x.xxx_hidden_IncludeDefaults } return false } func (x *JSONOutputOptions) SetUseEnumNumbers(v bool) { - x.UseEnumNumbers = v + x.xxx_hidden_UseEnumNumbers = v } func (x *JSONOutputOptions) SetIncludeDefaults(v bool) { - x.IncludeDefaults = v + x.xxx_hidden_IncludeDefaults = v } type JSONOutputOptions_builder struct { @@ -873,19 +794,16 @@ func (b0 JSONOutputOptions_builder) Build() *JSONOutputOptions { m0 := &JSONOutputOptions{} b, x := &b0, m0 _, _ = b, x - x.UseEnumNumbers = b.UseEnumNumbers - x.IncludeDefaults = b.IncludeDefaults + x.xxx_hidden_UseEnumNumbers = b.UseEnumNumbers + x.xxx_hidden_IncludeDefaults = b.IncludeDefaults return m0 } type TextOutputOptions struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -915,13 +833,13 @@ func (x *TextOutputOptions) ProtoReflect() protoreflect.Message { func (x *TextOutputOptions) GetIncludeUnrecognized() bool { if x != nil { - return x.IncludeUnrecognized + return x.xxx_hidden_IncludeUnrecognized } return false } func (x *TextOutputOptions) SetIncludeUnrecognized(v bool) { - x.IncludeUnrecognized = v + x.xxx_hidden_IncludeUnrecognized = v } type TextOutputOptions_builder struct { @@ -937,22 +855,16 @@ func (b0 TextOutputOptions_builder) Build() *TextOutputOptions { m0 := &TextOutputOptions{} b, x := &b0, m0 _, _ = b, x - x.IncludeUnrecognized = b.IncludeUnrecognized + x.xxx_hidden_IncludeUnrecognized = b.IncludeUnrecognized return m0 } type ConvertMessageResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 - // branch. If the request did not include any version, this is the latest - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` + xxx_hidden_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() { @@ -982,27 +894,27 @@ func (x *ConvertMessageResponse) ProtoReflect() protoreflect.Message { func (x *ConvertMessageResponse) GetCommit() string { if x != nil { - return x.Commit + return x.xxx_hidden_Commit } return "" } func (x *ConvertMessageResponse) GetOutputData() []byte { if x != nil { - return x.OutputData + return x.xxx_hidden_OutputData } return nil } func (x *ConvertMessageResponse) SetCommit(v string) { - x.Commit = v + x.xxx_hidden_Commit = v } func (x *ConvertMessageResponse) SetOutputData(v []byte) { if v == nil { v = []byte{} } - x.OutputData = v + x.xxx_hidden_OutputData = v } type ConvertMessageResponse_builder struct { @@ -1022,8 +934,8 @@ func (b0 ConvertMessageResponse_builder) Build() *ConvertMessageResponse { m0 := &ConvertMessageResponse{} b, x := &b0, m0 _, _ = b, x - x.Commit = b.Commit - x.OutputData = b.OutputData + x.xxx_hidden_Commit = b.Commit + x.xxx_hidden_OutputData = b.OutputData return m0 } @@ -1191,9 +1103,9 @@ func file_buf_alpha_registry_v1alpha1_schema_proto_init() { return } file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[2].OneofWrappers = []any{ - (*ConvertMessageRequest_OutputBinary)(nil), - (*ConvertMessageRequest_OutputJson)(nil), - (*ConvertMessageRequest_OutputText)(nil), + (*convertMessageRequest_OutputBinary)(nil), + (*convertMessageRequest_OutputJson)(nil), + (*convertMessageRequest_OutputText)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/schema_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/schema_protoopaque.pb.go deleted file mode 100644 index e8dfe06ea8..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/schema_protoopaque.pb.go +++ /dev/null @@ -1,1131 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/schema.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Format int32 - -const ( - Format_FORMAT_UNSPECIFIED Format = 0 - Format_FORMAT_BINARY Format = 1 - Format_FORMAT_JSON Format = 2 - Format_FORMAT_TEXT Format = 3 -) - -// Enum value maps for Format. -var ( - Format_name = map[int32]string{ - 0: "FORMAT_UNSPECIFIED", - 1: "FORMAT_BINARY", - 2: "FORMAT_JSON", - 3: "FORMAT_TEXT", - } - Format_value = map[string]int32{ - "FORMAT_UNSPECIFIED": 0, - "FORMAT_BINARY": 1, - "FORMAT_JSON": 2, - "FORMAT_TEXT": 3, - } -) - -func (x Format) Enum() *Format { - p := new(Format) - *p = x - return p -} - -func (x Format) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Format) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_schema_proto_enumTypes[0].Descriptor() -} - -func (Format) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_schema_proto_enumTypes[0] -} - -func (x Format) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type GetSchemaRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_Types []string `protobuf:"bytes,4,rep,name=types,proto3" json:"types,omitempty"` - xxx_hidden_IfNotCommit string `protobuf:"bytes,5,opt,name=if_not_commit,json=ifNotCommit,proto3" json:"if_not_commit,omitempty"` - xxx_hidden_ExcludeCustomOptions bool `protobuf:"varint,6,opt,name=exclude_custom_options,json=excludeCustomOptions,proto3" json:"exclude_custom_options,omitempty"` - xxx_hidden_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() { - *x = GetSchemaRequest{} - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSchemaRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSchemaRequest) ProtoMessage() {} - -func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetSchemaRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *GetSchemaRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *GetSchemaRequest) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *GetSchemaRequest) GetTypes() []string { - if x != nil { - return x.xxx_hidden_Types - } - return nil -} - -func (x *GetSchemaRequest) GetIfNotCommit() string { - if x != nil { - return x.xxx_hidden_IfNotCommit - } - return "" -} - -func (x *GetSchemaRequest) GetExcludeCustomOptions() bool { - if x != nil { - return x.xxx_hidden_ExcludeCustomOptions - } - return false -} - -func (x *GetSchemaRequest) GetExcludeKnownExtensions() bool { - if x != nil { - return x.xxx_hidden_ExcludeKnownExtensions - } - return false -} - -func (x *GetSchemaRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *GetSchemaRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *GetSchemaRequest) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *GetSchemaRequest) SetTypes(v []string) { - x.xxx_hidden_Types = v -} - -func (x *GetSchemaRequest) SetIfNotCommit(v string) { - x.xxx_hidden_IfNotCommit = v -} - -func (x *GetSchemaRequest) SetExcludeCustomOptions(v bool) { - x.xxx_hidden_ExcludeCustomOptions = v -} - -func (x *GetSchemaRequest) SetExcludeKnownExtensions(v bool) { - x.xxx_hidden_ExcludeKnownExtensions = v -} - -type GetSchemaRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the repo that contains the schema to retrieve (a user name or - // organization name). - Owner string - // The name of the repo that contains the schema to retrieve. - Repository string - // Optional version of the repo. If unspecified, defaults to latest version on - // the repo's "main" branch. - Version string - // Zero or more types names. The names may refer to messages, enums, services, - // methods, or extensions. All names must be fully-qualified. If any name - // is unknown, the request will fail and no schema will be returned. - // - // If no names are provided, the full schema for the module is returned. - // Otherwise, the resulting schema contains only the named elements and all of - // their dependencies. This is enough information for the caller to construct - // a dynamic message for any requested message types or to dynamically invoke - // an RPC for any requested methods or services. - Types []string - // If present, this is a commit that the client already has cached. So if the - // given module version resolves to this same commit, the server should not - // send back any descriptors since the client already has them. - // - // This allows a client to efficiently poll for updates: after the initial RPC - // to get a schema, the client can cache the descriptors and the resolved - // commit. It then includes that commit in subsequent requests in this field, - // and the server will only reply with a schema (and new commit) if/when the - // resolved commit changes. - IfNotCommit string - // If true, the returned schema will not include extension definitions for custom - // options that appear on schema elements. When filtering the schema based on the - // given element names, options on all encountered elements are usually examined - // as well. But that is not the case if excluding custom options. - // - // This flag is ignored if element_names is empty as the entire schema is always - // returned in that case. - ExcludeCustomOptions bool - // If true, the returned schema will not include known extensions for extendable - // messages for schema elements. If exclude_custom_options is true, such extensions - // may still be returned if the applicable descriptor options type is part of the - // requested schema. - // - // This flag is ignored if element_names is empty as the entire schema is always - // returned in that case. - ExcludeKnownExtensions bool -} - -func (b0 GetSchemaRequest_builder) Build() *GetSchemaRequest { - m0 := &GetSchemaRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Version = b.Version - x.xxx_hidden_Types = b.Types - x.xxx_hidden_IfNotCommit = b.IfNotCommit - x.xxx_hidden_ExcludeCustomOptions = b.ExcludeCustomOptions - x.xxx_hidden_ExcludeKnownExtensions = b.ExcludeKnownExtensions - return m0 -} - -type GetSchemaResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` - xxx_hidden_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() { - *x = GetSchemaResponse{} - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetSchemaResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSchemaResponse) ProtoMessage() {} - -func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetSchemaResponse) GetCommit() string { - if x != nil { - return x.xxx_hidden_Commit - } - return "" -} - -func (x *GetSchemaResponse) GetSchemaFiles() *descriptorpb.FileDescriptorSet { - if x != nil { - return x.xxx_hidden_SchemaFiles - } - return nil -} - -func (x *GetSchemaResponse) SetCommit(v string) { - x.xxx_hidden_Commit = v -} - -func (x *GetSchemaResponse) SetSchemaFiles(v *descriptorpb.FileDescriptorSet) { - x.xxx_hidden_SchemaFiles = v -} - -func (x *GetSchemaResponse) HasSchemaFiles() bool { - if x == nil { - return false - } - return x.xxx_hidden_SchemaFiles != nil -} - -func (x *GetSchemaResponse) ClearSchemaFiles() { - x.xxx_hidden_SchemaFiles = nil -} - -type GetSchemaResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 - // branch. If the request did not include any version, this is the latest - // version for the module's main branch. - Commit string - // The schema, which is a set of file descriptors that include the requested elements - // and their dependencies. - SchemaFiles *descriptorpb.FileDescriptorSet -} - -func (b0 GetSchemaResponse_builder) Build() *GetSchemaResponse { - m0 := &GetSchemaResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Commit = b.Commit - x.xxx_hidden_SchemaFiles = b.SchemaFiles - return m0 -} - -type ConvertMessageRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - xxx_hidden_Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - xxx_hidden_MessageName string `protobuf:"bytes,4,opt,name=message_name,json=messageName,proto3" json:"message_name,omitempty"` - xxx_hidden_InputFormat Format `protobuf:"varint,5,opt,name=input_format,json=inputFormat,proto3,enum=buf.alpha.registry.v1alpha1.Format" json:"input_format,omitempty"` - xxx_hidden_InputData []byte `protobuf:"bytes,6,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` - xxx_hidden_DiscardUnknown bool `protobuf:"varint,7,opt,name=discard_unknown,json=discardUnknown,proto3" json:"discard_unknown,omitempty"` - xxx_hidden_OutputFormat isConvertMessageRequest_OutputFormat `protobuf_oneof:"output_format"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConvertMessageRequest) Reset() { - *x = ConvertMessageRequest{} - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConvertMessageRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConvertMessageRequest) ProtoMessage() {} - -func (x *ConvertMessageRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ConvertMessageRequest) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *ConvertMessageRequest) GetRepository() string { - if x != nil { - return x.xxx_hidden_Repository - } - return "" -} - -func (x *ConvertMessageRequest) GetVersion() string { - if x != nil { - return x.xxx_hidden_Version - } - return "" -} - -func (x *ConvertMessageRequest) GetMessageName() string { - if x != nil { - return x.xxx_hidden_MessageName - } - return "" -} - -func (x *ConvertMessageRequest) GetInputFormat() Format { - if x != nil { - return x.xxx_hidden_InputFormat - } - return Format_FORMAT_UNSPECIFIED -} - -func (x *ConvertMessageRequest) GetInputData() []byte { - if x != nil { - return x.xxx_hidden_InputData - } - return nil -} - -func (x *ConvertMessageRequest) GetDiscardUnknown() bool { - if x != nil { - return x.xxx_hidden_DiscardUnknown - } - return false -} - -func (x *ConvertMessageRequest) GetOutputBinary() *BinaryOutputOptions { - if x != nil { - if x, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputBinary); ok { - return x.OutputBinary - } - } - return nil -} - -func (x *ConvertMessageRequest) GetOutputJson() *JSONOutputOptions { - if x != nil { - if x, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputJson); ok { - return x.OutputJson - } - } - return nil -} - -func (x *ConvertMessageRequest) GetOutputText() *TextOutputOptions { - if x != nil { - if x, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputText); ok { - return x.OutputText - } - } - return nil -} - -func (x *ConvertMessageRequest) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *ConvertMessageRequest) SetRepository(v string) { - x.xxx_hidden_Repository = v -} - -func (x *ConvertMessageRequest) SetVersion(v string) { - x.xxx_hidden_Version = v -} - -func (x *ConvertMessageRequest) SetMessageName(v string) { - x.xxx_hidden_MessageName = v -} - -func (x *ConvertMessageRequest) SetInputFormat(v Format) { - x.xxx_hidden_InputFormat = v -} - -func (x *ConvertMessageRequest) SetInputData(v []byte) { - if v == nil { - v = []byte{} - } - x.xxx_hidden_InputData = v -} - -func (x *ConvertMessageRequest) SetDiscardUnknown(v bool) { - x.xxx_hidden_DiscardUnknown = v -} - -func (x *ConvertMessageRequest) SetOutputBinary(v *BinaryOutputOptions) { - if v == nil { - x.xxx_hidden_OutputFormat = nil - return - } - x.xxx_hidden_OutputFormat = &convertMessageRequest_OutputBinary{v} -} - -func (x *ConvertMessageRequest) SetOutputJson(v *JSONOutputOptions) { - if v == nil { - x.xxx_hidden_OutputFormat = nil - return - } - x.xxx_hidden_OutputFormat = &convertMessageRequest_OutputJson{v} -} - -func (x *ConvertMessageRequest) SetOutputText(v *TextOutputOptions) { - if v == nil { - x.xxx_hidden_OutputFormat = nil - return - } - x.xxx_hidden_OutputFormat = &convertMessageRequest_OutputText{v} -} - -func (x *ConvertMessageRequest) HasOutputFormat() bool { - if x == nil { - return false - } - return x.xxx_hidden_OutputFormat != nil -} - -func (x *ConvertMessageRequest) HasOutputBinary() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputBinary) - return ok -} - -func (x *ConvertMessageRequest) HasOutputJson() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputJson) - return ok -} - -func (x *ConvertMessageRequest) HasOutputText() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputText) - return ok -} - -func (x *ConvertMessageRequest) ClearOutputFormat() { - x.xxx_hidden_OutputFormat = nil -} - -func (x *ConvertMessageRequest) ClearOutputBinary() { - if _, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputBinary); ok { - x.xxx_hidden_OutputFormat = nil - } -} - -func (x *ConvertMessageRequest) ClearOutputJson() { - if _, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputJson); ok { - x.xxx_hidden_OutputFormat = nil - } -} - -func (x *ConvertMessageRequest) ClearOutputText() { - if _, ok := x.xxx_hidden_OutputFormat.(*convertMessageRequest_OutputText); ok { - x.xxx_hidden_OutputFormat = nil - } -} - -const ConvertMessageRequest_OutputFormat_not_set_case case_ConvertMessageRequest_OutputFormat = 0 -const ConvertMessageRequest_OutputBinary_case case_ConvertMessageRequest_OutputFormat = 8 -const ConvertMessageRequest_OutputJson_case case_ConvertMessageRequest_OutputFormat = 9 -const ConvertMessageRequest_OutputText_case case_ConvertMessageRequest_OutputFormat = 10 - -func (x *ConvertMessageRequest) WhichOutputFormat() case_ConvertMessageRequest_OutputFormat { - if x == nil { - return ConvertMessageRequest_OutputFormat_not_set_case - } - switch x.xxx_hidden_OutputFormat.(type) { - case *convertMessageRequest_OutputBinary: - return ConvertMessageRequest_OutputBinary_case - case *convertMessageRequest_OutputJson: - return ConvertMessageRequest_OutputJson_case - case *convertMessageRequest_OutputText: - return ConvertMessageRequest_OutputText_case - default: - return ConvertMessageRequest_OutputFormat_not_set_case - } -} - -type ConvertMessageRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the repo that contains the schema to retrieve (a user name or - // organization name). - Owner string - // The name of the repo that contains the schema to retrieve. - Repository string - // Optional version of the repo. This can be a tag or branch name or a commit. - // If unspecified, defaults to latest version on the repo's "main" branch. - Version string - // The fully-qualified name of the message. Required. - MessageName string - // The format of the input data. Required. - InputFormat Format - // The input data that is to be converted. Required. This must be - // a valid encoding of type indicated by message_name in the format - // indicated by input_format. - InputData []byte - // If true, any unresolvable fields in the input are discarded. For - // formats other than FORMAT_BINARY, this means that the operation - // will fail if the input contains unrecognized field names. For - // FORMAT_BINARY, unrecognized fields can be retained and possibly - // included in the reformatted output (depending on the requested - // output format). - DiscardUnknown bool - // Fields of oneof xxx_hidden_OutputFormat: - OutputBinary *BinaryOutputOptions - OutputJson *JSONOutputOptions - OutputText *TextOutputOptions - // -- end of xxx_hidden_OutputFormat -} - -func (b0 ConvertMessageRequest_builder) Build() *ConvertMessageRequest { - m0 := &ConvertMessageRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Repository = b.Repository - x.xxx_hidden_Version = b.Version - x.xxx_hidden_MessageName = b.MessageName - x.xxx_hidden_InputFormat = b.InputFormat - x.xxx_hidden_InputData = b.InputData - x.xxx_hidden_DiscardUnknown = b.DiscardUnknown - if b.OutputBinary != nil { - x.xxx_hidden_OutputFormat = &convertMessageRequest_OutputBinary{b.OutputBinary} - } - if b.OutputJson != nil { - x.xxx_hidden_OutputFormat = &convertMessageRequest_OutputJson{b.OutputJson} - } - if b.OutputText != nil { - x.xxx_hidden_OutputFormat = &convertMessageRequest_OutputText{b.OutputText} - } - return m0 -} - -type case_ConvertMessageRequest_OutputFormat protoreflect.FieldNumber - -func (x case_ConvertMessageRequest_OutputFormat) String() string { - md := file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[2].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isConvertMessageRequest_OutputFormat interface { - isConvertMessageRequest_OutputFormat() -} - -type convertMessageRequest_OutputBinary struct { - OutputBinary *BinaryOutputOptions `protobuf:"bytes,8,opt,name=output_binary,json=outputBinary,proto3,oneof"` -} - -type convertMessageRequest_OutputJson struct { - OutputJson *JSONOutputOptions `protobuf:"bytes,9,opt,name=output_json,json=outputJson,proto3,oneof"` -} - -type convertMessageRequest_OutputText struct { - OutputText *TextOutputOptions `protobuf:"bytes,10,opt,name=output_text,json=outputText,proto3,oneof"` -} - -func (*convertMessageRequest_OutputBinary) isConvertMessageRequest_OutputFormat() {} - -func (*convertMessageRequest_OutputJson) isConvertMessageRequest_OutputFormat() {} - -func (*convertMessageRequest_OutputText) isConvertMessageRequest_OutputFormat() {} - -type BinaryOutputOptions struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *BinaryOutputOptions) Reset() { - *x = BinaryOutputOptions{} - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *BinaryOutputOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BinaryOutputOptions) ProtoMessage() {} - -func (x *BinaryOutputOptions) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type BinaryOutputOptions_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 BinaryOutputOptions_builder) Build() *BinaryOutputOptions { - m0 := &BinaryOutputOptions{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type JSONOutputOptions struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_UseEnumNumbers bool `protobuf:"varint,3,opt,name=use_enum_numbers,json=useEnumNumbers,proto3" json:"use_enum_numbers,omitempty"` - xxx_hidden_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() { - *x = JSONOutputOptions{} - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *JSONOutputOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*JSONOutputOptions) ProtoMessage() {} - -func (x *JSONOutputOptions) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *JSONOutputOptions) GetUseEnumNumbers() bool { - if x != nil { - return x.xxx_hidden_UseEnumNumbers - } - return false -} - -func (x *JSONOutputOptions) GetIncludeDefaults() bool { - if x != nil { - return x.xxx_hidden_IncludeDefaults - } - return false -} - -func (x *JSONOutputOptions) SetUseEnumNumbers(v bool) { - x.xxx_hidden_UseEnumNumbers = v -} - -func (x *JSONOutputOptions) SetIncludeDefaults(v bool) { - x.xxx_hidden_IncludeDefaults = v -} - -type JSONOutputOptions_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 - // Includes fields that have their default values. This applies only to fields - // defined in proto3 syntax that have no explicit "optional" keyword. Other - // optional fields will be included if present in the input data. - IncludeDefaults bool -} - -func (b0 JSONOutputOptions_builder) Build() *JSONOutputOptions { - m0 := &JSONOutputOptions{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_UseEnumNumbers = b.UseEnumNumbers - x.xxx_hidden_IncludeDefaults = b.IncludeDefaults - return m0 -} - -type TextOutputOptions struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = TextOutputOptions{} - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TextOutputOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TextOutputOptions) ProtoMessage() {} - -func (x *TextOutputOptions) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *TextOutputOptions) GetIncludeUnrecognized() bool { - if x != nil { - return x.xxx_hidden_IncludeUnrecognized - } - return false -} - -func (x *TextOutputOptions) SetIncludeUnrecognized(v bool) { - x.xxx_hidden_IncludeUnrecognized = v -} - -type TextOutputOptions_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 -} - -func (b0 TextOutputOptions_builder) Build() *TextOutputOptions { - m0 := &TextOutputOptions{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_IncludeUnrecognized = b.IncludeUnrecognized - return m0 -} - -type ConvertMessageResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` - xxx_hidden_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() { - *x = ConvertMessageResponse{} - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConvertMessageResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConvertMessageResponse) ProtoMessage() {} - -func (x *ConvertMessageResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ConvertMessageResponse) GetCommit() string { - if x != nil { - return x.xxx_hidden_Commit - } - return "" -} - -func (x *ConvertMessageResponse) GetOutputData() []byte { - if x != nil { - return x.xxx_hidden_OutputData - } - return nil -} - -func (x *ConvertMessageResponse) SetCommit(v string) { - x.xxx_hidden_Commit = v -} - -func (x *ConvertMessageResponse) SetOutputData(v []byte) { - if v == nil { - v = []byte{} - } - x.xxx_hidden_OutputData = v -} - -type ConvertMessageResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 - // branch. If the request did not include any version, this is the latest - // version for the module's main branch. - Commit string - // The reformatted data. - OutputData []byte -} - -func (b0 ConvertMessageResponse_builder) Build() *ConvertMessageResponse { - m0 := &ConvertMessageResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Commit = b.Commit - x.xxx_hidden_OutputData = b.OutputData - return m0 -} - -var File_buf_alpha_registry_v1alpha1_schema_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_schema_proto_rawDesc = []byte{ - 0x0a, 0x28, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x02, 0x0a, 0x10, 0x47, 0x65, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, - 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, - 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x63, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x66, 0x4e, - 0x6f, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x65, 0x78, 0x63, 0x6c, - 0x75, 0x64, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, - 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, - 0x0a, 0x18, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, - 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x16, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x72, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x45, 0x0a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, - 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, - 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x52, - 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x22, 0xaa, 0x04, 0x0a, - 0x15, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x0c, 0x69, 0x6e, 0x70, - 0x75, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x23, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x46, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x52, 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, - 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, - 0x6f, 0x77, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x61, - 0x72, 0x64, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x12, 0x57, 0x0a, 0x0d, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x5f, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x30, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, - 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x69, 0x6e, 0x61, - 0x72, 0x79, 0x12, 0x51, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6a, 0x73, 0x6f, - 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, - 0x74, 0x4a, 0x73, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, - 0x74, 0x65, 0x78, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x4f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x75, - 0x74, 0x70, 0x75, 0x74, 0x54, 0x65, 0x78, 0x74, 0x42, 0x0f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x42, 0x69, 0x6e, - 0x61, 0x72, 0x79, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x68, 0x0a, 0x11, 0x4a, 0x53, 0x4f, 0x4e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x5f, 0x65, 0x6e, 0x75, - 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0e, 0x75, 0x73, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, - 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, - 0x64, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x46, 0x0a, 0x11, 0x54, 0x65, - 0x78, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x31, 0x0a, 0x14, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x75, 0x6e, 0x72, 0x65, 0x63, - 0x6f, 0x67, 0x6e, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, - 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x55, 0x6e, 0x72, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x7a, - 0x65, 0x64, 0x22, 0x51, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, - 0x74, 0x44, 0x61, 0x74, 0x61, 0x2a, 0x55, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, - 0x16, 0x0a, 0x12, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x4f, 0x52, 0x4d, 0x41, - 0x54, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x46, 0x4f, - 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x46, - 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x03, 0x32, 0xfb, 0x01, 0x0a, - 0x0d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, - 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x2d, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, - 0x79, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x98, 0x02, 0x0a, 0x1f, 0x63, - 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0b, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, - 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, - 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, - 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, - 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_schema_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_buf_alpha_registry_v1alpha1_schema_proto_goTypes = []any{ - (Format)(0), // 0: buf.alpha.registry.v1alpha1.Format - (*GetSchemaRequest)(nil), // 1: buf.alpha.registry.v1alpha1.GetSchemaRequest - (*GetSchemaResponse)(nil), // 2: buf.alpha.registry.v1alpha1.GetSchemaResponse - (*ConvertMessageRequest)(nil), // 3: buf.alpha.registry.v1alpha1.ConvertMessageRequest - (*BinaryOutputOptions)(nil), // 4: buf.alpha.registry.v1alpha1.BinaryOutputOptions - (*JSONOutputOptions)(nil), // 5: buf.alpha.registry.v1alpha1.JSONOutputOptions - (*TextOutputOptions)(nil), // 6: buf.alpha.registry.v1alpha1.TextOutputOptions - (*ConvertMessageResponse)(nil), // 7: buf.alpha.registry.v1alpha1.ConvertMessageResponse - (*descriptorpb.FileDescriptorSet)(nil), // 8: google.protobuf.FileDescriptorSet -} -var file_buf_alpha_registry_v1alpha1_schema_proto_depIdxs = []int32{ - 8, // 0: buf.alpha.registry.v1alpha1.GetSchemaResponse.schema_files:type_name -> google.protobuf.FileDescriptorSet - 0, // 1: buf.alpha.registry.v1alpha1.ConvertMessageRequest.input_format:type_name -> buf.alpha.registry.v1alpha1.Format - 4, // 2: buf.alpha.registry.v1alpha1.ConvertMessageRequest.output_binary:type_name -> buf.alpha.registry.v1alpha1.BinaryOutputOptions - 5, // 3: buf.alpha.registry.v1alpha1.ConvertMessageRequest.output_json:type_name -> buf.alpha.registry.v1alpha1.JSONOutputOptions - 6, // 4: buf.alpha.registry.v1alpha1.ConvertMessageRequest.output_text:type_name -> buf.alpha.registry.v1alpha1.TextOutputOptions - 1, // 5: buf.alpha.registry.v1alpha1.SchemaService.GetSchema:input_type -> buf.alpha.registry.v1alpha1.GetSchemaRequest - 3, // 6: buf.alpha.registry.v1alpha1.SchemaService.ConvertMessage:input_type -> buf.alpha.registry.v1alpha1.ConvertMessageRequest - 2, // 7: buf.alpha.registry.v1alpha1.SchemaService.GetSchema:output_type -> buf.alpha.registry.v1alpha1.GetSchemaResponse - 7, // 8: buf.alpha.registry.v1alpha1.SchemaService.ConvertMessage:output_type -> buf.alpha.registry.v1alpha1.ConvertMessageResponse - 7, // [7:9] is the sub-list for method output_type - 5, // [5:7] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_schema_proto_init() } -func file_buf_alpha_registry_v1alpha1_schema_proto_init() { - if File_buf_alpha_registry_v1alpha1_schema_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes[2].OneofWrappers = []any{ - (*convertMessageRequest_OutputBinary)(nil), - (*convertMessageRequest_OutputJson)(nil), - (*convertMessageRequest_OutputText)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_schema_proto_rawDesc, - NumEnums: 1, - NumMessages: 7, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_schema_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_schema_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_schema_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_schema_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_schema_proto = out.File - file_buf_alpha_registry_v1alpha1_schema_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_schema_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_schema_proto_depIdxs = nil -} 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 df8432ec4d..f9e948997f 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/scim_token.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -37,12 +35,12 @@ const ( ) type SCIMToken struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + xxx_hidden_ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SCIMToken) Reset() { @@ -72,57 +70,57 @@ func (x *SCIMToken) ProtoReflect() protoreflect.Message { func (x *SCIMToken) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *SCIMToken) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *SCIMToken) GetExpireTime() *timestamppb.Timestamp { if x != nil { - return x.ExpireTime + return x.xxx_hidden_ExpireTime } return nil } func (x *SCIMToken) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *SCIMToken) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *SCIMToken) SetExpireTime(v *timestamppb.Timestamp) { - x.ExpireTime = v + x.xxx_hidden_ExpireTime = v } func (x *SCIMToken) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *SCIMToken) HasExpireTime() bool { if x == nil { return false } - return x.ExpireTime != nil + return x.xxx_hidden_ExpireTime != nil } func (x *SCIMToken) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } func (x *SCIMToken) ClearExpireTime() { - x.ExpireTime = nil + x.xxx_hidden_ExpireTime = nil } type SCIMToken_builder struct { @@ -137,19 +135,17 @@ func (b0 SCIMToken_builder) Build() *SCIMToken { m0 := &SCIMToken{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.CreateTime = b.CreateTime - x.ExpireTime = b.ExpireTime + x.xxx_hidden_Id = b.Id + x.xxx_hidden_CreateTime = b.CreateTime + x.xxx_hidden_ExpireTime = b.ExpireTime return m0 } type CreateSCIMTokenRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -179,24 +175,24 @@ func (x *CreateSCIMTokenRequest) ProtoReflect() protoreflect.Message { func (x *CreateSCIMTokenRequest) GetExpireTime() *timestamppb.Timestamp { if x != nil { - return x.ExpireTime + return x.xxx_hidden_ExpireTime } return nil } func (x *CreateSCIMTokenRequest) SetExpireTime(v *timestamppb.Timestamp) { - x.ExpireTime = v + x.xxx_hidden_ExpireTime = v } func (x *CreateSCIMTokenRequest) HasExpireTime() bool { if x == nil { return false } - return x.ExpireTime != nil + return x.xxx_hidden_ExpireTime != nil } func (x *CreateSCIMTokenRequest) ClearExpireTime() { - x.ExpireTime = nil + x.xxx_hidden_ExpireTime = nil } type CreateSCIMTokenRequest_builder struct { @@ -211,16 +207,15 @@ func (b0 CreateSCIMTokenRequest_builder) Build() *CreateSCIMTokenRequest { m0 := &CreateSCIMTokenRequest{} b, x := &b0, m0 _, _ = b, x - x.ExpireTime = b.ExpireTime + x.xxx_hidden_ExpireTime = b.ExpireTime return m0 } type CreateSCIMTokenResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The plaintext token to use for authentication. - Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSCIMTokenResponse) Reset() { @@ -250,13 +245,13 @@ func (x *CreateSCIMTokenResponse) ProtoReflect() protoreflect.Message { func (x *CreateSCIMTokenResponse) GetToken() string { if x != nil { - return x.Token + return x.xxx_hidden_Token } return "" } func (x *CreateSCIMTokenResponse) SetToken(v string) { - x.Token = v + x.xxx_hidden_Token = v } type CreateSCIMTokenResponse_builder struct { @@ -270,18 +265,17 @@ func (b0 CreateSCIMTokenResponse_builder) Build() *CreateSCIMTokenResponse { m0 := &CreateSCIMTokenResponse{} b, x := &b0, m0 _, _ = b, x - x.Token = b.Token + x.xxx_hidden_Token = b.Token return m0 } type ListSCIMTokensRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListSCIMTokensRequest) Reset() { @@ -311,35 +305,35 @@ func (x *ListSCIMTokensRequest) ProtoReflect() protoreflect.Message { func (x *ListSCIMTokensRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListSCIMTokensRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListSCIMTokensRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListSCIMTokensRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListSCIMTokensRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListSCIMTokensRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListSCIMTokensRequest_builder struct { @@ -355,19 +349,18 @@ func (b0 ListSCIMTokensRequest_builder) Build() *ListSCIMTokensRequest { m0 := &ListSCIMTokensRequest{} b, x := &b0, m0 _, _ = b, x - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListSCIMTokensResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Tokens *[]*SCIMToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` + xxx_hidden_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() { @@ -397,24 +390,26 @@ func (x *ListSCIMTokensResponse) ProtoReflect() protoreflect.Message { func (x *ListSCIMTokensResponse) GetTokens() []*SCIMToken { if x != nil { - return x.Tokens + if x.xxx_hidden_Tokens != nil { + return *x.xxx_hidden_Tokens + } } return nil } func (x *ListSCIMTokensResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListSCIMTokensResponse) SetTokens(v []*SCIMToken) { - x.Tokens = v + x.xxx_hidden_Tokens = &v } func (x *ListSCIMTokensResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListSCIMTokensResponse_builder struct { @@ -429,16 +424,16 @@ func (b0 ListSCIMTokensResponse_builder) Build() *ListSCIMTokensResponse { m0 := &ListSCIMTokensResponse{} b, x := &b0, m0 _, _ = b, x - x.Tokens = b.Tokens - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Tokens = &b.Tokens + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type DeleteSCIMTokenRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteSCIMTokenRequest) Reset() { @@ -468,13 +463,13 @@ func (x *DeleteSCIMTokenRequest) ProtoReflect() protoreflect.Message { func (x *DeleteSCIMTokenRequest) GetTokenId() string { if x != nil { - return x.TokenId + return x.xxx_hidden_TokenId } return "" } func (x *DeleteSCIMTokenRequest) SetTokenId(v string) { - x.TokenId = v + x.xxx_hidden_TokenId = v } type DeleteSCIMTokenRequest_builder struct { @@ -487,12 +482,12 @@ func (b0 DeleteSCIMTokenRequest_builder) Build() *DeleteSCIMTokenRequest { m0 := &DeleteSCIMTokenRequest{} b, x := &b0, m0 _, _ = b, x - x.TokenId = b.TokenId + x.xxx_hidden_TokenId = b.TokenId return m0 } type DeleteSCIMTokenResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/scim_token_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/scim_token_protoopaque.pb.go deleted file mode 100644 index 2e393b28a7..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/scim_token_protoopaque.pb.go +++ /dev/null @@ -1,680 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/scim_token.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type SCIMToken struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - xxx_hidden_ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SCIMToken) Reset() { - *x = SCIMToken{} - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SCIMToken) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SCIMToken) ProtoMessage() {} - -func (x *SCIMToken) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SCIMToken) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *SCIMToken) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *SCIMToken) GetExpireTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_ExpireTime - } - return nil -} - -func (x *SCIMToken) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *SCIMToken) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *SCIMToken) SetExpireTime(v *timestamppb.Timestamp) { - x.xxx_hidden_ExpireTime = v -} - -func (x *SCIMToken) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *SCIMToken) HasExpireTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_ExpireTime != nil -} - -func (x *SCIMToken) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -func (x *SCIMToken) ClearExpireTime() { - x.xxx_hidden_ExpireTime = nil -} - -type SCIMToken_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string - CreateTime *timestamppb.Timestamp - ExpireTime *timestamppb.Timestamp -} - -func (b0 SCIMToken_builder) Build() *SCIMToken { - m0 := &SCIMToken{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_CreateTime = b.CreateTime - x.xxx_hidden_ExpireTime = b.ExpireTime - return m0 -} - -type CreateSCIMTokenRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = CreateSCIMTokenRequest{} - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateSCIMTokenRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateSCIMTokenRequest) ProtoMessage() {} - -func (x *CreateSCIMTokenRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateSCIMTokenRequest) GetExpireTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_ExpireTime - } - return nil -} - -func (x *CreateSCIMTokenRequest) SetExpireTime(v *timestamppb.Timestamp) { - x.xxx_hidden_ExpireTime = v -} - -func (x *CreateSCIMTokenRequest) HasExpireTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_ExpireTime != nil -} - -func (x *CreateSCIMTokenRequest) ClearExpireTime() { - x.xxx_hidden_ExpireTime = nil -} - -type CreateSCIMTokenRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The time until which the token should be valid. - // Must be in the future. May be null for no expiry. - ExpireTime *timestamppb.Timestamp -} - -func (b0 CreateSCIMTokenRequest_builder) Build() *CreateSCIMTokenRequest { - m0 := &CreateSCIMTokenRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_ExpireTime = b.ExpireTime - return m0 -} - -type CreateSCIMTokenResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateSCIMTokenResponse) Reset() { - *x = CreateSCIMTokenResponse{} - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateSCIMTokenResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateSCIMTokenResponse) ProtoMessage() {} - -func (x *CreateSCIMTokenResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateSCIMTokenResponse) GetToken() string { - if x != nil { - return x.xxx_hidden_Token - } - return "" -} - -func (x *CreateSCIMTokenResponse) SetToken(v string) { - x.xxx_hidden_Token = v -} - -type CreateSCIMTokenResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The plaintext token to use for authentication. - Token string -} - -func (b0 CreateSCIMTokenResponse_builder) Build() *CreateSCIMTokenResponse { - m0 := &CreateSCIMTokenResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Token = b.Token - return m0 -} - -type ListSCIMTokensRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListSCIMTokensRequest) Reset() { - *x = ListSCIMTokensRequest{} - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListSCIMTokensRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListSCIMTokensRequest) ProtoMessage() {} - -func (x *ListSCIMTokensRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListSCIMTokensRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListSCIMTokensRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListSCIMTokensRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListSCIMTokensRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListSCIMTokensRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListSCIMTokensRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListSCIMTokensRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool -} - -func (b0 ListSCIMTokensRequest_builder) Build() *ListSCIMTokensRequest { - m0 := &ListSCIMTokensRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListSCIMTokensResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Tokens *[]*SCIMToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` - xxx_hidden_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() { - *x = ListSCIMTokensResponse{} - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListSCIMTokensResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListSCIMTokensResponse) ProtoMessage() {} - -func (x *ListSCIMTokensResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListSCIMTokensResponse) GetTokens() []*SCIMToken { - if x != nil { - if x.xxx_hidden_Tokens != nil { - return *x.xxx_hidden_Tokens - } - } - return nil -} - -func (x *ListSCIMTokensResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListSCIMTokensResponse) SetTokens(v []*SCIMToken) { - x.xxx_hidden_Tokens = &v -} - -func (x *ListSCIMTokensResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListSCIMTokensResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Tokens []*SCIMToken - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListSCIMTokensResponse_builder) Build() *ListSCIMTokensResponse { - m0 := &ListSCIMTokensResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Tokens = &b.Tokens - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type DeleteSCIMTokenRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteSCIMTokenRequest) Reset() { - *x = DeleteSCIMTokenRequest{} - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteSCIMTokenRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteSCIMTokenRequest) ProtoMessage() {} - -func (x *DeleteSCIMTokenRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeleteSCIMTokenRequest) GetTokenId() string { - if x != nil { - return x.xxx_hidden_TokenId - } - return "" -} - -func (x *DeleteSCIMTokenRequest) SetTokenId(v string) { - x.xxx_hidden_TokenId = v -} - -type DeleteSCIMTokenRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - TokenId string -} - -func (b0 DeleteSCIMTokenRequest_builder) Build() *DeleteSCIMTokenRequest { - m0 := &DeleteSCIMTokenRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_TokenId = b.TokenId - return m0 -} - -type DeleteSCIMTokenResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteSCIMTokenResponse) Reset() { - *x = DeleteSCIMTokenResponse{} - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteSCIMTokenResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteSCIMTokenResponse) ProtoMessage() {} - -func (x *DeleteSCIMTokenResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeleteSCIMTokenResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeleteSCIMTokenResponse_builder) Build() *DeleteSCIMTokenResponse { - m0 := &DeleteSCIMTokenResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -var File_buf_alpha_registry_v1alpha1_scim_token_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_scim_token_proto_rawDesc = []byte{ - 0x0a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x63, - 0x69, 0x6d, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, 0x01, 0x0a, - 0x09, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, - 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, - 0x54, 0x69, 0x6d, 0x65, 0x22, 0x55, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x43, - 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, - 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x2f, 0x0a, 0x17, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6d, 0x0a, 0x15, - 0x4c, 0x69, 0x73, 0x74, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, - 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, - 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x16, - 0x4c, 0x69, 0x73, 0x74, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x06, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x33, - 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x43, 0x49, - 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x94, - 0x03, 0x0a, 0x10, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x7c, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x43, 0x49, - 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x43, 0x49, 0x4d, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x7e, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x73, 0x12, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, - 0x01, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x43, 0x49, 0x4d, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x43, 0x49, 0x4d, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, - 0x43, 0x49, 0x4d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x03, 0x90, 0x02, 0x02, 0x42, 0x9b, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0e, 0x53, 0x63, 0x69, 0x6d, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, - 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, - 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, - 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, - 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, - 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_buf_alpha_registry_v1alpha1_scim_token_proto_goTypes = []any{ - (*SCIMToken)(nil), // 0: buf.alpha.registry.v1alpha1.SCIMToken - (*CreateSCIMTokenRequest)(nil), // 1: buf.alpha.registry.v1alpha1.CreateSCIMTokenRequest - (*CreateSCIMTokenResponse)(nil), // 2: buf.alpha.registry.v1alpha1.CreateSCIMTokenResponse - (*ListSCIMTokensRequest)(nil), // 3: buf.alpha.registry.v1alpha1.ListSCIMTokensRequest - (*ListSCIMTokensResponse)(nil), // 4: buf.alpha.registry.v1alpha1.ListSCIMTokensResponse - (*DeleteSCIMTokenRequest)(nil), // 5: buf.alpha.registry.v1alpha1.DeleteSCIMTokenRequest - (*DeleteSCIMTokenResponse)(nil), // 6: buf.alpha.registry.v1alpha1.DeleteSCIMTokenResponse - (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp -} -var file_buf_alpha_registry_v1alpha1_scim_token_proto_depIdxs = []int32{ - 7, // 0: buf.alpha.registry.v1alpha1.SCIMToken.create_time:type_name -> google.protobuf.Timestamp - 7, // 1: buf.alpha.registry.v1alpha1.SCIMToken.expire_time:type_name -> google.protobuf.Timestamp - 7, // 2: buf.alpha.registry.v1alpha1.CreateSCIMTokenRequest.expire_time:type_name -> google.protobuf.Timestamp - 0, // 3: buf.alpha.registry.v1alpha1.ListSCIMTokensResponse.tokens:type_name -> buf.alpha.registry.v1alpha1.SCIMToken - 1, // 4: buf.alpha.registry.v1alpha1.SCIMTokenService.CreateSCIMToken:input_type -> buf.alpha.registry.v1alpha1.CreateSCIMTokenRequest - 3, // 5: buf.alpha.registry.v1alpha1.SCIMTokenService.ListSCIMTokens:input_type -> buf.alpha.registry.v1alpha1.ListSCIMTokensRequest - 5, // 6: buf.alpha.registry.v1alpha1.SCIMTokenService.DeleteSCIMToken:input_type -> buf.alpha.registry.v1alpha1.DeleteSCIMTokenRequest - 2, // 7: buf.alpha.registry.v1alpha1.SCIMTokenService.CreateSCIMToken:output_type -> buf.alpha.registry.v1alpha1.CreateSCIMTokenResponse - 4, // 8: buf.alpha.registry.v1alpha1.SCIMTokenService.ListSCIMTokens:output_type -> buf.alpha.registry.v1alpha1.ListSCIMTokensResponse - 6, // 9: buf.alpha.registry.v1alpha1.SCIMTokenService.DeleteSCIMToken:output_type -> buf.alpha.registry.v1alpha1.DeleteSCIMTokenResponse - 7, // [7:10] is the sub-list for method output_type - 4, // [4:7] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_scim_token_proto_init() } -func file_buf_alpha_registry_v1alpha1_scim_token_proto_init() { - if File_buf_alpha_registry_v1alpha1_scim_token_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_scim_token_proto_rawDesc, - NumEnums: 0, - NumMessages: 7, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_scim_token_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_scim_token_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_scim_token_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_scim_token_proto = out.File - file_buf_alpha_registry_v1alpha1_scim_token_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_scim_token_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_scim_token_proto_depIdxs = nil -} 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 e596b7192e..69ce41f7d8 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/search.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -241,25 +239,18 @@ func (x SearchModuleContentFilter) Number() protoreflect.EnumNumber { } type RepositorySearchResult struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // The visibility of the repository. - Visibility Visibility `protobuf:"varint,4,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` - Deprecated bool `protobuf:"varint,5,opt,name=deprecated,proto3" json:"deprecated,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"` - // The verification status of the owner of the repository. - OwnerVerificationStatus VerificationStatus `protobuf:"varint,7,opt,name=owner_verification_status,json=ownerVerificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"owner_verification_status,omitempty"` - // The user configurable URL in the description of the repository. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Visibility Visibility `protobuf:"varint,4,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` + xxx_hidden_Deprecated bool `protobuf:"varint,5,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + xxx_hidden_LatestSpdxLicenseId string `protobuf:"bytes,6,opt,name=latest_spdx_license_id,json=latestSpdxLicenseId,proto3" json:"latest_spdx_license_id,omitempty"` + xxx_hidden_OwnerVerificationStatus VerificationStatus `protobuf:"varint,7,opt,name=owner_verification_status,json=ownerVerificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"owner_verification_status,omitempty"` + xxx_hidden_Url string `protobuf:"bytes,8,opt,name=url,proto3" json:"url,omitempty"` + xxx_hidden_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() { @@ -289,112 +280,112 @@ func (x *RepositorySearchResult) ProtoReflect() protoreflect.Message { func (x *RepositorySearchResult) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *RepositorySearchResult) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *RepositorySearchResult) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *RepositorySearchResult) GetVisibility() Visibility { if x != nil { - return x.Visibility + return x.xxx_hidden_Visibility } return Visibility_VISIBILITY_UNSPECIFIED } func (x *RepositorySearchResult) GetDeprecated() bool { if x != nil { - return x.Deprecated + return x.xxx_hidden_Deprecated } return false } func (x *RepositorySearchResult) GetLatestSpdxLicenseId() string { if x != nil { - return x.LatestSpdxLicenseId + return x.xxx_hidden_LatestSpdxLicenseId } return "" } func (x *RepositorySearchResult) GetOwnerVerificationStatus() VerificationStatus { if x != nil { - return x.OwnerVerificationStatus + return x.xxx_hidden_OwnerVerificationStatus } return VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED } func (x *RepositorySearchResult) GetUrl() string { if x != nil { - return x.Url + return x.xxx_hidden_Url } return "" } func (x *RepositorySearchResult) GetLatestCommitTime() *timestamppb.Timestamp { if x != nil { - return x.LatestCommitTime + return x.xxx_hidden_LatestCommitTime } return nil } func (x *RepositorySearchResult) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *RepositorySearchResult) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *RepositorySearchResult) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *RepositorySearchResult) SetVisibility(v Visibility) { - x.Visibility = v + x.xxx_hidden_Visibility = v } func (x *RepositorySearchResult) SetDeprecated(v bool) { - x.Deprecated = v + x.xxx_hidden_Deprecated = v } func (x *RepositorySearchResult) SetLatestSpdxLicenseId(v string) { - x.LatestSpdxLicenseId = v + x.xxx_hidden_LatestSpdxLicenseId = v } func (x *RepositorySearchResult) SetOwnerVerificationStatus(v VerificationStatus) { - x.OwnerVerificationStatus = v + x.xxx_hidden_OwnerVerificationStatus = v } func (x *RepositorySearchResult) SetUrl(v string) { - x.Url = v + x.xxx_hidden_Url = v } func (x *RepositorySearchResult) SetLatestCommitTime(v *timestamppb.Timestamp) { - x.LatestCommitTime = v + x.xxx_hidden_LatestCommitTime = v } func (x *RepositorySearchResult) HasLatestCommitTime() bool { if x == nil { return false } - return x.LatestCommitTime != nil + return x.xxx_hidden_LatestCommitTime != nil } func (x *RepositorySearchResult) ClearLatestCommitTime() { - x.LatestCommitTime = nil + x.xxx_hidden_LatestCommitTime = nil } type RepositorySearchResult_builder struct { @@ -422,25 +413,25 @@ func (b0 RepositorySearchResult_builder) Build() *RepositorySearchResult { m0 := &RepositorySearchResult{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.Name = b.Name - x.Owner = b.Owner - x.Visibility = b.Visibility - x.Deprecated = b.Deprecated - x.LatestSpdxLicenseId = b.LatestSpdxLicenseId - x.OwnerVerificationStatus = b.OwnerVerificationStatus - x.Url = b.Url - x.LatestCommitTime = b.LatestCommitTime + x.xxx_hidden_Id = b.Id + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Visibility = b.Visibility + x.xxx_hidden_Deprecated = b.Deprecated + x.xxx_hidden_LatestSpdxLicenseId = b.LatestSpdxLicenseId + x.xxx_hidden_OwnerVerificationStatus = b.OwnerVerificationStatus + x.xxx_hidden_Url = b.Url + x.xxx_hidden_LatestCommitTime = b.LatestCommitTime return m0 } type OrganizationSearchResult struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OrganizationSearchResult) Reset() { @@ -470,46 +461,46 @@ func (x *OrganizationSearchResult) ProtoReflect() protoreflect.Message { func (x *OrganizationSearchResult) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *OrganizationSearchResult) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *OrganizationSearchResult) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *OrganizationSearchResult) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *OrganizationSearchResult) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *OrganizationSearchResult) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *OrganizationSearchResult) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *OrganizationSearchResult) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } type OrganizationSearchResult_builder struct { @@ -524,20 +515,20 @@ func (b0 OrganizationSearchResult_builder) Build() *OrganizationSearchResult { m0 := &OrganizationSearchResult{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.Name = b.Name - x.CreateTime = b.CreateTime + x.xxx_hidden_Id = b.Id + x.xxx_hidden_Name = b.Name + x.xxx_hidden_CreateTime = b.CreateTime return m0 } type UserSearchResult struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + xxx_hidden_Deactivated bool `protobuf:"varint,3,opt,name=deactivated,proto3" json:"deactivated,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserSearchResult) Reset() { @@ -567,57 +558,57 @@ func (x *UserSearchResult) ProtoReflect() protoreflect.Message { func (x *UserSearchResult) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *UserSearchResult) GetUsername() string { if x != nil { - return x.Username + return x.xxx_hidden_Username } return "" } func (x *UserSearchResult) GetDeactivated() bool { if x != nil { - return x.Deactivated + return x.xxx_hidden_Deactivated } return false } func (x *UserSearchResult) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *UserSearchResult) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *UserSearchResult) SetUsername(v string) { - x.Username = v + x.xxx_hidden_Username = v } func (x *UserSearchResult) SetDeactivated(v bool) { - x.Deactivated = v + x.xxx_hidden_Deactivated = v } func (x *UserSearchResult) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *UserSearchResult) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *UserSearchResult) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } type UserSearchResult_builder struct { @@ -633,20 +624,20 @@ func (b0 UserSearchResult_builder) Build() *UserSearchResult { m0 := &UserSearchResult{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.Username = b.Username - x.Deactivated = b.Deactivated - x.CreateTime = b.CreateTime + x.xxx_hidden_Id = b.Id + x.xxx_hidden_Username = b.Username + x.xxx_hidden_Deactivated = b.Deactivated + x.xxx_hidden_CreateTime = b.CreateTime return m0 } type TeamSearchResult struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_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() { @@ -676,35 +667,35 @@ func (x *TeamSearchResult) ProtoReflect() protoreflect.Message { func (x *TeamSearchResult) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *TeamSearchResult) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *TeamSearchResult) GetOrganizationName() string { if x != nil { - return x.OrganizationName + return x.xxx_hidden_OrganizationName } return "" } func (x *TeamSearchResult) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *TeamSearchResult) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *TeamSearchResult) SetOrganizationName(v string) { - x.OrganizationName = v + x.xxx_hidden_OrganizationName = v } type TeamSearchResult_builder struct { @@ -719,30 +710,24 @@ func (b0 TeamSearchResult_builder) Build() *TeamSearchResult { m0 := &TeamSearchResult{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.Name = b.Name - x.OrganizationName = b.OrganizationName + x.xxx_hidden_Id = b.Id + x.xxx_hidden_Name = b.Name + x.xxx_hidden_OrganizationName = b.OrganizationName return m0 } type CuratedPluginSearchResult struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - Deprecated bool `protobuf:"varint,4,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - // The description of the plugin and it's functionality. - Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - // The registry type of the plugin. - RegistryType PluginRegistryType `protobuf:"varint,6,opt,name=registry_type,json=registryType,proto3,enum=buf.alpha.registry.v1alpha1.PluginRegistryType" json:"registry_type,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` + xxx_hidden_Deprecated bool `protobuf:"varint,4,opt,name=deprecated,proto3" json:"deprecated,omitempty"` + xxx_hidden_Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + xxx_hidden_RegistryType PluginRegistryType `protobuf:"varint,6,opt,name=registry_type,json=registryType,proto3,enum=buf.alpha.registry.v1alpha1.PluginRegistryType" json:"registry_type,omitempty"` + xxx_hidden_OutputLanguages []PluginLanguage `protobuf:"varint,7,rep,packed,name=output_languages,json=outputLanguages,proto3,enum=buf.alpha.registry.v1alpha1.PluginLanguage" json:"output_languages,omitempty"` + xxx_hidden_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() { @@ -772,101 +757,101 @@ func (x *CuratedPluginSearchResult) ProtoReflect() protoreflect.Message { func (x *CuratedPluginSearchResult) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *CuratedPluginSearchResult) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *CuratedPluginSearchResult) GetOwner() string { if x != nil { - return x.Owner + return x.xxx_hidden_Owner } return "" } func (x *CuratedPluginSearchResult) GetDeprecated() bool { if x != nil { - return x.Deprecated + return x.xxx_hidden_Deprecated } return false } func (x *CuratedPluginSearchResult) GetDescription() string { if x != nil { - return x.Description + return x.xxx_hidden_Description } return "" } func (x *CuratedPluginSearchResult) GetRegistryType() PluginRegistryType { if x != nil { - return x.RegistryType + return x.xxx_hidden_RegistryType } return PluginRegistryType_PLUGIN_REGISTRY_TYPE_UNSPECIFIED } func (x *CuratedPluginSearchResult) GetOutputLanguages() []PluginLanguage { if x != nil { - return x.OutputLanguages + return x.xxx_hidden_OutputLanguages } return nil } func (x *CuratedPluginSearchResult) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *CuratedPluginSearchResult) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *CuratedPluginSearchResult) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *CuratedPluginSearchResult) SetOwner(v string) { - x.Owner = v + x.xxx_hidden_Owner = v } func (x *CuratedPluginSearchResult) SetDeprecated(v bool) { - x.Deprecated = v + x.xxx_hidden_Deprecated = v } func (x *CuratedPluginSearchResult) SetDescription(v string) { - x.Description = v + x.xxx_hidden_Description = v } func (x *CuratedPluginSearchResult) SetRegistryType(v PluginRegistryType) { - x.RegistryType = v + x.xxx_hidden_RegistryType = v } func (x *CuratedPluginSearchResult) SetOutputLanguages(v []PluginLanguage) { - x.OutputLanguages = v + x.xxx_hidden_OutputLanguages = v } func (x *CuratedPluginSearchResult) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *CuratedPluginSearchResult) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *CuratedPluginSearchResult) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } type CuratedPluginSearchResult_builder struct { @@ -892,28 +877,28 @@ func (b0 CuratedPluginSearchResult_builder) Build() *CuratedPluginSearchResult { m0 := &CuratedPluginSearchResult{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.Name = b.Name - x.Owner = b.Owner - x.Deprecated = b.Deprecated - x.Description = b.Description - x.RegistryType = b.RegistryType - x.OutputLanguages = b.OutputLanguages - x.CreateTime = b.CreateTime + x.xxx_hidden_Id = b.Id + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Owner = b.Owner + x.xxx_hidden_Deprecated = b.Deprecated + x.xxx_hidden_Description = b.Description + x.xxx_hidden_RegistryType = b.RegistryType + x.xxx_hidden_OutputLanguages = b.OutputLanguages + x.xxx_hidden_CreateTime = b.CreateTime return m0 } type ModuleElementSearchResult struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_ProtoFilePath string `protobuf:"bytes,4,opt,name=proto_file_path,json=protoFilePath,proto3" json:"proto_file_path,omitempty"` + xxx_hidden_FullyQualifiedName string `protobuf:"bytes,5,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"` + xxx_hidden_PackageName string `protobuf:"bytes,6,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` + xxx_hidden_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() { @@ -943,79 +928,79 @@ func (x *ModuleElementSearchResult) ProtoReflect() protoreflect.Message { func (x *ModuleElementSearchResult) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *ModuleElementSearchResult) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *ModuleElementSearchResult) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *ModuleElementSearchResult) GetProtoFilePath() string { if x != nil { - return x.ProtoFilePath + return x.xxx_hidden_ProtoFilePath } return "" } func (x *ModuleElementSearchResult) GetFullyQualifiedName() string { if x != nil { - return x.FullyQualifiedName + return x.xxx_hidden_FullyQualifiedName } return "" } func (x *ModuleElementSearchResult) GetPackageName() string { if x != nil { - return x.PackageName + return x.xxx_hidden_PackageName } return "" } func (x *ModuleElementSearchResult) GetSearchModuleElementType() SearchModuleElementType { if x != nil { - return x.SearchModuleElementType + return x.xxx_hidden_SearchModuleElementType } return SearchModuleElementType_SEARCH_MODULE_ELEMENT_TYPE_UNSPECIFIED } func (x *ModuleElementSearchResult) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *ModuleElementSearchResult) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *ModuleElementSearchResult) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *ModuleElementSearchResult) SetProtoFilePath(v string) { - x.ProtoFilePath = v + x.xxx_hidden_ProtoFilePath = v } func (x *ModuleElementSearchResult) SetFullyQualifiedName(v string) { - x.FullyQualifiedName = v + x.xxx_hidden_FullyQualifiedName = v } func (x *ModuleElementSearchResult) SetPackageName(v string) { - x.PackageName = v + x.xxx_hidden_PackageName = v } func (x *ModuleElementSearchResult) SetSearchModuleElementType(v SearchModuleElementType) { - x.SearchModuleElementType = v + x.xxx_hidden_SearchModuleElementType = v } type ModuleElementSearchResult_builder struct { @@ -1034,24 +1019,24 @@ func (b0 ModuleElementSearchResult_builder) Build() *ModuleElementSearchResult { m0 := &ModuleElementSearchResult{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.ProtoFilePath = b.ProtoFilePath - x.FullyQualifiedName = b.FullyQualifiedName - x.PackageName = b.PackageName - x.SearchModuleElementType = b.SearchModuleElementType + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_ProtoFilePath = b.ProtoFilePath + x.xxx_hidden_FullyQualifiedName = b.FullyQualifiedName + x.xxx_hidden_PackageName = b.PackageName + x.xxx_hidden_SearchModuleElementType = b.SearchModuleElementType return m0 } type ModuleFileSearchResult struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_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() { @@ -1081,46 +1066,46 @@ func (x *ModuleFileSearchResult) ProtoReflect() protoreflect.Message { func (x *ModuleFileSearchResult) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *ModuleFileSearchResult) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *ModuleFileSearchResult) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *ModuleFileSearchResult) GetProtoFilePath() string { if x != nil { - return x.ProtoFilePath + return x.xxx_hidden_ProtoFilePath } return "" } func (x *ModuleFileSearchResult) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *ModuleFileSearchResult) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *ModuleFileSearchResult) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *ModuleFileSearchResult) SetProtoFilePath(v string) { - x.ProtoFilePath = v + x.xxx_hidden_ProtoFilePath = v } type ModuleFileSearchResult_builder struct { @@ -1136,27 +1121,18 @@ func (b0 ModuleFileSearchResult_builder) Build() *ModuleFileSearchResult { m0 := &ModuleFileSearchResult{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.ProtoFilePath = b.ProtoFilePath + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_ProtoFilePath = b.ProtoFilePath return m0 } type SearchResult struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Types that are valid to be assigned to Item: - // - // *SearchResult_Repository - // *SearchResult_Organization - // *SearchResult_User - // *SearchResult_Team - // *SearchResult_CuratedPlugin - // *SearchResult_ModuleElement - // *SearchResult_ModuleFile - Item isSearchResult_Item `protobuf_oneof:"item"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Item isSearchResult_Item `protobuf_oneof:"item"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchResult) Reset() { @@ -1184,16 +1160,9 @@ func (x *SearchResult) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -func (x *SearchResult) GetItem() isSearchResult_Item { - if x != nil { - return x.Item - } - return nil -} - func (x *SearchResult) GetRepository() *RepositorySearchResult { if x != nil { - if x, ok := x.Item.(*SearchResult_Repository); ok { + if x, ok := x.xxx_hidden_Item.(*searchResult_Repository); ok { return x.Repository } } @@ -1202,7 +1171,7 @@ func (x *SearchResult) GetRepository() *RepositorySearchResult { func (x *SearchResult) GetOrganization() *OrganizationSearchResult { if x != nil { - if x, ok := x.Item.(*SearchResult_Organization); ok { + if x, ok := x.xxx_hidden_Item.(*searchResult_Organization); ok { return x.Organization } } @@ -1211,7 +1180,7 @@ func (x *SearchResult) GetOrganization() *OrganizationSearchResult { func (x *SearchResult) GetUser() *UserSearchResult { if x != nil { - if x, ok := x.Item.(*SearchResult_User); ok { + if x, ok := x.xxx_hidden_Item.(*searchResult_User); ok { return x.User } } @@ -1220,7 +1189,7 @@ func (x *SearchResult) GetUser() *UserSearchResult { func (x *SearchResult) GetTeam() *TeamSearchResult { if x != nil { - if x, ok := x.Item.(*SearchResult_Team); ok { + if x, ok := x.xxx_hidden_Item.(*searchResult_Team); ok { return x.Team } } @@ -1229,7 +1198,7 @@ func (x *SearchResult) GetTeam() *TeamSearchResult { func (x *SearchResult) GetCuratedPlugin() *CuratedPluginSearchResult { if x != nil { - if x, ok := x.Item.(*SearchResult_CuratedPlugin); ok { + if x, ok := x.xxx_hidden_Item.(*searchResult_CuratedPlugin); ok { return x.CuratedPlugin } } @@ -1238,7 +1207,7 @@ func (x *SearchResult) GetCuratedPlugin() *CuratedPluginSearchResult { func (x *SearchResult) GetModuleElement() *ModuleElementSearchResult { if x != nil { - if x, ok := x.Item.(*SearchResult_ModuleElement); ok { + if x, ok := x.xxx_hidden_Item.(*searchResult_ModuleElement); ok { return x.ModuleElement } } @@ -1247,7 +1216,7 @@ func (x *SearchResult) GetModuleElement() *ModuleElementSearchResult { func (x *SearchResult) GetModuleFile() *ModuleFileSearchResult { if x != nil { - if x, ok := x.Item.(*SearchResult_ModuleFile); ok { + if x, ok := x.xxx_hidden_Item.(*searchResult_ModuleFile); ok { return x.ModuleFile } } @@ -1256,72 +1225,72 @@ func (x *SearchResult) GetModuleFile() *ModuleFileSearchResult { func (x *SearchResult) SetRepository(v *RepositorySearchResult) { if v == nil { - x.Item = nil + x.xxx_hidden_Item = nil return } - x.Item = &SearchResult_Repository{v} + x.xxx_hidden_Item = &searchResult_Repository{v} } func (x *SearchResult) SetOrganization(v *OrganizationSearchResult) { if v == nil { - x.Item = nil + x.xxx_hidden_Item = nil return } - x.Item = &SearchResult_Organization{v} + x.xxx_hidden_Item = &searchResult_Organization{v} } func (x *SearchResult) SetUser(v *UserSearchResult) { if v == nil { - x.Item = nil + x.xxx_hidden_Item = nil return } - x.Item = &SearchResult_User{v} + x.xxx_hidden_Item = &searchResult_User{v} } func (x *SearchResult) SetTeam(v *TeamSearchResult) { if v == nil { - x.Item = nil + x.xxx_hidden_Item = nil return } - x.Item = &SearchResult_Team{v} + x.xxx_hidden_Item = &searchResult_Team{v} } func (x *SearchResult) SetCuratedPlugin(v *CuratedPluginSearchResult) { if v == nil { - x.Item = nil + x.xxx_hidden_Item = nil return } - x.Item = &SearchResult_CuratedPlugin{v} + x.xxx_hidden_Item = &searchResult_CuratedPlugin{v} } func (x *SearchResult) SetModuleElement(v *ModuleElementSearchResult) { if v == nil { - x.Item = nil + x.xxx_hidden_Item = nil return } - x.Item = &SearchResult_ModuleElement{v} + x.xxx_hidden_Item = &searchResult_ModuleElement{v} } func (x *SearchResult) SetModuleFile(v *ModuleFileSearchResult) { if v == nil { - x.Item = nil + x.xxx_hidden_Item = nil return } - x.Item = &SearchResult_ModuleFile{v} + x.xxx_hidden_Item = &searchResult_ModuleFile{v} } func (x *SearchResult) HasItem() bool { if x == nil { return false } - return x.Item != nil + return x.xxx_hidden_Item != nil } func (x *SearchResult) HasRepository() bool { if x == nil { return false } - _, ok := x.Item.(*SearchResult_Repository) + _, ok := x.xxx_hidden_Item.(*searchResult_Repository) return ok } @@ -1329,7 +1298,7 @@ func (x *SearchResult) HasOrganization() bool { if x == nil { return false } - _, ok := x.Item.(*SearchResult_Organization) + _, ok := x.xxx_hidden_Item.(*searchResult_Organization) return ok } @@ -1337,7 +1306,7 @@ func (x *SearchResult) HasUser() bool { if x == nil { return false } - _, ok := x.Item.(*SearchResult_User) + _, ok := x.xxx_hidden_Item.(*searchResult_User) return ok } @@ -1345,7 +1314,7 @@ func (x *SearchResult) HasTeam() bool { if x == nil { return false } - _, ok := x.Item.(*SearchResult_Team) + _, ok := x.xxx_hidden_Item.(*searchResult_Team) return ok } @@ -1353,7 +1322,7 @@ func (x *SearchResult) HasCuratedPlugin() bool { if x == nil { return false } - _, ok := x.Item.(*SearchResult_CuratedPlugin) + _, ok := x.xxx_hidden_Item.(*searchResult_CuratedPlugin) return ok } @@ -1361,7 +1330,7 @@ func (x *SearchResult) HasModuleElement() bool { if x == nil { return false } - _, ok := x.Item.(*SearchResult_ModuleElement) + _, ok := x.xxx_hidden_Item.(*searchResult_ModuleElement) return ok } @@ -1369,53 +1338,53 @@ func (x *SearchResult) HasModuleFile() bool { if x == nil { return false } - _, ok := x.Item.(*SearchResult_ModuleFile) + _, ok := x.xxx_hidden_Item.(*searchResult_ModuleFile) return ok } func (x *SearchResult) ClearItem() { - x.Item = nil + x.xxx_hidden_Item = nil } func (x *SearchResult) ClearRepository() { - if _, ok := x.Item.(*SearchResult_Repository); ok { - x.Item = nil + if _, ok := x.xxx_hidden_Item.(*searchResult_Repository); ok { + x.xxx_hidden_Item = nil } } func (x *SearchResult) ClearOrganization() { - if _, ok := x.Item.(*SearchResult_Organization); ok { - x.Item = nil + if _, ok := x.xxx_hidden_Item.(*searchResult_Organization); ok { + x.xxx_hidden_Item = nil } } func (x *SearchResult) ClearUser() { - if _, ok := x.Item.(*SearchResult_User); ok { - x.Item = nil + if _, ok := x.xxx_hidden_Item.(*searchResult_User); ok { + x.xxx_hidden_Item = nil } } func (x *SearchResult) ClearTeam() { - if _, ok := x.Item.(*SearchResult_Team); ok { - x.Item = nil + if _, ok := x.xxx_hidden_Item.(*searchResult_Team); ok { + x.xxx_hidden_Item = nil } } func (x *SearchResult) ClearCuratedPlugin() { - if _, ok := x.Item.(*SearchResult_CuratedPlugin); ok { - x.Item = nil + if _, ok := x.xxx_hidden_Item.(*searchResult_CuratedPlugin); ok { + x.xxx_hidden_Item = nil } } func (x *SearchResult) ClearModuleElement() { - if _, ok := x.Item.(*SearchResult_ModuleElement); ok { - x.Item = nil + if _, ok := x.xxx_hidden_Item.(*searchResult_ModuleElement); ok { + x.xxx_hidden_Item = nil } } func (x *SearchResult) ClearModuleFile() { - if _, ok := x.Item.(*SearchResult_ModuleFile); ok { - x.Item = nil + if _, ok := x.xxx_hidden_Item.(*searchResult_ModuleFile); ok { + x.xxx_hidden_Item = nil } } @@ -1432,20 +1401,20 @@ func (x *SearchResult) WhichItem() case_SearchResult_Item { if x == nil { return SearchResult_Item_not_set_case } - switch x.Item.(type) { - case *SearchResult_Repository: + switch x.xxx_hidden_Item.(type) { + case *searchResult_Repository: return SearchResult_Repository_case - case *SearchResult_Organization: + case *searchResult_Organization: return SearchResult_Organization_case - case *SearchResult_User: + case *searchResult_User: return SearchResult_User_case - case *SearchResult_Team: + case *searchResult_Team: return SearchResult_Team_case - case *SearchResult_CuratedPlugin: + case *searchResult_CuratedPlugin: return SearchResult_CuratedPlugin_case - case *SearchResult_ModuleElement: + case *searchResult_ModuleElement: return SearchResult_ModuleElement_case - case *SearchResult_ModuleFile: + case *searchResult_ModuleFile: return SearchResult_ModuleFile_case default: return SearchResult_Item_not_set_case @@ -1455,7 +1424,7 @@ func (x *SearchResult) WhichItem() case_SearchResult_Item { type SearchResult_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - // Fields of oneof Item: + // Fields of oneof xxx_hidden_Item: Repository *RepositorySearchResult Organization *OrganizationSearchResult User *UserSearchResult @@ -1463,7 +1432,7 @@ type SearchResult_builder struct { CuratedPlugin *CuratedPluginSearchResult ModuleElement *ModuleElementSearchResult ModuleFile *ModuleFileSearchResult - // -- end of Item + // -- end of xxx_hidden_Item } func (b0 SearchResult_builder) Build() *SearchResult { @@ -1471,25 +1440,25 @@ func (b0 SearchResult_builder) Build() *SearchResult { b, x := &b0, m0 _, _ = b, x if b.Repository != nil { - x.Item = &SearchResult_Repository{b.Repository} + x.xxx_hidden_Item = &searchResult_Repository{b.Repository} } if b.Organization != nil { - x.Item = &SearchResult_Organization{b.Organization} + x.xxx_hidden_Item = &searchResult_Organization{b.Organization} } if b.User != nil { - x.Item = &SearchResult_User{b.User} + x.xxx_hidden_Item = &searchResult_User{b.User} } if b.Team != nil { - x.Item = &SearchResult_Team{b.Team} + x.xxx_hidden_Item = &searchResult_Team{b.Team} } if b.CuratedPlugin != nil { - x.Item = &SearchResult_CuratedPlugin{b.CuratedPlugin} + x.xxx_hidden_Item = &searchResult_CuratedPlugin{b.CuratedPlugin} } if b.ModuleElement != nil { - x.Item = &SearchResult_ModuleElement{b.ModuleElement} + x.xxx_hidden_Item = &searchResult_ModuleElement{b.ModuleElement} } if b.ModuleFile != nil { - x.Item = &SearchResult_ModuleFile{b.ModuleFile} + x.xxx_hidden_Item = &searchResult_ModuleFile{b.ModuleFile} } return m0 } @@ -1508,65 +1477,58 @@ type isSearchResult_Item interface { isSearchResult_Item() } -type SearchResult_Repository struct { +type searchResult_Repository struct { Repository *RepositorySearchResult `protobuf:"bytes,1,opt,name=repository,proto3,oneof"` } -type SearchResult_Organization struct { +type searchResult_Organization struct { Organization *OrganizationSearchResult `protobuf:"bytes,2,opt,name=organization,proto3,oneof"` } -type SearchResult_User struct { +type searchResult_User struct { User *UserSearchResult `protobuf:"bytes,3,opt,name=user,proto3,oneof"` } -type SearchResult_Team struct { +type searchResult_Team struct { Team *TeamSearchResult `protobuf:"bytes,4,opt,name=team,proto3,oneof"` } -type SearchResult_CuratedPlugin struct { +type searchResult_CuratedPlugin struct { CuratedPlugin *CuratedPluginSearchResult `protobuf:"bytes,7,opt,name=curated_plugin,json=curatedPlugin,proto3,oneof"` } -type SearchResult_ModuleElement struct { +type searchResult_ModuleElement struct { ModuleElement *ModuleElementSearchResult `protobuf:"bytes,8,opt,name=module_element,json=moduleElement,proto3,oneof"` } -type SearchResult_ModuleFile struct { +type searchResult_ModuleFile struct { ModuleFile *ModuleFileSearchResult `protobuf:"bytes,9,opt,name=module_file,json=moduleFile,proto3,oneof"` } -func (*SearchResult_Repository) isSearchResult_Item() {} +func (*searchResult_Repository) isSearchResult_Item() {} -func (*SearchResult_Organization) isSearchResult_Item() {} +func (*searchResult_Organization) isSearchResult_Item() {} -func (*SearchResult_User) isSearchResult_Item() {} +func (*searchResult_User) isSearchResult_Item() {} -func (*SearchResult_Team) isSearchResult_Item() {} +func (*searchResult_Team) isSearchResult_Item() {} -func (*SearchResult_CuratedPlugin) isSearchResult_Item() {} +func (*searchResult_CuratedPlugin) isSearchResult_Item() {} -func (*SearchResult_ModuleElement) isSearchResult_Item() {} +func (*searchResult_ModuleElement) isSearchResult_Item() {} -func (*SearchResult_ModuleFile) isSearchResult_Item() {} +func (*searchResult_ModuleFile) isSearchResult_Item() {} type ElementSearchResult struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_ProtoFilePath string `protobuf:"bytes,4,opt,name=proto_file_path,json=protoFilePath,proto3" json:"proto_file_path,omitempty"` + xxx_hidden_FullyQualifiedName string `protobuf:"bytes,5,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"` + xxx_hidden_Document isElementSearchResult_Document `protobuf_oneof:"document"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ElementSearchResult) Reset() { @@ -1596,49 +1558,42 @@ func (x *ElementSearchResult) ProtoReflect() protoreflect.Message { func (x *ElementSearchResult) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *ElementSearchResult) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *ElementSearchResult) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *ElementSearchResult) GetProtoFilePath() string { if x != nil { - return x.ProtoFilePath + return x.xxx_hidden_ProtoFilePath } return "" } func (x *ElementSearchResult) GetFullyQualifiedName() string { if x != nil { - return x.FullyQualifiedName + return x.xxx_hidden_FullyQualifiedName } return "" } -func (x *ElementSearchResult) GetDocument() isElementSearchResult_Document { - if x != nil { - return x.Document - } - return nil -} - func (x *ElementSearchResult) GetService() *Service { if x != nil { - if x, ok := x.Document.(*ElementSearchResult_Service); ok { + if x, ok := x.xxx_hidden_Document.(*elementSearchResult_Service); ok { return x.Service } } @@ -1647,7 +1602,7 @@ func (x *ElementSearchResult) GetService() *Service { func (x *ElementSearchResult) GetMethod() *Method { if x != nil { - if x, ok := x.Document.(*ElementSearchResult_Method); ok { + if x, ok := x.xxx_hidden_Document.(*elementSearchResult_Method); ok { return x.Method } } @@ -1656,7 +1611,7 @@ func (x *ElementSearchResult) GetMethod() *Method { func (x *ElementSearchResult) GetEnum() *Enum { if x != nil { - if x, ok := x.Document.(*ElementSearchResult_Enum); ok { + if x, ok := x.xxx_hidden_Document.(*elementSearchResult_Enum); ok { return x.Enum } } @@ -1665,7 +1620,7 @@ func (x *ElementSearchResult) GetEnum() *Enum { func (x *ElementSearchResult) GetMessage() *Message { if x != nil { - if x, ok := x.Document.(*ElementSearchResult_Message); ok { + if x, ok := x.xxx_hidden_Document.(*elementSearchResult_Message); ok { return x.Message } } @@ -1674,7 +1629,7 @@ func (x *ElementSearchResult) GetMessage() *Message { func (x *ElementSearchResult) GetFileExtension() *FileExtension { if x != nil { - if x, ok := x.Document.(*ElementSearchResult_FileExtension); ok { + if x, ok := x.xxx_hidden_Document.(*elementSearchResult_FileExtension); ok { return x.FileExtension } } @@ -1682,77 +1637,77 @@ func (x *ElementSearchResult) GetFileExtension() *FileExtension { } func (x *ElementSearchResult) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *ElementSearchResult) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *ElementSearchResult) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *ElementSearchResult) SetProtoFilePath(v string) { - x.ProtoFilePath = v + x.xxx_hidden_ProtoFilePath = v } func (x *ElementSearchResult) SetFullyQualifiedName(v string) { - x.FullyQualifiedName = v + x.xxx_hidden_FullyQualifiedName = v } func (x *ElementSearchResult) SetService(v *Service) { if v == nil { - x.Document = nil + x.xxx_hidden_Document = nil return } - x.Document = &ElementSearchResult_Service{v} + x.xxx_hidden_Document = &elementSearchResult_Service{v} } func (x *ElementSearchResult) SetMethod(v *Method) { if v == nil { - x.Document = nil + x.xxx_hidden_Document = nil return } - x.Document = &ElementSearchResult_Method{v} + x.xxx_hidden_Document = &elementSearchResult_Method{v} } func (x *ElementSearchResult) SetEnum(v *Enum) { if v == nil { - x.Document = nil + x.xxx_hidden_Document = nil return } - x.Document = &ElementSearchResult_Enum{v} + x.xxx_hidden_Document = &elementSearchResult_Enum{v} } func (x *ElementSearchResult) SetMessage(v *Message) { if v == nil { - x.Document = nil + x.xxx_hidden_Document = nil return } - x.Document = &ElementSearchResult_Message{v} + x.xxx_hidden_Document = &elementSearchResult_Message{v} } func (x *ElementSearchResult) SetFileExtension(v *FileExtension) { if v == nil { - x.Document = nil + x.xxx_hidden_Document = nil return } - x.Document = &ElementSearchResult_FileExtension{v} + x.xxx_hidden_Document = &elementSearchResult_FileExtension{v} } func (x *ElementSearchResult) HasDocument() bool { if x == nil { return false } - return x.Document != nil + return x.xxx_hidden_Document != nil } func (x *ElementSearchResult) HasService() bool { if x == nil { return false } - _, ok := x.Document.(*ElementSearchResult_Service) + _, ok := x.xxx_hidden_Document.(*elementSearchResult_Service) return ok } @@ -1760,7 +1715,7 @@ func (x *ElementSearchResult) HasMethod() bool { if x == nil { return false } - _, ok := x.Document.(*ElementSearchResult_Method) + _, ok := x.xxx_hidden_Document.(*elementSearchResult_Method) return ok } @@ -1768,7 +1723,7 @@ func (x *ElementSearchResult) HasEnum() bool { if x == nil { return false } - _, ok := x.Document.(*ElementSearchResult_Enum) + _, ok := x.xxx_hidden_Document.(*elementSearchResult_Enum) return ok } @@ -1776,7 +1731,7 @@ func (x *ElementSearchResult) HasMessage() bool { if x == nil { return false } - _, ok := x.Document.(*ElementSearchResult_Message) + _, ok := x.xxx_hidden_Document.(*elementSearchResult_Message) return ok } @@ -1784,41 +1739,41 @@ func (x *ElementSearchResult) HasFileExtension() bool { if x == nil { return false } - _, ok := x.Document.(*ElementSearchResult_FileExtension) + _, ok := x.xxx_hidden_Document.(*elementSearchResult_FileExtension) return ok } func (x *ElementSearchResult) ClearDocument() { - x.Document = nil + x.xxx_hidden_Document = nil } func (x *ElementSearchResult) ClearService() { - if _, ok := x.Document.(*ElementSearchResult_Service); ok { - x.Document = nil + if _, ok := x.xxx_hidden_Document.(*elementSearchResult_Service); ok { + x.xxx_hidden_Document = nil } } func (x *ElementSearchResult) ClearMethod() { - if _, ok := x.Document.(*ElementSearchResult_Method); ok { - x.Document = nil + if _, ok := x.xxx_hidden_Document.(*elementSearchResult_Method); ok { + x.xxx_hidden_Document = nil } } func (x *ElementSearchResult) ClearEnum() { - if _, ok := x.Document.(*ElementSearchResult_Enum); ok { - x.Document = nil + if _, ok := x.xxx_hidden_Document.(*elementSearchResult_Enum); ok { + x.xxx_hidden_Document = nil } } func (x *ElementSearchResult) ClearMessage() { - if _, ok := x.Document.(*ElementSearchResult_Message); ok { - x.Document = nil + if _, ok := x.xxx_hidden_Document.(*elementSearchResult_Message); ok { + x.xxx_hidden_Document = nil } } func (x *ElementSearchResult) ClearFileExtension() { - if _, ok := x.Document.(*ElementSearchResult_FileExtension); ok { - x.Document = nil + if _, ok := x.xxx_hidden_Document.(*elementSearchResult_FileExtension); ok { + x.xxx_hidden_Document = nil } } @@ -1833,16 +1788,16 @@ func (x *ElementSearchResult) WhichDocument() case_ElementSearchResult_Document if x == nil { return ElementSearchResult_Document_not_set_case } - switch x.Document.(type) { - case *ElementSearchResult_Service: + switch x.xxx_hidden_Document.(type) { + case *elementSearchResult_Service: return ElementSearchResult_Service_case - case *ElementSearchResult_Method: + case *elementSearchResult_Method: return ElementSearchResult_Method_case - case *ElementSearchResult_Enum: + case *elementSearchResult_Enum: return ElementSearchResult_Enum_case - case *ElementSearchResult_Message: + case *elementSearchResult_Message: return ElementSearchResult_Message_case - case *ElementSearchResult_FileExtension: + case *elementSearchResult_FileExtension: return ElementSearchResult_FileExtension_case default: return ElementSearchResult_Document_not_set_case @@ -1857,38 +1812,38 @@ type ElementSearchResult_builder struct { RepositoryName string ProtoFilePath string FullyQualifiedName string - // Fields of oneof Document: + // Fields of oneof xxx_hidden_Document: Service *Service Method *Method Enum *Enum Message *Message FileExtension *FileExtension - // -- end of Document + // -- end of xxx_hidden_Document } func (b0 ElementSearchResult_builder) Build() *ElementSearchResult { m0 := &ElementSearchResult{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.ProtoFilePath = b.ProtoFilePath - x.FullyQualifiedName = b.FullyQualifiedName + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_ProtoFilePath = b.ProtoFilePath + x.xxx_hidden_FullyQualifiedName = b.FullyQualifiedName if b.Service != nil { - x.Document = &ElementSearchResult_Service{b.Service} + x.xxx_hidden_Document = &elementSearchResult_Service{b.Service} } if b.Method != nil { - x.Document = &ElementSearchResult_Method{b.Method} + x.xxx_hidden_Document = &elementSearchResult_Method{b.Method} } if b.Enum != nil { - x.Document = &ElementSearchResult_Enum{b.Enum} + x.xxx_hidden_Document = &elementSearchResult_Enum{b.Enum} } if b.Message != nil { - x.Document = &ElementSearchResult_Message{b.Message} + x.xxx_hidden_Document = &elementSearchResult_Message{b.Message} } if b.FileExtension != nil { - x.Document = &ElementSearchResult_FileExtension{b.FileExtension} + x.xxx_hidden_Document = &elementSearchResult_FileExtension{b.FileExtension} } return m0 } @@ -1907,45 +1862,45 @@ type isElementSearchResult_Document interface { isElementSearchResult_Document() } -type ElementSearchResult_Service struct { +type elementSearchResult_Service struct { Service *Service `protobuf:"bytes,6,opt,name=service,proto3,oneof"` } -type ElementSearchResult_Method struct { +type elementSearchResult_Method struct { Method *Method `protobuf:"bytes,7,opt,name=method,proto3,oneof"` } -type ElementSearchResult_Enum struct { +type elementSearchResult_Enum struct { Enum *Enum `protobuf:"bytes,8,opt,name=enum,proto3,oneof"` } -type ElementSearchResult_Message struct { +type elementSearchResult_Message struct { Message *Message `protobuf:"bytes,9,opt,name=message,proto3,oneof"` } -type ElementSearchResult_FileExtension struct { +type elementSearchResult_FileExtension struct { FileExtension *FileExtension `protobuf:"bytes,10,opt,name=file_extension,json=fileExtension,proto3,oneof"` } -func (*ElementSearchResult_Service) isElementSearchResult_Document() {} +func (*elementSearchResult_Service) isElementSearchResult_Document() {} -func (*ElementSearchResult_Method) isElementSearchResult_Document() {} +func (*elementSearchResult_Method) isElementSearchResult_Document() {} -func (*ElementSearchResult_Enum) isElementSearchResult_Document() {} +func (*elementSearchResult_Enum) isElementSearchResult_Document() {} -func (*ElementSearchResult_Message) isElementSearchResult_Document() {} +func (*elementSearchResult_Message) isElementSearchResult_Document() {} -func (*ElementSearchResult_FileExtension) isElementSearchResult_Document() {} +func (*elementSearchResult_FileExtension) isElementSearchResult_Document() {} type FileSearchResult struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_ProtoFilePath string `protobuf:"bytes,4,opt,name=proto_file_path,json=protoFilePath,proto3" json:"proto_file_path,omitempty"` + xxx_hidden_Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FileSearchResult) Reset() { @@ -1975,60 +1930,60 @@ func (x *FileSearchResult) ProtoReflect() protoreflect.Message { func (x *FileSearchResult) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *FileSearchResult) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *FileSearchResult) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *FileSearchResult) GetProtoFilePath() string { if x != nil { - return x.ProtoFilePath + return x.xxx_hidden_ProtoFilePath } return "" } func (x *FileSearchResult) GetContent() []byte { if x != nil { - return x.Content + return x.xxx_hidden_Content } return nil } func (x *FileSearchResult) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *FileSearchResult) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *FileSearchResult) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *FileSearchResult) SetProtoFilePath(v string) { - x.ProtoFilePath = v + x.xxx_hidden_ProtoFilePath = v } func (x *FileSearchResult) SetContent(v []byte) { if v == nil { v = []byte{} } - x.Content = v + x.xxx_hidden_Content = v } type FileSearchResult_builder struct { @@ -2045,23 +2000,19 @@ func (b0 FileSearchResult_builder) Build() *FileSearchResult { m0 := &FileSearchResult{} b, x := &b0, m0 _, _ = b, x - x.RepositoryId = b.RepositoryId - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.ProtoFilePath = b.ProtoFilePath - x.Content = b.Content + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_ProtoFilePath = b.ProtoFilePath + x.xxx_hidden_Content = b.Content return m0 } type SearchModuleContentResult struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Types that are valid to be assigned to Item: - // - // *SearchModuleContentResult_Element - // *SearchModuleContentResult_File - Item isSearchModuleContentResult_Item `protobuf_oneof:"item"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Item isSearchModuleContentResult_Item `protobuf_oneof:"item"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchModuleContentResult) Reset() { @@ -2089,16 +2040,9 @@ func (x *SearchModuleContentResult) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -func (x *SearchModuleContentResult) GetItem() isSearchModuleContentResult_Item { - if x != nil { - return x.Item - } - return nil -} - func (x *SearchModuleContentResult) GetElement() *ElementSearchResult { if x != nil { - if x, ok := x.Item.(*SearchModuleContentResult_Element); ok { + if x, ok := x.xxx_hidden_Item.(*searchModuleContentResult_Element); ok { return x.Element } } @@ -2107,7 +2051,7 @@ func (x *SearchModuleContentResult) GetElement() *ElementSearchResult { func (x *SearchModuleContentResult) GetFile() *FileSearchResult { if x != nil { - if x, ok := x.Item.(*SearchModuleContentResult_File); ok { + if x, ok := x.xxx_hidden_Item.(*searchModuleContentResult_File); ok { return x.File } } @@ -2116,32 +2060,32 @@ func (x *SearchModuleContentResult) GetFile() *FileSearchResult { func (x *SearchModuleContentResult) SetElement(v *ElementSearchResult) { if v == nil { - x.Item = nil + x.xxx_hidden_Item = nil return } - x.Item = &SearchModuleContentResult_Element{v} + x.xxx_hidden_Item = &searchModuleContentResult_Element{v} } func (x *SearchModuleContentResult) SetFile(v *FileSearchResult) { if v == nil { - x.Item = nil + x.xxx_hidden_Item = nil return } - x.Item = &SearchModuleContentResult_File{v} + x.xxx_hidden_Item = &searchModuleContentResult_File{v} } func (x *SearchModuleContentResult) HasItem() bool { if x == nil { return false } - return x.Item != nil + return x.xxx_hidden_Item != nil } func (x *SearchModuleContentResult) HasElement() bool { if x == nil { return false } - _, ok := x.Item.(*SearchModuleContentResult_Element) + _, ok := x.xxx_hidden_Item.(*searchModuleContentResult_Element) return ok } @@ -2149,23 +2093,23 @@ func (x *SearchModuleContentResult) HasFile() bool { if x == nil { return false } - _, ok := x.Item.(*SearchModuleContentResult_File) + _, ok := x.xxx_hidden_Item.(*searchModuleContentResult_File) return ok } func (x *SearchModuleContentResult) ClearItem() { - x.Item = nil + x.xxx_hidden_Item = nil } func (x *SearchModuleContentResult) ClearElement() { - if _, ok := x.Item.(*SearchModuleContentResult_Element); ok { - x.Item = nil + if _, ok := x.xxx_hidden_Item.(*searchModuleContentResult_Element); ok { + x.xxx_hidden_Item = nil } } func (x *SearchModuleContentResult) ClearFile() { - if _, ok := x.Item.(*SearchModuleContentResult_File); ok { - x.Item = nil + if _, ok := x.xxx_hidden_Item.(*searchModuleContentResult_File); ok { + x.xxx_hidden_Item = nil } } @@ -2177,10 +2121,10 @@ func (x *SearchModuleContentResult) WhichItem() case_SearchModuleContentResult_I if x == nil { return SearchModuleContentResult_Item_not_set_case } - switch x.Item.(type) { - case *SearchModuleContentResult_Element: + switch x.xxx_hidden_Item.(type) { + case *searchModuleContentResult_Element: return SearchModuleContentResult_Element_case - case *SearchModuleContentResult_File: + case *searchModuleContentResult_File: return SearchModuleContentResult_File_case default: return SearchModuleContentResult_Item_not_set_case @@ -2190,10 +2134,10 @@ func (x *SearchModuleContentResult) WhichItem() case_SearchModuleContentResult_I type SearchModuleContentResult_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - // Fields of oneof Item: + // Fields of oneof xxx_hidden_Item: Element *ElementSearchResult File *FileSearchResult - // -- end of Item + // -- end of xxx_hidden_Item } func (b0 SearchModuleContentResult_builder) Build() *SearchModuleContentResult { @@ -2201,10 +2145,10 @@ func (b0 SearchModuleContentResult_builder) Build() *SearchModuleContentResult { b, x := &b0, m0 _, _ = b, x if b.Element != nil { - x.Item = &SearchModuleContentResult_Element{b.Element} + x.xxx_hidden_Item = &searchModuleContentResult_Element{b.Element} } if b.File != nil { - x.Item = &SearchModuleContentResult_File{b.File} + x.xxx_hidden_Item = &searchModuleContentResult_File{b.File} } return m0 } @@ -2223,31 +2167,26 @@ type isSearchModuleContentResult_Item interface { isSearchModuleContentResult_Item() } -type SearchModuleContentResult_Element struct { +type searchModuleContentResult_Element struct { Element *ElementSearchResult `protobuf:"bytes,1,opt,name=element,proto3,oneof"` } -type SearchModuleContentResult_File struct { +type searchModuleContentResult_File struct { File *FileSearchResult `protobuf:"bytes,2,opt,name=file,proto3,oneof"` } -func (*SearchModuleContentResult_Element) isSearchModuleContentResult_Item() {} +func (*searchModuleContentResult_Element) isSearchModuleContentResult_Item() {} -func (*SearchModuleContentResult_File) isSearchModuleContentResult_Item() {} +func (*searchModuleContentResult_File) isSearchModuleContentResult_Item() {} type SearchRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // The first page is returned if this is 0. - PageToken uint32 `protobuf:"varint,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken uint32 `protobuf:"varint,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_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() { @@ -2277,46 +2216,46 @@ func (x *SearchRequest) ProtoReflect() protoreflect.Message { func (x *SearchRequest) GetQuery() string { if x != nil { - return x.Query + return x.xxx_hidden_Query } return "" } func (x *SearchRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *SearchRequest) GetPageToken() uint32 { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return 0 } func (x *SearchRequest) GetFilters() []SearchFilter { if x != nil { - return x.Filters + return x.xxx_hidden_Filters } return nil } func (x *SearchRequest) SetQuery(v string) { - x.Query = v + x.xxx_hidden_Query = v } func (x *SearchRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *SearchRequest) SetPageToken(v uint32) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *SearchRequest) SetFilters(v []SearchFilter) { - x.Filters = v + x.xxx_hidden_Filters = v } type SearchRequest_builder struct { @@ -2337,20 +2276,19 @@ func (b0 SearchRequest_builder) Build() *SearchRequest { m0 := &SearchRequest{} b, x := &b0, m0 _, _ = b, x - x.Query = b.Query - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Filters = b.Filters + x.xxx_hidden_Query = b.Query + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Filters = b.Filters return m0 } type SearchResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_SearchResults *[]*SearchResult `protobuf:"bytes,1,rep,name=search_results,json=searchResults,proto3" json:"search_results,omitempty"` + xxx_hidden_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() { @@ -2380,24 +2318,26 @@ func (x *SearchResponse) ProtoReflect() protoreflect.Message { func (x *SearchResponse) GetSearchResults() []*SearchResult { if x != nil { - return x.SearchResults + if x.xxx_hidden_SearchResults != nil { + return *x.xxx_hidden_SearchResults + } } return nil } func (x *SearchResponse) GetNextPageToken() uint32 { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return 0 } func (x *SearchResponse) SetSearchResults(v []*SearchResult) { - x.SearchResults = v + x.xxx_hidden_SearchResults = &v } func (x *SearchResponse) SetNextPageToken(v uint32) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type SearchResponse_builder struct { @@ -2412,28 +2352,22 @@ func (b0 SearchResponse_builder) Build() *SearchResponse { m0 := &SearchResponse{} b, x := &b0, m0 _, _ = b, x - x.SearchResults = b.SearchResults - x.NextPageToken = b.NextPageToken + x.xxx_hidden_SearchResults = &b.SearchResults + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type SearchTagRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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. - RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - // The search string. - Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` - PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_OrderBy OrderBy `protobuf:"varint,6,opt,name=order_by,json=orderBy,proto3,enum=buf.alpha.registry.v1alpha1.OrderBy" json:"order_by,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,7,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchTagRequest) Reset() { @@ -2463,79 +2397,79 @@ func (x *SearchTagRequest) ProtoReflect() protoreflect.Message { func (x *SearchTagRequest) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *SearchTagRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *SearchTagRequest) GetQuery() string { if x != nil { - return x.Query + return x.xxx_hidden_Query } return "" } func (x *SearchTagRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *SearchTagRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *SearchTagRequest) GetOrderBy() OrderBy { if x != nil { - return x.OrderBy + return x.xxx_hidden_OrderBy } return OrderBy_ORDER_BY_UNSPECIFIED } func (x *SearchTagRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *SearchTagRequest) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *SearchTagRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *SearchTagRequest) SetQuery(v string) { - x.Query = v + x.xxx_hidden_Query = v } func (x *SearchTagRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *SearchTagRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *SearchTagRequest) SetOrderBy(v OrderBy) { - x.OrderBy = v + x.xxx_hidden_OrderBy = v } func (x *SearchTagRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type SearchTagRequest_builder struct { @@ -2560,23 +2494,22 @@ func (b0 SearchTagRequest_builder) Build() *SearchTagRequest { m0 := &SearchTagRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.Query = b.Query - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.OrderBy = b.OrderBy - x.Reverse = b.Reverse + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_Query = b.Query + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_OrderBy = b.OrderBy + x.xxx_hidden_Reverse = b.Reverse return m0 } type SearchTagResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryTags *[]*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` + xxx_hidden_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() { @@ -2606,24 +2539,26 @@ func (x *SearchTagResponse) ProtoReflect() protoreflect.Message { func (x *SearchTagResponse) GetRepositoryTags() []*RepositoryTag { if x != nil { - return x.RepositoryTags + if x.xxx_hidden_RepositoryTags != nil { + return *x.xxx_hidden_RepositoryTags + } } return nil } func (x *SearchTagResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *SearchTagResponse) SetRepositoryTags(v []*RepositoryTag) { - x.RepositoryTags = v + x.xxx_hidden_RepositoryTags = &v } func (x *SearchTagResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type SearchTagResponse_builder struct { @@ -2638,28 +2573,22 @@ func (b0 SearchTagResponse_builder) Build() *SearchTagResponse { m0 := &SearchTagResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryTags = b.RepositoryTags - x.NextPageToken = b.NextPageToken + x.xxx_hidden_RepositoryTags = &b.RepositoryTags + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type SearchDraftRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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. - RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - // The search string. - Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` - PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The first page is returned if this is empty. - PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_OrderBy OrderBy `protobuf:"varint,6,opt,name=order_by,json=orderBy,proto3,enum=buf.alpha.registry.v1alpha1.OrderBy" json:"order_by,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,7,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchDraftRequest) Reset() { @@ -2689,79 +2618,79 @@ func (x *SearchDraftRequest) ProtoReflect() protoreflect.Message { func (x *SearchDraftRequest) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *SearchDraftRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *SearchDraftRequest) GetQuery() string { if x != nil { - return x.Query + return x.xxx_hidden_Query } return "" } func (x *SearchDraftRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *SearchDraftRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *SearchDraftRequest) GetOrderBy() OrderBy { if x != nil { - return x.OrderBy + return x.xxx_hidden_OrderBy } return OrderBy_ORDER_BY_UNSPECIFIED } func (x *SearchDraftRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *SearchDraftRequest) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *SearchDraftRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *SearchDraftRequest) SetQuery(v string) { - x.Query = v + x.xxx_hidden_Query = v } func (x *SearchDraftRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *SearchDraftRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *SearchDraftRequest) SetOrderBy(v OrderBy) { - x.OrderBy = v + x.xxx_hidden_OrderBy = v } func (x *SearchDraftRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type SearchDraftRequest_builder struct { @@ -2786,23 +2715,22 @@ func (b0 SearchDraftRequest_builder) Build() *SearchDraftRequest { m0 := &SearchDraftRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.Query = b.Query - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.OrderBy = b.OrderBy - x.Reverse = b.Reverse + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_Query = b.Query + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_OrderBy = b.OrderBy + x.xxx_hidden_Reverse = b.Reverse return m0 } type SearchDraftResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryCommits *[]*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` + xxx_hidden_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() { @@ -2832,24 +2760,26 @@ func (x *SearchDraftResponse) ProtoReflect() protoreflect.Message { func (x *SearchDraftResponse) GetRepositoryCommits() []*RepositoryCommit { if x != nil { - return x.RepositoryCommits + if x.xxx_hidden_RepositoryCommits != nil { + return *x.xxx_hidden_RepositoryCommits + } } return nil } func (x *SearchDraftResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *SearchDraftResponse) SetRepositoryCommits(v []*RepositoryCommit) { - x.RepositoryCommits = v + x.xxx_hidden_RepositoryCommits = &v } func (x *SearchDraftResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type SearchDraftResponse_builder struct { @@ -2864,29 +2794,21 @@ func (b0 SearchDraftResponse_builder) Build() *SearchDraftResponse { m0 := &SearchDraftResponse{} b, x := &b0, m0 _, _ = b, x - x.RepositoryCommits = b.RepositoryCommits - x.NextPageToken = b.NextPageToken + x.xxx_hidden_RepositoryCommits = &b.RepositoryCommits + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type SearchModuleContentRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // The first page is returned if this is 0. - PageToken uint32 `protobuf:"varint,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // 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 []SearchModuleContentFilter `protobuf:"varint,4,rep,packed,name=filters,proto3,enum=buf.alpha.registry.v1alpha1.SearchModuleContentFilter" json:"filters,omitempty"` - // Optional, if provided the search results will be limited to the provided repository. - RepositoryFullName string `protobuf:"bytes,5,opt,name=repository_full_name,json=repositoryFullName,proto3" json:"repository_full_name,omitempty"` - // 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken uint32 `protobuf:"varint,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Filters []SearchModuleContentFilter `protobuf:"varint,4,rep,packed,name=filters,proto3,enum=buf.alpha.registry.v1alpha1.SearchModuleContentFilter" json:"filters,omitempty"` + xxx_hidden_RepositoryFullName string `protobuf:"bytes,5,opt,name=repository_full_name,json=repositoryFullName,proto3" json:"repository_full_name,omitempty"` + xxx_hidden_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() { @@ -2916,68 +2838,68 @@ func (x *SearchModuleContentRequest) ProtoReflect() protoreflect.Message { func (x *SearchModuleContentRequest) GetQuery() string { if x != nil { - return x.Query + return x.xxx_hidden_Query } return "" } func (x *SearchModuleContentRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *SearchModuleContentRequest) GetPageToken() uint32 { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return 0 } func (x *SearchModuleContentRequest) GetFilters() []SearchModuleContentFilter { if x != nil { - return x.Filters + return x.xxx_hidden_Filters } return nil } func (x *SearchModuleContentRequest) GetRepositoryFullName() string { if x != nil { - return x.RepositoryFullName + return x.xxx_hidden_RepositoryFullName } return "" } func (x *SearchModuleContentRequest) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *SearchModuleContentRequest) SetQuery(v string) { - x.Query = v + x.xxx_hidden_Query = v } func (x *SearchModuleContentRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *SearchModuleContentRequest) SetPageToken(v uint32) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *SearchModuleContentRequest) SetFilters(v []SearchModuleContentFilter) { - x.Filters = v + x.xxx_hidden_Filters = v } func (x *SearchModuleContentRequest) SetRepositoryFullName(v string) { - x.RepositoryFullName = v + x.xxx_hidden_RepositoryFullName = v } func (x *SearchModuleContentRequest) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } type SearchModuleContentRequest_builder struct { @@ -3003,22 +2925,21 @@ func (b0 SearchModuleContentRequest_builder) Build() *SearchModuleContentRequest m0 := &SearchModuleContentRequest{} b, x := &b0, m0 _, _ = b, x - x.Query = b.Query - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Filters = b.Filters - x.RepositoryFullName = b.RepositoryFullName - x.RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_Query = b.Query + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Filters = b.Filters + x.xxx_hidden_RepositoryFullName = b.RepositoryFullName + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner return m0 } type SearchModuleContentResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_SearchResults *[]*SearchModuleContentResult `protobuf:"bytes,1,rep,name=search_results,json=searchResults,proto3" json:"search_results,omitempty"` + xxx_hidden_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() { @@ -3048,24 +2969,26 @@ func (x *SearchModuleContentResponse) ProtoReflect() protoreflect.Message { func (x *SearchModuleContentResponse) GetSearchResults() []*SearchModuleContentResult { if x != nil { - return x.SearchResults + if x.xxx_hidden_SearchResults != nil { + return *x.xxx_hidden_SearchResults + } } return nil } func (x *SearchModuleContentResponse) GetNextPageToken() uint32 { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return 0 } func (x *SearchModuleContentResponse) SetSearchResults(v []*SearchModuleContentResult) { - x.SearchResults = v + x.xxx_hidden_SearchResults = &v } func (x *SearchModuleContentResponse) SetNextPageToken(v uint32) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type SearchModuleContentResponse_builder struct { @@ -3080,8 +3003,8 @@ func (b0 SearchModuleContentResponse_builder) Build() *SearchModuleContentRespon m0 := &SearchModuleContentResponse{} b, x := &b0, m0 _, _ = b, x - x.SearchResults = b.SearchResults - x.NextPageToken = b.NextPageToken + x.xxx_hidden_SearchResults = &b.SearchResults + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } @@ -3629,24 +3552,24 @@ func file_buf_alpha_registry_v1alpha1_search_proto_init() { file_buf_alpha_registry_v1alpha1_repository_tag_proto_init() file_buf_alpha_registry_v1alpha1_verification_status_proto_init() file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[7].OneofWrappers = []any{ - (*SearchResult_Repository)(nil), - (*SearchResult_Organization)(nil), - (*SearchResult_User)(nil), - (*SearchResult_Team)(nil), - (*SearchResult_CuratedPlugin)(nil), - (*SearchResult_ModuleElement)(nil), - (*SearchResult_ModuleFile)(nil), + (*searchResult_Repository)(nil), + (*searchResult_Organization)(nil), + (*searchResult_User)(nil), + (*searchResult_Team)(nil), + (*searchResult_CuratedPlugin)(nil), + (*searchResult_ModuleElement)(nil), + (*searchResult_ModuleFile)(nil), } file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[8].OneofWrappers = []any{ - (*ElementSearchResult_Service)(nil), - (*ElementSearchResult_Method)(nil), - (*ElementSearchResult_Enum)(nil), - (*ElementSearchResult_Message)(nil), - (*ElementSearchResult_FileExtension)(nil), + (*elementSearchResult_Service)(nil), + (*elementSearchResult_Method)(nil), + (*elementSearchResult_Enum)(nil), + (*elementSearchResult_Message)(nil), + (*elementSearchResult_FileExtension)(nil), } file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[10].OneofWrappers = []any{ - (*SearchModuleContentResult_Element)(nil), - (*SearchModuleContentResult_File)(nil), + (*searchModuleContentResult_Element)(nil), + (*searchModuleContentResult_File)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/search_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/search_protoopaque.pb.go deleted file mode 100644 index c2abd3cf39..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/search_protoopaque.pb.go +++ /dev/null @@ -1,3595 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/search.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type SearchFilter int32 - -const ( - SearchFilter_SEARCH_FILTER_UNSPECIFIED SearchFilter = 0 - SearchFilter_SEARCH_FILTER_USER SearchFilter = 1 - SearchFilter_SEARCH_FILTER_ORGANIZATION SearchFilter = 2 - SearchFilter_SEARCH_FILTER_REPOSITORY SearchFilter = 3 - SearchFilter_SEARCH_FILTER_TEAM SearchFilter = 6 - SearchFilter_SEARCH_FILTER_CURATED_PLUGIN SearchFilter = 7 - SearchFilter_SEARCH_FILTER_MODULE_ELEMENT SearchFilter = 8 - SearchFilter_SEARCH_FILTER_MODULE_FILE SearchFilter = 9 -) - -// Enum value maps for SearchFilter. -var ( - SearchFilter_name = map[int32]string{ - 0: "SEARCH_FILTER_UNSPECIFIED", - 1: "SEARCH_FILTER_USER", - 2: "SEARCH_FILTER_ORGANIZATION", - 3: "SEARCH_FILTER_REPOSITORY", - 6: "SEARCH_FILTER_TEAM", - 7: "SEARCH_FILTER_CURATED_PLUGIN", - 8: "SEARCH_FILTER_MODULE_ELEMENT", - 9: "SEARCH_FILTER_MODULE_FILE", - } - SearchFilter_value = map[string]int32{ - "SEARCH_FILTER_UNSPECIFIED": 0, - "SEARCH_FILTER_USER": 1, - "SEARCH_FILTER_ORGANIZATION": 2, - "SEARCH_FILTER_REPOSITORY": 3, - "SEARCH_FILTER_TEAM": 6, - "SEARCH_FILTER_CURATED_PLUGIN": 7, - "SEARCH_FILTER_MODULE_ELEMENT": 8, - "SEARCH_FILTER_MODULE_FILE": 9, - } -) - -func (x SearchFilter) Enum() *SearchFilter { - p := new(SearchFilter) - *p = x - return p -} - -func (x SearchFilter) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SearchFilter) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_search_proto_enumTypes[0].Descriptor() -} - -func (SearchFilter) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_search_proto_enumTypes[0] -} - -func (x SearchFilter) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type OrderBy int32 - -const ( - OrderBy_ORDER_BY_UNSPECIFIED OrderBy = 0 - OrderBy_ORDER_BY_CREATE_TIME OrderBy = 1 - OrderBy_ORDER_BY_UPDATE_TIME OrderBy = 2 - OrderBy_ORDER_BY_NAME OrderBy = 3 -) - -// Enum value maps for OrderBy. -var ( - OrderBy_name = map[int32]string{ - 0: "ORDER_BY_UNSPECIFIED", - 1: "ORDER_BY_CREATE_TIME", - 2: "ORDER_BY_UPDATE_TIME", - 3: "ORDER_BY_NAME", - } - OrderBy_value = map[string]int32{ - "ORDER_BY_UNSPECIFIED": 0, - "ORDER_BY_CREATE_TIME": 1, - "ORDER_BY_UPDATE_TIME": 2, - "ORDER_BY_NAME": 3, - } -) - -func (x OrderBy) Enum() *OrderBy { - p := new(OrderBy) - *p = x - return p -} - -func (x OrderBy) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (OrderBy) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_search_proto_enumTypes[1].Descriptor() -} - -func (OrderBy) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_search_proto_enumTypes[1] -} - -func (x OrderBy) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// SearchModuleElementType is the protobuf element type of a fully qualified name in a module element search result. -// This is a subset of types in https://protobuf.com/docs/language-spec#named-elements that are exposing in the search. -type SearchModuleElementType int32 - -const ( - SearchModuleElementType_SEARCH_MODULE_ELEMENT_TYPE_UNSPECIFIED SearchModuleElementType = 0 - SearchModuleElementType_SEARCH_MODULE_ELEMENT_TYPE_SERVICE SearchModuleElementType = 1 - SearchModuleElementType_SEARCH_MODULE_ELEMENT_TYPE_METHOD SearchModuleElementType = 2 - SearchModuleElementType_SEARCH_MODULE_ELEMENT_TYPE_MESSAGE SearchModuleElementType = 3 - SearchModuleElementType_SEARCH_MODULE_ELEMENT_TYPE_ENUM SearchModuleElementType = 4 -) - -// Enum value maps for SearchModuleElementType. -var ( - SearchModuleElementType_name = map[int32]string{ - 0: "SEARCH_MODULE_ELEMENT_TYPE_UNSPECIFIED", - 1: "SEARCH_MODULE_ELEMENT_TYPE_SERVICE", - 2: "SEARCH_MODULE_ELEMENT_TYPE_METHOD", - 3: "SEARCH_MODULE_ELEMENT_TYPE_MESSAGE", - 4: "SEARCH_MODULE_ELEMENT_TYPE_ENUM", - } - SearchModuleElementType_value = map[string]int32{ - "SEARCH_MODULE_ELEMENT_TYPE_UNSPECIFIED": 0, - "SEARCH_MODULE_ELEMENT_TYPE_SERVICE": 1, - "SEARCH_MODULE_ELEMENT_TYPE_METHOD": 2, - "SEARCH_MODULE_ELEMENT_TYPE_MESSAGE": 3, - "SEARCH_MODULE_ELEMENT_TYPE_ENUM": 4, - } -) - -func (x SearchModuleElementType) Enum() *SearchModuleElementType { - p := new(SearchModuleElementType) - *p = x - return p -} - -func (x SearchModuleElementType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SearchModuleElementType) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_search_proto_enumTypes[2].Descriptor() -} - -func (SearchModuleElementType) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_search_proto_enumTypes[2] -} - -func (x SearchModuleElementType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type SearchModuleContentFilter int32 - -const ( - SearchModuleContentFilter_SEARCH_MODULE_CONTENT_FILTER_UNSPECIFIED SearchModuleContentFilter = 0 - // SEARCH_MODULE_CONTENT_FILTER_ELEMENT is the filter for elements, e.g. messages, services, and methods. - SearchModuleContentFilter_SEARCH_MODULE_CONTENT_FILTER_ELEMENT SearchModuleContentFilter = 1 - // SEARCH_MODULE_CONTENT_FILTER_FILE is the filter for files. - SearchModuleContentFilter_SEARCH_MODULE_CONTENT_FILTER_FILE SearchModuleContentFilter = 2 -) - -// Enum value maps for SearchModuleContentFilter. -var ( - SearchModuleContentFilter_name = map[int32]string{ - 0: "SEARCH_MODULE_CONTENT_FILTER_UNSPECIFIED", - 1: "SEARCH_MODULE_CONTENT_FILTER_ELEMENT", - 2: "SEARCH_MODULE_CONTENT_FILTER_FILE", - } - SearchModuleContentFilter_value = map[string]int32{ - "SEARCH_MODULE_CONTENT_FILTER_UNSPECIFIED": 0, - "SEARCH_MODULE_CONTENT_FILTER_ELEMENT": 1, - "SEARCH_MODULE_CONTENT_FILTER_FILE": 2, - } -) - -func (x SearchModuleContentFilter) Enum() *SearchModuleContentFilter { - p := new(SearchModuleContentFilter) - *p = x - return p -} - -func (x SearchModuleContentFilter) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SearchModuleContentFilter) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_search_proto_enumTypes[3].Descriptor() -} - -func (SearchModuleContentFilter) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_search_proto_enumTypes[3] -} - -func (x SearchModuleContentFilter) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type RepositorySearchResult struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Visibility Visibility `protobuf:"varint,4,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"` - xxx_hidden_Deprecated bool `protobuf:"varint,5,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - xxx_hidden_LatestSpdxLicenseId string `protobuf:"bytes,6,opt,name=latest_spdx_license_id,json=latestSpdxLicenseId,proto3" json:"latest_spdx_license_id,omitempty"` - xxx_hidden_OwnerVerificationStatus VerificationStatus `protobuf:"varint,7,opt,name=owner_verification_status,json=ownerVerificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"owner_verification_status,omitempty"` - xxx_hidden_Url string `protobuf:"bytes,8,opt,name=url,proto3" json:"url,omitempty"` - xxx_hidden_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() { - *x = RepositorySearchResult{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RepositorySearchResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositorySearchResult) ProtoMessage() {} - -func (x *RepositorySearchResult) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RepositorySearchResult) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *RepositorySearchResult) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *RepositorySearchResult) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *RepositorySearchResult) GetVisibility() Visibility { - if x != nil { - return x.xxx_hidden_Visibility - } - return Visibility_VISIBILITY_UNSPECIFIED -} - -func (x *RepositorySearchResult) GetDeprecated() bool { - if x != nil { - return x.xxx_hidden_Deprecated - } - return false -} - -func (x *RepositorySearchResult) GetLatestSpdxLicenseId() string { - if x != nil { - return x.xxx_hidden_LatestSpdxLicenseId - } - return "" -} - -func (x *RepositorySearchResult) GetOwnerVerificationStatus() VerificationStatus { - if x != nil { - return x.xxx_hidden_OwnerVerificationStatus - } - return VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED -} - -func (x *RepositorySearchResult) GetUrl() string { - if x != nil { - return x.xxx_hidden_Url - } - return "" -} - -func (x *RepositorySearchResult) GetLatestCommitTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_LatestCommitTime - } - return nil -} - -func (x *RepositorySearchResult) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *RepositorySearchResult) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *RepositorySearchResult) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *RepositorySearchResult) SetVisibility(v Visibility) { - x.xxx_hidden_Visibility = v -} - -func (x *RepositorySearchResult) SetDeprecated(v bool) { - x.xxx_hidden_Deprecated = v -} - -func (x *RepositorySearchResult) SetLatestSpdxLicenseId(v string) { - x.xxx_hidden_LatestSpdxLicenseId = v -} - -func (x *RepositorySearchResult) SetOwnerVerificationStatus(v VerificationStatus) { - x.xxx_hidden_OwnerVerificationStatus = v -} - -func (x *RepositorySearchResult) SetUrl(v string) { - x.xxx_hidden_Url = v -} - -func (x *RepositorySearchResult) SetLatestCommitTime(v *timestamppb.Timestamp) { - x.xxx_hidden_LatestCommitTime = v -} - -func (x *RepositorySearchResult) HasLatestCommitTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_LatestCommitTime != nil -} - -func (x *RepositorySearchResult) ClearLatestCommitTime() { - x.xxx_hidden_LatestCommitTime = nil -} - -type RepositorySearchResult_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string - Name string - // The name of the user or organization - // who is the owner of this repository. - Owner string - // The visibility of the repository. - Visibility Visibility - Deprecated bool - // The SPDX license ID of the latest main commit in the repository. - LatestSpdxLicenseId string - // The verification status of the owner of the repository. - OwnerVerificationStatus VerificationStatus - // The user configurable URL in the description of the repository. - Url string - // The commit time of the latest main commit in the repository. - LatestCommitTime *timestamppb.Timestamp -} - -func (b0 RepositorySearchResult_builder) Build() *RepositorySearchResult { - m0 := &RepositorySearchResult{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Visibility = b.Visibility - x.xxx_hidden_Deprecated = b.Deprecated - x.xxx_hidden_LatestSpdxLicenseId = b.LatestSpdxLicenseId - x.xxx_hidden_OwnerVerificationStatus = b.OwnerVerificationStatus - x.xxx_hidden_Url = b.Url - x.xxx_hidden_LatestCommitTime = b.LatestCommitTime - return m0 -} - -type OrganizationSearchResult struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *OrganizationSearchResult) Reset() { - *x = OrganizationSearchResult{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *OrganizationSearchResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OrganizationSearchResult) ProtoMessage() {} - -func (x *OrganizationSearchResult) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *OrganizationSearchResult) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *OrganizationSearchResult) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *OrganizationSearchResult) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *OrganizationSearchResult) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *OrganizationSearchResult) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *OrganizationSearchResult) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *OrganizationSearchResult) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *OrganizationSearchResult) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -type OrganizationSearchResult_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string - Name string - CreateTime *timestamppb.Timestamp -} - -func (b0 OrganizationSearchResult_builder) Build() *OrganizationSearchResult { - m0 := &OrganizationSearchResult{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_Name = b.Name - x.xxx_hidden_CreateTime = b.CreateTime - return m0 -} - -type UserSearchResult struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - xxx_hidden_Deactivated bool `protobuf:"varint,3,opt,name=deactivated,proto3" json:"deactivated,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UserSearchResult) Reset() { - *x = UserSearchResult{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserSearchResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserSearchResult) ProtoMessage() {} - -func (x *UserSearchResult) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserSearchResult) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *UserSearchResult) GetUsername() string { - if x != nil { - return x.xxx_hidden_Username - } - return "" -} - -func (x *UserSearchResult) GetDeactivated() bool { - if x != nil { - return x.xxx_hidden_Deactivated - } - return false -} - -func (x *UserSearchResult) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *UserSearchResult) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *UserSearchResult) SetUsername(v string) { - x.xxx_hidden_Username = v -} - -func (x *UserSearchResult) SetDeactivated(v bool) { - x.xxx_hidden_Deactivated = v -} - -func (x *UserSearchResult) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *UserSearchResult) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *UserSearchResult) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -type UserSearchResult_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string - Username string - Deactivated bool - CreateTime *timestamppb.Timestamp -} - -func (b0 UserSearchResult_builder) Build() *UserSearchResult { - m0 := &UserSearchResult{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_Username = b.Username - x.xxx_hidden_Deactivated = b.Deactivated - x.xxx_hidden_CreateTime = b.CreateTime - return m0 -} - -type TeamSearchResult struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_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() { - *x = TeamSearchResult{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TeamSearchResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TeamSearchResult) ProtoMessage() {} - -func (x *TeamSearchResult) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *TeamSearchResult) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *TeamSearchResult) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *TeamSearchResult) GetOrganizationName() string { - if x != nil { - return x.xxx_hidden_OrganizationName - } - return "" -} - -func (x *TeamSearchResult) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *TeamSearchResult) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *TeamSearchResult) SetOrganizationName(v string) { - x.xxx_hidden_OrganizationName = v -} - -type TeamSearchResult_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string - Name string - OrganizationName string -} - -func (b0 TeamSearchResult_builder) Build() *TeamSearchResult { - m0 := &TeamSearchResult{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_Name = b.Name - x.xxx_hidden_OrganizationName = b.OrganizationName - return m0 -} - -type CuratedPluginSearchResult struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` - xxx_hidden_Deprecated bool `protobuf:"varint,4,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - xxx_hidden_Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - xxx_hidden_RegistryType PluginRegistryType `protobuf:"varint,6,opt,name=registry_type,json=registryType,proto3,enum=buf.alpha.registry.v1alpha1.PluginRegistryType" json:"registry_type,omitempty"` - xxx_hidden_OutputLanguages []PluginLanguage `protobuf:"varint,7,rep,packed,name=output_languages,json=outputLanguages,proto3,enum=buf.alpha.registry.v1alpha1.PluginLanguage" json:"output_languages,omitempty"` - xxx_hidden_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() { - *x = CuratedPluginSearchResult{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CuratedPluginSearchResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CuratedPluginSearchResult) ProtoMessage() {} - -func (x *CuratedPluginSearchResult) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CuratedPluginSearchResult) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *CuratedPluginSearchResult) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *CuratedPluginSearchResult) GetOwner() string { - if x != nil { - return x.xxx_hidden_Owner - } - return "" -} - -func (x *CuratedPluginSearchResult) GetDeprecated() bool { - if x != nil { - return x.xxx_hidden_Deprecated - } - return false -} - -func (x *CuratedPluginSearchResult) GetDescription() string { - if x != nil { - return x.xxx_hidden_Description - } - return "" -} - -func (x *CuratedPluginSearchResult) GetRegistryType() PluginRegistryType { - if x != nil { - return x.xxx_hidden_RegistryType - } - return PluginRegistryType_PLUGIN_REGISTRY_TYPE_UNSPECIFIED -} - -func (x *CuratedPluginSearchResult) GetOutputLanguages() []PluginLanguage { - if x != nil { - return x.xxx_hidden_OutputLanguages - } - return nil -} - -func (x *CuratedPluginSearchResult) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *CuratedPluginSearchResult) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *CuratedPluginSearchResult) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *CuratedPluginSearchResult) SetOwner(v string) { - x.xxx_hidden_Owner = v -} - -func (x *CuratedPluginSearchResult) SetDeprecated(v bool) { - x.xxx_hidden_Deprecated = v -} - -func (x *CuratedPluginSearchResult) SetDescription(v string) { - x.xxx_hidden_Description = v -} - -func (x *CuratedPluginSearchResult) SetRegistryType(v PluginRegistryType) { - x.xxx_hidden_RegistryType = v -} - -func (x *CuratedPluginSearchResult) SetOutputLanguages(v []PluginLanguage) { - x.xxx_hidden_OutputLanguages = v -} - -func (x *CuratedPluginSearchResult) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *CuratedPluginSearchResult) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *CuratedPluginSearchResult) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -type CuratedPluginSearchResult_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string - Name string - // The name of the user or organization - // who is the owner of this plugin. - Owner string - Deprecated bool - // The description of the plugin and it's functionality. - Description string - // The registry type of the plugin. - RegistryType PluginRegistryType - // The output languages supported by the plugin. - OutputLanguages []PluginLanguage - // The plugins creation timestamp. - CreateTime *timestamppb.Timestamp -} - -func (b0 CuratedPluginSearchResult_builder) Build() *CuratedPluginSearchResult { - m0 := &CuratedPluginSearchResult{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_Name = b.Name - x.xxx_hidden_Owner = b.Owner - x.xxx_hidden_Deprecated = b.Deprecated - x.xxx_hidden_Description = b.Description - x.xxx_hidden_RegistryType = b.RegistryType - x.xxx_hidden_OutputLanguages = b.OutputLanguages - x.xxx_hidden_CreateTime = b.CreateTime - return m0 -} - -type ModuleElementSearchResult struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_ProtoFilePath string `protobuf:"bytes,4,opt,name=proto_file_path,json=protoFilePath,proto3" json:"proto_file_path,omitempty"` - xxx_hidden_FullyQualifiedName string `protobuf:"bytes,5,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"` - xxx_hidden_PackageName string `protobuf:"bytes,6,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` - xxx_hidden_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() { - *x = ModuleElementSearchResult{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ModuleElementSearchResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ModuleElementSearchResult) ProtoMessage() {} - -func (x *ModuleElementSearchResult) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ModuleElementSearchResult) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *ModuleElementSearchResult) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *ModuleElementSearchResult) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *ModuleElementSearchResult) GetProtoFilePath() string { - if x != nil { - return x.xxx_hidden_ProtoFilePath - } - return "" -} - -func (x *ModuleElementSearchResult) GetFullyQualifiedName() string { - if x != nil { - return x.xxx_hidden_FullyQualifiedName - } - return "" -} - -func (x *ModuleElementSearchResult) GetPackageName() string { - if x != nil { - return x.xxx_hidden_PackageName - } - return "" -} - -func (x *ModuleElementSearchResult) GetSearchModuleElementType() SearchModuleElementType { - if x != nil { - return x.xxx_hidden_SearchModuleElementType - } - return SearchModuleElementType_SEARCH_MODULE_ELEMENT_TYPE_UNSPECIFIED -} - -func (x *ModuleElementSearchResult) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *ModuleElementSearchResult) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *ModuleElementSearchResult) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *ModuleElementSearchResult) SetProtoFilePath(v string) { - x.xxx_hidden_ProtoFilePath = v -} - -func (x *ModuleElementSearchResult) SetFullyQualifiedName(v string) { - x.xxx_hidden_FullyQualifiedName = v -} - -func (x *ModuleElementSearchResult) SetPackageName(v string) { - x.xxx_hidden_PackageName = v -} - -func (x *ModuleElementSearchResult) SetSearchModuleElementType(v SearchModuleElementType) { - x.xxx_hidden_SearchModuleElementType = v -} - -type ModuleElementSearchResult_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryId string - RepositoryOwner string - RepositoryName string - ProtoFilePath string - FullyQualifiedName string - PackageName string - SearchModuleElementType SearchModuleElementType -} - -func (b0 ModuleElementSearchResult_builder) Build() *ModuleElementSearchResult { - m0 := &ModuleElementSearchResult{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_ProtoFilePath = b.ProtoFilePath - x.xxx_hidden_FullyQualifiedName = b.FullyQualifiedName - x.xxx_hidden_PackageName = b.PackageName - x.xxx_hidden_SearchModuleElementType = b.SearchModuleElementType - return m0 -} - -type ModuleFileSearchResult struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_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() { - *x = ModuleFileSearchResult{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ModuleFileSearchResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ModuleFileSearchResult) ProtoMessage() {} - -func (x *ModuleFileSearchResult) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ModuleFileSearchResult) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *ModuleFileSearchResult) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *ModuleFileSearchResult) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *ModuleFileSearchResult) GetProtoFilePath() string { - if x != nil { - return x.xxx_hidden_ProtoFilePath - } - return "" -} - -func (x *ModuleFileSearchResult) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *ModuleFileSearchResult) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *ModuleFileSearchResult) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *ModuleFileSearchResult) SetProtoFilePath(v string) { - x.xxx_hidden_ProtoFilePath = v -} - -type ModuleFileSearchResult_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryId string - RepositoryOwner string - RepositoryName string - ProtoFilePath string -} - -func (b0 ModuleFileSearchResult_builder) Build() *ModuleFileSearchResult { - m0 := &ModuleFileSearchResult{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_ProtoFilePath = b.ProtoFilePath - return m0 -} - -type SearchResult struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Item isSearchResult_Item `protobuf_oneof:"item"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SearchResult) Reset() { - *x = SearchResult{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SearchResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchResult) ProtoMessage() {} - -func (x *SearchResult) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SearchResult) GetRepository() *RepositorySearchResult { - if x != nil { - if x, ok := x.xxx_hidden_Item.(*searchResult_Repository); ok { - return x.Repository - } - } - return nil -} - -func (x *SearchResult) GetOrganization() *OrganizationSearchResult { - if x != nil { - if x, ok := x.xxx_hidden_Item.(*searchResult_Organization); ok { - return x.Organization - } - } - return nil -} - -func (x *SearchResult) GetUser() *UserSearchResult { - if x != nil { - if x, ok := x.xxx_hidden_Item.(*searchResult_User); ok { - return x.User - } - } - return nil -} - -func (x *SearchResult) GetTeam() *TeamSearchResult { - if x != nil { - if x, ok := x.xxx_hidden_Item.(*searchResult_Team); ok { - return x.Team - } - } - return nil -} - -func (x *SearchResult) GetCuratedPlugin() *CuratedPluginSearchResult { - if x != nil { - if x, ok := x.xxx_hidden_Item.(*searchResult_CuratedPlugin); ok { - return x.CuratedPlugin - } - } - return nil -} - -func (x *SearchResult) GetModuleElement() *ModuleElementSearchResult { - if x != nil { - if x, ok := x.xxx_hidden_Item.(*searchResult_ModuleElement); ok { - return x.ModuleElement - } - } - return nil -} - -func (x *SearchResult) GetModuleFile() *ModuleFileSearchResult { - if x != nil { - if x, ok := x.xxx_hidden_Item.(*searchResult_ModuleFile); ok { - return x.ModuleFile - } - } - return nil -} - -func (x *SearchResult) SetRepository(v *RepositorySearchResult) { - if v == nil { - x.xxx_hidden_Item = nil - return - } - x.xxx_hidden_Item = &searchResult_Repository{v} -} - -func (x *SearchResult) SetOrganization(v *OrganizationSearchResult) { - if v == nil { - x.xxx_hidden_Item = nil - return - } - x.xxx_hidden_Item = &searchResult_Organization{v} -} - -func (x *SearchResult) SetUser(v *UserSearchResult) { - if v == nil { - x.xxx_hidden_Item = nil - return - } - x.xxx_hidden_Item = &searchResult_User{v} -} - -func (x *SearchResult) SetTeam(v *TeamSearchResult) { - if v == nil { - x.xxx_hidden_Item = nil - return - } - x.xxx_hidden_Item = &searchResult_Team{v} -} - -func (x *SearchResult) SetCuratedPlugin(v *CuratedPluginSearchResult) { - if v == nil { - x.xxx_hidden_Item = nil - return - } - x.xxx_hidden_Item = &searchResult_CuratedPlugin{v} -} - -func (x *SearchResult) SetModuleElement(v *ModuleElementSearchResult) { - if v == nil { - x.xxx_hidden_Item = nil - return - } - x.xxx_hidden_Item = &searchResult_ModuleElement{v} -} - -func (x *SearchResult) SetModuleFile(v *ModuleFileSearchResult) { - if v == nil { - x.xxx_hidden_Item = nil - return - } - x.xxx_hidden_Item = &searchResult_ModuleFile{v} -} - -func (x *SearchResult) HasItem() bool { - if x == nil { - return false - } - return x.xxx_hidden_Item != nil -} - -func (x *SearchResult) HasRepository() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Item.(*searchResult_Repository) - return ok -} - -func (x *SearchResult) HasOrganization() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Item.(*searchResult_Organization) - return ok -} - -func (x *SearchResult) HasUser() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Item.(*searchResult_User) - return ok -} - -func (x *SearchResult) HasTeam() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Item.(*searchResult_Team) - return ok -} - -func (x *SearchResult) HasCuratedPlugin() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Item.(*searchResult_CuratedPlugin) - return ok -} - -func (x *SearchResult) HasModuleElement() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Item.(*searchResult_ModuleElement) - return ok -} - -func (x *SearchResult) HasModuleFile() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Item.(*searchResult_ModuleFile) - return ok -} - -func (x *SearchResult) ClearItem() { - x.xxx_hidden_Item = nil -} - -func (x *SearchResult) ClearRepository() { - if _, ok := x.xxx_hidden_Item.(*searchResult_Repository); ok { - x.xxx_hidden_Item = nil - } -} - -func (x *SearchResult) ClearOrganization() { - if _, ok := x.xxx_hidden_Item.(*searchResult_Organization); ok { - x.xxx_hidden_Item = nil - } -} - -func (x *SearchResult) ClearUser() { - if _, ok := x.xxx_hidden_Item.(*searchResult_User); ok { - x.xxx_hidden_Item = nil - } -} - -func (x *SearchResult) ClearTeam() { - if _, ok := x.xxx_hidden_Item.(*searchResult_Team); ok { - x.xxx_hidden_Item = nil - } -} - -func (x *SearchResult) ClearCuratedPlugin() { - if _, ok := x.xxx_hidden_Item.(*searchResult_CuratedPlugin); ok { - x.xxx_hidden_Item = nil - } -} - -func (x *SearchResult) ClearModuleElement() { - if _, ok := x.xxx_hidden_Item.(*searchResult_ModuleElement); ok { - x.xxx_hidden_Item = nil - } -} - -func (x *SearchResult) ClearModuleFile() { - if _, ok := x.xxx_hidden_Item.(*searchResult_ModuleFile); ok { - x.xxx_hidden_Item = nil - } -} - -const SearchResult_Item_not_set_case case_SearchResult_Item = 0 -const SearchResult_Repository_case case_SearchResult_Item = 1 -const SearchResult_Organization_case case_SearchResult_Item = 2 -const SearchResult_User_case case_SearchResult_Item = 3 -const SearchResult_Team_case case_SearchResult_Item = 4 -const SearchResult_CuratedPlugin_case case_SearchResult_Item = 7 -const SearchResult_ModuleElement_case case_SearchResult_Item = 8 -const SearchResult_ModuleFile_case case_SearchResult_Item = 9 - -func (x *SearchResult) WhichItem() case_SearchResult_Item { - if x == nil { - return SearchResult_Item_not_set_case - } - switch x.xxx_hidden_Item.(type) { - case *searchResult_Repository: - return SearchResult_Repository_case - case *searchResult_Organization: - return SearchResult_Organization_case - case *searchResult_User: - return SearchResult_User_case - case *searchResult_Team: - return SearchResult_Team_case - case *searchResult_CuratedPlugin: - return SearchResult_CuratedPlugin_case - case *searchResult_ModuleElement: - return SearchResult_ModuleElement_case - case *searchResult_ModuleFile: - return SearchResult_ModuleFile_case - default: - return SearchResult_Item_not_set_case - } -} - -type SearchResult_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Fields of oneof xxx_hidden_Item: - Repository *RepositorySearchResult - Organization *OrganizationSearchResult - User *UserSearchResult - Team *TeamSearchResult - CuratedPlugin *CuratedPluginSearchResult - ModuleElement *ModuleElementSearchResult - ModuleFile *ModuleFileSearchResult - // -- end of xxx_hidden_Item -} - -func (b0 SearchResult_builder) Build() *SearchResult { - m0 := &SearchResult{} - b, x := &b0, m0 - _, _ = b, x - if b.Repository != nil { - x.xxx_hidden_Item = &searchResult_Repository{b.Repository} - } - if b.Organization != nil { - x.xxx_hidden_Item = &searchResult_Organization{b.Organization} - } - if b.User != nil { - x.xxx_hidden_Item = &searchResult_User{b.User} - } - if b.Team != nil { - x.xxx_hidden_Item = &searchResult_Team{b.Team} - } - if b.CuratedPlugin != nil { - x.xxx_hidden_Item = &searchResult_CuratedPlugin{b.CuratedPlugin} - } - if b.ModuleElement != nil { - x.xxx_hidden_Item = &searchResult_ModuleElement{b.ModuleElement} - } - if b.ModuleFile != nil { - x.xxx_hidden_Item = &searchResult_ModuleFile{b.ModuleFile} - } - return m0 -} - -type case_SearchResult_Item protoreflect.FieldNumber - -func (x case_SearchResult_Item) String() string { - md := file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[7].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isSearchResult_Item interface { - isSearchResult_Item() -} - -type searchResult_Repository struct { - Repository *RepositorySearchResult `protobuf:"bytes,1,opt,name=repository,proto3,oneof"` -} - -type searchResult_Organization struct { - Organization *OrganizationSearchResult `protobuf:"bytes,2,opt,name=organization,proto3,oneof"` -} - -type searchResult_User struct { - User *UserSearchResult `protobuf:"bytes,3,opt,name=user,proto3,oneof"` -} - -type searchResult_Team struct { - Team *TeamSearchResult `protobuf:"bytes,4,opt,name=team,proto3,oneof"` -} - -type searchResult_CuratedPlugin struct { - CuratedPlugin *CuratedPluginSearchResult `protobuf:"bytes,7,opt,name=curated_plugin,json=curatedPlugin,proto3,oneof"` -} - -type searchResult_ModuleElement struct { - ModuleElement *ModuleElementSearchResult `protobuf:"bytes,8,opt,name=module_element,json=moduleElement,proto3,oneof"` -} - -type searchResult_ModuleFile struct { - ModuleFile *ModuleFileSearchResult `protobuf:"bytes,9,opt,name=module_file,json=moduleFile,proto3,oneof"` -} - -func (*searchResult_Repository) isSearchResult_Item() {} - -func (*searchResult_Organization) isSearchResult_Item() {} - -func (*searchResult_User) isSearchResult_Item() {} - -func (*searchResult_Team) isSearchResult_Item() {} - -func (*searchResult_CuratedPlugin) isSearchResult_Item() {} - -func (*searchResult_ModuleElement) isSearchResult_Item() {} - -func (*searchResult_ModuleFile) isSearchResult_Item() {} - -type ElementSearchResult struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_ProtoFilePath string `protobuf:"bytes,4,opt,name=proto_file_path,json=protoFilePath,proto3" json:"proto_file_path,omitempty"` - xxx_hidden_FullyQualifiedName string `protobuf:"bytes,5,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"` - xxx_hidden_Document isElementSearchResult_Document `protobuf_oneof:"document"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ElementSearchResult) Reset() { - *x = ElementSearchResult{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ElementSearchResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ElementSearchResult) ProtoMessage() {} - -func (x *ElementSearchResult) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ElementSearchResult) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *ElementSearchResult) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *ElementSearchResult) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *ElementSearchResult) GetProtoFilePath() string { - if x != nil { - return x.xxx_hidden_ProtoFilePath - } - return "" -} - -func (x *ElementSearchResult) GetFullyQualifiedName() string { - if x != nil { - return x.xxx_hidden_FullyQualifiedName - } - return "" -} - -func (x *ElementSearchResult) GetService() *Service { - if x != nil { - if x, ok := x.xxx_hidden_Document.(*elementSearchResult_Service); ok { - return x.Service - } - } - return nil -} - -func (x *ElementSearchResult) GetMethod() *Method { - if x != nil { - if x, ok := x.xxx_hidden_Document.(*elementSearchResult_Method); ok { - return x.Method - } - } - return nil -} - -func (x *ElementSearchResult) GetEnum() *Enum { - if x != nil { - if x, ok := x.xxx_hidden_Document.(*elementSearchResult_Enum); ok { - return x.Enum - } - } - return nil -} - -func (x *ElementSearchResult) GetMessage() *Message { - if x != nil { - if x, ok := x.xxx_hidden_Document.(*elementSearchResult_Message); ok { - return x.Message - } - } - return nil -} - -func (x *ElementSearchResult) GetFileExtension() *FileExtension { - if x != nil { - if x, ok := x.xxx_hidden_Document.(*elementSearchResult_FileExtension); ok { - return x.FileExtension - } - } - return nil -} - -func (x *ElementSearchResult) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *ElementSearchResult) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *ElementSearchResult) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *ElementSearchResult) SetProtoFilePath(v string) { - x.xxx_hidden_ProtoFilePath = v -} - -func (x *ElementSearchResult) SetFullyQualifiedName(v string) { - x.xxx_hidden_FullyQualifiedName = v -} - -func (x *ElementSearchResult) SetService(v *Service) { - if v == nil { - x.xxx_hidden_Document = nil - return - } - x.xxx_hidden_Document = &elementSearchResult_Service{v} -} - -func (x *ElementSearchResult) SetMethod(v *Method) { - if v == nil { - x.xxx_hidden_Document = nil - return - } - x.xxx_hidden_Document = &elementSearchResult_Method{v} -} - -func (x *ElementSearchResult) SetEnum(v *Enum) { - if v == nil { - x.xxx_hidden_Document = nil - return - } - x.xxx_hidden_Document = &elementSearchResult_Enum{v} -} - -func (x *ElementSearchResult) SetMessage(v *Message) { - if v == nil { - x.xxx_hidden_Document = nil - return - } - x.xxx_hidden_Document = &elementSearchResult_Message{v} -} - -func (x *ElementSearchResult) SetFileExtension(v *FileExtension) { - if v == nil { - x.xxx_hidden_Document = nil - return - } - x.xxx_hidden_Document = &elementSearchResult_FileExtension{v} -} - -func (x *ElementSearchResult) HasDocument() bool { - if x == nil { - return false - } - return x.xxx_hidden_Document != nil -} - -func (x *ElementSearchResult) HasService() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Document.(*elementSearchResult_Service) - return ok -} - -func (x *ElementSearchResult) HasMethod() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Document.(*elementSearchResult_Method) - return ok -} - -func (x *ElementSearchResult) HasEnum() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Document.(*elementSearchResult_Enum) - return ok -} - -func (x *ElementSearchResult) HasMessage() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Document.(*elementSearchResult_Message) - return ok -} - -func (x *ElementSearchResult) HasFileExtension() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Document.(*elementSearchResult_FileExtension) - return ok -} - -func (x *ElementSearchResult) ClearDocument() { - x.xxx_hidden_Document = nil -} - -func (x *ElementSearchResult) ClearService() { - if _, ok := x.xxx_hidden_Document.(*elementSearchResult_Service); ok { - x.xxx_hidden_Document = nil - } -} - -func (x *ElementSearchResult) ClearMethod() { - if _, ok := x.xxx_hidden_Document.(*elementSearchResult_Method); ok { - x.xxx_hidden_Document = nil - } -} - -func (x *ElementSearchResult) ClearEnum() { - if _, ok := x.xxx_hidden_Document.(*elementSearchResult_Enum); ok { - x.xxx_hidden_Document = nil - } -} - -func (x *ElementSearchResult) ClearMessage() { - if _, ok := x.xxx_hidden_Document.(*elementSearchResult_Message); ok { - x.xxx_hidden_Document = nil - } -} - -func (x *ElementSearchResult) ClearFileExtension() { - if _, ok := x.xxx_hidden_Document.(*elementSearchResult_FileExtension); ok { - x.xxx_hidden_Document = nil - } -} - -const ElementSearchResult_Document_not_set_case case_ElementSearchResult_Document = 0 -const ElementSearchResult_Service_case case_ElementSearchResult_Document = 6 -const ElementSearchResult_Method_case case_ElementSearchResult_Document = 7 -const ElementSearchResult_Enum_case case_ElementSearchResult_Document = 8 -const ElementSearchResult_Message_case case_ElementSearchResult_Document = 9 -const ElementSearchResult_FileExtension_case case_ElementSearchResult_Document = 10 - -func (x *ElementSearchResult) WhichDocument() case_ElementSearchResult_Document { - if x == nil { - return ElementSearchResult_Document_not_set_case - } - switch x.xxx_hidden_Document.(type) { - case *elementSearchResult_Service: - return ElementSearchResult_Service_case - case *elementSearchResult_Method: - return ElementSearchResult_Method_case - case *elementSearchResult_Enum: - return ElementSearchResult_Enum_case - case *elementSearchResult_Message: - return ElementSearchResult_Message_case - case *elementSearchResult_FileExtension: - return ElementSearchResult_FileExtension_case - default: - return ElementSearchResult_Document_not_set_case - } -} - -type ElementSearchResult_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryId string - RepositoryOwner string - RepositoryName string - ProtoFilePath string - FullyQualifiedName string - // Fields of oneof xxx_hidden_Document: - Service *Service - Method *Method - Enum *Enum - Message *Message - FileExtension *FileExtension - // -- end of xxx_hidden_Document -} - -func (b0 ElementSearchResult_builder) Build() *ElementSearchResult { - m0 := &ElementSearchResult{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_ProtoFilePath = b.ProtoFilePath - x.xxx_hidden_FullyQualifiedName = b.FullyQualifiedName - if b.Service != nil { - x.xxx_hidden_Document = &elementSearchResult_Service{b.Service} - } - if b.Method != nil { - x.xxx_hidden_Document = &elementSearchResult_Method{b.Method} - } - if b.Enum != nil { - x.xxx_hidden_Document = &elementSearchResult_Enum{b.Enum} - } - if b.Message != nil { - x.xxx_hidden_Document = &elementSearchResult_Message{b.Message} - } - if b.FileExtension != nil { - x.xxx_hidden_Document = &elementSearchResult_FileExtension{b.FileExtension} - } - return m0 -} - -type case_ElementSearchResult_Document protoreflect.FieldNumber - -func (x case_ElementSearchResult_Document) String() string { - md := file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[8].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isElementSearchResult_Document interface { - isElementSearchResult_Document() -} - -type elementSearchResult_Service struct { - Service *Service `protobuf:"bytes,6,opt,name=service,proto3,oneof"` -} - -type elementSearchResult_Method struct { - Method *Method `protobuf:"bytes,7,opt,name=method,proto3,oneof"` -} - -type elementSearchResult_Enum struct { - Enum *Enum `protobuf:"bytes,8,opt,name=enum,proto3,oneof"` -} - -type elementSearchResult_Message struct { - Message *Message `protobuf:"bytes,9,opt,name=message,proto3,oneof"` -} - -type elementSearchResult_FileExtension struct { - FileExtension *FileExtension `protobuf:"bytes,10,opt,name=file_extension,json=fileExtension,proto3,oneof"` -} - -func (*elementSearchResult_Service) isElementSearchResult_Document() {} - -func (*elementSearchResult_Method) isElementSearchResult_Document() {} - -func (*elementSearchResult_Enum) isElementSearchResult_Document() {} - -func (*elementSearchResult_Message) isElementSearchResult_Document() {} - -func (*elementSearchResult_FileExtension) isElementSearchResult_Document() {} - -type FileSearchResult struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,2,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_ProtoFilePath string `protobuf:"bytes,4,opt,name=proto_file_path,json=protoFilePath,proto3" json:"proto_file_path,omitempty"` - xxx_hidden_Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FileSearchResult) Reset() { - *x = FileSearchResult{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FileSearchResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FileSearchResult) ProtoMessage() {} - -func (x *FileSearchResult) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *FileSearchResult) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *FileSearchResult) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *FileSearchResult) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *FileSearchResult) GetProtoFilePath() string { - if x != nil { - return x.xxx_hidden_ProtoFilePath - } - return "" -} - -func (x *FileSearchResult) GetContent() []byte { - if x != nil { - return x.xxx_hidden_Content - } - return nil -} - -func (x *FileSearchResult) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *FileSearchResult) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *FileSearchResult) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *FileSearchResult) SetProtoFilePath(v string) { - x.xxx_hidden_ProtoFilePath = v -} - -func (x *FileSearchResult) SetContent(v []byte) { - if v == nil { - v = []byte{} - } - x.xxx_hidden_Content = v -} - -type FileSearchResult_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryId string - RepositoryOwner string - RepositoryName string - ProtoFilePath string - Content []byte -} - -func (b0 FileSearchResult_builder) Build() *FileSearchResult { - m0 := &FileSearchResult{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_ProtoFilePath = b.ProtoFilePath - x.xxx_hidden_Content = b.Content - return m0 -} - -type SearchModuleContentResult struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Item isSearchModuleContentResult_Item `protobuf_oneof:"item"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SearchModuleContentResult) Reset() { - *x = SearchModuleContentResult{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SearchModuleContentResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchModuleContentResult) ProtoMessage() {} - -func (x *SearchModuleContentResult) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SearchModuleContentResult) GetElement() *ElementSearchResult { - if x != nil { - if x, ok := x.xxx_hidden_Item.(*searchModuleContentResult_Element); ok { - return x.Element - } - } - return nil -} - -func (x *SearchModuleContentResult) GetFile() *FileSearchResult { - if x != nil { - if x, ok := x.xxx_hidden_Item.(*searchModuleContentResult_File); ok { - return x.File - } - } - return nil -} - -func (x *SearchModuleContentResult) SetElement(v *ElementSearchResult) { - if v == nil { - x.xxx_hidden_Item = nil - return - } - x.xxx_hidden_Item = &searchModuleContentResult_Element{v} -} - -func (x *SearchModuleContentResult) SetFile(v *FileSearchResult) { - if v == nil { - x.xxx_hidden_Item = nil - return - } - x.xxx_hidden_Item = &searchModuleContentResult_File{v} -} - -func (x *SearchModuleContentResult) HasItem() bool { - if x == nil { - return false - } - return x.xxx_hidden_Item != nil -} - -func (x *SearchModuleContentResult) HasElement() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Item.(*searchModuleContentResult_Element) - return ok -} - -func (x *SearchModuleContentResult) HasFile() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Item.(*searchModuleContentResult_File) - return ok -} - -func (x *SearchModuleContentResult) ClearItem() { - x.xxx_hidden_Item = nil -} - -func (x *SearchModuleContentResult) ClearElement() { - if _, ok := x.xxx_hidden_Item.(*searchModuleContentResult_Element); ok { - x.xxx_hidden_Item = nil - } -} - -func (x *SearchModuleContentResult) ClearFile() { - if _, ok := x.xxx_hidden_Item.(*searchModuleContentResult_File); ok { - x.xxx_hidden_Item = nil - } -} - -const SearchModuleContentResult_Item_not_set_case case_SearchModuleContentResult_Item = 0 -const SearchModuleContentResult_Element_case case_SearchModuleContentResult_Item = 1 -const SearchModuleContentResult_File_case case_SearchModuleContentResult_Item = 2 - -func (x *SearchModuleContentResult) WhichItem() case_SearchModuleContentResult_Item { - if x == nil { - return SearchModuleContentResult_Item_not_set_case - } - switch x.xxx_hidden_Item.(type) { - case *searchModuleContentResult_Element: - return SearchModuleContentResult_Element_case - case *searchModuleContentResult_File: - return SearchModuleContentResult_File_case - default: - return SearchModuleContentResult_Item_not_set_case - } -} - -type SearchModuleContentResult_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Fields of oneof xxx_hidden_Item: - Element *ElementSearchResult - File *FileSearchResult - // -- end of xxx_hidden_Item -} - -func (b0 SearchModuleContentResult_builder) Build() *SearchModuleContentResult { - m0 := &SearchModuleContentResult{} - b, x := &b0, m0 - _, _ = b, x - if b.Element != nil { - x.xxx_hidden_Item = &searchModuleContentResult_Element{b.Element} - } - if b.File != nil { - x.xxx_hidden_Item = &searchModuleContentResult_File{b.File} - } - return m0 -} - -type case_SearchModuleContentResult_Item protoreflect.FieldNumber - -func (x case_SearchModuleContentResult_Item) String() string { - md := file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[10].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isSearchModuleContentResult_Item interface { - isSearchModuleContentResult_Item() -} - -type searchModuleContentResult_Element struct { - Element *ElementSearchResult `protobuf:"bytes,1,opt,name=element,proto3,oneof"` -} - -type searchModuleContentResult_File struct { - File *FileSearchResult `protobuf:"bytes,2,opt,name=file,proto3,oneof"` -} - -func (*searchModuleContentResult_Element) isSearchModuleContentResult_Item() {} - -func (*searchModuleContentResult_File) isSearchModuleContentResult_Item() {} - -type SearchRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken uint32 `protobuf:"varint,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_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() { - *x = SearchRequest{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SearchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchRequest) ProtoMessage() {} - -func (x *SearchRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SearchRequest) GetQuery() string { - if x != nil { - return x.xxx_hidden_Query - } - return "" -} - -func (x *SearchRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *SearchRequest) GetPageToken() uint32 { - if x != nil { - return x.xxx_hidden_PageToken - } - return 0 -} - -func (x *SearchRequest) GetFilters() []SearchFilter { - if x != nil { - return x.xxx_hidden_Filters - } - return nil -} - -func (x *SearchRequest) SetQuery(v string) { - x.xxx_hidden_Query = v -} - -func (x *SearchRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *SearchRequest) SetPageToken(v uint32) { - x.xxx_hidden_PageToken = v -} - -func (x *SearchRequest) SetFilters(v []SearchFilter) { - x.xxx_hidden_Filters = v -} - -type SearchRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The search string. - Query string - PageSize uint32 - // The first page is returned if this is 0. - PageToken uint32 - // 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 -} - -func (b0 SearchRequest_builder) Build() *SearchRequest { - m0 := &SearchRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Query = b.Query - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Filters = b.Filters - return m0 -} - -type SearchResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_SearchResults *[]*SearchResult `protobuf:"bytes,1,rep,name=search_results,json=searchResults,proto3" json:"search_results,omitempty"` - xxx_hidden_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() { - *x = SearchResponse{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SearchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchResponse) ProtoMessage() {} - -func (x *SearchResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SearchResponse) GetSearchResults() []*SearchResult { - if x != nil { - if x.xxx_hidden_SearchResults != nil { - return *x.xxx_hidden_SearchResults - } - } - return nil -} - -func (x *SearchResponse) GetNextPageToken() uint32 { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return 0 -} - -func (x *SearchResponse) SetSearchResults(v []*SearchResult) { - x.xxx_hidden_SearchResults = &v -} - -func (x *SearchResponse) SetNextPageToken(v uint32) { - x.xxx_hidden_NextPageToken = v -} - -type SearchResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - SearchResults []*SearchResult - // There are no more pages if this is 0. - NextPageToken uint32 -} - -func (b0 SearchResponse_builder) Build() *SearchResponse { - m0 := &SearchResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_SearchResults = &b.SearchResults - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type SearchTagRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_OrderBy OrderBy `protobuf:"varint,6,opt,name=order_by,json=orderBy,proto3,enum=buf.alpha.registry.v1alpha1.OrderBy" json:"order_by,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,7,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SearchTagRequest) Reset() { - *x = SearchTagRequest{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SearchTagRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchTagRequest) ProtoMessage() {} - -func (x *SearchTagRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SearchTagRequest) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *SearchTagRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *SearchTagRequest) GetQuery() string { - if x != nil { - return x.xxx_hidden_Query - } - return "" -} - -func (x *SearchTagRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *SearchTagRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *SearchTagRequest) GetOrderBy() OrderBy { - if x != nil { - return x.xxx_hidden_OrderBy - } - return OrderBy_ORDER_BY_UNSPECIFIED -} - -func (x *SearchTagRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *SearchTagRequest) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *SearchTagRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *SearchTagRequest) SetQuery(v string) { - x.xxx_hidden_Query = v -} - -func (x *SearchTagRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *SearchTagRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *SearchTagRequest) SetOrderBy(v OrderBy) { - x.xxx_hidden_OrderBy = v -} - -func (x *SearchTagRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type SearchTagRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the repository. - RepositoryOwner string - // The name of the repository. - RepositoryName string - // The search string. - Query string - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - // The field to order results by. - OrderBy OrderBy - // Reverse orders results in descending order. - Reverse bool -} - -func (b0 SearchTagRequest_builder) Build() *SearchTagRequest { - m0 := &SearchTagRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_Query = b.Query - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_OrderBy = b.OrderBy - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type SearchTagResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryTags *[]*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"` - xxx_hidden_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() { - *x = SearchTagResponse{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SearchTagResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchTagResponse) ProtoMessage() {} - -func (x *SearchTagResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SearchTagResponse) GetRepositoryTags() []*RepositoryTag { - if x != nil { - if x.xxx_hidden_RepositoryTags != nil { - return *x.xxx_hidden_RepositoryTags - } - } - return nil -} - -func (x *SearchTagResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *SearchTagResponse) SetRepositoryTags(v []*RepositoryTag) { - x.xxx_hidden_RepositoryTags = &v -} - -func (x *SearchTagResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type SearchTagResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryTags []*RepositoryTag - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 SearchTagResponse_builder) Build() *SearchTagResponse { - m0 := &SearchTagResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryTags = &b.RepositoryTags - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type SearchDraftRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_OrderBy OrderBy `protobuf:"varint,6,opt,name=order_by,json=orderBy,proto3,enum=buf.alpha.registry.v1alpha1.OrderBy" json:"order_by,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,7,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SearchDraftRequest) Reset() { - *x = SearchDraftRequest{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SearchDraftRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchDraftRequest) ProtoMessage() {} - -func (x *SearchDraftRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SearchDraftRequest) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *SearchDraftRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *SearchDraftRequest) GetQuery() string { - if x != nil { - return x.xxx_hidden_Query - } - return "" -} - -func (x *SearchDraftRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *SearchDraftRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *SearchDraftRequest) GetOrderBy() OrderBy { - if x != nil { - return x.xxx_hidden_OrderBy - } - return OrderBy_ORDER_BY_UNSPECIFIED -} - -func (x *SearchDraftRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *SearchDraftRequest) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *SearchDraftRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *SearchDraftRequest) SetQuery(v string) { - x.xxx_hidden_Query = v -} - -func (x *SearchDraftRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *SearchDraftRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *SearchDraftRequest) SetOrderBy(v OrderBy) { - x.xxx_hidden_OrderBy = v -} - -func (x *SearchDraftRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type SearchDraftRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The owner of the repository. - RepositoryOwner string - // The name of the repository. - RepositoryName string - // The search string. - Query string - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - // The field to order results by. - OrderBy OrderBy - // Reverse orders results in descending order. - Reverse bool -} - -func (b0 SearchDraftRequest_builder) Build() *SearchDraftRequest { - m0 := &SearchDraftRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_Query = b.Query - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_OrderBy = b.OrderBy - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type SearchDraftResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryCommits *[]*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"` - xxx_hidden_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() { - *x = SearchDraftResponse{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SearchDraftResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchDraftResponse) ProtoMessage() {} - -func (x *SearchDraftResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SearchDraftResponse) GetRepositoryCommits() []*RepositoryCommit { - if x != nil { - if x.xxx_hidden_RepositoryCommits != nil { - return *x.xxx_hidden_RepositoryCommits - } - } - return nil -} - -func (x *SearchDraftResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *SearchDraftResponse) SetRepositoryCommits(v []*RepositoryCommit) { - x.xxx_hidden_RepositoryCommits = &v -} - -func (x *SearchDraftResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type SearchDraftResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - RepositoryCommits []*RepositoryCommit - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 SearchDraftResponse_builder) Build() *SearchDraftResponse { - m0 := &SearchDraftResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryCommits = &b.RepositoryCommits - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type SearchModuleContentRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken uint32 `protobuf:"varint,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Filters []SearchModuleContentFilter `protobuf:"varint,4,rep,packed,name=filters,proto3,enum=buf.alpha.registry.v1alpha1.SearchModuleContentFilter" json:"filters,omitempty"` - xxx_hidden_RepositoryFullName string `protobuf:"bytes,5,opt,name=repository_full_name,json=repositoryFullName,proto3" json:"repository_full_name,omitempty"` - xxx_hidden_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() { - *x = SearchModuleContentRequest{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SearchModuleContentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchModuleContentRequest) ProtoMessage() {} - -func (x *SearchModuleContentRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SearchModuleContentRequest) GetQuery() string { - if x != nil { - return x.xxx_hidden_Query - } - return "" -} - -func (x *SearchModuleContentRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *SearchModuleContentRequest) GetPageToken() uint32 { - if x != nil { - return x.xxx_hidden_PageToken - } - return 0 -} - -func (x *SearchModuleContentRequest) GetFilters() []SearchModuleContentFilter { - if x != nil { - return x.xxx_hidden_Filters - } - return nil -} - -func (x *SearchModuleContentRequest) GetRepositoryFullName() string { - if x != nil { - return x.xxx_hidden_RepositoryFullName - } - return "" -} - -func (x *SearchModuleContentRequest) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *SearchModuleContentRequest) SetQuery(v string) { - x.xxx_hidden_Query = v -} - -func (x *SearchModuleContentRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *SearchModuleContentRequest) SetPageToken(v uint32) { - x.xxx_hidden_PageToken = v -} - -func (x *SearchModuleContentRequest) SetFilters(v []SearchModuleContentFilter) { - x.xxx_hidden_Filters = v -} - -func (x *SearchModuleContentRequest) SetRepositoryFullName(v string) { - x.xxx_hidden_RepositoryFullName = v -} - -func (x *SearchModuleContentRequest) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -type SearchModuleContentRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The search string. - Query string - PageSize uint32 - // The first page is returned if this is 0. - PageToken uint32 - // 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 []SearchModuleContentFilter - // Optional, if provided the search results will be limited to the provided repository. - RepositoryFullName string - // Optional, if provided the search results will be limited to the provided owner, - // ignored if repository_full_name is provided. - RepositoryOwner string -} - -func (b0 SearchModuleContentRequest_builder) Build() *SearchModuleContentRequest { - m0 := &SearchModuleContentRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Query = b.Query - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Filters = b.Filters - x.xxx_hidden_RepositoryFullName = b.RepositoryFullName - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - return m0 -} - -type SearchModuleContentResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_SearchResults *[]*SearchModuleContentResult `protobuf:"bytes,1,rep,name=search_results,json=searchResults,proto3" json:"search_results,omitempty"` - xxx_hidden_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() { - *x = SearchModuleContentResponse{} - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SearchModuleContentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchModuleContentResponse) ProtoMessage() {} - -func (x *SearchModuleContentResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SearchModuleContentResponse) GetSearchResults() []*SearchModuleContentResult { - if x != nil { - if x.xxx_hidden_SearchResults != nil { - return *x.xxx_hidden_SearchResults - } - } - return nil -} - -func (x *SearchModuleContentResponse) GetNextPageToken() uint32 { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return 0 -} - -func (x *SearchModuleContentResponse) SetSearchResults(v []*SearchModuleContentResult) { - x.xxx_hidden_SearchResults = &v -} - -func (x *SearchModuleContentResponse) SetNextPageToken(v uint32) { - x.xxx_hidden_NextPageToken = v -} - -type SearchModuleContentResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - SearchResults []*SearchModuleContentResult - // There are no more pages if this is 0. - NextPageToken uint32 -} - -func (b0 SearchModuleContentResponse_builder) Build() *SearchModuleContentResponse { - m0 := &SearchModuleContentResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_SearchResults = &b.SearchResults - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -var File_buf_alpha_registry_v1alpha1_search_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_search_proto_rawDesc = []byte{ - 0x0a, 0x28, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x25, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, - 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x5f, 0x63, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x33, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x74, 0x61, 0x67, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, - 0x03, 0x0a, 0x16, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a, - 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x33, 0x0a, 0x16, - 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x70, 0x64, 0x78, 0x5f, 0x6c, 0x69, 0x63, 0x65, - 0x6e, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6c, 0x61, - 0x74, 0x65, 0x73, 0x74, 0x53, 0x70, 0x64, 0x78, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x49, - 0x64, 0x12, 0x6b, 0x0a, 0x19, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x17, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, - 0x12, 0x48, 0x0a, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x7b, 0x0a, 0x18, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, - 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x61, 0x63, - 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, - 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x63, 0x0a, 0x10, 0x54, 0x65, 0x61, 0x6d, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x2b, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x82, 0x03, 0x0a, - 0x19, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, - 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, - 0x61, 0x74, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x56, 0x0a, 0x10, - 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, - 0x18, 0x07, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, 0x6e, 0x67, 0x75, - 0x61, 0x67, 0x65, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, - 0x61, 0x67, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, - 0x65, 0x22, 0x84, 0x03, 0x0a, 0x19, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x45, 0x6c, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, - 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, - 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x30, 0x0a, 0x14, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x5f, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, - 0x69, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, - 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x71, 0x0a, 0x1a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x17, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x45, 0x6c, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0xb9, 0x01, 0x0a, 0x16, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4f, 0x77, - 0x6e, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, - 0x50, 0x61, 0x74, 0x68, 0x22, 0x8c, 0x05, 0x0a, 0x0c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x55, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x5b, 0x0a, 0x0c, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x04, 0x75, 0x73, 0x65, - 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x43, - 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x04, 0x74, - 0x65, 0x61, 0x6d, 0x12, 0x5f, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x75, 0x72, 0x61, 0x74, 0x65, - 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x12, 0x5f, 0x0a, 0x0e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x65, - 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x45, 0x6c, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x56, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, - 0x66, 0x69, 0x6c, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, - 0x69, 0x6c, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, - 0x00, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x06, 0x0a, - 0x04, 0x69, 0x74, 0x65, 0x6d, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, - 0x07, 0x52, 0x06, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x22, 0xc5, 0x04, 0x0a, 0x13, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, - 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x66, 0x69, - 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x30, 0x0a, 0x14, - 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x5f, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x66, 0x75, 0x6c, 0x6c, - 0x79, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, - 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x24, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x48, 0x00, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x3d, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x23, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x48, 0x00, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, - 0x37, 0x0a, 0x04, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x75, 0x6d, - 0x48, 0x00, 0x52, 0x04, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x40, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, - 0x00, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x53, 0x0a, 0x0e, 0x66, 0x69, - 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, - 0x52, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, - 0x0a, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xcd, 0x01, 0x0a, 0x10, - 0x46, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, - 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xb6, 0x01, 0x0a, 0x19, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4c, 0x0a, 0x07, 0x65, 0x6c, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x07, - 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x06, 0x0a, 0x04, - 0x69, 0x74, 0x65, 0x6d, 0x22, 0xa6, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, - 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x43, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0x8a, 0x01, - 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x50, 0x0a, 0x0e, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6e, 0x65, 0x78, - 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x93, 0x02, 0x0a, 0x10, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, - 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, - 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x3f, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, - 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x52, 0x07, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, - 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, - 0x22, 0x90, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x61, 0x67, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, - 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x22, 0x95, 0x02, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x72, - 0x61, 0x66, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x12, 0x3f, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, - 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x13, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x72, 0x61, 0x66, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x11, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, - 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9d, 0x02, 0x0a, 0x1a, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1b, - 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x50, 0x0a, 0x07, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x46, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x30, 0x0a, 0x14, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, - 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0xa4, 0x01, 0x0a, 0x1b, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x0e, 0x73, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x73, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, - 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x2a, 0xb8, 0x02, 0x0a, 0x0c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x46, 0x49, 0x4c, 0x54, - 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x16, 0x0a, 0x12, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, - 0x52, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x45, 0x41, 0x52, - 0x43, 0x48, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, - 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x45, 0x41, 0x52, - 0x43, 0x48, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, - 0x54, 0x4f, 0x52, 0x59, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, - 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x10, 0x06, 0x12, 0x20, - 0x0a, 0x1c, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, - 0x43, 0x55, 0x52, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x07, - 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, - 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, - 0x10, 0x08, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x46, 0x49, 0x4c, - 0x54, 0x45, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, - 0x09, 0x22, 0x04, 0x08, 0x04, 0x10, 0x04, 0x22, 0x04, 0x08, 0x05, 0x10, 0x05, 0x2a, 0x14, 0x53, - 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x50, 0x4c, 0x55, - 0x47, 0x49, 0x4e, 0x2a, 0x16, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x46, 0x49, 0x4c, 0x54, - 0x45, 0x52, 0x5f, 0x54, 0x45, 0x4d, 0x50, 0x4c, 0x41, 0x54, 0x45, 0x2a, 0x6a, 0x0a, 0x07, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, - 0x42, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x42, 0x59, 0x5f, 0x43, 0x52, 0x45, - 0x41, 0x54, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x52, - 0x44, 0x45, 0x52, 0x5f, 0x42, 0x59, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x49, - 0x4d, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x42, 0x59, - 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x03, 0x2a, 0xe1, 0x01, 0x0a, 0x17, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x26, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x4d, 0x4f, - 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, - 0x26, 0x0a, 0x22, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, - 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, - 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x01, 0x12, 0x25, 0x0a, 0x21, 0x53, 0x45, 0x41, 0x52, 0x43, - 0x48, 0x5f, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x10, 0x02, 0x12, 0x26, - 0x0a, 0x22, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, - 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, - 0x53, 0x41, 0x47, 0x45, 0x10, 0x03, 0x12, 0x23, 0x0a, 0x1f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, - 0x5f, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x04, 0x2a, 0x9a, 0x01, 0x0a, 0x19, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x28, 0x53, 0x45, 0x41, - 0x52, 0x43, 0x48, 0x5f, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, - 0x4e, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x28, 0x0a, 0x24, 0x53, 0x45, 0x41, 0x52, 0x43, - 0x48, 0x5f, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, - 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x45, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x10, - 0x01, 0x12, 0x25, 0x0a, 0x21, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x4d, 0x4f, 0x44, 0x55, - 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, - 0x52, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x02, 0x32, 0xef, 0x03, 0x0a, 0x0d, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x06, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x12, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, - 0x02, 0x01, 0x12, 0x6f, 0x0a, 0x09, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x61, 0x67, 0x12, - 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, - 0x90, 0x02, 0x01, 0x12, 0x75, 0x0a, 0x0b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x72, 0x61, - 0x66, 0x74, 0x12, 0x2f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x72, 0x61, 0x66, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x72, 0x61, 0x66, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x12, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0x98, 0x02, 0x0a, 0x1f, 0x63, - 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0b, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, - 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, - 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, - 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, - 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_search_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_buf_alpha_registry_v1alpha1_search_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_buf_alpha_registry_v1alpha1_search_proto_goTypes = []any{ - (SearchFilter)(0), // 0: buf.alpha.registry.v1alpha1.SearchFilter - (OrderBy)(0), // 1: buf.alpha.registry.v1alpha1.OrderBy - (SearchModuleElementType)(0), // 2: buf.alpha.registry.v1alpha1.SearchModuleElementType - (SearchModuleContentFilter)(0), // 3: buf.alpha.registry.v1alpha1.SearchModuleContentFilter - (*RepositorySearchResult)(nil), // 4: buf.alpha.registry.v1alpha1.RepositorySearchResult - (*OrganizationSearchResult)(nil), // 5: buf.alpha.registry.v1alpha1.OrganizationSearchResult - (*UserSearchResult)(nil), // 6: buf.alpha.registry.v1alpha1.UserSearchResult - (*TeamSearchResult)(nil), // 7: buf.alpha.registry.v1alpha1.TeamSearchResult - (*CuratedPluginSearchResult)(nil), // 8: buf.alpha.registry.v1alpha1.CuratedPluginSearchResult - (*ModuleElementSearchResult)(nil), // 9: buf.alpha.registry.v1alpha1.ModuleElementSearchResult - (*ModuleFileSearchResult)(nil), // 10: buf.alpha.registry.v1alpha1.ModuleFileSearchResult - (*SearchResult)(nil), // 11: buf.alpha.registry.v1alpha1.SearchResult - (*ElementSearchResult)(nil), // 12: buf.alpha.registry.v1alpha1.ElementSearchResult - (*FileSearchResult)(nil), // 13: buf.alpha.registry.v1alpha1.FileSearchResult - (*SearchModuleContentResult)(nil), // 14: buf.alpha.registry.v1alpha1.SearchModuleContentResult - (*SearchRequest)(nil), // 15: buf.alpha.registry.v1alpha1.SearchRequest - (*SearchResponse)(nil), // 16: buf.alpha.registry.v1alpha1.SearchResponse - (*SearchTagRequest)(nil), // 17: buf.alpha.registry.v1alpha1.SearchTagRequest - (*SearchTagResponse)(nil), // 18: buf.alpha.registry.v1alpha1.SearchTagResponse - (*SearchDraftRequest)(nil), // 19: buf.alpha.registry.v1alpha1.SearchDraftRequest - (*SearchDraftResponse)(nil), // 20: buf.alpha.registry.v1alpha1.SearchDraftResponse - (*SearchModuleContentRequest)(nil), // 21: buf.alpha.registry.v1alpha1.SearchModuleContentRequest - (*SearchModuleContentResponse)(nil), // 22: buf.alpha.registry.v1alpha1.SearchModuleContentResponse - (Visibility)(0), // 23: buf.alpha.registry.v1alpha1.Visibility - (VerificationStatus)(0), // 24: buf.alpha.registry.v1alpha1.VerificationStatus - (*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp - (PluginRegistryType)(0), // 26: buf.alpha.registry.v1alpha1.PluginRegistryType - (PluginLanguage)(0), // 27: buf.alpha.registry.v1alpha1.PluginLanguage - (*Service)(nil), // 28: buf.alpha.registry.v1alpha1.Service - (*Method)(nil), // 29: buf.alpha.registry.v1alpha1.Method - (*Enum)(nil), // 30: buf.alpha.registry.v1alpha1.Enum - (*Message)(nil), // 31: buf.alpha.registry.v1alpha1.Message - (*FileExtension)(nil), // 32: buf.alpha.registry.v1alpha1.FileExtension - (*RepositoryTag)(nil), // 33: buf.alpha.registry.v1alpha1.RepositoryTag - (*RepositoryCommit)(nil), // 34: buf.alpha.registry.v1alpha1.RepositoryCommit -} -var file_buf_alpha_registry_v1alpha1_search_proto_depIdxs = []int32{ - 23, // 0: buf.alpha.registry.v1alpha1.RepositorySearchResult.visibility:type_name -> buf.alpha.registry.v1alpha1.Visibility - 24, // 1: buf.alpha.registry.v1alpha1.RepositorySearchResult.owner_verification_status:type_name -> buf.alpha.registry.v1alpha1.VerificationStatus - 25, // 2: buf.alpha.registry.v1alpha1.RepositorySearchResult.latest_commit_time:type_name -> google.protobuf.Timestamp - 25, // 3: buf.alpha.registry.v1alpha1.OrganizationSearchResult.create_time:type_name -> google.protobuf.Timestamp - 25, // 4: buf.alpha.registry.v1alpha1.UserSearchResult.create_time:type_name -> google.protobuf.Timestamp - 26, // 5: buf.alpha.registry.v1alpha1.CuratedPluginSearchResult.registry_type:type_name -> buf.alpha.registry.v1alpha1.PluginRegistryType - 27, // 6: buf.alpha.registry.v1alpha1.CuratedPluginSearchResult.output_languages:type_name -> buf.alpha.registry.v1alpha1.PluginLanguage - 25, // 7: buf.alpha.registry.v1alpha1.CuratedPluginSearchResult.create_time:type_name -> google.protobuf.Timestamp - 2, // 8: buf.alpha.registry.v1alpha1.ModuleElementSearchResult.search_module_element_type:type_name -> buf.alpha.registry.v1alpha1.SearchModuleElementType - 4, // 9: buf.alpha.registry.v1alpha1.SearchResult.repository:type_name -> buf.alpha.registry.v1alpha1.RepositorySearchResult - 5, // 10: buf.alpha.registry.v1alpha1.SearchResult.organization:type_name -> buf.alpha.registry.v1alpha1.OrganizationSearchResult - 6, // 11: buf.alpha.registry.v1alpha1.SearchResult.user:type_name -> buf.alpha.registry.v1alpha1.UserSearchResult - 7, // 12: buf.alpha.registry.v1alpha1.SearchResult.team:type_name -> buf.alpha.registry.v1alpha1.TeamSearchResult - 8, // 13: buf.alpha.registry.v1alpha1.SearchResult.curated_plugin:type_name -> buf.alpha.registry.v1alpha1.CuratedPluginSearchResult - 9, // 14: buf.alpha.registry.v1alpha1.SearchResult.module_element:type_name -> buf.alpha.registry.v1alpha1.ModuleElementSearchResult - 10, // 15: buf.alpha.registry.v1alpha1.SearchResult.module_file:type_name -> buf.alpha.registry.v1alpha1.ModuleFileSearchResult - 28, // 16: buf.alpha.registry.v1alpha1.ElementSearchResult.service:type_name -> buf.alpha.registry.v1alpha1.Service - 29, // 17: buf.alpha.registry.v1alpha1.ElementSearchResult.method:type_name -> buf.alpha.registry.v1alpha1.Method - 30, // 18: buf.alpha.registry.v1alpha1.ElementSearchResult.enum:type_name -> buf.alpha.registry.v1alpha1.Enum - 31, // 19: buf.alpha.registry.v1alpha1.ElementSearchResult.message:type_name -> buf.alpha.registry.v1alpha1.Message - 32, // 20: buf.alpha.registry.v1alpha1.ElementSearchResult.file_extension:type_name -> buf.alpha.registry.v1alpha1.FileExtension - 12, // 21: buf.alpha.registry.v1alpha1.SearchModuleContentResult.element:type_name -> buf.alpha.registry.v1alpha1.ElementSearchResult - 13, // 22: buf.alpha.registry.v1alpha1.SearchModuleContentResult.file:type_name -> buf.alpha.registry.v1alpha1.FileSearchResult - 0, // 23: buf.alpha.registry.v1alpha1.SearchRequest.filters:type_name -> buf.alpha.registry.v1alpha1.SearchFilter - 11, // 24: buf.alpha.registry.v1alpha1.SearchResponse.search_results:type_name -> buf.alpha.registry.v1alpha1.SearchResult - 1, // 25: buf.alpha.registry.v1alpha1.SearchTagRequest.order_by:type_name -> buf.alpha.registry.v1alpha1.OrderBy - 33, // 26: buf.alpha.registry.v1alpha1.SearchTagResponse.repository_tags:type_name -> buf.alpha.registry.v1alpha1.RepositoryTag - 1, // 27: buf.alpha.registry.v1alpha1.SearchDraftRequest.order_by:type_name -> buf.alpha.registry.v1alpha1.OrderBy - 34, // 28: buf.alpha.registry.v1alpha1.SearchDraftResponse.repository_commits:type_name -> buf.alpha.registry.v1alpha1.RepositoryCommit - 3, // 29: buf.alpha.registry.v1alpha1.SearchModuleContentRequest.filters:type_name -> buf.alpha.registry.v1alpha1.SearchModuleContentFilter - 14, // 30: buf.alpha.registry.v1alpha1.SearchModuleContentResponse.search_results:type_name -> buf.alpha.registry.v1alpha1.SearchModuleContentResult - 15, // 31: buf.alpha.registry.v1alpha1.SearchService.Search:input_type -> buf.alpha.registry.v1alpha1.SearchRequest - 17, // 32: buf.alpha.registry.v1alpha1.SearchService.SearchTag:input_type -> buf.alpha.registry.v1alpha1.SearchTagRequest - 19, // 33: buf.alpha.registry.v1alpha1.SearchService.SearchDraft:input_type -> buf.alpha.registry.v1alpha1.SearchDraftRequest - 21, // 34: buf.alpha.registry.v1alpha1.SearchService.SearchModuleContent:input_type -> buf.alpha.registry.v1alpha1.SearchModuleContentRequest - 16, // 35: buf.alpha.registry.v1alpha1.SearchService.Search:output_type -> buf.alpha.registry.v1alpha1.SearchResponse - 18, // 36: buf.alpha.registry.v1alpha1.SearchService.SearchTag:output_type -> buf.alpha.registry.v1alpha1.SearchTagResponse - 20, // 37: buf.alpha.registry.v1alpha1.SearchService.SearchDraft:output_type -> buf.alpha.registry.v1alpha1.SearchDraftResponse - 22, // 38: buf.alpha.registry.v1alpha1.SearchService.SearchModuleContent:output_type -> buf.alpha.registry.v1alpha1.SearchModuleContentResponse - 35, // [35:39] is the sub-list for method output_type - 31, // [31:35] is the sub-list for method input_type - 31, // [31:31] is the sub-list for extension type_name - 31, // [31:31] is the sub-list for extension extendee - 0, // [0:31] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_search_proto_init() } -func file_buf_alpha_registry_v1alpha1_search_proto_init() { - if File_buf_alpha_registry_v1alpha1_search_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_doc_proto_init() - file_buf_alpha_registry_v1alpha1_plugin_curation_proto_init() - file_buf_alpha_registry_v1alpha1_repository_proto_init() - file_buf_alpha_registry_v1alpha1_repository_commit_proto_init() - file_buf_alpha_registry_v1alpha1_repository_tag_proto_init() - file_buf_alpha_registry_v1alpha1_verification_status_proto_init() - file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[7].OneofWrappers = []any{ - (*searchResult_Repository)(nil), - (*searchResult_Organization)(nil), - (*searchResult_User)(nil), - (*searchResult_Team)(nil), - (*searchResult_CuratedPlugin)(nil), - (*searchResult_ModuleElement)(nil), - (*searchResult_ModuleFile)(nil), - } - file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[8].OneofWrappers = []any{ - (*elementSearchResult_Service)(nil), - (*elementSearchResult_Method)(nil), - (*elementSearchResult_Enum)(nil), - (*elementSearchResult_Message)(nil), - (*elementSearchResult_FileExtension)(nil), - } - file_buf_alpha_registry_v1alpha1_search_proto_msgTypes[10].OneofWrappers = []any{ - (*searchModuleContentResult_Element)(nil), - (*searchModuleContentResult_File)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_search_proto_rawDesc, - NumEnums: 4, - NumMessages: 19, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_search_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_search_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_search_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_search_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_search_proto = out.File - file_buf_alpha_registry_v1alpha1_search_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_search_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_search_proto_depIdxs = nil -} 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 b4900ad749..c0fae99b05 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/studio.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -82,17 +80,13 @@ func (x StudioAgentProtocol) Number() protoreflect.EnumNumber { // StudioAgentPreset is the information about an agent preset in the Studio. type StudioAgentPreset struct { - state protoimpl.MessageState `protogen:"hybrid.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. - Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + xxx_hidden_Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` + xxx_hidden_Protocol StudioAgentProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=buf.alpha.registry.v1alpha1.StudioAgentProtocol" json:"protocol,omitempty"` + xxx_hidden_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() { @@ -122,46 +116,46 @@ func (x *StudioAgentPreset) ProtoReflect() protoreflect.Message { func (x *StudioAgentPreset) GetUrl() string { if x != nil { - return x.Url + return x.xxx_hidden_Url } return "" } func (x *StudioAgentPreset) GetAlias() string { if x != nil { - return x.Alias + return x.xxx_hidden_Alias } return "" } func (x *StudioAgentPreset) GetProtocol() StudioAgentProtocol { if x != nil { - return x.Protocol + return x.xxx_hidden_Protocol } return StudioAgentProtocol_STUDIO_AGENT_PROTOCOL_UNSPECIFIED } func (x *StudioAgentPreset) GetTargetUrl() string { if x != nil { - return x.TargetUrl + return x.xxx_hidden_TargetUrl } return "" } func (x *StudioAgentPreset) SetUrl(v string) { - x.Url = v + x.xxx_hidden_Url = v } func (x *StudioAgentPreset) SetAlias(v string) { - x.Alias = v + x.xxx_hidden_Alias = v } func (x *StudioAgentPreset) SetProtocol(v StudioAgentProtocol) { - x.Protocol = v + x.xxx_hidden_Protocol = v } func (x *StudioAgentPreset) SetTargetUrl(v string) { - x.TargetUrl = v + x.xxx_hidden_TargetUrl = v } type StudioAgentPreset_builder struct { @@ -181,15 +175,15 @@ func (b0 StudioAgentPreset_builder) Build() *StudioAgentPreset { m0 := &StudioAgentPreset{} b, x := &b0, m0 _, _ = b, x - x.Url = b.Url - x.Alias = b.Alias - x.Protocol = b.Protocol - x.TargetUrl = b.TargetUrl + x.xxx_hidden_Url = b.Url + x.xxx_hidden_Alias = b.Alias + x.xxx_hidden_Protocol = b.Protocol + x.xxx_hidden_TargetUrl = b.TargetUrl return m0 } type ListStudioAgentPresetsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -232,10 +226,10 @@ func (b0 ListStudioAgentPresetsRequest_builder) Build() *ListStudioAgentPresetsR } type ListStudioAgentPresetsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Agents []*StudioAgentPreset `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Agents *[]*StudioAgentPreset `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListStudioAgentPresetsResponse) Reset() { @@ -265,13 +259,15 @@ func (x *ListStudioAgentPresetsResponse) ProtoReflect() protoreflect.Message { func (x *ListStudioAgentPresetsResponse) GetAgents() []*StudioAgentPreset { if x != nil { - return x.Agents + if x.xxx_hidden_Agents != nil { + return *x.xxx_hidden_Agents + } } return nil } func (x *ListStudioAgentPresetsResponse) SetAgents(v []*StudioAgentPreset) { - x.Agents = v + x.xxx_hidden_Agents = &v } type ListStudioAgentPresetsResponse_builder struct { @@ -284,15 +280,15 @@ func (b0 ListStudioAgentPresetsResponse_builder) Build() *ListStudioAgentPresets m0 := &ListStudioAgentPresetsResponse{} b, x := &b0, m0 _, _ = b, x - x.Agents = b.Agents + x.xxx_hidden_Agents = &b.Agents return m0 } type SetStudioAgentPresetsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Agents []*StudioAgentPreset `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Agents *[]*StudioAgentPreset `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetStudioAgentPresetsRequest) Reset() { @@ -322,13 +318,15 @@ func (x *SetStudioAgentPresetsRequest) ProtoReflect() protoreflect.Message { func (x *SetStudioAgentPresetsRequest) GetAgents() []*StudioAgentPreset { if x != nil { - return x.Agents + if x.xxx_hidden_Agents != nil { + return *x.xxx_hidden_Agents + } } return nil } func (x *SetStudioAgentPresetsRequest) SetAgents(v []*StudioAgentPreset) { - x.Agents = v + x.xxx_hidden_Agents = &v } type SetStudioAgentPresetsRequest_builder struct { @@ -341,12 +339,12 @@ func (b0 SetStudioAgentPresetsRequest_builder) Build() *SetStudioAgentPresetsReq m0 := &SetStudioAgentPresetsRequest{} b, x := &b0, m0 _, _ = b, x - x.Agents = b.Agents + x.xxx_hidden_Agents = &b.Agents return m0 } type SetStudioAgentPresetsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio_protoopaque.pb.go deleted file mode 100644 index eeb773857b..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio_protoopaque.pb.go +++ /dev/null @@ -1,524 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/studio.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// The protocols supported by Studio agent. -type StudioAgentProtocol int32 - -const ( - StudioAgentProtocol_STUDIO_AGENT_PROTOCOL_UNSPECIFIED StudioAgentProtocol = 0 - StudioAgentProtocol_STUDIO_AGENT_PROTOCOL_GRPC StudioAgentProtocol = 1 - StudioAgentProtocol_STUDIO_AGENT_PROTOCOL_CONNECT StudioAgentProtocol = 2 -) - -// Enum value maps for StudioAgentProtocol. -var ( - StudioAgentProtocol_name = map[int32]string{ - 0: "STUDIO_AGENT_PROTOCOL_UNSPECIFIED", - 1: "STUDIO_AGENT_PROTOCOL_GRPC", - 2: "STUDIO_AGENT_PROTOCOL_CONNECT", - } - StudioAgentProtocol_value = map[string]int32{ - "STUDIO_AGENT_PROTOCOL_UNSPECIFIED": 0, - "STUDIO_AGENT_PROTOCOL_GRPC": 1, - "STUDIO_AGENT_PROTOCOL_CONNECT": 2, - } -) - -func (x StudioAgentProtocol) Enum() *StudioAgentProtocol { - p := new(StudioAgentProtocol) - *p = x - return p -} - -func (x StudioAgentProtocol) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (StudioAgentProtocol) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_studio_proto_enumTypes[0].Descriptor() -} - -func (StudioAgentProtocol) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_studio_proto_enumTypes[0] -} - -func (x StudioAgentProtocol) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// StudioAgentPreset is the information about an agent preset in the Studio. -type StudioAgentPreset struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - xxx_hidden_Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` - xxx_hidden_Protocol StudioAgentProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=buf.alpha.registry.v1alpha1.StudioAgentProtocol" json:"protocol,omitempty"` - xxx_hidden_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() { - *x = StudioAgentPreset{} - mi := &file_buf_alpha_registry_v1alpha1_studio_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StudioAgentPreset) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StudioAgentPreset) ProtoMessage() {} - -func (x *StudioAgentPreset) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *StudioAgentPreset) GetUrl() string { - if x != nil { - return x.xxx_hidden_Url - } - return "" -} - -func (x *StudioAgentPreset) GetAlias() string { - if x != nil { - return x.xxx_hidden_Alias - } - return "" -} - -func (x *StudioAgentPreset) GetProtocol() StudioAgentProtocol { - if x != nil { - return x.xxx_hidden_Protocol - } - return StudioAgentProtocol_STUDIO_AGENT_PROTOCOL_UNSPECIFIED -} - -func (x *StudioAgentPreset) GetTargetUrl() string { - if x != nil { - return x.xxx_hidden_TargetUrl - } - return "" -} - -func (x *StudioAgentPreset) SetUrl(v string) { - x.xxx_hidden_Url = v -} - -func (x *StudioAgentPreset) SetAlias(v string) { - x.xxx_hidden_Alias = v -} - -func (x *StudioAgentPreset) SetProtocol(v StudioAgentProtocol) { - x.xxx_hidden_Protocol = v -} - -func (x *StudioAgentPreset) SetTargetUrl(v string) { - x.xxx_hidden_TargetUrl = v -} - -type StudioAgentPreset_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The agent URL in the Studio. - Url string - // The optional alias of the agent URL. - Alias string - // The protocol the agent should use to forward requests. - Protocol StudioAgentProtocol - // The URL of the target host. - TargetUrl string -} - -func (b0 StudioAgentPreset_builder) Build() *StudioAgentPreset { - m0 := &StudioAgentPreset{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Url = b.Url - x.xxx_hidden_Alias = b.Alias - x.xxx_hidden_Protocol = b.Protocol - x.xxx_hidden_TargetUrl = b.TargetUrl - return m0 -} - -type ListStudioAgentPresetsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListStudioAgentPresetsRequest) Reset() { - *x = ListStudioAgentPresetsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_studio_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListStudioAgentPresetsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListStudioAgentPresetsRequest) ProtoMessage() {} - -func (x *ListStudioAgentPresetsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type ListStudioAgentPresetsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 ListStudioAgentPresetsRequest_builder) Build() *ListStudioAgentPresetsRequest { - m0 := &ListStudioAgentPresetsRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type ListStudioAgentPresetsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Agents *[]*StudioAgentPreset `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListStudioAgentPresetsResponse) Reset() { - *x = ListStudioAgentPresetsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_studio_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListStudioAgentPresetsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListStudioAgentPresetsResponse) ProtoMessage() {} - -func (x *ListStudioAgentPresetsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListStudioAgentPresetsResponse) GetAgents() []*StudioAgentPreset { - if x != nil { - if x.xxx_hidden_Agents != nil { - return *x.xxx_hidden_Agents - } - } - return nil -} - -func (x *ListStudioAgentPresetsResponse) SetAgents(v []*StudioAgentPreset) { - x.xxx_hidden_Agents = &v -} - -type ListStudioAgentPresetsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Agents []*StudioAgentPreset -} - -func (b0 ListStudioAgentPresetsResponse_builder) Build() *ListStudioAgentPresetsResponse { - m0 := &ListStudioAgentPresetsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Agents = &b.Agents - return m0 -} - -type SetStudioAgentPresetsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Agents *[]*StudioAgentPreset `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetStudioAgentPresetsRequest) Reset() { - *x = SetStudioAgentPresetsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_studio_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetStudioAgentPresetsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetStudioAgentPresetsRequest) ProtoMessage() {} - -func (x *SetStudioAgentPresetsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *SetStudioAgentPresetsRequest) GetAgents() []*StudioAgentPreset { - if x != nil { - if x.xxx_hidden_Agents != nil { - return *x.xxx_hidden_Agents - } - } - return nil -} - -func (x *SetStudioAgentPresetsRequest) SetAgents(v []*StudioAgentPreset) { - x.xxx_hidden_Agents = &v -} - -type SetStudioAgentPresetsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Agents []*StudioAgentPreset -} - -func (b0 SetStudioAgentPresetsRequest_builder) Build() *SetStudioAgentPresetsRequest { - m0 := &SetStudioAgentPresetsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Agents = &b.Agents - return m0 -} - -type SetStudioAgentPresetsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetStudioAgentPresetsResponse) Reset() { - *x = SetStudioAgentPresetsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_studio_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetStudioAgentPresetsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetStudioAgentPresetsResponse) ProtoMessage() {} - -func (x *SetStudioAgentPresetsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type SetStudioAgentPresetsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 SetStudioAgentPresetsResponse_builder) Build() *SetStudioAgentPresetsResponse { - m0 := &SetStudioAgentPresetsResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -var File_buf_alpha_registry_v1alpha1_studio_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_studio_proto_rawDesc = []byte{ - 0x0a, 0x28, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x74, - 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0xa8, 0x01, 0x0a, 0x11, 0x53, 0x74, 0x75, 0x64, - 0x69, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x12, 0x10, 0x0a, - 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, - 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x4c, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x41, 0x67, 0x65, 0x6e, - 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x72, - 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, - 0x72, 0x6c, 0x22, 0x1f, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, - 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x75, 0x64, 0x69, - 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, - 0x72, 0x65, 0x73, 0x65, 0x74, 0x52, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x66, 0x0a, - 0x1c, 0x53, 0x65, 0x74, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, - 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, - 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x75, 0x64, - 0x69, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x52, 0x06, 0x61, - 0x67, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x1f, 0x0a, 0x1d, 0x53, 0x65, 0x74, 0x53, 0x74, 0x75, 0x64, - 0x69, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x7f, 0x0a, 0x13, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, - 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x25, 0x0a, - 0x21, 0x53, 0x54, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x52, - 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x54, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x41, - 0x47, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x5f, 0x47, 0x52, - 0x50, 0x43, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x54, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x41, - 0x47, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x5f, 0x43, 0x4f, - 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x02, 0x32, 0xb9, 0x02, 0x0a, 0x0d, 0x53, 0x74, 0x75, 0x64, - 0x69, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x96, 0x01, 0x0a, 0x16, 0x4c, 0x69, - 0x73, 0x74, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, - 0x73, 0x65, 0x74, 0x73, 0x12, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x41, 0x67, 0x65, - 0x6e, 0x74, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x3b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, - 0x65, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, - 0x02, 0x01, 0x12, 0x8e, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, - 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x12, 0x39, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x74, - 0x75, 0x64, 0x69, 0x6f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x41, - 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x42, 0x98, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0b, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, - 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, - 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_studio_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_buf_alpha_registry_v1alpha1_studio_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_buf_alpha_registry_v1alpha1_studio_proto_goTypes = []any{ - (StudioAgentProtocol)(0), // 0: buf.alpha.registry.v1alpha1.StudioAgentProtocol - (*StudioAgentPreset)(nil), // 1: buf.alpha.registry.v1alpha1.StudioAgentPreset - (*ListStudioAgentPresetsRequest)(nil), // 2: buf.alpha.registry.v1alpha1.ListStudioAgentPresetsRequest - (*ListStudioAgentPresetsResponse)(nil), // 3: buf.alpha.registry.v1alpha1.ListStudioAgentPresetsResponse - (*SetStudioAgentPresetsRequest)(nil), // 4: buf.alpha.registry.v1alpha1.SetStudioAgentPresetsRequest - (*SetStudioAgentPresetsResponse)(nil), // 5: buf.alpha.registry.v1alpha1.SetStudioAgentPresetsResponse -} -var file_buf_alpha_registry_v1alpha1_studio_proto_depIdxs = []int32{ - 0, // 0: buf.alpha.registry.v1alpha1.StudioAgentPreset.protocol:type_name -> buf.alpha.registry.v1alpha1.StudioAgentProtocol - 1, // 1: buf.alpha.registry.v1alpha1.ListStudioAgentPresetsResponse.agents:type_name -> buf.alpha.registry.v1alpha1.StudioAgentPreset - 1, // 2: buf.alpha.registry.v1alpha1.SetStudioAgentPresetsRequest.agents:type_name -> buf.alpha.registry.v1alpha1.StudioAgentPreset - 2, // 3: buf.alpha.registry.v1alpha1.StudioService.ListStudioAgentPresets:input_type -> buf.alpha.registry.v1alpha1.ListStudioAgentPresetsRequest - 4, // 4: buf.alpha.registry.v1alpha1.StudioService.SetStudioAgentPresets:input_type -> buf.alpha.registry.v1alpha1.SetStudioAgentPresetsRequest - 3, // 5: buf.alpha.registry.v1alpha1.StudioService.ListStudioAgentPresets:output_type -> buf.alpha.registry.v1alpha1.ListStudioAgentPresetsResponse - 5, // 6: buf.alpha.registry.v1alpha1.StudioService.SetStudioAgentPresets:output_type -> buf.alpha.registry.v1alpha1.SetStudioAgentPresetsResponse - 5, // [5:7] is the sub-list for method output_type - 3, // [3:5] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_studio_proto_init() } -func file_buf_alpha_registry_v1alpha1_studio_proto_init() { - if File_buf_alpha_registry_v1alpha1_studio_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_studio_proto_rawDesc, - NumEnums: 1, - NumMessages: 5, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_studio_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_studio_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_studio_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_studio_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_studio_proto = out.File - file_buf_alpha_registry_v1alpha1_studio_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_studio_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_studio_proto_depIdxs = nil -} 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 85d70eff72..8ce5a6e91c 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/studio_request.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -92,32 +90,20 @@ func (x StudioProtocol) Number() protoreflect.EnumNumber { // CreateStudioRequestRequest is the proto request representation of the // CreateStudioRequest method. type CreateStudioRequestRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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. - RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - // The friendly name of this request. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The target base URL of this request. - TargetBaseUrl string `protobuf:"bytes,4,opt,name=target_base_url,json=targetBaseUrl,proto3" json:"target_base_url,omitempty"` - // The target service name as defined in the BSR repository. - Service string `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"` - // The target RPC method name as defined in the BSR repository. - Method string `protobuf:"bytes,6,opt,name=method,proto3" json:"method,omitempty"` - // 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" 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_TargetBaseUrl string `protobuf:"bytes,4,opt,name=target_base_url,json=targetBaseUrl,proto3" json:"target_base_url,omitempty"` + xxx_hidden_Service string `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"` + xxx_hidden_Method string `protobuf:"bytes,6,opt,name=method,proto3" json:"method,omitempty"` + xxx_hidden_Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` + xxx_hidden_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"` + xxx_hidden_IncludeCookies bool `protobuf:"varint,9,opt,name=include_cookies,json=includeCookies,proto3" json:"include_cookies,omitempty"` + xxx_hidden_Protocol StudioProtocol `protobuf:"varint,10,opt,name=protocol,proto3,enum=buf.alpha.registry.v1alpha1.StudioProtocol" json:"protocol,omitempty"` + xxx_hidden_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() { @@ -147,123 +133,123 @@ func (x *CreateStudioRequestRequest) ProtoReflect() protoreflect.Message { func (x *CreateStudioRequestRequest) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *CreateStudioRequestRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *CreateStudioRequestRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *CreateStudioRequestRequest) GetTargetBaseUrl() string { if x != nil { - return x.TargetBaseUrl + return x.xxx_hidden_TargetBaseUrl } return "" } func (x *CreateStudioRequestRequest) GetService() string { if x != nil { - return x.Service + return x.xxx_hidden_Service } return "" } func (x *CreateStudioRequestRequest) GetMethod() string { if x != nil { - return x.Method + return x.xxx_hidden_Method } return "" } func (x *CreateStudioRequestRequest) GetBody() string { if x != nil { - return x.Body + return x.xxx_hidden_Body } return "" } func (x *CreateStudioRequestRequest) GetHeaders() map[string]string { if x != nil { - return x.Headers + return x.xxx_hidden_Headers } return nil } func (x *CreateStudioRequestRequest) GetIncludeCookies() bool { if x != nil { - return x.IncludeCookies + return x.xxx_hidden_IncludeCookies } return false } func (x *CreateStudioRequestRequest) GetProtocol() StudioProtocol { if x != nil { - return x.Protocol + return x.xxx_hidden_Protocol } return StudioProtocol_STUDIO_PROTOCOL_UNSPECIFIED } func (x *CreateStudioRequestRequest) GetAgentUrl() string { if x != nil { - return x.AgentUrl + return x.xxx_hidden_AgentUrl } return "" } func (x *CreateStudioRequestRequest) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *CreateStudioRequestRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *CreateStudioRequestRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *CreateStudioRequestRequest) SetTargetBaseUrl(v string) { - x.TargetBaseUrl = v + x.xxx_hidden_TargetBaseUrl = v } func (x *CreateStudioRequestRequest) SetService(v string) { - x.Service = v + x.xxx_hidden_Service = v } func (x *CreateStudioRequestRequest) SetMethod(v string) { - x.Method = v + x.xxx_hidden_Method = v } func (x *CreateStudioRequestRequest) SetBody(v string) { - x.Body = v + x.xxx_hidden_Body = v } func (x *CreateStudioRequestRequest) SetHeaders(v map[string]string) { - x.Headers = v + x.xxx_hidden_Headers = v } func (x *CreateStudioRequestRequest) SetIncludeCookies(v bool) { - x.IncludeCookies = v + x.xxx_hidden_IncludeCookies = v } func (x *CreateStudioRequestRequest) SetProtocol(v StudioProtocol) { - x.Protocol = v + x.xxx_hidden_Protocol = v } func (x *CreateStudioRequestRequest) SetAgentUrl(v string) { - x.AgentUrl = v + x.xxx_hidden_AgentUrl = v } type CreateStudioRequestRequest_builder struct { @@ -298,27 +284,26 @@ func (b0 CreateStudioRequestRequest_builder) Build() *CreateStudioRequestRequest m0 := &CreateStudioRequestRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.Name = b.Name - x.TargetBaseUrl = b.TargetBaseUrl - x.Service = b.Service - x.Method = b.Method - x.Body = b.Body - x.Headers = b.Headers - x.IncludeCookies = b.IncludeCookies - x.Protocol = b.Protocol - x.AgentUrl = b.AgentUrl + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_Name = b.Name + x.xxx_hidden_TargetBaseUrl = b.TargetBaseUrl + x.xxx_hidden_Service = b.Service + x.xxx_hidden_Method = b.Method + x.xxx_hidden_Body = b.Body + x.xxx_hidden_Headers = b.Headers + x.xxx_hidden_IncludeCookies = b.IncludeCookies + x.xxx_hidden_Protocol = b.Protocol + x.xxx_hidden_AgentUrl = b.AgentUrl return m0 } // CreateStudioRequestResponse returns the created StudioRequest. type CreateStudioRequestResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -348,24 +333,24 @@ func (x *CreateStudioRequestResponse) ProtoReflect() protoreflect.Message { func (x *CreateStudioRequestResponse) GetCreatedRequest() *StudioRequest { if x != nil { - return x.CreatedRequest + return x.xxx_hidden_CreatedRequest } return nil } func (x *CreateStudioRequestResponse) SetCreatedRequest(v *StudioRequest) { - x.CreatedRequest = v + x.xxx_hidden_CreatedRequest = v } func (x *CreateStudioRequestResponse) HasCreatedRequest() bool { if x == nil { return false } - return x.CreatedRequest != nil + return x.xxx_hidden_CreatedRequest != nil } func (x *CreateStudioRequestResponse) ClearCreatedRequest() { - x.CreatedRequest = nil + x.xxx_hidden_CreatedRequest = nil } type CreateStudioRequestResponse_builder struct { @@ -379,20 +364,18 @@ func (b0 CreateStudioRequestResponse_builder) Build() *CreateStudioRequestRespon m0 := &CreateStudioRequestResponse{} b, x := &b0, m0 _, _ = b, x - x.CreatedRequest = b.CreatedRequest + x.xxx_hidden_CreatedRequest = b.CreatedRequest return m0 } // RenameStudioRequestRequest is the proto request representation of the // RenameStudioRequest method. type RenameStudioRequestRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_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() { @@ -422,24 +405,24 @@ func (x *RenameStudioRequestRequest) ProtoReflect() protoreflect.Message { func (x *RenameStudioRequestRequest) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *RenameStudioRequestRequest) GetNewName() string { if x != nil { - return x.NewName + return x.xxx_hidden_NewName } return "" } func (x *RenameStudioRequestRequest) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *RenameStudioRequestRequest) SetNewName(v string) { - x.NewName = v + x.xxx_hidden_NewName = v } type RenameStudioRequestRequest_builder struct { @@ -455,14 +438,14 @@ func (b0 RenameStudioRequestRequest_builder) Build() *RenameStudioRequestRequest m0 := &RenameStudioRequestRequest{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.NewName = b.NewName + x.xxx_hidden_Id = b.Id + x.xxx_hidden_NewName = b.NewName return m0 } // RenameStudioRequestResponse returns empty on successful renaming. type RenameStudioRequestResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -507,9 +490,8 @@ func (b0 RenameStudioRequestResponse_builder) Build() *RenameStudioRequestRespon // DeleteStudioRequestRequest is the proto request representation of the // DeleteStudioRequest method. type DeleteStudioRequestRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The Studio Request ID that will be deleted. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -541,13 +523,13 @@ func (x *DeleteStudioRequestRequest) ProtoReflect() protoreflect.Message { func (x *DeleteStudioRequestRequest) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *DeleteStudioRequestRequest) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } type DeleteStudioRequestRequest_builder struct { @@ -561,13 +543,13 @@ func (b0 DeleteStudioRequestRequest_builder) Build() *DeleteStudioRequestRequest m0 := &DeleteStudioRequestRequest{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id + x.xxx_hidden_Id = b.Id return m0 } // DeleteStudioRequestResponse returns empty on successful deletions. type DeleteStudioRequestResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -612,16 +594,12 @@ func (b0 DeleteStudioRequestResponse_builder) Build() *DeleteStudioRequestRespon // ListStudioRequestsRequest is the proto request representation of the // ListStudioRequests method. type ListStudioRequestsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListStudioRequestsRequest) Reset() { @@ -651,35 +629,35 @@ func (x *ListStudioRequestsRequest) ProtoReflect() protoreflect.Message { func (x *ListStudioRequestsRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListStudioRequestsRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListStudioRequestsRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListStudioRequestsRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListStudioRequestsRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListStudioRequestsRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListStudioRequestsRequest_builder struct { @@ -698,22 +676,20 @@ func (b0 ListStudioRequestsRequest_builder) Build() *ListStudioRequestsRequest { m0 := &ListStudioRequestsRequest{} b, x := &b0, m0 _, _ = b, x - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } // ListStudioRequestsResponse is the proto response representation of the // ListStudioRequests method. type ListStudioRequestsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Requests *[]*StudioRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` + xxx_hidden_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() { @@ -743,24 +719,26 @@ func (x *ListStudioRequestsResponse) ProtoReflect() protoreflect.Message { func (x *ListStudioRequestsResponse) GetRequests() []*StudioRequest { if x != nil { - return x.Requests + if x.xxx_hidden_Requests != nil { + return *x.xxx_hidden_Requests + } } return nil } func (x *ListStudioRequestsResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListStudioRequestsResponse) SetRequests(v []*StudioRequest) { - x.Requests = v + x.xxx_hidden_Requests = &v } func (x *ListStudioRequestsResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListStudioRequestsResponse_builder struct { @@ -776,50 +754,33 @@ func (b0 ListStudioRequestsResponse_builder) Build() *ListStudioRequestsResponse m0 := &ListStudioRequestsResponse{} b, x := &b0, m0 _, _ = b, x - x.Requests = b.Requests - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Requests = &b.Requests + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } // StudioRequest represents a saved request in Studio, that is synced to a BSR // user's profile. type StudioRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The ID of this Studio Request. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The request creation timestamp. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The request last updated timestamp. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // User ID who created and saved this request. - AuthorUserId string `protobuf:"bytes,4,opt,name=author_user_id,json=authorUserId,proto3" json:"author_user_id,omitempty"` - // BSR repository ID this request is linked to. - RepositoryId string `protobuf:"bytes,5,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - // The friendly name of this request. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - // The target base URL of this request. - TargetBaseUrl string `protobuf:"bytes,7,opt,name=target_base_url,json=targetBaseUrl,proto3" json:"target_base_url,omitempty"` - // The BSR repository owner name (user or organization). - RepositoryOwner string `protobuf:"bytes,8,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - // The BSR repository name. - RepositoryName string `protobuf:"bytes,9,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - // The target service name as defined in the BSR repository. - Service string `protobuf:"bytes,10,opt,name=service,proto3" json:"service,omitempty"` - // The target RPC method name as defined in the BSR repository. - Method string `protobuf:"bytes,11,opt,name=method,proto3" json:"method,omitempty"` - // 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" 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + xxx_hidden_UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + xxx_hidden_AuthorUserId string `protobuf:"bytes,4,opt,name=author_user_id,json=authorUserId,proto3" json:"author_user_id,omitempty"` + xxx_hidden_RepositoryId string `protobuf:"bytes,5,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + xxx_hidden_Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_TargetBaseUrl string `protobuf:"bytes,7,opt,name=target_base_url,json=targetBaseUrl,proto3" json:"target_base_url,omitempty"` + xxx_hidden_RepositoryOwner string `protobuf:"bytes,8,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,9,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_Service string `protobuf:"bytes,10,opt,name=service,proto3" json:"service,omitempty"` + xxx_hidden_Method string `protobuf:"bytes,11,opt,name=method,proto3" json:"method,omitempty"` + xxx_hidden_Body string `protobuf:"bytes,12,opt,name=body,proto3" json:"body,omitempty"` + xxx_hidden_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"` + xxx_hidden_IncludeCookies bool `protobuf:"varint,14,opt,name=include_cookies,json=includeCookies,proto3" json:"include_cookies,omitempty"` + xxx_hidden_Protocol StudioProtocol `protobuf:"varint,15,opt,name=protocol,proto3,enum=buf.alpha.registry.v1alpha1.StudioProtocol" json:"protocol,omitempty"` + xxx_hidden_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() { @@ -849,200 +810,200 @@ func (x *StudioRequest) ProtoReflect() protoreflect.Message { func (x *StudioRequest) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *StudioRequest) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *StudioRequest) GetUpdateTime() *timestamppb.Timestamp { if x != nil { - return x.UpdateTime + return x.xxx_hidden_UpdateTime } return nil } func (x *StudioRequest) GetAuthorUserId() string { if x != nil { - return x.AuthorUserId + return x.xxx_hidden_AuthorUserId } return "" } func (x *StudioRequest) GetRepositoryId() string { if x != nil { - return x.RepositoryId + return x.xxx_hidden_RepositoryId } return "" } func (x *StudioRequest) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *StudioRequest) GetTargetBaseUrl() string { if x != nil { - return x.TargetBaseUrl + return x.xxx_hidden_TargetBaseUrl } return "" } func (x *StudioRequest) GetRepositoryOwner() string { if x != nil { - return x.RepositoryOwner + return x.xxx_hidden_RepositoryOwner } return "" } func (x *StudioRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *StudioRequest) GetService() string { if x != nil { - return x.Service + return x.xxx_hidden_Service } return "" } func (x *StudioRequest) GetMethod() string { if x != nil { - return x.Method + return x.xxx_hidden_Method } return "" } func (x *StudioRequest) GetBody() string { if x != nil { - return x.Body + return x.xxx_hidden_Body } return "" } func (x *StudioRequest) GetHeaders() map[string]string { if x != nil { - return x.Headers + return x.xxx_hidden_Headers } return nil } func (x *StudioRequest) GetIncludeCookies() bool { if x != nil { - return x.IncludeCookies + return x.xxx_hidden_IncludeCookies } return false } func (x *StudioRequest) GetProtocol() StudioProtocol { if x != nil { - return x.Protocol + return x.xxx_hidden_Protocol } return StudioProtocol_STUDIO_PROTOCOL_UNSPECIFIED } func (x *StudioRequest) GetAgentUrl() string { if x != nil { - return x.AgentUrl + return x.xxx_hidden_AgentUrl } return "" } func (x *StudioRequest) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *StudioRequest) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *StudioRequest) SetUpdateTime(v *timestamppb.Timestamp) { - x.UpdateTime = v + x.xxx_hidden_UpdateTime = v } func (x *StudioRequest) SetAuthorUserId(v string) { - x.AuthorUserId = v + x.xxx_hidden_AuthorUserId = v } func (x *StudioRequest) SetRepositoryId(v string) { - x.RepositoryId = v + x.xxx_hidden_RepositoryId = v } func (x *StudioRequest) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } func (x *StudioRequest) SetTargetBaseUrl(v string) { - x.TargetBaseUrl = v + x.xxx_hidden_TargetBaseUrl = v } func (x *StudioRequest) SetRepositoryOwner(v string) { - x.RepositoryOwner = v + x.xxx_hidden_RepositoryOwner = v } func (x *StudioRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *StudioRequest) SetService(v string) { - x.Service = v + x.xxx_hidden_Service = v } func (x *StudioRequest) SetMethod(v string) { - x.Method = v + x.xxx_hidden_Method = v } func (x *StudioRequest) SetBody(v string) { - x.Body = v + x.xxx_hidden_Body = v } func (x *StudioRequest) SetHeaders(v map[string]string) { - x.Headers = v + x.xxx_hidden_Headers = v } func (x *StudioRequest) SetIncludeCookies(v bool) { - x.IncludeCookies = v + x.xxx_hidden_IncludeCookies = v } func (x *StudioRequest) SetProtocol(v StudioProtocol) { - x.Protocol = v + x.xxx_hidden_Protocol = v } func (x *StudioRequest) SetAgentUrl(v string) { - x.AgentUrl = v + x.xxx_hidden_AgentUrl = v } func (x *StudioRequest) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *StudioRequest) HasUpdateTime() bool { if x == nil { return false } - return x.UpdateTime != nil + return x.xxx_hidden_UpdateTime != nil } func (x *StudioRequest) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } func (x *StudioRequest) ClearUpdateTime() { - x.UpdateTime = nil + x.xxx_hidden_UpdateTime = nil } type StudioRequest_builder struct { @@ -1087,22 +1048,22 @@ func (b0 StudioRequest_builder) Build() *StudioRequest { m0 := &StudioRequest{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.CreateTime = b.CreateTime - x.UpdateTime = b.UpdateTime - x.AuthorUserId = b.AuthorUserId - x.RepositoryId = b.RepositoryId - x.Name = b.Name - x.TargetBaseUrl = b.TargetBaseUrl - x.RepositoryOwner = b.RepositoryOwner - x.RepositoryName = b.RepositoryName - x.Service = b.Service - x.Method = b.Method - x.Body = b.Body - x.Headers = b.Headers - x.IncludeCookies = b.IncludeCookies - x.Protocol = b.Protocol - x.AgentUrl = b.AgentUrl + x.xxx_hidden_Id = b.Id + x.xxx_hidden_CreateTime = b.CreateTime + x.xxx_hidden_UpdateTime = b.UpdateTime + x.xxx_hidden_AuthorUserId = b.AuthorUserId + x.xxx_hidden_RepositoryId = b.RepositoryId + x.xxx_hidden_Name = b.Name + x.xxx_hidden_TargetBaseUrl = b.TargetBaseUrl + x.xxx_hidden_RepositoryOwner = b.RepositoryOwner + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_Service = b.Service + x.xxx_hidden_Method = b.Method + x.xxx_hidden_Body = b.Body + x.xxx_hidden_Headers = b.Headers + x.xxx_hidden_IncludeCookies = b.IncludeCookies + x.xxx_hidden_Protocol = b.Protocol + x.xxx_hidden_AgentUrl = b.AgentUrl return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio_request_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio_request_protoopaque.pb.go deleted file mode 100644 index 07e46f8ee2..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/studio_request_protoopaque.pb.go +++ /dev/null @@ -1,1328 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/studio_request.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// StudioProtocol are the supported protocols for Studio Requests. -type StudioProtocol int32 - -const ( - // STUDIO_PROTOCOL_UNSPECIFIED is a safe default for requests with no protocol - // defined. - StudioProtocol_STUDIO_PROTOCOL_UNSPECIFIED StudioProtocol = 0 - // STUDIO_PROTOCOL_CONNECT is the Connect protocol in Studio. - StudioProtocol_STUDIO_PROTOCOL_CONNECT StudioProtocol = 1 - // STUDIO_PROTOCOL_GRPC is the gRPC protocol in Studio. - StudioProtocol_STUDIO_PROTOCOL_GRPC StudioProtocol = 2 - // STUDIO_PROTOCOL_GRPC_WEB is the gRPC-web protocol in Studio. - StudioProtocol_STUDIO_PROTOCOL_GRPC_WEB StudioProtocol = 3 -) - -// Enum value maps for StudioProtocol. -var ( - StudioProtocol_name = map[int32]string{ - 0: "STUDIO_PROTOCOL_UNSPECIFIED", - 1: "STUDIO_PROTOCOL_CONNECT", - 2: "STUDIO_PROTOCOL_GRPC", - 3: "STUDIO_PROTOCOL_GRPC_WEB", - } - StudioProtocol_value = map[string]int32{ - "STUDIO_PROTOCOL_UNSPECIFIED": 0, - "STUDIO_PROTOCOL_CONNECT": 1, - "STUDIO_PROTOCOL_GRPC": 2, - "STUDIO_PROTOCOL_GRPC_WEB": 3, - } -) - -func (x StudioProtocol) Enum() *StudioProtocol { - p := new(StudioProtocol) - *p = x - return p -} - -func (x StudioProtocol) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (StudioProtocol) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_studio_request_proto_enumTypes[0].Descriptor() -} - -func (StudioProtocol) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_studio_request_proto_enumTypes[0] -} - -func (x StudioProtocol) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// CreateStudioRequestRequest is the proto request representation of the -// CreateStudioRequest method. -type CreateStudioRequestRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_TargetBaseUrl string `protobuf:"bytes,4,opt,name=target_base_url,json=targetBaseUrl,proto3" json:"target_base_url,omitempty"` - xxx_hidden_Service string `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"` - xxx_hidden_Method string `protobuf:"bytes,6,opt,name=method,proto3" json:"method,omitempty"` - xxx_hidden_Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` - xxx_hidden_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"` - xxx_hidden_IncludeCookies bool `protobuf:"varint,9,opt,name=include_cookies,json=includeCookies,proto3" json:"include_cookies,omitempty"` - xxx_hidden_Protocol StudioProtocol `protobuf:"varint,10,opt,name=protocol,proto3,enum=buf.alpha.registry.v1alpha1.StudioProtocol" json:"protocol,omitempty"` - xxx_hidden_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() { - *x = CreateStudioRequestRequest{} - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateStudioRequestRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateStudioRequestRequest) ProtoMessage() {} - -func (x *CreateStudioRequestRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateStudioRequestRequest) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *CreateStudioRequestRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *CreateStudioRequestRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *CreateStudioRequestRequest) GetTargetBaseUrl() string { - if x != nil { - return x.xxx_hidden_TargetBaseUrl - } - return "" -} - -func (x *CreateStudioRequestRequest) GetService() string { - if x != nil { - return x.xxx_hidden_Service - } - return "" -} - -func (x *CreateStudioRequestRequest) GetMethod() string { - if x != nil { - return x.xxx_hidden_Method - } - return "" -} - -func (x *CreateStudioRequestRequest) GetBody() string { - if x != nil { - return x.xxx_hidden_Body - } - return "" -} - -func (x *CreateStudioRequestRequest) GetHeaders() map[string]string { - if x != nil { - return x.xxx_hidden_Headers - } - return nil -} - -func (x *CreateStudioRequestRequest) GetIncludeCookies() bool { - if x != nil { - return x.xxx_hidden_IncludeCookies - } - return false -} - -func (x *CreateStudioRequestRequest) GetProtocol() StudioProtocol { - if x != nil { - return x.xxx_hidden_Protocol - } - return StudioProtocol_STUDIO_PROTOCOL_UNSPECIFIED -} - -func (x *CreateStudioRequestRequest) GetAgentUrl() string { - if x != nil { - return x.xxx_hidden_AgentUrl - } - return "" -} - -func (x *CreateStudioRequestRequest) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *CreateStudioRequestRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *CreateStudioRequestRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *CreateStudioRequestRequest) SetTargetBaseUrl(v string) { - x.xxx_hidden_TargetBaseUrl = v -} - -func (x *CreateStudioRequestRequest) SetService(v string) { - x.xxx_hidden_Service = v -} - -func (x *CreateStudioRequestRequest) SetMethod(v string) { - x.xxx_hidden_Method = v -} - -func (x *CreateStudioRequestRequest) SetBody(v string) { - x.xxx_hidden_Body = v -} - -func (x *CreateStudioRequestRequest) SetHeaders(v map[string]string) { - x.xxx_hidden_Headers = v -} - -func (x *CreateStudioRequestRequest) SetIncludeCookies(v bool) { - x.xxx_hidden_IncludeCookies = v -} - -func (x *CreateStudioRequestRequest) SetProtocol(v StudioProtocol) { - x.xxx_hidden_Protocol = v -} - -func (x *CreateStudioRequestRequest) SetAgentUrl(v string) { - x.xxx_hidden_AgentUrl = v -} - -type CreateStudioRequestRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The linked BSR repository owner name (user or organization). - RepositoryOwner string - // The linked BSR repository name. - RepositoryName string - // The friendly name of this request. - Name string - // The target base URL of this request. - TargetBaseUrl string - // The target service name as defined in the BSR repository. - Service string - // The target RPC method name as defined in the BSR repository. - Method string - // The request body as defined in Studio. - Body string - // The request headers as defined in Studio. - Headers map[string]string - // Should this request include cookies from the Studio current session? - IncludeCookies bool - // The protocol that Studio uses to send this request. - Protocol StudioProtocol - // 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 -} - -func (b0 CreateStudioRequestRequest_builder) Build() *CreateStudioRequestRequest { - m0 := &CreateStudioRequestRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_Name = b.Name - x.xxx_hidden_TargetBaseUrl = b.TargetBaseUrl - x.xxx_hidden_Service = b.Service - x.xxx_hidden_Method = b.Method - x.xxx_hidden_Body = b.Body - x.xxx_hidden_Headers = b.Headers - x.xxx_hidden_IncludeCookies = b.IncludeCookies - x.xxx_hidden_Protocol = b.Protocol - x.xxx_hidden_AgentUrl = b.AgentUrl - return m0 -} - -// CreateStudioRequestResponse returns the created StudioRequest. -type CreateStudioRequestResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = CreateStudioRequestResponse{} - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateStudioRequestResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateStudioRequestResponse) ProtoMessage() {} - -func (x *CreateStudioRequestResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateStudioRequestResponse) GetCreatedRequest() *StudioRequest { - if x != nil { - return x.xxx_hidden_CreatedRequest - } - return nil -} - -func (x *CreateStudioRequestResponse) SetCreatedRequest(v *StudioRequest) { - x.xxx_hidden_CreatedRequest = v -} - -func (x *CreateStudioRequestResponse) HasCreatedRequest() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreatedRequest != nil -} - -func (x *CreateStudioRequestResponse) ClearCreatedRequest() { - x.xxx_hidden_CreatedRequest = nil -} - -type CreateStudioRequestResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Created Studio Request. - CreatedRequest *StudioRequest -} - -func (b0 CreateStudioRequestResponse_builder) Build() *CreateStudioRequestResponse { - m0 := &CreateStudioRequestResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_CreatedRequest = b.CreatedRequest - return m0 -} - -// RenameStudioRequestRequest is the proto request representation of the -// RenameStudioRequest method. -type RenameStudioRequestRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_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() { - *x = RenameStudioRequestRequest{} - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RenameStudioRequestRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RenameStudioRequestRequest) ProtoMessage() {} - -func (x *RenameStudioRequestRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RenameStudioRequestRequest) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *RenameStudioRequestRequest) GetNewName() string { - if x != nil { - return x.xxx_hidden_NewName - } - return "" -} - -func (x *RenameStudioRequestRequest) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *RenameStudioRequestRequest) SetNewName(v string) { - x.xxx_hidden_NewName = v -} - -type RenameStudioRequestRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The Studio Request ID that will be renamed. - Id string - // The new name for the request. - NewName string -} - -func (b0 RenameStudioRequestRequest_builder) Build() *RenameStudioRequestRequest { - m0 := &RenameStudioRequestRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_NewName = b.NewName - return m0 -} - -// RenameStudioRequestResponse returns empty on successful renaming. -type RenameStudioRequestResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RenameStudioRequestResponse) Reset() { - *x = RenameStudioRequestResponse{} - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RenameStudioRequestResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RenameStudioRequestResponse) ProtoMessage() {} - -func (x *RenameStudioRequestResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type RenameStudioRequestResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 RenameStudioRequestResponse_builder) Build() *RenameStudioRequestResponse { - m0 := &RenameStudioRequestResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -// DeleteStudioRequestRequest is the proto request representation of the -// DeleteStudioRequest method. -type DeleteStudioRequestRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteStudioRequestRequest) Reset() { - *x = DeleteStudioRequestRequest{} - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteStudioRequestRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteStudioRequestRequest) ProtoMessage() {} - -func (x *DeleteStudioRequestRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeleteStudioRequestRequest) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *DeleteStudioRequestRequest) SetId(v string) { - x.xxx_hidden_Id = v -} - -type DeleteStudioRequestRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The Studio Request ID that will be deleted. - Id string -} - -func (b0 DeleteStudioRequestRequest_builder) Build() *DeleteStudioRequestRequest { - m0 := &DeleteStudioRequestRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - return m0 -} - -// DeleteStudioRequestResponse returns empty on successful deletions. -type DeleteStudioRequestResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteStudioRequestResponse) Reset() { - *x = DeleteStudioRequestResponse{} - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteStudioRequestResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteStudioRequestResponse) ProtoMessage() {} - -func (x *DeleteStudioRequestResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeleteStudioRequestResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeleteStudioRequestResponse_builder) Build() *DeleteStudioRequestResponse { - m0 := &DeleteStudioRequestResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -// ListStudioRequestsRequest is the proto request representation of the -// ListStudioRequests method. -type ListStudioRequestsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListStudioRequestsRequest) Reset() { - *x = ListStudioRequestsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListStudioRequestsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListStudioRequestsRequest) ProtoMessage() {} - -func (x *ListStudioRequestsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListStudioRequestsRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListStudioRequestsRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListStudioRequestsRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListStudioRequestsRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListStudioRequestsRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListStudioRequestsRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListStudioRequestsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The page size for listing studio requests, values between 1-250. - PageSize uint32 - // The page token for paginating. The first page is returned if this is empty. - PageToken string - // The listed studio requests are order by created time in ascending order. - // You can reverse that order setting this value to true. - Reverse bool -} - -func (b0 ListStudioRequestsRequest_builder) Build() *ListStudioRequestsRequest { - m0 := &ListStudioRequestsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -// ListStudioRequestsResponse is the proto response representation of the -// ListStudioRequests method. -type ListStudioRequestsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Requests *[]*StudioRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - xxx_hidden_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() { - *x = ListStudioRequestsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListStudioRequestsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListStudioRequestsResponse) ProtoMessage() {} - -func (x *ListStudioRequestsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListStudioRequestsResponse) GetRequests() []*StudioRequest { - if x != nil { - if x.xxx_hidden_Requests != nil { - return *x.xxx_hidden_Requests - } - } - return nil -} - -func (x *ListStudioRequestsResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListStudioRequestsResponse) SetRequests(v []*StudioRequest) { - x.xxx_hidden_Requests = &v -} - -func (x *ListStudioRequestsResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListStudioRequestsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The list of requests in the current page. - Requests []*StudioRequest - // The requests' next page token. There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListStudioRequestsResponse_builder) Build() *ListStudioRequestsResponse { - m0 := &ListStudioRequestsResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Requests = &b.Requests - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -// StudioRequest represents a saved request in Studio, that is synced to a BSR -// user's profile. -type StudioRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - xxx_hidden_UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - xxx_hidden_AuthorUserId string `protobuf:"bytes,4,opt,name=author_user_id,json=authorUserId,proto3" json:"author_user_id,omitempty"` - xxx_hidden_RepositoryId string `protobuf:"bytes,5,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - xxx_hidden_Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - xxx_hidden_TargetBaseUrl string `protobuf:"bytes,7,opt,name=target_base_url,json=targetBaseUrl,proto3" json:"target_base_url,omitempty"` - xxx_hidden_RepositoryOwner string `protobuf:"bytes,8,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,9,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_Service string `protobuf:"bytes,10,opt,name=service,proto3" json:"service,omitempty"` - xxx_hidden_Method string `protobuf:"bytes,11,opt,name=method,proto3" json:"method,omitempty"` - xxx_hidden_Body string `protobuf:"bytes,12,opt,name=body,proto3" json:"body,omitempty"` - xxx_hidden_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"` - xxx_hidden_IncludeCookies bool `protobuf:"varint,14,opt,name=include_cookies,json=includeCookies,proto3" json:"include_cookies,omitempty"` - xxx_hidden_Protocol StudioProtocol `protobuf:"varint,15,opt,name=protocol,proto3,enum=buf.alpha.registry.v1alpha1.StudioProtocol" json:"protocol,omitempty"` - xxx_hidden_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() { - *x = StudioRequest{} - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *StudioRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StudioRequest) ProtoMessage() {} - -func (x *StudioRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *StudioRequest) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *StudioRequest) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *StudioRequest) GetUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_UpdateTime - } - return nil -} - -func (x *StudioRequest) GetAuthorUserId() string { - if x != nil { - return x.xxx_hidden_AuthorUserId - } - return "" -} - -func (x *StudioRequest) GetRepositoryId() string { - if x != nil { - return x.xxx_hidden_RepositoryId - } - return "" -} - -func (x *StudioRequest) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *StudioRequest) GetTargetBaseUrl() string { - if x != nil { - return x.xxx_hidden_TargetBaseUrl - } - return "" -} - -func (x *StudioRequest) GetRepositoryOwner() string { - if x != nil { - return x.xxx_hidden_RepositoryOwner - } - return "" -} - -func (x *StudioRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *StudioRequest) GetService() string { - if x != nil { - return x.xxx_hidden_Service - } - return "" -} - -func (x *StudioRequest) GetMethod() string { - if x != nil { - return x.xxx_hidden_Method - } - return "" -} - -func (x *StudioRequest) GetBody() string { - if x != nil { - return x.xxx_hidden_Body - } - return "" -} - -func (x *StudioRequest) GetHeaders() map[string]string { - if x != nil { - return x.xxx_hidden_Headers - } - return nil -} - -func (x *StudioRequest) GetIncludeCookies() bool { - if x != nil { - return x.xxx_hidden_IncludeCookies - } - return false -} - -func (x *StudioRequest) GetProtocol() StudioProtocol { - if x != nil { - return x.xxx_hidden_Protocol - } - return StudioProtocol_STUDIO_PROTOCOL_UNSPECIFIED -} - -func (x *StudioRequest) GetAgentUrl() string { - if x != nil { - return x.xxx_hidden_AgentUrl - } - return "" -} - -func (x *StudioRequest) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *StudioRequest) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *StudioRequest) SetUpdateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_UpdateTime = v -} - -func (x *StudioRequest) SetAuthorUserId(v string) { - x.xxx_hidden_AuthorUserId = v -} - -func (x *StudioRequest) SetRepositoryId(v string) { - x.xxx_hidden_RepositoryId = v -} - -func (x *StudioRequest) SetName(v string) { - x.xxx_hidden_Name = v -} - -func (x *StudioRequest) SetTargetBaseUrl(v string) { - x.xxx_hidden_TargetBaseUrl = v -} - -func (x *StudioRequest) SetRepositoryOwner(v string) { - x.xxx_hidden_RepositoryOwner = v -} - -func (x *StudioRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *StudioRequest) SetService(v string) { - x.xxx_hidden_Service = v -} - -func (x *StudioRequest) SetMethod(v string) { - x.xxx_hidden_Method = v -} - -func (x *StudioRequest) SetBody(v string) { - x.xxx_hidden_Body = v -} - -func (x *StudioRequest) SetHeaders(v map[string]string) { - x.xxx_hidden_Headers = v -} - -func (x *StudioRequest) SetIncludeCookies(v bool) { - x.xxx_hidden_IncludeCookies = v -} - -func (x *StudioRequest) SetProtocol(v StudioProtocol) { - x.xxx_hidden_Protocol = v -} - -func (x *StudioRequest) SetAgentUrl(v string) { - x.xxx_hidden_AgentUrl = v -} - -func (x *StudioRequest) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *StudioRequest) HasUpdateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_UpdateTime != nil -} - -func (x *StudioRequest) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -func (x *StudioRequest) ClearUpdateTime() { - x.xxx_hidden_UpdateTime = nil -} - -type StudioRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of this Studio Request. - Id string - // The request creation timestamp. - CreateTime *timestamppb.Timestamp - // The request last updated timestamp. - UpdateTime *timestamppb.Timestamp - // User ID who created and saved this request. - AuthorUserId string - // BSR repository ID this request is linked to. - RepositoryId string - // The friendly name of this request. - Name string - // The target base URL of this request. - TargetBaseUrl string - // The BSR repository owner name (user or organization). - RepositoryOwner string - // The BSR repository name. - RepositoryName string - // The target service name as defined in the BSR repository. - Service string - // The target RPC method name as defined in the BSR repository. - Method string - // The request body as defined in Studio. - Body string - // The request headers as defined in Studio. - Headers map[string]string - // Should this request include cookies from the Studio current session? - IncludeCookies bool - // The protocol that Studio uses to send this request. - Protocol StudioProtocol - // 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 -} - -func (b0 StudioRequest_builder) Build() *StudioRequest { - m0 := &StudioRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_CreateTime = b.CreateTime - x.xxx_hidden_UpdateTime = b.UpdateTime - x.xxx_hidden_AuthorUserId = b.AuthorUserId - x.xxx_hidden_RepositoryId = b.RepositoryId - x.xxx_hidden_Name = b.Name - x.xxx_hidden_TargetBaseUrl = b.TargetBaseUrl - x.xxx_hidden_RepositoryOwner = b.RepositoryOwner - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_Service = b.Service - x.xxx_hidden_Method = b.Method - x.xxx_hidden_Body = b.Body - x.xxx_hidden_Headers = b.Headers - x.xxx_hidden_IncludeCookies = b.IncludeCookies - x.xxx_hidden_Protocol = b.Protocol - x.xxx_hidden_AgentUrl = b.AgentUrl - return m0 -} - -var File_buf_alpha_registry_v1alpha1_studio_request_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_studio_request_proto_rawDesc = []byte{ - 0x0a, 0x30, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x74, - 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, - 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x9d, 0x04, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x75, 0x64, 0x69, - 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x61, 0x73, 0x65, 0x55, 0x72, 0x6c, 0x12, - 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x5e, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, - 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x75, 0x64, 0x69, - 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, - 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, - 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, - 0x5f, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, - 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x73, 0x12, 0x47, - 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, - 0x74, 0x75, 0x64, 0x69, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, - 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x67, 0x65, 0x6e, - 0x74, 0x55, 0x72, 0x6c, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0x72, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x53, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x47, 0x0a, 0x1a, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x74, - 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x1d, 0x0a, - 0x1b, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x0a, 0x1a, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1d, 0x0a, 0x1b, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x71, 0x0a, 0x19, 0x4c, 0x69, 0x73, - 0x74, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, - 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, - 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x22, 0x8c, 0x01, 0x0a, - 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x08, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x75, 0x64, - 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, - 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd8, 0x05, 0x0a, 0x0d, - 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, - 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, - 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x61, 0x73, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x29, - 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, - 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x51, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x69, - 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x73, 0x18, 0x0e, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x6f, 0x6f, - 0x6b, 0x69, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, - 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x6c, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, - 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x86, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x75, 0x64, 0x69, - 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x54, 0x55, - 0x44, 0x49, 0x4f, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x54, - 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x5f, 0x43, 0x4f, - 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x54, 0x55, 0x44, 0x49, - 0x4f, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x5f, 0x47, 0x52, 0x50, 0x43, 0x10, - 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x54, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x50, 0x52, 0x4f, 0x54, - 0x4f, 0x43, 0x4f, 0x4c, 0x5f, 0x47, 0x52, 0x50, 0x43, 0x5f, 0x57, 0x45, 0x42, 0x10, 0x03, 0x32, - 0xcd, 0x04, 0x0a, 0x14, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x74, - 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, - 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, - 0x6d, 0x65, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x75, 0x64, 0x69, - 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x8d, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x74, 0x75, - 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, - 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, - 0x02, 0x02, 0x12, 0x8a, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x75, 0x64, 0x69, - 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x75, 0x64, - 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, - 0x9f, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x42, 0x12, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, - 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, - 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, - 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, - 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_studio_request_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_buf_alpha_registry_v1alpha1_studio_request_proto_goTypes = []any{ - (StudioProtocol)(0), // 0: buf.alpha.registry.v1alpha1.StudioProtocol - (*CreateStudioRequestRequest)(nil), // 1: buf.alpha.registry.v1alpha1.CreateStudioRequestRequest - (*CreateStudioRequestResponse)(nil), // 2: buf.alpha.registry.v1alpha1.CreateStudioRequestResponse - (*RenameStudioRequestRequest)(nil), // 3: buf.alpha.registry.v1alpha1.RenameStudioRequestRequest - (*RenameStudioRequestResponse)(nil), // 4: buf.alpha.registry.v1alpha1.RenameStudioRequestResponse - (*DeleteStudioRequestRequest)(nil), // 5: buf.alpha.registry.v1alpha1.DeleteStudioRequestRequest - (*DeleteStudioRequestResponse)(nil), // 6: buf.alpha.registry.v1alpha1.DeleteStudioRequestResponse - (*ListStudioRequestsRequest)(nil), // 7: buf.alpha.registry.v1alpha1.ListStudioRequestsRequest - (*ListStudioRequestsResponse)(nil), // 8: buf.alpha.registry.v1alpha1.ListStudioRequestsResponse - (*StudioRequest)(nil), // 9: buf.alpha.registry.v1alpha1.StudioRequest - nil, // 10: buf.alpha.registry.v1alpha1.CreateStudioRequestRequest.HeadersEntry - nil, // 11: buf.alpha.registry.v1alpha1.StudioRequest.HeadersEntry - (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp -} -var file_buf_alpha_registry_v1alpha1_studio_request_proto_depIdxs = []int32{ - 10, // 0: buf.alpha.registry.v1alpha1.CreateStudioRequestRequest.headers:type_name -> buf.alpha.registry.v1alpha1.CreateStudioRequestRequest.HeadersEntry - 0, // 1: buf.alpha.registry.v1alpha1.CreateStudioRequestRequest.protocol:type_name -> buf.alpha.registry.v1alpha1.StudioProtocol - 9, // 2: buf.alpha.registry.v1alpha1.CreateStudioRequestResponse.created_request:type_name -> buf.alpha.registry.v1alpha1.StudioRequest - 9, // 3: buf.alpha.registry.v1alpha1.ListStudioRequestsResponse.requests:type_name -> buf.alpha.registry.v1alpha1.StudioRequest - 12, // 4: buf.alpha.registry.v1alpha1.StudioRequest.create_time:type_name -> google.protobuf.Timestamp - 12, // 5: buf.alpha.registry.v1alpha1.StudioRequest.update_time:type_name -> google.protobuf.Timestamp - 11, // 6: buf.alpha.registry.v1alpha1.StudioRequest.headers:type_name -> buf.alpha.registry.v1alpha1.StudioRequest.HeadersEntry - 0, // 7: buf.alpha.registry.v1alpha1.StudioRequest.protocol:type_name -> buf.alpha.registry.v1alpha1.StudioProtocol - 1, // 8: buf.alpha.registry.v1alpha1.StudioRequestService.CreateStudioRequest:input_type -> buf.alpha.registry.v1alpha1.CreateStudioRequestRequest - 3, // 9: buf.alpha.registry.v1alpha1.StudioRequestService.RenameStudioRequest:input_type -> buf.alpha.registry.v1alpha1.RenameStudioRequestRequest - 5, // 10: buf.alpha.registry.v1alpha1.StudioRequestService.DeleteStudioRequest:input_type -> buf.alpha.registry.v1alpha1.DeleteStudioRequestRequest - 7, // 11: buf.alpha.registry.v1alpha1.StudioRequestService.ListStudioRequests:input_type -> buf.alpha.registry.v1alpha1.ListStudioRequestsRequest - 2, // 12: buf.alpha.registry.v1alpha1.StudioRequestService.CreateStudioRequest:output_type -> buf.alpha.registry.v1alpha1.CreateStudioRequestResponse - 4, // 13: buf.alpha.registry.v1alpha1.StudioRequestService.RenameStudioRequest:output_type -> buf.alpha.registry.v1alpha1.RenameStudioRequestResponse - 6, // 14: buf.alpha.registry.v1alpha1.StudioRequestService.DeleteStudioRequest:output_type -> buf.alpha.registry.v1alpha1.DeleteStudioRequestResponse - 8, // 15: buf.alpha.registry.v1alpha1.StudioRequestService.ListStudioRequests:output_type -> buf.alpha.registry.v1alpha1.ListStudioRequestsResponse - 12, // [12:16] is the sub-list for method output_type - 8, // [8:12] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_studio_request_proto_init() } -func file_buf_alpha_registry_v1alpha1_studio_request_proto_init() { - if File_buf_alpha_registry_v1alpha1_studio_request_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_studio_request_proto_rawDesc, - NumEnums: 1, - NumMessages: 11, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_studio_request_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_studio_request_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_studio_request_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_studio_request_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_studio_request_proto = out.File - file_buf_alpha_registry_v1alpha1_studio_request_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_studio_request_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_studio_request_proto_depIdxs = nil -} 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 e4cc271d1f..ac9c440245 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/token.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -37,13 +35,13 @@ const ( ) type Token struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + xxx_hidden_ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + xxx_hidden_Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Token) Reset() { @@ -73,68 +71,68 @@ func (x *Token) ProtoReflect() protoreflect.Message { func (x *Token) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *Token) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *Token) GetExpireTime() *timestamppb.Timestamp { if x != nil { - return x.ExpireTime + return x.xxx_hidden_ExpireTime } return nil } func (x *Token) GetNote() string { if x != nil { - return x.Note + return x.xxx_hidden_Note } return "" } func (x *Token) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *Token) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *Token) SetExpireTime(v *timestamppb.Timestamp) { - x.ExpireTime = v + x.xxx_hidden_ExpireTime = v } func (x *Token) SetNote(v string) { - x.Note = v + x.xxx_hidden_Note = v } func (x *Token) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *Token) HasExpireTime() bool { if x == nil { return false } - return x.ExpireTime != nil + return x.xxx_hidden_ExpireTime != nil } func (x *Token) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } func (x *Token) ClearExpireTime() { - x.ExpireTime = nil + x.xxx_hidden_ExpireTime = nil } type Token_builder struct { @@ -150,25 +148,20 @@ func (b0 Token_builder) Build() *Token { m0 := &Token{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.CreateTime = b.CreateTime - x.ExpireTime = b.ExpireTime - x.Note = b.Note + x.xxx_hidden_Id = b.Id + x.xxx_hidden_CreateTime = b.CreateTime + x.xxx_hidden_ExpireTime = b.ExpireTime + x.xxx_hidden_Note = b.Note return m0 } type CreateTokenRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Note string `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + xxx_hidden_ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` + xxx_hidden_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() { @@ -198,46 +191,46 @@ func (x *CreateTokenRequest) ProtoReflect() protoreflect.Message { func (x *CreateTokenRequest) GetNote() string { if x != nil { - return x.Note + return x.xxx_hidden_Note } return "" } func (x *CreateTokenRequest) GetExpireTime() *timestamppb.Timestamp { if x != nil { - return x.ExpireTime + return x.xxx_hidden_ExpireTime } return nil } func (x *CreateTokenRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *CreateTokenRequest) SetNote(v string) { - x.Note = v + x.xxx_hidden_Note = v } func (x *CreateTokenRequest) SetExpireTime(v *timestamppb.Timestamp) { - x.ExpireTime = v + x.xxx_hidden_ExpireTime = v } func (x *CreateTokenRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } func (x *CreateTokenRequest) HasExpireTime() bool { if x == nil { return false } - return x.ExpireTime != nil + return x.xxx_hidden_ExpireTime != nil } func (x *CreateTokenRequest) ClearExpireTime() { - x.ExpireTime = nil + x.xxx_hidden_ExpireTime = nil } type CreateTokenRequest_builder struct { @@ -257,18 +250,17 @@ func (b0 CreateTokenRequest_builder) Build() *CreateTokenRequest { m0 := &CreateTokenRequest{} b, x := &b0, m0 _, _ = b, x - x.Note = b.Note - x.ExpireTime = b.ExpireTime - x.UserId = b.UserId + x.xxx_hidden_Note = b.Note + x.xxx_hidden_ExpireTime = b.ExpireTime + x.xxx_hidden_UserId = b.UserId return m0 } type CreateTokenResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // The plaintext token to use for authentication. - Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateTokenResponse) Reset() { @@ -298,13 +290,13 @@ func (x *CreateTokenResponse) ProtoReflect() protoreflect.Message { func (x *CreateTokenResponse) GetToken() string { if x != nil { - return x.Token + return x.xxx_hidden_Token } return "" } func (x *CreateTokenResponse) SetToken(v string) { - x.Token = v + x.xxx_hidden_Token = v } type CreateTokenResponse_builder struct { @@ -318,15 +310,15 @@ func (b0 CreateTokenResponse_builder) Build() *CreateTokenResponse { m0 := &CreateTokenResponse{} b, x := &b0, m0 _, _ = b, x - x.Token = b.Token + x.xxx_hidden_Token = b.Token return m0 } type GetTokenRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetTokenRequest) Reset() { @@ -356,13 +348,13 @@ func (x *GetTokenRequest) ProtoReflect() protoreflect.Message { func (x *GetTokenRequest) GetTokenId() string { if x != nil { - return x.TokenId + return x.xxx_hidden_TokenId } return "" } func (x *GetTokenRequest) SetTokenId(v string) { - x.TokenId = v + x.xxx_hidden_TokenId = v } type GetTokenRequest_builder struct { @@ -375,15 +367,15 @@ func (b0 GetTokenRequest_builder) Build() *GetTokenRequest { m0 := &GetTokenRequest{} b, x := &b0, m0 _, _ = b, x - x.TokenId = b.TokenId + x.xxx_hidden_TokenId = b.TokenId return m0 } type GetTokenResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetTokenResponse) Reset() { @@ -413,24 +405,24 @@ func (x *GetTokenResponse) ProtoReflect() protoreflect.Message { func (x *GetTokenResponse) GetToken() *Token { if x != nil { - return x.Token + return x.xxx_hidden_Token } return nil } func (x *GetTokenResponse) SetToken(v *Token) { - x.Token = v + x.xxx_hidden_Token = v } func (x *GetTokenResponse) HasToken() bool { if x == nil { return false } - return x.Token != nil + return x.xxx_hidden_Token != nil } func (x *GetTokenResponse) ClearToken() { - x.Token = nil + x.xxx_hidden_Token = nil } type GetTokenResponse_builder struct { @@ -443,22 +435,18 @@ func (b0 GetTokenResponse_builder) Build() *GetTokenResponse { m0 := &GetTokenResponse{} b, x := &b0, m0 _, _ = b, x - x.Token = b.Token + x.xxx_hidden_Token = b.Token return m0 } type ListTokensRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + xxx_hidden_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() { @@ -488,46 +476,46 @@ func (x *ListTokensRequest) ProtoReflect() protoreflect.Message { func (x *ListTokensRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListTokensRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListTokensRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListTokensRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *ListTokensRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListTokensRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListTokensRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } func (x *ListTokensRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } type ListTokensRequest_builder struct { @@ -547,20 +535,19 @@ func (b0 ListTokensRequest_builder) Build() *ListTokensRequest { m0 := &ListTokensRequest{} b, x := &b0, m0 _, _ = b, x - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse - x.UserId = b.UserId + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse + x.xxx_hidden_UserId = b.UserId return m0 } type ListTokensResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Tokens *[]*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` + xxx_hidden_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() { @@ -590,24 +577,26 @@ func (x *ListTokensResponse) ProtoReflect() protoreflect.Message { func (x *ListTokensResponse) GetTokens() []*Token { if x != nil { - return x.Tokens + if x.xxx_hidden_Tokens != nil { + return *x.xxx_hidden_Tokens + } } return nil } func (x *ListTokensResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListTokensResponse) SetTokens(v []*Token) { - x.Tokens = v + x.xxx_hidden_Tokens = &v } func (x *ListTokensResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListTokensResponse_builder struct { @@ -622,16 +611,16 @@ func (b0 ListTokensResponse_builder) Build() *ListTokensResponse { m0 := &ListTokensResponse{} b, x := &b0, m0 _, _ = b, x - x.Tokens = b.Tokens - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Tokens = &b.Tokens + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type DeleteTokenRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteTokenRequest) Reset() { @@ -661,13 +650,13 @@ func (x *DeleteTokenRequest) ProtoReflect() protoreflect.Message { func (x *DeleteTokenRequest) GetTokenId() string { if x != nil { - return x.TokenId + return x.xxx_hidden_TokenId } return "" } func (x *DeleteTokenRequest) SetTokenId(v string) { - x.TokenId = v + x.xxx_hidden_TokenId = v } type DeleteTokenRequest_builder struct { @@ -680,12 +669,12 @@ func (b0 DeleteTokenRequest_builder) Build() *DeleteTokenRequest { m0 := &DeleteTokenRequest{} b, x := &b0, m0 _, _ = b, x - x.TokenId = b.TokenId + x.xxx_hidden_TokenId = b.TokenId return m0 } type DeleteTokenResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/token_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/token_protoopaque.pb.go deleted file mode 100644 index 56dc18961f..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/token_protoopaque.pb.go +++ /dev/null @@ -1,887 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/token.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Token struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - xxx_hidden_ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` - xxx_hidden_Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Token) Reset() { - *x = Token{} - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Token) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Token) ProtoMessage() {} - -func (x *Token) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Token) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *Token) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *Token) GetExpireTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_ExpireTime - } - return nil -} - -func (x *Token) GetNote() string { - if x != nil { - return x.xxx_hidden_Note - } - return "" -} - -func (x *Token) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *Token) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *Token) SetExpireTime(v *timestamppb.Timestamp) { - x.xxx_hidden_ExpireTime = v -} - -func (x *Token) SetNote(v string) { - x.xxx_hidden_Note = v -} - -func (x *Token) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *Token) HasExpireTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_ExpireTime != nil -} - -func (x *Token) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -func (x *Token) ClearExpireTime() { - x.xxx_hidden_ExpireTime = nil -} - -type Token_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string - CreateTime *timestamppb.Timestamp - ExpireTime *timestamppb.Timestamp - Note string -} - -func (b0 Token_builder) Build() *Token { - m0 := &Token{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_CreateTime = b.CreateTime - x.xxx_hidden_ExpireTime = b.ExpireTime - x.xxx_hidden_Note = b.Note - return m0 -} - -type CreateTokenRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Note string `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - xxx_hidden_ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` - xxx_hidden_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() { - *x = CreateTokenRequest{} - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateTokenRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateTokenRequest) ProtoMessage() {} - -func (x *CreateTokenRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateTokenRequest) GetNote() string { - if x != nil { - return x.xxx_hidden_Note - } - return "" -} - -func (x *CreateTokenRequest) GetExpireTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_ExpireTime - } - return nil -} - -func (x *CreateTokenRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *CreateTokenRequest) SetNote(v string) { - x.xxx_hidden_Note = v -} - -func (x *CreateTokenRequest) SetExpireTime(v *timestamppb.Timestamp) { - x.xxx_hidden_ExpireTime = v -} - -func (x *CreateTokenRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -func (x *CreateTokenRequest) HasExpireTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_ExpireTime != nil -} - -func (x *CreateTokenRequest) ClearExpireTime() { - x.xxx_hidden_ExpireTime = nil -} - -type CreateTokenRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Note string - // The time until which the token should be valid. - // Must be in the future. May be null for no expiry. - ExpireTime *timestamppb.Timestamp - // 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 -} - -func (b0 CreateTokenRequest_builder) Build() *CreateTokenRequest { - m0 := &CreateTokenRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Note = b.Note - x.xxx_hidden_ExpireTime = b.ExpireTime - x.xxx_hidden_UserId = b.UserId - return m0 -} - -type CreateTokenResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateTokenResponse) Reset() { - *x = CreateTokenResponse{} - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateTokenResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateTokenResponse) ProtoMessage() {} - -func (x *CreateTokenResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateTokenResponse) GetToken() string { - if x != nil { - return x.xxx_hidden_Token - } - return "" -} - -func (x *CreateTokenResponse) SetToken(v string) { - x.xxx_hidden_Token = v -} - -type CreateTokenResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The plaintext token to use for authentication. - Token string -} - -func (b0 CreateTokenResponse_builder) Build() *CreateTokenResponse { - m0 := &CreateTokenResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Token = b.Token - return m0 -} - -type GetTokenRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTokenRequest) Reset() { - *x = GetTokenRequest{} - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTokenRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTokenRequest) ProtoMessage() {} - -func (x *GetTokenRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetTokenRequest) GetTokenId() string { - if x != nil { - return x.xxx_hidden_TokenId - } - return "" -} - -func (x *GetTokenRequest) SetTokenId(v string) { - x.xxx_hidden_TokenId = v -} - -type GetTokenRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - TokenId string -} - -func (b0 GetTokenRequest_builder) Build() *GetTokenRequest { - m0 := &GetTokenRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_TokenId = b.TokenId - return m0 -} - -type GetTokenResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTokenResponse) Reset() { - *x = GetTokenResponse{} - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTokenResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTokenResponse) ProtoMessage() {} - -func (x *GetTokenResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetTokenResponse) GetToken() *Token { - if x != nil { - return x.xxx_hidden_Token - } - return nil -} - -func (x *GetTokenResponse) SetToken(v *Token) { - x.xxx_hidden_Token = v -} - -func (x *GetTokenResponse) HasToken() bool { - if x == nil { - return false - } - return x.xxx_hidden_Token != nil -} - -func (x *GetTokenResponse) ClearToken() { - x.xxx_hidden_Token = nil -} - -type GetTokenResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Token *Token -} - -func (b0 GetTokenResponse_builder) Build() *GetTokenResponse { - m0 := &GetTokenResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Token = b.Token - return m0 -} - -type ListTokensRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` - xxx_hidden_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() { - *x = ListTokensRequest{} - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListTokensRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListTokensRequest) ProtoMessage() {} - -func (x *ListTokensRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListTokensRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListTokensRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListTokensRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListTokensRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *ListTokensRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListTokensRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListTokensRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -func (x *ListTokensRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -type ListTokensRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool - // 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 -} - -func (b0 ListTokensRequest_builder) Build() *ListTokensRequest { - m0 := &ListTokensRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - x.xxx_hidden_UserId = b.UserId - return m0 -} - -type ListTokensResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Tokens *[]*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` - xxx_hidden_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() { - *x = ListTokensResponse{} - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListTokensResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListTokensResponse) ProtoMessage() {} - -func (x *ListTokensResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListTokensResponse) GetTokens() []*Token { - if x != nil { - if x.xxx_hidden_Tokens != nil { - return *x.xxx_hidden_Tokens - } - } - return nil -} - -func (x *ListTokensResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListTokensResponse) SetTokens(v []*Token) { - x.xxx_hidden_Tokens = &v -} - -func (x *ListTokensResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListTokensResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Tokens []*Token - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListTokensResponse_builder) Build() *ListTokensResponse { - m0 := &ListTokensResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Tokens = &b.Tokens - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type DeleteTokenRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteTokenRequest) Reset() { - *x = DeleteTokenRequest{} - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteTokenRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteTokenRequest) ProtoMessage() {} - -func (x *DeleteTokenRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeleteTokenRequest) GetTokenId() string { - if x != nil { - return x.xxx_hidden_TokenId - } - return "" -} - -func (x *DeleteTokenRequest) SetTokenId(v string) { - x.xxx_hidden_TokenId = v -} - -type DeleteTokenRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - TokenId string -} - -func (b0 DeleteTokenRequest_builder) Build() *DeleteTokenRequest { - m0 := &DeleteTokenRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_TokenId = b.TokenId - return m0 -} - -type DeleteTokenResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteTokenResponse) Reset() { - *x = DeleteTokenResponse{} - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteTokenResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteTokenResponse) ProtoMessage() {} - -func (x *DeleteTokenResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_token_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeleteTokenResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeleteTokenResponse_builder) Build() *DeleteTokenResponse { - m0 := &DeleteTokenResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -var File_buf_alpha_registry_v1alpha1_token_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_token_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, - 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x6f, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x22, - 0x7e, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, 0x70, - 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, - 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, - 0x2b, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x2c, 0x0a, 0x0f, - 0x47, 0x65, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x4c, 0x0a, 0x10, 0x47, 0x65, - 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, - 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x82, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, - 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, - 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, - 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, - 0x65, 0x72, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x78, 0x0a, - 0x12, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, - 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, - 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x2f, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, - 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, - 0xd9, 0x03, 0x0a, 0x0c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x70, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, - 0x2f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x30, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2c, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, - 0x12, 0x72, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x2e, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x03, 0x90, 0x02, 0x01, 0x12, 0x75, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x12, 0x2f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x42, 0x97, 0x02, 0x0a, 0x1f, - 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, - 0x0a, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, - 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, - 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, - 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, - 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_token_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_buf_alpha_registry_v1alpha1_token_proto_goTypes = []any{ - (*Token)(nil), // 0: buf.alpha.registry.v1alpha1.Token - (*CreateTokenRequest)(nil), // 1: buf.alpha.registry.v1alpha1.CreateTokenRequest - (*CreateTokenResponse)(nil), // 2: buf.alpha.registry.v1alpha1.CreateTokenResponse - (*GetTokenRequest)(nil), // 3: buf.alpha.registry.v1alpha1.GetTokenRequest - (*GetTokenResponse)(nil), // 4: buf.alpha.registry.v1alpha1.GetTokenResponse - (*ListTokensRequest)(nil), // 5: buf.alpha.registry.v1alpha1.ListTokensRequest - (*ListTokensResponse)(nil), // 6: buf.alpha.registry.v1alpha1.ListTokensResponse - (*DeleteTokenRequest)(nil), // 7: buf.alpha.registry.v1alpha1.DeleteTokenRequest - (*DeleteTokenResponse)(nil), // 8: buf.alpha.registry.v1alpha1.DeleteTokenResponse - (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp -} -var file_buf_alpha_registry_v1alpha1_token_proto_depIdxs = []int32{ - 9, // 0: buf.alpha.registry.v1alpha1.Token.create_time:type_name -> google.protobuf.Timestamp - 9, // 1: buf.alpha.registry.v1alpha1.Token.expire_time:type_name -> google.protobuf.Timestamp - 9, // 2: buf.alpha.registry.v1alpha1.CreateTokenRequest.expire_time:type_name -> google.protobuf.Timestamp - 0, // 3: buf.alpha.registry.v1alpha1.GetTokenResponse.token:type_name -> buf.alpha.registry.v1alpha1.Token - 0, // 4: buf.alpha.registry.v1alpha1.ListTokensResponse.tokens:type_name -> buf.alpha.registry.v1alpha1.Token - 1, // 5: buf.alpha.registry.v1alpha1.TokenService.CreateToken:input_type -> buf.alpha.registry.v1alpha1.CreateTokenRequest - 3, // 6: buf.alpha.registry.v1alpha1.TokenService.GetToken:input_type -> buf.alpha.registry.v1alpha1.GetTokenRequest - 5, // 7: buf.alpha.registry.v1alpha1.TokenService.ListTokens:input_type -> buf.alpha.registry.v1alpha1.ListTokensRequest - 7, // 8: buf.alpha.registry.v1alpha1.TokenService.DeleteToken:input_type -> buf.alpha.registry.v1alpha1.DeleteTokenRequest - 2, // 9: buf.alpha.registry.v1alpha1.TokenService.CreateToken:output_type -> buf.alpha.registry.v1alpha1.CreateTokenResponse - 4, // 10: buf.alpha.registry.v1alpha1.TokenService.GetToken:output_type -> buf.alpha.registry.v1alpha1.GetTokenResponse - 6, // 11: buf.alpha.registry.v1alpha1.TokenService.ListTokens:output_type -> buf.alpha.registry.v1alpha1.ListTokensResponse - 8, // 12: buf.alpha.registry.v1alpha1.TokenService.DeleteToken:output_type -> buf.alpha.registry.v1alpha1.DeleteTokenResponse - 9, // [9:13] is the sub-list for method output_type - 5, // [5:9] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_token_proto_init() } -func file_buf_alpha_registry_v1alpha1_token_proto_init() { - if File_buf_alpha_registry_v1alpha1_token_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_token_proto_rawDesc, - NumEnums: 0, - NumMessages: 9, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_token_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_token_proto_depIdxs, - MessageInfos: file_buf_alpha_registry_v1alpha1_token_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_token_proto = out.File - file_buf_alpha_registry_v1alpha1_token_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_token_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_token_proto_depIdxs = nil -} 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 6099c622e9..78d8e60a06 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/user.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -128,28 +126,18 @@ func (x UserType) Number() protoreflect.EnumNumber { } type User struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // primary key, unique, immutable - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // immutable - CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // mutable - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // unique, mutable - Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` - // mutable - Deactivated bool `protobuf:"varint,5,opt,name=deactivated,proto3" json:"deactivated,omitempty"` - // description is the user configurable description of the user. - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - // url is the user configurable URL in the description of the user, - // always included the scheme and will not have a #fragment suffix. - Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + xxx_hidden_UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + xxx_hidden_Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` + xxx_hidden_Deactivated bool `protobuf:"varint,5,opt,name=deactivated,proto3" json:"deactivated,omitempty"` + xxx_hidden_Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` + xxx_hidden_Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"` + xxx_hidden_VerificationStatus VerificationStatus `protobuf:"varint,8,opt,name=verification_status,json=verificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"verification_status,omitempty"` + xxx_hidden_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() { @@ -179,123 +167,123 @@ func (x *User) ProtoReflect() protoreflect.Message { func (x *User) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *User) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *User) GetUpdateTime() *timestamppb.Timestamp { if x != nil { - return x.UpdateTime + return x.xxx_hidden_UpdateTime } return nil } func (x *User) GetUsername() string { if x != nil { - return x.Username + return x.xxx_hidden_Username } return "" } func (x *User) GetDeactivated() bool { if x != nil { - return x.Deactivated + return x.xxx_hidden_Deactivated } return false } func (x *User) GetDescription() string { if x != nil { - return x.Description + return x.xxx_hidden_Description } return "" } func (x *User) GetUrl() string { if x != nil { - return x.Url + return x.xxx_hidden_Url } return "" } func (x *User) GetVerificationStatus() VerificationStatus { if x != nil { - return x.VerificationStatus + return x.xxx_hidden_VerificationStatus } return VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED } func (x *User) GetUserType() UserType { if x != nil { - return x.UserType + return x.xxx_hidden_UserType } return UserType_USER_TYPE_UNSPECIFIED } func (x *User) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } func (x *User) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *User) SetUpdateTime(v *timestamppb.Timestamp) { - x.UpdateTime = v + x.xxx_hidden_UpdateTime = v } func (x *User) SetUsername(v string) { - x.Username = v + x.xxx_hidden_Username = v } func (x *User) SetDeactivated(v bool) { - x.Deactivated = v + x.xxx_hidden_Deactivated = v } func (x *User) SetDescription(v string) { - x.Description = v + x.xxx_hidden_Description = v } func (x *User) SetUrl(v string) { - x.Url = v + x.xxx_hidden_Url = v } func (x *User) SetVerificationStatus(v VerificationStatus) { - x.VerificationStatus = v + x.xxx_hidden_VerificationStatus = v } func (x *User) SetUserType(v UserType) { - x.UserType = v + x.xxx_hidden_UserType = v } func (x *User) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *User) HasUpdateTime() bool { if x == nil { return false } - return x.UpdateTime != nil + return x.xxx_hidden_UpdateTime != nil } func (x *User) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } func (x *User) ClearUpdateTime() { - x.UpdateTime = nil + x.xxx_hidden_UpdateTime = nil } type User_builder struct { @@ -326,30 +314,27 @@ func (b0 User_builder) Build() *User { m0 := &User{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id - x.CreateTime = b.CreateTime - x.UpdateTime = b.UpdateTime - x.Username = b.Username - x.Deactivated = b.Deactivated - x.Description = b.Description - x.Url = b.Url - x.VerificationStatus = b.VerificationStatus - x.UserType = b.UserType + x.xxx_hidden_Id = b.Id + x.xxx_hidden_CreateTime = b.CreateTime + x.xxx_hidden_UpdateTime = b.UpdateTime + x.xxx_hidden_Username = b.Username + x.xxx_hidden_Deactivated = b.Deactivated + x.xxx_hidden_Description = b.Description + x.xxx_hidden_Url = b.Url + x.xxx_hidden_VerificationStatus = b.VerificationStatus + x.xxx_hidden_UserType = b.UserType return m0 } // TODO: #663 move this to organization service type OrganizationUser struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + xxx_hidden_OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_OrganizationRole OrganizationRole `protobuf:"varint,3,opt,name=organization_role,json=organizationRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"organization_role,omitempty"` + xxx_hidden_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() { @@ -379,57 +364,57 @@ func (x *OrganizationUser) ProtoReflect() protoreflect.Message { func (x *OrganizationUser) GetUser() *User { if x != nil { - return x.User + return x.xxx_hidden_User } return nil } func (x *OrganizationUser) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *OrganizationUser) GetOrganizationRole() OrganizationRole { if x != nil { - return x.OrganizationRole + return x.xxx_hidden_OrganizationRole } return OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED } func (x *OrganizationUser) GetOrganizationRoleSource() OrganizationRoleSource { if x != nil { - return x.OrganizationRoleSource + return x.xxx_hidden_OrganizationRoleSource } return OrganizationRoleSource_ORGANIZATION_ROLE_SOURCE_UNSPECIFIED } func (x *OrganizationUser) SetUser(v *User) { - x.User = v + x.xxx_hidden_User = v } func (x *OrganizationUser) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *OrganizationUser) SetOrganizationRole(v OrganizationRole) { - x.OrganizationRole = v + x.xxx_hidden_OrganizationRole = v } func (x *OrganizationUser) SetOrganizationRoleSource(v OrganizationRoleSource) { - x.OrganizationRoleSource = v + x.xxx_hidden_OrganizationRoleSource = v } func (x *OrganizationUser) HasUser() bool { if x == nil { return false } - return x.User != nil + return x.xxx_hidden_User != nil } func (x *OrganizationUser) ClearUser() { - x.User = nil + x.xxx_hidden_User = nil } type OrganizationUser_builder struct { @@ -448,10 +433,10 @@ func (b0 OrganizationUser_builder) Build() *OrganizationUser { m0 := &OrganizationUser{} b, x := &b0, m0 _, _ = b, x - x.User = b.User - x.OrganizationId = b.OrganizationId - x.OrganizationRole = b.OrganizationRole - x.OrganizationRoleSource = b.OrganizationRoleSource + x.xxx_hidden_User = b.User + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_OrganizationRole = b.OrganizationRole + x.xxx_hidden_OrganizationRoleSource = b.OrganizationRoleSource return m0 } @@ -460,13 +445,11 @@ func (b0 OrganizationUser_builder) Build() *OrganizationUser { // 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 `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_SelectedLanguage PluginLanguage `protobuf:"varint,2,opt,name=selected_language,json=selectedLanguage,proto3,enum=buf.alpha.registry.v1alpha1.PluginLanguage" json:"selected_language,omitempty"` + xxx_hidden_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() { @@ -496,24 +479,24 @@ func (x *UserPluginPreference) ProtoReflect() protoreflect.Message { func (x *UserPluginPreference) GetSelectedLanguage() PluginLanguage { if x != nil { - return x.SelectedLanguage + return x.xxx_hidden_SelectedLanguage } return PluginLanguage_PLUGIN_LANGUAGE_UNSPECIFIED } func (x *UserPluginPreference) GetSelectedPlugins() []string { if x != nil { - return x.SelectedPlugins + return x.xxx_hidden_SelectedPlugins } return nil } func (x *UserPluginPreference) SetSelectedLanguage(v PluginLanguage) { - x.SelectedLanguage = v + x.xxx_hidden_SelectedLanguage = v } func (x *UserPluginPreference) SetSelectedPlugins(v []string) { - x.SelectedPlugins = v + x.xxx_hidden_SelectedPlugins = v } type UserPluginPreference_builder struct { @@ -529,16 +512,16 @@ func (b0 UserPluginPreference_builder) Build() *UserPluginPreference { m0 := &UserPluginPreference{} b, x := &b0, m0 _, _ = b, x - x.SelectedLanguage = b.SelectedLanguage - x.SelectedPlugins = b.SelectedPlugins + x.xxx_hidden_SelectedLanguage = b.SelectedLanguage + x.xxx_hidden_SelectedPlugins = b.SelectedPlugins return m0 } type CreateUserRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateUserRequest) Reset() { @@ -568,13 +551,13 @@ func (x *CreateUserRequest) ProtoReflect() protoreflect.Message { func (x *CreateUserRequest) GetUsername() string { if x != nil { - return x.Username + return x.xxx_hidden_Username } return "" } func (x *CreateUserRequest) SetUsername(v string) { - x.Username = v + x.xxx_hidden_Username = v } type CreateUserRequest_builder struct { @@ -587,15 +570,15 @@ func (b0 CreateUserRequest_builder) Build() *CreateUserRequest { m0 := &CreateUserRequest{} b, x := &b0, m0 _, _ = b, x - x.Username = b.Username + x.xxx_hidden_Username = b.Username return m0 } type CreateUserResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateUserResponse) Reset() { @@ -625,24 +608,24 @@ func (x *CreateUserResponse) ProtoReflect() protoreflect.Message { func (x *CreateUserResponse) GetUser() *User { if x != nil { - return x.User + return x.xxx_hidden_User } return nil } func (x *CreateUserResponse) SetUser(v *User) { - x.User = v + x.xxx_hidden_User = v } func (x *CreateUserResponse) HasUser() bool { if x == nil { return false } - return x.User != nil + return x.xxx_hidden_User != nil } func (x *CreateUserResponse) ClearUser() { - x.User = nil + x.xxx_hidden_User = nil } type CreateUserResponse_builder struct { @@ -655,13 +638,13 @@ func (b0 CreateUserResponse_builder) Build() *CreateUserResponse { m0 := &CreateUserResponse{} b, x := &b0, m0 _, _ = b, x - x.User = b.User + x.xxx_hidden_User = b.User return m0 } type GetUserRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -693,13 +676,13 @@ func (x *GetUserRequest) ProtoReflect() protoreflect.Message { func (x *GetUserRequest) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *GetUserRequest) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } type GetUserRequest_builder struct { @@ -712,15 +695,15 @@ func (b0 GetUserRequest_builder) Build() *GetUserRequest { m0 := &GetUserRequest{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id + x.xxx_hidden_Id = b.Id return m0 } type GetUserResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUserResponse) Reset() { @@ -750,24 +733,24 @@ func (x *GetUserResponse) ProtoReflect() protoreflect.Message { func (x *GetUserResponse) GetUser() *User { if x != nil { - return x.User + return x.xxx_hidden_User } return nil } func (x *GetUserResponse) SetUser(v *User) { - x.User = v + x.xxx_hidden_User = v } func (x *GetUserResponse) HasUser() bool { if x == nil { return false } - return x.User != nil + return x.xxx_hidden_User != nil } func (x *GetUserResponse) ClearUser() { - x.User = nil + x.xxx_hidden_User = nil } type GetUserResponse_builder struct { @@ -780,15 +763,15 @@ func (b0 GetUserResponse_builder) Build() *GetUserResponse { m0 := &GetUserResponse{} b, x := &b0, m0 _, _ = b, x - x.User = b.User + x.xxx_hidden_User = b.User return m0 } type GetUserByUsernameRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUserByUsernameRequest) Reset() { @@ -818,13 +801,13 @@ func (x *GetUserByUsernameRequest) ProtoReflect() protoreflect.Message { func (x *GetUserByUsernameRequest) GetUsername() string { if x != nil { - return x.Username + return x.xxx_hidden_Username } return "" } func (x *GetUserByUsernameRequest) SetUsername(v string) { - x.Username = v + x.xxx_hidden_Username = v } type GetUserByUsernameRequest_builder struct { @@ -837,15 +820,15 @@ func (b0 GetUserByUsernameRequest_builder) Build() *GetUserByUsernameRequest { m0 := &GetUserByUsernameRequest{} b, x := &b0, m0 _, _ = b, x - x.Username = b.Username + x.xxx_hidden_Username = b.Username return m0 } type GetUserByUsernameResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUserByUsernameResponse) Reset() { @@ -875,24 +858,24 @@ func (x *GetUserByUsernameResponse) ProtoReflect() protoreflect.Message { func (x *GetUserByUsernameResponse) GetUser() *User { if x != nil { - return x.User + return x.xxx_hidden_User } return nil } func (x *GetUserByUsernameResponse) SetUser(v *User) { - x.User = v + x.xxx_hidden_User = v } func (x *GetUserByUsernameResponse) HasUser() bool { if x == nil { return false } - return x.User != nil + return x.xxx_hidden_User != nil } func (x *GetUserByUsernameResponse) ClearUser() { - x.User = nil + x.xxx_hidden_User = nil } type GetUserByUsernameResponse_builder struct { @@ -905,22 +888,19 @@ func (b0 GetUserByUsernameResponse_builder) Build() *GetUserByUsernameResponse { m0 := &GetUserByUsernameResponse{} b, x := &b0, m0 _, _ = b, x - x.User = b.User + x.xxx_hidden_User = b.User return m0 } type ListUsersRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - // If the user_state_filter is unspecified, users of all states are included. - 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` + xxx_hidden_UserStateFilter UserState `protobuf:"varint,4,opt,name=user_state_filter,json=userStateFilter,proto3,enum=buf.alpha.registry.v1alpha1.UserState" json:"user_state_filter,omitempty"` + xxx_hidden_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() { @@ -950,57 +930,57 @@ func (x *ListUsersRequest) ProtoReflect() protoreflect.Message { func (x *ListUsersRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListUsersRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListUsersRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListUsersRequest) GetUserStateFilter() UserState { if x != nil { - return x.UserStateFilter + return x.xxx_hidden_UserStateFilter } return UserState_USER_STATE_UNSPECIFIED } func (x *ListUsersRequest) GetUserTypeFilters() []UserType { if x != nil { - return x.UserTypeFilters + return x.xxx_hidden_UserTypeFilters } return nil } func (x *ListUsersRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListUsersRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListUsersRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } func (x *ListUsersRequest) SetUserStateFilter(v UserState) { - x.UserStateFilter = v + x.xxx_hidden_UserStateFilter = v } func (x *ListUsersRequest) SetUserTypeFilters(v []UserType) { - x.UserTypeFilters = v + x.xxx_hidden_UserTypeFilters = v } type ListUsersRequest_builder struct { @@ -1020,21 +1000,20 @@ func (b0 ListUsersRequest_builder) Build() *ListUsersRequest { m0 := &ListUsersRequest{} b, x := &b0, m0 _, _ = b, x - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse - x.UserStateFilter = b.UserStateFilter - x.UserTypeFilters = b.UserTypeFilters + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse + x.xxx_hidden_UserStateFilter = b.UserStateFilter + x.xxx_hidden_UserTypeFilters = b.UserTypeFilters return m0 } type ListUsersResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Users *[]*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + xxx_hidden_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() { @@ -1064,24 +1043,26 @@ func (x *ListUsersResponse) ProtoReflect() protoreflect.Message { func (x *ListUsersResponse) GetUsers() []*User { if x != nil { - return x.Users + if x.xxx_hidden_Users != nil { + return *x.xxx_hidden_Users + } } return nil } func (x *ListUsersResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListUsersResponse) SetUsers(v []*User) { - x.Users = v + x.xxx_hidden_Users = &v } func (x *ListUsersResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListUsersResponse_builder struct { @@ -1096,20 +1077,19 @@ func (b0 ListUsersResponse_builder) Build() *ListUsersResponse { m0 := &ListUsersResponse{} b, x := &b0, m0 _, _ = b, x - x.Users = b.Users - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Users = &b.Users + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type ListOrganizationUsersRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + xxx_hidden_Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListOrganizationUsersRequest) Reset() { @@ -1139,46 +1119,46 @@ func (x *ListOrganizationUsersRequest) ProtoReflect() protoreflect.Message { func (x *ListOrganizationUsersRequest) GetOrganizationId() string { if x != nil { - return x.OrganizationId + return x.xxx_hidden_OrganizationId } return "" } func (x *ListOrganizationUsersRequest) GetPageSize() uint32 { if x != nil { - return x.PageSize + return x.xxx_hidden_PageSize } return 0 } func (x *ListOrganizationUsersRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListOrganizationUsersRequest) GetReverse() bool { if x != nil { - return x.Reverse + return x.xxx_hidden_Reverse } return false } func (x *ListOrganizationUsersRequest) SetOrganizationId(v string) { - x.OrganizationId = v + x.xxx_hidden_OrganizationId = v } func (x *ListOrganizationUsersRequest) SetPageSize(v uint32) { - x.PageSize = v + x.xxx_hidden_PageSize = v } func (x *ListOrganizationUsersRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } func (x *ListOrganizationUsersRequest) SetReverse(v bool) { - x.Reverse = v + x.xxx_hidden_Reverse = v } type ListOrganizationUsersRequest_builder struct { @@ -1195,20 +1175,19 @@ func (b0 ListOrganizationUsersRequest_builder) Build() *ListOrganizationUsersReq m0 := &ListOrganizationUsersRequest{} b, x := &b0, m0 _, _ = b, x - x.OrganizationId = b.OrganizationId - x.PageSize = b.PageSize - x.PageToken = b.PageToken - x.Reverse = b.Reverse + x.xxx_hidden_OrganizationId = b.OrganizationId + x.xxx_hidden_PageSize = b.PageSize + x.xxx_hidden_PageToken = b.PageToken + x.xxx_hidden_Reverse = b.Reverse return m0 } type ListOrganizationUsersResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Users *[]*OrganizationUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + xxx_hidden_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() { @@ -1238,24 +1217,26 @@ func (x *ListOrganizationUsersResponse) ProtoReflect() protoreflect.Message { func (x *ListOrganizationUsersResponse) GetUsers() []*OrganizationUser { if x != nil { - return x.Users + if x.xxx_hidden_Users != nil { + return *x.xxx_hidden_Users + } } return nil } func (x *ListOrganizationUsersResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListOrganizationUsersResponse) SetUsers(v []*OrganizationUser) { - x.Users = v + x.xxx_hidden_Users = &v } func (x *ListOrganizationUsersResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListOrganizationUsersResponse_builder struct { @@ -1270,13 +1251,13 @@ func (b0 ListOrganizationUsersResponse_builder) Build() *ListOrganizationUsersRe m0 := &ListOrganizationUsersResponse{} b, x := &b0, m0 _, _ = b, x - x.Users = b.Users - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Users = &b.Users + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } type DeleteUserRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1319,7 +1300,7 @@ func (b0 DeleteUserRequest_builder) Build() *DeleteUserRequest { } type DeleteUserResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1362,8 +1343,8 @@ func (b0 DeleteUserResponse_builder) Build() *DeleteUserResponse { } type DeactivateUserRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1395,13 +1376,13 @@ func (x *DeactivateUserRequest) ProtoReflect() protoreflect.Message { func (x *DeactivateUserRequest) GetId() string { if x != nil { - return x.Id + return x.xxx_hidden_Id } return "" } func (x *DeactivateUserRequest) SetId(v string) { - x.Id = v + x.xxx_hidden_Id = v } type DeactivateUserRequest_builder struct { @@ -1414,12 +1395,12 @@ func (b0 DeactivateUserRequest_builder) Build() *DeactivateUserRequest { m0 := &DeactivateUserRequest{} b, x := &b0, m0 _, _ = b, x - x.Id = b.Id + x.xxx_hidden_Id = b.Id return m0 } type DeactivateUserResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1462,13 +1443,11 @@ func (b0 DeactivateUserResponse_builder) Build() *DeactivateUserResponse { } type UpdateUserServerRoleRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + xxx_hidden_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() { @@ -1498,24 +1477,24 @@ func (x *UpdateUserServerRoleRequest) ProtoReflect() protoreflect.Message { func (x *UpdateUserServerRoleRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *UpdateUserServerRoleRequest) GetServerRole() ServerRole { if x != nil { - return x.ServerRole + return x.xxx_hidden_ServerRole } return ServerRole_SERVER_ROLE_UNSPECIFIED } func (x *UpdateUserServerRoleRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } func (x *UpdateUserServerRoleRequest) SetServerRole(v ServerRole) { - x.ServerRole = v + x.xxx_hidden_ServerRole = v } type UpdateUserServerRoleRequest_builder struct { @@ -1531,13 +1510,13 @@ func (b0 UpdateUserServerRoleRequest_builder) Build() *UpdateUserServerRoleReque m0 := &UpdateUserServerRoleRequest{} b, x := &b0, m0 _, _ = b, x - x.UserId = b.UserId - x.ServerRole = b.ServerRole + x.xxx_hidden_UserId = b.UserId + x.xxx_hidden_ServerRole = b.ServerRole return m0 } type UpdateUserServerRoleResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1580,11 +1559,10 @@ func (b0 UpdateUserServerRoleResponse_builder) Build() *UpdateUserServerRoleResp } type CountUsersRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -1614,13 +1592,13 @@ func (x *CountUsersRequest) ProtoReflect() protoreflect.Message { func (x *CountUsersRequest) GetUserStateFilter() UserState { if x != nil { - return x.UserStateFilter + return x.xxx_hidden_UserStateFilter } return UserState_USER_STATE_UNSPECIFIED } func (x *CountUsersRequest) SetUserStateFilter(v UserState) { - x.UserStateFilter = v + x.xxx_hidden_UserStateFilter = v } type CountUsersRequest_builder struct { @@ -1634,15 +1612,15 @@ func (b0 CountUsersRequest_builder) Build() *CountUsersRequest { m0 := &CountUsersRequest{} b, x := &b0, m0 _, _ = b, x - x.UserStateFilter = b.UserStateFilter + x.xxx_hidden_UserStateFilter = b.UserStateFilter return m0 } type CountUsersResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CountUsersResponse) Reset() { @@ -1672,13 +1650,13 @@ func (x *CountUsersResponse) ProtoReflect() protoreflect.Message { func (x *CountUsersResponse) GetTotalCount() uint32 { if x != nil { - return x.TotalCount + return x.xxx_hidden_TotalCount } return 0 } func (x *CountUsersResponse) SetTotalCount(v uint32) { - x.TotalCount = v + x.xxx_hidden_TotalCount = v } type CountUsersResponse_builder struct { @@ -1691,19 +1669,19 @@ func (b0 CountUsersResponse_builder) Build() *CountUsersResponse { m0 := &CountUsersResponse{} b, x := &b0, m0 _, _ = b, x - x.TotalCount = b.TotalCount + x.xxx_hidden_TotalCount = b.TotalCount return m0 } type UpdateUserSettingsRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + xxx_hidden_Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` + xxx_hidden_Url *string `protobuf:"bytes,3,opt,name=url,proto3,oneof" json:"url,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUserSettingsRequest) Reset() { @@ -1733,57 +1711,67 @@ func (x *UpdateUserSettingsRequest) ProtoReflect() protoreflect.Message { func (x *UpdateUserSettingsRequest) GetUserId() string { if x != nil { - return x.UserId + return x.xxx_hidden_UserId } return "" } func (x *UpdateUserSettingsRequest) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description + if x != nil { + if x.xxx_hidden_Description != nil { + return *x.xxx_hidden_Description + } + return "" } return "" } func (x *UpdateUserSettingsRequest) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url + if x != nil { + if x.xxx_hidden_Url != nil { + return *x.xxx_hidden_Url + } + return "" } return "" } func (x *UpdateUserSettingsRequest) SetUserId(v string) { - x.UserId = v + x.xxx_hidden_UserId = v } func (x *UpdateUserSettingsRequest) SetDescription(v string) { - x.Description = &v + x.xxx_hidden_Description = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 3) } func (x *UpdateUserSettingsRequest) SetUrl(v string) { - x.Url = &v + x.xxx_hidden_Url = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 2, 3) } func (x *UpdateUserSettingsRequest) HasDescription() bool { if x == nil { return false } - return x.Description != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 1) } func (x *UpdateUserSettingsRequest) HasUrl() bool { if x == nil { return false } - return x.Url != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 2) } func (x *UpdateUserSettingsRequest) ClearDescription() { - x.Description = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) + x.xxx_hidden_Description = nil } func (x *UpdateUserSettingsRequest) ClearUrl() { - x.Url = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 2) + x.xxx_hidden_Url = nil } type UpdateUserSettingsRequest_builder struct { @@ -1800,14 +1788,20 @@ func (b0 UpdateUserSettingsRequest_builder) Build() *UpdateUserSettingsRequest { m0 := &UpdateUserSettingsRequest{} b, x := &b0, m0 _, _ = b, x - x.UserId = b.UserId - x.Description = b.Description - x.Url = b.Url + x.xxx_hidden_UserId = b.UserId + if b.Description != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 3) + x.xxx_hidden_Description = b.Description + } + if b.Url != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 2, 3) + x.xxx_hidden_Url = b.Url + } return m0 } type UpdateUserSettingsResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1850,7 +1844,7 @@ func (b0 UpdateUserSettingsResponse_builder) Build() *UpdateUserSettingsResponse } type GetUserPluginPreferencesRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1893,10 +1887,10 @@ func (b0 GetUserPluginPreferencesRequest_builder) Build() *GetUserPluginPreferen } type GetUserPluginPreferencesResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetUserPluginPreferencesResponse) Reset() { @@ -1926,24 +1920,24 @@ func (x *GetUserPluginPreferencesResponse) ProtoReflect() protoreflect.Message { func (x *GetUserPluginPreferencesResponse) GetPreference() *UserPluginPreference { if x != nil { - return x.Preference + return x.xxx_hidden_Preference } return nil } func (x *GetUserPluginPreferencesResponse) SetPreference(v *UserPluginPreference) { - x.Preference = v + x.xxx_hidden_Preference = v } func (x *GetUserPluginPreferencesResponse) HasPreference() bool { if x == nil { return false } - return x.Preference != nil + return x.xxx_hidden_Preference != nil } func (x *GetUserPluginPreferencesResponse) ClearPreference() { - x.Preference = nil + x.xxx_hidden_Preference = nil } type GetUserPluginPreferencesResponse_builder struct { @@ -1956,15 +1950,15 @@ func (b0 GetUserPluginPreferencesResponse_builder) Build() *GetUserPluginPrefere m0 := &GetUserPluginPreferencesResponse{} b, x := &b0, m0 _, _ = b, x - x.Preference = b.Preference + x.xxx_hidden_Preference = b.Preference return m0 } type UpdateUserPluginPreferencesRequest struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUserPluginPreferencesRequest) Reset() { @@ -1994,24 +1988,24 @@ func (x *UpdateUserPluginPreferencesRequest) ProtoReflect() protoreflect.Message func (x *UpdateUserPluginPreferencesRequest) GetPreference() *UserPluginPreference { if x != nil { - return x.Preference + return x.xxx_hidden_Preference } return nil } func (x *UpdateUserPluginPreferencesRequest) SetPreference(v *UserPluginPreference) { - x.Preference = v + x.xxx_hidden_Preference = v } func (x *UpdateUserPluginPreferencesRequest) HasPreference() bool { if x == nil { return false } - return x.Preference != nil + return x.xxx_hidden_Preference != nil } func (x *UpdateUserPluginPreferencesRequest) ClearPreference() { - x.Preference = nil + x.xxx_hidden_Preference = nil } type UpdateUserPluginPreferencesRequest_builder struct { @@ -2024,15 +2018,15 @@ func (b0 UpdateUserPluginPreferencesRequest_builder) Build() *UpdateUserPluginPr m0 := &UpdateUserPluginPreferencesRequest{} b, x := &b0, m0 _, _ = b, x - x.Preference = b.Preference + x.xxx_hidden_Preference = b.Preference return m0 } type UpdateUserPluginPreferencesResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateUserPluginPreferencesResponse) Reset() { @@ -2062,24 +2056,24 @@ func (x *UpdateUserPluginPreferencesResponse) ProtoReflect() protoreflect.Messag func (x *UpdateUserPluginPreferencesResponse) GetPreference() *UserPluginPreference { if x != nil { - return x.Preference + return x.xxx_hidden_Preference } return nil } func (x *UpdateUserPluginPreferencesResponse) SetPreference(v *UserPluginPreference) { - x.Preference = v + x.xxx_hidden_Preference = v } func (x *UpdateUserPluginPreferencesResponse) HasPreference() bool { if x == nil { return false } - return x.Preference != nil + return x.xxx_hidden_Preference != nil } func (x *UpdateUserPluginPreferencesResponse) ClearPreference() { - x.Preference = nil + x.xxx_hidden_Preference = nil } type UpdateUserPluginPreferencesResponse_builder struct { @@ -2092,7 +2086,7 @@ func (b0 UpdateUserPluginPreferencesResponse_builder) Build() *UpdateUserPluginP m0 := &UpdateUserPluginPreferencesResponse{} b, x := &b0, m0 _, _ = b, x - x.Preference = b.Preference + x.xxx_hidden_Preference = b.Preference return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/user_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/user_protoopaque.pb.go deleted file mode 100644 index 95758f3e8c..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/user_protoopaque.pb.go +++ /dev/null @@ -1,2553 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/user.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type UserState int32 - -const ( - UserState_USER_STATE_UNSPECIFIED UserState = 0 - UserState_USER_STATE_ACTIVE UserState = 1 - UserState_USER_STATE_DEACTIVATED UserState = 2 -) - -// Enum value maps for UserState. -var ( - UserState_name = map[int32]string{ - 0: "USER_STATE_UNSPECIFIED", - 1: "USER_STATE_ACTIVE", - 2: "USER_STATE_DEACTIVATED", - } - UserState_value = map[string]int32{ - "USER_STATE_UNSPECIFIED": 0, - "USER_STATE_ACTIVE": 1, - "USER_STATE_DEACTIVATED": 2, - } -) - -func (x UserState) Enum() *UserState { - p := new(UserState) - *p = x - return p -} - -func (x UserState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (UserState) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_user_proto_enumTypes[0].Descriptor() -} - -func (UserState) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_user_proto_enumTypes[0] -} - -func (x UserState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type UserType int32 - -const ( - UserType_USER_TYPE_UNSPECIFIED UserType = 0 - UserType_USER_TYPE_PERSONAL UserType = 1 - UserType_USER_TYPE_MACHINE UserType = 2 - UserType_USER_TYPE_SYSTEM UserType = 3 -) - -// Enum value maps for UserType. -var ( - UserType_name = map[int32]string{ - 0: "USER_TYPE_UNSPECIFIED", - 1: "USER_TYPE_PERSONAL", - 2: "USER_TYPE_MACHINE", - 3: "USER_TYPE_SYSTEM", - } - UserType_value = map[string]int32{ - "USER_TYPE_UNSPECIFIED": 0, - "USER_TYPE_PERSONAL": 1, - "USER_TYPE_MACHINE": 2, - "USER_TYPE_SYSTEM": 3, - } -) - -func (x UserType) Enum() *UserType { - p := new(UserType) - *p = x - return p -} - -func (x UserType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (UserType) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_user_proto_enumTypes[1].Descriptor() -} - -func (UserType) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_user_proto_enumTypes[1] -} - -func (x UserType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type User struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - xxx_hidden_UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - xxx_hidden_Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` - xxx_hidden_Deactivated bool `protobuf:"varint,5,opt,name=deactivated,proto3" json:"deactivated,omitempty"` - xxx_hidden_Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - xxx_hidden_Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"` - xxx_hidden_VerificationStatus VerificationStatus `protobuf:"varint,8,opt,name=verification_status,json=verificationStatus,proto3,enum=buf.alpha.registry.v1alpha1.VerificationStatus" json:"verification_status,omitempty"` - xxx_hidden_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() { - *x = User{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *User) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*User) ProtoMessage() {} - -func (x *User) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *User) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *User) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *User) GetUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_UpdateTime - } - return nil -} - -func (x *User) GetUsername() string { - if x != nil { - return x.xxx_hidden_Username - } - return "" -} - -func (x *User) GetDeactivated() bool { - if x != nil { - return x.xxx_hidden_Deactivated - } - return false -} - -func (x *User) GetDescription() string { - if x != nil { - return x.xxx_hidden_Description - } - return "" -} - -func (x *User) GetUrl() string { - if x != nil { - return x.xxx_hidden_Url - } - return "" -} - -func (x *User) GetVerificationStatus() VerificationStatus { - if x != nil { - return x.xxx_hidden_VerificationStatus - } - return VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED -} - -func (x *User) GetUserType() UserType { - if x != nil { - return x.xxx_hidden_UserType - } - return UserType_USER_TYPE_UNSPECIFIED -} - -func (x *User) SetId(v string) { - x.xxx_hidden_Id = v -} - -func (x *User) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *User) SetUpdateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_UpdateTime = v -} - -func (x *User) SetUsername(v string) { - x.xxx_hidden_Username = v -} - -func (x *User) SetDeactivated(v bool) { - x.xxx_hidden_Deactivated = v -} - -func (x *User) SetDescription(v string) { - x.xxx_hidden_Description = v -} - -func (x *User) SetUrl(v string) { - x.xxx_hidden_Url = v -} - -func (x *User) SetVerificationStatus(v VerificationStatus) { - x.xxx_hidden_VerificationStatus = v -} - -func (x *User) SetUserType(v UserType) { - x.xxx_hidden_UserType = v -} - -func (x *User) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *User) HasUpdateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_UpdateTime != nil -} - -func (x *User) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -func (x *User) ClearUpdateTime() { - x.xxx_hidden_UpdateTime = nil -} - -type User_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // primary key, unique, immutable - Id string - // immutable - CreateTime *timestamppb.Timestamp - // mutable - UpdateTime *timestamppb.Timestamp - // unique, mutable - Username string - // mutable - Deactivated bool - // description is the user configurable description of the user. - Description string - // url is the user configurable URL in the description of the user, - // always included the scheme and will not have a #fragment suffix. - Url string - // verification status of the user, configurable by server admin. - VerificationStatus VerificationStatus - // user type of the user, depends on how the user was created. - UserType UserType -} - -func (b0 User_builder) Build() *User { - m0 := &User{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - x.xxx_hidden_CreateTime = b.CreateTime - x.xxx_hidden_UpdateTime = b.UpdateTime - x.xxx_hidden_Username = b.Username - x.xxx_hidden_Deactivated = b.Deactivated - x.xxx_hidden_Description = b.Description - x.xxx_hidden_Url = b.Url - x.xxx_hidden_VerificationStatus = b.VerificationStatus - x.xxx_hidden_UserType = b.UserType - return m0 -} - -// TODO: #663 move this to organization service -type OrganizationUser struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - xxx_hidden_OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_OrganizationRole OrganizationRole `protobuf:"varint,3,opt,name=organization_role,json=organizationRole,proto3,enum=buf.alpha.registry.v1alpha1.OrganizationRole" json:"organization_role,omitempty"` - xxx_hidden_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() { - *x = OrganizationUser{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *OrganizationUser) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OrganizationUser) ProtoMessage() {} - -func (x *OrganizationUser) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *OrganizationUser) GetUser() *User { - if x != nil { - return x.xxx_hidden_User - } - return nil -} - -func (x *OrganizationUser) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *OrganizationUser) GetOrganizationRole() OrganizationRole { - if x != nil { - return x.xxx_hidden_OrganizationRole - } - return OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED -} - -func (x *OrganizationUser) GetOrganizationRoleSource() OrganizationRoleSource { - if x != nil { - return x.xxx_hidden_OrganizationRoleSource - } - return OrganizationRoleSource_ORGANIZATION_ROLE_SOURCE_UNSPECIFIED -} - -func (x *OrganizationUser) SetUser(v *User) { - x.xxx_hidden_User = v -} - -func (x *OrganizationUser) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *OrganizationUser) SetOrganizationRole(v OrganizationRole) { - x.xxx_hidden_OrganizationRole = v -} - -func (x *OrganizationUser) SetOrganizationRoleSource(v OrganizationRoleSource) { - x.xxx_hidden_OrganizationRoleSource = v -} - -func (x *OrganizationUser) HasUser() bool { - if x == nil { - return false - } - return x.xxx_hidden_User != nil -} - -func (x *OrganizationUser) ClearUser() { - x.xxx_hidden_User = nil -} - -type OrganizationUser_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - User *User - // The ID of the organization for which the role belongs to. - OrganizationId string - // The role that the user has in the organization above. - OrganizationRole OrganizationRole - // The source of the user's role in the organization above. - OrganizationRoleSource OrganizationRoleSource -} - -func (b0 OrganizationUser_builder) Build() *OrganizationUser { - m0 := &OrganizationUser{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_User = b.User - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_OrganizationRole = b.OrganizationRole - x.xxx_hidden_OrganizationRoleSource = b.OrganizationRoleSource - return m0 -} - -// UserPluginPreference contains the user's preferred language and the -// list of plugins for that language, which they selected in the BSR's Generated SDKs UI flow. -// 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 `protogen:"opaque.v1"` - xxx_hidden_SelectedLanguage PluginLanguage `protobuf:"varint,2,opt,name=selected_language,json=selectedLanguage,proto3,enum=buf.alpha.registry.v1alpha1.PluginLanguage" json:"selected_language,omitempty"` - xxx_hidden_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() { - *x = UserPluginPreference{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UserPluginPreference) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserPluginPreference) ProtoMessage() {} - -func (x *UserPluginPreference) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UserPluginPreference) GetSelectedLanguage() PluginLanguage { - if x != nil { - return x.xxx_hidden_SelectedLanguage - } - return PluginLanguage_PLUGIN_LANGUAGE_UNSPECIFIED -} - -func (x *UserPluginPreference) GetSelectedPlugins() []string { - if x != nil { - return x.xxx_hidden_SelectedPlugins - } - return nil -} - -func (x *UserPluginPreference) SetSelectedLanguage(v PluginLanguage) { - x.xxx_hidden_SelectedLanguage = v -} - -func (x *UserPluginPreference) SetSelectedPlugins(v []string) { - x.xxx_hidden_SelectedPlugins = v -} - -type UserPluginPreference_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The language that the user has indicidated as their preferred language for plugins. - SelectedLanguage PluginLanguage - // A list of plugin names selected by the user. - SelectedPlugins []string -} - -func (b0 UserPluginPreference_builder) Build() *UserPluginPreference { - m0 := &UserPluginPreference{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_SelectedLanguage = b.SelectedLanguage - x.xxx_hidden_SelectedPlugins = b.SelectedPlugins - return m0 -} - -type CreateUserRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateUserRequest) Reset() { - *x = CreateUserRequest{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateUserRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateUserRequest) ProtoMessage() {} - -func (x *CreateUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateUserRequest) GetUsername() string { - if x != nil { - return x.xxx_hidden_Username - } - return "" -} - -func (x *CreateUserRequest) SetUsername(v string) { - x.xxx_hidden_Username = v -} - -type CreateUserRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Username string -} - -func (b0 CreateUserRequest_builder) Build() *CreateUserRequest { - m0 := &CreateUserRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Username = b.Username - return m0 -} - -type CreateUserResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateUserResponse) Reset() { - *x = CreateUserResponse{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateUserResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateUserResponse) ProtoMessage() {} - -func (x *CreateUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateUserResponse) GetUser() *User { - if x != nil { - return x.xxx_hidden_User - } - return nil -} - -func (x *CreateUserResponse) SetUser(v *User) { - x.xxx_hidden_User = v -} - -func (x *CreateUserResponse) HasUser() bool { - if x == nil { - return false - } - return x.xxx_hidden_User != nil -} - -func (x *CreateUserResponse) ClearUser() { - x.xxx_hidden_User = nil -} - -type CreateUserResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - User *User -} - -func (b0 CreateUserResponse_builder) Build() *CreateUserResponse { - m0 := &CreateUserResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_User = b.User - return m0 -} - -type GetUserRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetUserRequest) Reset() { - *x = GetUserRequest{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUserRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserRequest) ProtoMessage() {} - -func (x *GetUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetUserRequest) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *GetUserRequest) SetId(v string) { - x.xxx_hidden_Id = v -} - -type GetUserRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string -} - -func (b0 GetUserRequest_builder) Build() *GetUserRequest { - m0 := &GetUserRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - return m0 -} - -type GetUserResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetUserResponse) Reset() { - *x = GetUserResponse{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUserResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserResponse) ProtoMessage() {} - -func (x *GetUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetUserResponse) GetUser() *User { - if x != nil { - return x.xxx_hidden_User - } - return nil -} - -func (x *GetUserResponse) SetUser(v *User) { - x.xxx_hidden_User = v -} - -func (x *GetUserResponse) HasUser() bool { - if x == nil { - return false - } - return x.xxx_hidden_User != nil -} - -func (x *GetUserResponse) ClearUser() { - x.xxx_hidden_User = nil -} - -type GetUserResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - User *User -} - -func (b0 GetUserResponse_builder) Build() *GetUserResponse { - m0 := &GetUserResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_User = b.User - return m0 -} - -type GetUserByUsernameRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetUserByUsernameRequest) Reset() { - *x = GetUserByUsernameRequest{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUserByUsernameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserByUsernameRequest) ProtoMessage() {} - -func (x *GetUserByUsernameRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetUserByUsernameRequest) GetUsername() string { - if x != nil { - return x.xxx_hidden_Username - } - return "" -} - -func (x *GetUserByUsernameRequest) SetUsername(v string) { - x.xxx_hidden_Username = v -} - -type GetUserByUsernameRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Username string -} - -func (b0 GetUserByUsernameRequest_builder) Build() *GetUserByUsernameRequest { - m0 := &GetUserByUsernameRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Username = b.Username - return m0 -} - -type GetUserByUsernameResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetUserByUsernameResponse) Reset() { - *x = GetUserByUsernameResponse{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUserByUsernameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserByUsernameResponse) ProtoMessage() {} - -func (x *GetUserByUsernameResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetUserByUsernameResponse) GetUser() *User { - if x != nil { - return x.xxx_hidden_User - } - return nil -} - -func (x *GetUserByUsernameResponse) SetUser(v *User) { - x.xxx_hidden_User = v -} - -func (x *GetUserByUsernameResponse) HasUser() bool { - if x == nil { - return false - } - return x.xxx_hidden_User != nil -} - -func (x *GetUserByUsernameResponse) ClearUser() { - x.xxx_hidden_User = nil -} - -type GetUserByUsernameResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - User *User -} - -func (b0 GetUserByUsernameResponse_builder) Build() *GetUserByUsernameResponse { - m0 := &GetUserByUsernameResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_User = b.User - return m0 -} - -type ListUsersRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"` - xxx_hidden_UserStateFilter UserState `protobuf:"varint,4,opt,name=user_state_filter,json=userStateFilter,proto3,enum=buf.alpha.registry.v1alpha1.UserState" json:"user_state_filter,omitempty"` - xxx_hidden_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() { - *x = ListUsersRequest{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListUsersRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListUsersRequest) ProtoMessage() {} - -func (x *ListUsersRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListUsersRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListUsersRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListUsersRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListUsersRequest) GetUserStateFilter() UserState { - if x != nil { - return x.xxx_hidden_UserStateFilter - } - return UserState_USER_STATE_UNSPECIFIED -} - -func (x *ListUsersRequest) GetUserTypeFilters() []UserType { - if x != nil { - return x.xxx_hidden_UserTypeFilters - } - return nil -} - -func (x *ListUsersRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListUsersRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListUsersRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -func (x *ListUsersRequest) SetUserStateFilter(v UserState) { - x.xxx_hidden_UserStateFilter = v -} - -func (x *ListUsersRequest) SetUserTypeFilters(v []UserType) { - x.xxx_hidden_UserTypeFilters = v -} - -type ListUsersRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool - // If the user_state_filter is unspecified, users of all states are included. - UserStateFilter UserState - // If the user_type_filters is empty, users of all types are included. - UserTypeFilters []UserType -} - -func (b0 ListUsersRequest_builder) Build() *ListUsersRequest { - m0 := &ListUsersRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - x.xxx_hidden_UserStateFilter = b.UserStateFilter - x.xxx_hidden_UserTypeFilters = b.UserTypeFilters - return m0 -} - -type ListUsersResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Users *[]*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` - xxx_hidden_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() { - *x = ListUsersResponse{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListUsersResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListUsersResponse) ProtoMessage() {} - -func (x *ListUsersResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListUsersResponse) GetUsers() []*User { - if x != nil { - if x.xxx_hidden_Users != nil { - return *x.xxx_hidden_Users - } - } - return nil -} - -func (x *ListUsersResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListUsersResponse) SetUsers(v []*User) { - x.xxx_hidden_Users = &v -} - -func (x *ListUsersResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListUsersResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Users []*User - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListUsersResponse_builder) Build() *ListUsersResponse { - m0 := &ListUsersResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Users = &b.Users - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type ListOrganizationUsersRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - xxx_hidden_PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - xxx_hidden_PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - xxx_hidden_Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListOrganizationUsersRequest) Reset() { - *x = ListOrganizationUsersRequest{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListOrganizationUsersRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOrganizationUsersRequest) ProtoMessage() {} - -func (x *ListOrganizationUsersRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListOrganizationUsersRequest) GetOrganizationId() string { - if x != nil { - return x.xxx_hidden_OrganizationId - } - return "" -} - -func (x *ListOrganizationUsersRequest) GetPageSize() uint32 { - if x != nil { - return x.xxx_hidden_PageSize - } - return 0 -} - -func (x *ListOrganizationUsersRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListOrganizationUsersRequest) GetReverse() bool { - if x != nil { - return x.xxx_hidden_Reverse - } - return false -} - -func (x *ListOrganizationUsersRequest) SetOrganizationId(v string) { - x.xxx_hidden_OrganizationId = v -} - -func (x *ListOrganizationUsersRequest) SetPageSize(v uint32) { - x.xxx_hidden_PageSize = v -} - -func (x *ListOrganizationUsersRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -func (x *ListOrganizationUsersRequest) SetReverse(v bool) { - x.xxx_hidden_Reverse = v -} - -type ListOrganizationUsersRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - OrganizationId string - PageSize uint32 - // The first page is returned if this is empty. - PageToken string - Reverse bool -} - -func (b0 ListOrganizationUsersRequest_builder) Build() *ListOrganizationUsersRequest { - m0 := &ListOrganizationUsersRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_OrganizationId = b.OrganizationId - x.xxx_hidden_PageSize = b.PageSize - x.xxx_hidden_PageToken = b.PageToken - x.xxx_hidden_Reverse = b.Reverse - return m0 -} - -type ListOrganizationUsersResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Users *[]*OrganizationUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` - xxx_hidden_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() { - *x = ListOrganizationUsersResponse{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListOrganizationUsersResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOrganizationUsersResponse) ProtoMessage() {} - -func (x *ListOrganizationUsersResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListOrganizationUsersResponse) GetUsers() []*OrganizationUser { - if x != nil { - if x.xxx_hidden_Users != nil { - return *x.xxx_hidden_Users - } - } - return nil -} - -func (x *ListOrganizationUsersResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListOrganizationUsersResponse) SetUsers(v []*OrganizationUser) { - x.xxx_hidden_Users = &v -} - -func (x *ListOrganizationUsersResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListOrganizationUsersResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Users []*OrganizationUser - // There are no more pages if this is empty. - NextPageToken string -} - -func (b0 ListOrganizationUsersResponse_builder) Build() *ListOrganizationUsersResponse { - m0 := &ListOrganizationUsersResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Users = &b.Users - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -type DeleteUserRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteUserRequest) Reset() { - *x = DeleteUserRequest{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteUserRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteUserRequest) ProtoMessage() {} - -func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeleteUserRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeleteUserRequest_builder) Build() *DeleteUserRequest { - m0 := &DeleteUserRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type DeleteUserResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteUserResponse) Reset() { - *x = DeleteUserResponse{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteUserResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteUserResponse) ProtoMessage() {} - -func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeleteUserResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeleteUserResponse_builder) Build() *DeleteUserResponse { - m0 := &DeleteUserResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type DeactivateUserRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeactivateUserRequest) Reset() { - *x = DeactivateUserRequest{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeactivateUserRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeactivateUserRequest) ProtoMessage() {} - -func (x *DeactivateUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeactivateUserRequest) GetId() string { - if x != nil { - return x.xxx_hidden_Id - } - return "" -} - -func (x *DeactivateUserRequest) SetId(v string) { - x.xxx_hidden_Id = v -} - -type DeactivateUserRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Id string -} - -func (b0 DeactivateUserRequest_builder) Build() *DeactivateUserRequest { - m0 := &DeactivateUserRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Id = b.Id - return m0 -} - -type DeactivateUserResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeactivateUserResponse) Reset() { - *x = DeactivateUserResponse{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeactivateUserResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeactivateUserResponse) ProtoMessage() {} - -func (x *DeactivateUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeactivateUserResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeactivateUserResponse_builder) Build() *DeactivateUserResponse { - m0 := &DeactivateUserResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type UpdateUserServerRoleRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - xxx_hidden_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() { - *x = UpdateUserServerRoleRequest{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUserServerRoleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserServerRoleRequest) ProtoMessage() {} - -func (x *UpdateUserServerRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateUserServerRoleRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *UpdateUserServerRoleRequest) GetServerRole() ServerRole { - if x != nil { - return x.xxx_hidden_ServerRole - } - return ServerRole_SERVER_ROLE_UNSPECIFIED -} - -func (x *UpdateUserServerRoleRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -func (x *UpdateUserServerRoleRequest) SetServerRole(v ServerRole) { - x.xxx_hidden_ServerRole = v -} - -type UpdateUserServerRoleRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The ID of the user for which to be updated a role. - UserId string - // The new role of the user in the server. - ServerRole ServerRole -} - -func (b0 UpdateUserServerRoleRequest_builder) Build() *UpdateUserServerRoleRequest { - m0 := &UpdateUserServerRoleRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_UserId = b.UserId - x.xxx_hidden_ServerRole = b.ServerRole - return m0 -} - -type UpdateUserServerRoleResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateUserServerRoleResponse) Reset() { - *x = UpdateUserServerRoleResponse{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUserServerRoleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserServerRoleResponse) ProtoMessage() {} - -func (x *UpdateUserServerRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type UpdateUserServerRoleResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 UpdateUserServerRoleResponse_builder) Build() *UpdateUserServerRoleResponse { - m0 := &UpdateUserServerRoleResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type CountUsersRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = CountUsersRequest{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CountUsersRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountUsersRequest) ProtoMessage() {} - -func (x *CountUsersRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CountUsersRequest) GetUserStateFilter() UserState { - if x != nil { - return x.xxx_hidden_UserStateFilter - } - return UserState_USER_STATE_UNSPECIFIED -} - -func (x *CountUsersRequest) SetUserStateFilter(v UserState) { - x.xxx_hidden_UserStateFilter = v -} - -type CountUsersRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // If the user_state_filter is unspecified, all users are included. - UserStateFilter UserState -} - -func (b0 CountUsersRequest_builder) Build() *CountUsersRequest { - m0 := &CountUsersRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_UserStateFilter = b.UserStateFilter - return m0 -} - -type CountUsersResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CountUsersResponse) Reset() { - *x = CountUsersResponse{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CountUsersResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountUsersResponse) ProtoMessage() {} - -func (x *CountUsersResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CountUsersResponse) GetTotalCount() uint32 { - if x != nil { - return x.xxx_hidden_TotalCount - } - return 0 -} - -func (x *CountUsersResponse) SetTotalCount(v uint32) { - x.xxx_hidden_TotalCount = v -} - -type CountUsersResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - TotalCount uint32 -} - -func (b0 CountUsersResponse_builder) Build() *CountUsersResponse { - m0 := &CountUsersResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_TotalCount = b.TotalCount - return m0 -} - -type UpdateUserSettingsRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - xxx_hidden_Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` - xxx_hidden_Url *string `protobuf:"bytes,3,opt,name=url,proto3,oneof" json:"url,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateUserSettingsRequest) Reset() { - *x = UpdateUserSettingsRequest{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUserSettingsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserSettingsRequest) ProtoMessage() {} - -func (x *UpdateUserSettingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateUserSettingsRequest) GetUserId() string { - if x != nil { - return x.xxx_hidden_UserId - } - return "" -} - -func (x *UpdateUserSettingsRequest) GetDescription() string { - if x != nil { - if x.xxx_hidden_Description != nil { - return *x.xxx_hidden_Description - } - return "" - } - return "" -} - -func (x *UpdateUserSettingsRequest) GetUrl() string { - if x != nil { - if x.xxx_hidden_Url != nil { - return *x.xxx_hidden_Url - } - return "" - } - return "" -} - -func (x *UpdateUserSettingsRequest) SetUserId(v string) { - x.xxx_hidden_UserId = v -} - -func (x *UpdateUserSettingsRequest) SetDescription(v string) { - x.xxx_hidden_Description = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 3) -} - -func (x *UpdateUserSettingsRequest) SetUrl(v string) { - x.xxx_hidden_Url = &v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 2, 3) -} - -func (x *UpdateUserSettingsRequest) HasDescription() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 1) -} - -func (x *UpdateUserSettingsRequest) HasUrl() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 2) -} - -func (x *UpdateUserSettingsRequest) ClearDescription() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) - x.xxx_hidden_Description = nil -} - -func (x *UpdateUserSettingsRequest) ClearUrl() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 2) - x.xxx_hidden_Url = nil -} - -type UpdateUserSettingsRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - UserId string - // optional, update to description will only be made when this is present - Description *string - // optional, update to url will only be made when this is present - Url *string -} - -func (b0 UpdateUserSettingsRequest_builder) Build() *UpdateUserSettingsRequest { - m0 := &UpdateUserSettingsRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_UserId = b.UserId - if b.Description != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 3) - x.xxx_hidden_Description = b.Description - } - if b.Url != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 2, 3) - x.xxx_hidden_Url = b.Url - } - return m0 -} - -type UpdateUserSettingsResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateUserSettingsResponse) Reset() { - *x = UpdateUserSettingsResponse{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUserSettingsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserSettingsResponse) ProtoMessage() {} - -func (x *UpdateUserSettingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type UpdateUserSettingsResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 UpdateUserSettingsResponse_builder) Build() *UpdateUserSettingsResponse { - m0 := &UpdateUserSettingsResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetUserPluginPreferencesRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetUserPluginPreferencesRequest) Reset() { - *x = GetUserPluginPreferencesRequest{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUserPluginPreferencesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserPluginPreferencesRequest) ProtoMessage() {} - -func (x *GetUserPluginPreferencesRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type GetUserPluginPreferencesRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 GetUserPluginPreferencesRequest_builder) Build() *GetUserPluginPreferencesRequest { - m0 := &GetUserPluginPreferencesRequest{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -type GetUserPluginPreferencesResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetUserPluginPreferencesResponse) Reset() { - *x = GetUserPluginPreferencesResponse{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetUserPluginPreferencesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetUserPluginPreferencesResponse) ProtoMessage() {} - -func (x *GetUserPluginPreferencesResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *GetUserPluginPreferencesResponse) GetPreference() *UserPluginPreference { - if x != nil { - return x.xxx_hidden_Preference - } - return nil -} - -func (x *GetUserPluginPreferencesResponse) SetPreference(v *UserPluginPreference) { - x.xxx_hidden_Preference = v -} - -func (x *GetUserPluginPreferencesResponse) HasPreference() bool { - if x == nil { - return false - } - return x.xxx_hidden_Preference != nil -} - -func (x *GetUserPluginPreferencesResponse) ClearPreference() { - x.xxx_hidden_Preference = nil -} - -type GetUserPluginPreferencesResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Preference *UserPluginPreference -} - -func (b0 GetUserPluginPreferencesResponse_builder) Build() *GetUserPluginPreferencesResponse { - m0 := &GetUserPluginPreferencesResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Preference = b.Preference - return m0 -} - -type UpdateUserPluginPreferencesRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateUserPluginPreferencesRequest) Reset() { - *x = UpdateUserPluginPreferencesRequest{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUserPluginPreferencesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserPluginPreferencesRequest) ProtoMessage() {} - -func (x *UpdateUserPluginPreferencesRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateUserPluginPreferencesRequest) GetPreference() *UserPluginPreference { - if x != nil { - return x.xxx_hidden_Preference - } - return nil -} - -func (x *UpdateUserPluginPreferencesRequest) SetPreference(v *UserPluginPreference) { - x.xxx_hidden_Preference = v -} - -func (x *UpdateUserPluginPreferencesRequest) HasPreference() bool { - if x == nil { - return false - } - return x.xxx_hidden_Preference != nil -} - -func (x *UpdateUserPluginPreferencesRequest) ClearPreference() { - x.xxx_hidden_Preference = nil -} - -type UpdateUserPluginPreferencesRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Preference *UserPluginPreference -} - -func (b0 UpdateUserPluginPreferencesRequest_builder) Build() *UpdateUserPluginPreferencesRequest { - m0 := &UpdateUserPluginPreferencesRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Preference = b.Preference - return m0 -} - -type UpdateUserPluginPreferencesResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Preference *UserPluginPreference `protobuf:"bytes,1,opt,name=preference,proto3" json:"preference,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *UpdateUserPluginPreferencesResponse) Reset() { - *x = UpdateUserPluginPreferencesResponse{} - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UpdateUserPluginPreferencesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateUserPluginPreferencesResponse) ProtoMessage() {} - -func (x *UpdateUserPluginPreferencesResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *UpdateUserPluginPreferencesResponse) GetPreference() *UserPluginPreference { - if x != nil { - return x.xxx_hidden_Preference - } - return nil -} - -func (x *UpdateUserPluginPreferencesResponse) SetPreference(v *UserPluginPreference) { - x.xxx_hidden_Preference = v -} - -func (x *UpdateUserPluginPreferencesResponse) HasPreference() bool { - if x == nil { - return false - } - return x.xxx_hidden_Preference != nil -} - -func (x *UpdateUserPluginPreferencesResponse) ClearPreference() { - x.xxx_hidden_Preference = nil -} - -type UpdateUserPluginPreferencesResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Preference *UserPluginPreference -} - -func (b0 UpdateUserPluginPreferencesResponse_builder) Build() *UpdateUserPluginPreferencesResponse { - m0 := &UpdateUserPluginPreferencesResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Preference = b.Preference - return m0 -} - -var File_buf_alpha_registry_v1alpha1_user_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_user_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x75, 0x73, - 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x31, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x63, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x35, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x65, - 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x03, 0x0a, 0x04, 0x55, 0x73, 0x65, - 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, - 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, - 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, - 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x61, 0x63, 0x74, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x65, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, - 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x60, 0x0a, - 0x13, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x12, 0x76, 0x65, 0x72, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x42, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x55, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, - 0x79, 0x70, 0x65, 0x22, 0xbd, 0x02, 0x0a, 0x10, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, - 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x5a, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, - 0x6c, 0x65, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x6d, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x16, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x22, 0xaa, 0x01, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x11, - 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4c, 0x61, 0x6e, 0x67, - 0x75, 0x61, 0x67, 0x65, 0x52, 0x10, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4c, 0x61, - 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x65, 0x64, 0x5f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, - 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x22, 0x2f, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0x4b, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x20, - 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x22, 0x48, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x36, 0x0a, 0x18, 0x47, 0x65, - 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0x52, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x55, - 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x35, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x8f, 0x02, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x55, - 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, - 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, - 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, - 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, - 0x65, 0x12, 0x52, 0x0a, 0x11, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, - 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x46, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x11, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, - 0x32, 0x25, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, - 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, - 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0x74, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, - 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, - 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, - 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9d, - 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, - 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x61, 0x67, - 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x22, 0x8c, - 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x43, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, - 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x13, 0x0a, - 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x0a, 0x15, 0x44, 0x65, 0x61, 0x63, - 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x1b, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, - 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x72, - 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x6f, - 0x6c, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x1e, - 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, - 0x0a, 0x11, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x11, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x35, 0x0a, 0x12, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, - 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x8a, - 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, - 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x03, 0x75, 0x72, 0x6c, - 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x1f, 0x47, 0x65, 0x74, - 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4a, 0x04, 0x08, 0x01, - 0x10, 0x02, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x75, 0x0a, 0x20, 0x47, - 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x51, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x22, 0x77, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, - 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x51, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, - 0x0a, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x78, 0x0a, 0x23, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2a, 0x5a, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, - 0x0a, 0x11, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, - 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x54, - 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x44, 0x10, - 0x02, 0x2a, 0x6a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, - 0x15, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x53, 0x45, 0x52, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x53, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x01, - 0x12, 0x15, 0x0a, 0x11, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, - 0x43, 0x48, 0x49, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x53, 0x45, 0x52, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x03, 0x32, 0xbd, 0x0c, - 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x72, 0x0a, - 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2e, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, - 0x02, 0x12, 0x69, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x87, 0x01, 0x0a, - 0x11, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x35, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, - 0x79, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x6f, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, - 0x65, 0x72, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x93, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, - 0x73, 0x12, 0x39, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x72, 0x0a, - 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2e, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, - 0x02, 0x12, 0x7e, 0x0a, 0x0e, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, - 0x02, 0x12, 0x8b, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x38, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x72, 0x0a, 0x0a, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x2e, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, - 0x90, 0x02, 0x01, 0x12, 0x85, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, - 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x36, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9c, 0x01, 0x0a, 0x18, - 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x3c, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xa0, 0x01, 0x0a, 0x1b, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x3f, 0x2e, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x96, 0x02, - 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x42, 0x09, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, - 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, - 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, - 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, - 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, - 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, - 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_user_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_buf_alpha_registry_v1alpha1_user_proto_msgTypes = make([]protoimpl.MessageInfo, 27) -var file_buf_alpha_registry_v1alpha1_user_proto_goTypes = []any{ - (UserState)(0), // 0: buf.alpha.registry.v1alpha1.UserState - (UserType)(0), // 1: buf.alpha.registry.v1alpha1.UserType - (*User)(nil), // 2: buf.alpha.registry.v1alpha1.User - (*OrganizationUser)(nil), // 3: buf.alpha.registry.v1alpha1.OrganizationUser - (*UserPluginPreference)(nil), // 4: buf.alpha.registry.v1alpha1.UserPluginPreference - (*CreateUserRequest)(nil), // 5: buf.alpha.registry.v1alpha1.CreateUserRequest - (*CreateUserResponse)(nil), // 6: buf.alpha.registry.v1alpha1.CreateUserResponse - (*GetUserRequest)(nil), // 7: buf.alpha.registry.v1alpha1.GetUserRequest - (*GetUserResponse)(nil), // 8: buf.alpha.registry.v1alpha1.GetUserResponse - (*GetUserByUsernameRequest)(nil), // 9: buf.alpha.registry.v1alpha1.GetUserByUsernameRequest - (*GetUserByUsernameResponse)(nil), // 10: buf.alpha.registry.v1alpha1.GetUserByUsernameResponse - (*ListUsersRequest)(nil), // 11: buf.alpha.registry.v1alpha1.ListUsersRequest - (*ListUsersResponse)(nil), // 12: buf.alpha.registry.v1alpha1.ListUsersResponse - (*ListOrganizationUsersRequest)(nil), // 13: buf.alpha.registry.v1alpha1.ListOrganizationUsersRequest - (*ListOrganizationUsersResponse)(nil), // 14: buf.alpha.registry.v1alpha1.ListOrganizationUsersResponse - (*DeleteUserRequest)(nil), // 15: buf.alpha.registry.v1alpha1.DeleteUserRequest - (*DeleteUserResponse)(nil), // 16: buf.alpha.registry.v1alpha1.DeleteUserResponse - (*DeactivateUserRequest)(nil), // 17: buf.alpha.registry.v1alpha1.DeactivateUserRequest - (*DeactivateUserResponse)(nil), // 18: buf.alpha.registry.v1alpha1.DeactivateUserResponse - (*UpdateUserServerRoleRequest)(nil), // 19: buf.alpha.registry.v1alpha1.UpdateUserServerRoleRequest - (*UpdateUserServerRoleResponse)(nil), // 20: buf.alpha.registry.v1alpha1.UpdateUserServerRoleResponse - (*CountUsersRequest)(nil), // 21: buf.alpha.registry.v1alpha1.CountUsersRequest - (*CountUsersResponse)(nil), // 22: buf.alpha.registry.v1alpha1.CountUsersResponse - (*UpdateUserSettingsRequest)(nil), // 23: buf.alpha.registry.v1alpha1.UpdateUserSettingsRequest - (*UpdateUserSettingsResponse)(nil), // 24: buf.alpha.registry.v1alpha1.UpdateUserSettingsResponse - (*GetUserPluginPreferencesRequest)(nil), // 25: buf.alpha.registry.v1alpha1.GetUserPluginPreferencesRequest - (*GetUserPluginPreferencesResponse)(nil), // 26: buf.alpha.registry.v1alpha1.GetUserPluginPreferencesResponse - (*UpdateUserPluginPreferencesRequest)(nil), // 27: buf.alpha.registry.v1alpha1.UpdateUserPluginPreferencesRequest - (*UpdateUserPluginPreferencesResponse)(nil), // 28: buf.alpha.registry.v1alpha1.UpdateUserPluginPreferencesResponse - (*timestamppb.Timestamp)(nil), // 29: google.protobuf.Timestamp - (VerificationStatus)(0), // 30: buf.alpha.registry.v1alpha1.VerificationStatus - (OrganizationRole)(0), // 31: buf.alpha.registry.v1alpha1.OrganizationRole - (OrganizationRoleSource)(0), // 32: buf.alpha.registry.v1alpha1.OrganizationRoleSource - (PluginLanguage)(0), // 33: buf.alpha.registry.v1alpha1.PluginLanguage - (ServerRole)(0), // 34: buf.alpha.registry.v1alpha1.ServerRole -} -var file_buf_alpha_registry_v1alpha1_user_proto_depIdxs = []int32{ - 29, // 0: buf.alpha.registry.v1alpha1.User.create_time:type_name -> google.protobuf.Timestamp - 29, // 1: buf.alpha.registry.v1alpha1.User.update_time:type_name -> google.protobuf.Timestamp - 30, // 2: buf.alpha.registry.v1alpha1.User.verification_status:type_name -> buf.alpha.registry.v1alpha1.VerificationStatus - 1, // 3: buf.alpha.registry.v1alpha1.User.user_type:type_name -> buf.alpha.registry.v1alpha1.UserType - 2, // 4: buf.alpha.registry.v1alpha1.OrganizationUser.user:type_name -> buf.alpha.registry.v1alpha1.User - 31, // 5: buf.alpha.registry.v1alpha1.OrganizationUser.organization_role:type_name -> buf.alpha.registry.v1alpha1.OrganizationRole - 32, // 6: buf.alpha.registry.v1alpha1.OrganizationUser.organization_role_source:type_name -> buf.alpha.registry.v1alpha1.OrganizationRoleSource - 33, // 7: buf.alpha.registry.v1alpha1.UserPluginPreference.selected_language:type_name -> buf.alpha.registry.v1alpha1.PluginLanguage - 2, // 8: buf.alpha.registry.v1alpha1.CreateUserResponse.user:type_name -> buf.alpha.registry.v1alpha1.User - 2, // 9: buf.alpha.registry.v1alpha1.GetUserResponse.user:type_name -> buf.alpha.registry.v1alpha1.User - 2, // 10: buf.alpha.registry.v1alpha1.GetUserByUsernameResponse.user:type_name -> buf.alpha.registry.v1alpha1.User - 0, // 11: buf.alpha.registry.v1alpha1.ListUsersRequest.user_state_filter:type_name -> buf.alpha.registry.v1alpha1.UserState - 1, // 12: buf.alpha.registry.v1alpha1.ListUsersRequest.user_type_filters:type_name -> buf.alpha.registry.v1alpha1.UserType - 2, // 13: buf.alpha.registry.v1alpha1.ListUsersResponse.users:type_name -> buf.alpha.registry.v1alpha1.User - 3, // 14: buf.alpha.registry.v1alpha1.ListOrganizationUsersResponse.users:type_name -> buf.alpha.registry.v1alpha1.OrganizationUser - 34, // 15: buf.alpha.registry.v1alpha1.UpdateUserServerRoleRequest.server_role:type_name -> buf.alpha.registry.v1alpha1.ServerRole - 0, // 16: buf.alpha.registry.v1alpha1.CountUsersRequest.user_state_filter:type_name -> buf.alpha.registry.v1alpha1.UserState - 4, // 17: buf.alpha.registry.v1alpha1.GetUserPluginPreferencesResponse.preference:type_name -> buf.alpha.registry.v1alpha1.UserPluginPreference - 4, // 18: buf.alpha.registry.v1alpha1.UpdateUserPluginPreferencesRequest.preference:type_name -> buf.alpha.registry.v1alpha1.UserPluginPreference - 4, // 19: buf.alpha.registry.v1alpha1.UpdateUserPluginPreferencesResponse.preference:type_name -> buf.alpha.registry.v1alpha1.UserPluginPreference - 5, // 20: buf.alpha.registry.v1alpha1.UserService.CreateUser:input_type -> buf.alpha.registry.v1alpha1.CreateUserRequest - 7, // 21: buf.alpha.registry.v1alpha1.UserService.GetUser:input_type -> buf.alpha.registry.v1alpha1.GetUserRequest - 9, // 22: buf.alpha.registry.v1alpha1.UserService.GetUserByUsername:input_type -> buf.alpha.registry.v1alpha1.GetUserByUsernameRequest - 11, // 23: buf.alpha.registry.v1alpha1.UserService.ListUsers:input_type -> buf.alpha.registry.v1alpha1.ListUsersRequest - 13, // 24: buf.alpha.registry.v1alpha1.UserService.ListOrganizationUsers:input_type -> buf.alpha.registry.v1alpha1.ListOrganizationUsersRequest - 15, // 25: buf.alpha.registry.v1alpha1.UserService.DeleteUser:input_type -> buf.alpha.registry.v1alpha1.DeleteUserRequest - 17, // 26: buf.alpha.registry.v1alpha1.UserService.DeactivateUser:input_type -> buf.alpha.registry.v1alpha1.DeactivateUserRequest - 19, // 27: buf.alpha.registry.v1alpha1.UserService.UpdateUserServerRole:input_type -> buf.alpha.registry.v1alpha1.UpdateUserServerRoleRequest - 21, // 28: buf.alpha.registry.v1alpha1.UserService.CountUsers:input_type -> buf.alpha.registry.v1alpha1.CountUsersRequest - 23, // 29: buf.alpha.registry.v1alpha1.UserService.UpdateUserSettings:input_type -> buf.alpha.registry.v1alpha1.UpdateUserSettingsRequest - 25, // 30: buf.alpha.registry.v1alpha1.UserService.GetUserPluginPreferences:input_type -> buf.alpha.registry.v1alpha1.GetUserPluginPreferencesRequest - 27, // 31: buf.alpha.registry.v1alpha1.UserService.UpdateUserPluginPreferences:input_type -> buf.alpha.registry.v1alpha1.UpdateUserPluginPreferencesRequest - 6, // 32: buf.alpha.registry.v1alpha1.UserService.CreateUser:output_type -> buf.alpha.registry.v1alpha1.CreateUserResponse - 8, // 33: buf.alpha.registry.v1alpha1.UserService.GetUser:output_type -> buf.alpha.registry.v1alpha1.GetUserResponse - 10, // 34: buf.alpha.registry.v1alpha1.UserService.GetUserByUsername:output_type -> buf.alpha.registry.v1alpha1.GetUserByUsernameResponse - 12, // 35: buf.alpha.registry.v1alpha1.UserService.ListUsers:output_type -> buf.alpha.registry.v1alpha1.ListUsersResponse - 14, // 36: buf.alpha.registry.v1alpha1.UserService.ListOrganizationUsers:output_type -> buf.alpha.registry.v1alpha1.ListOrganizationUsersResponse - 16, // 37: buf.alpha.registry.v1alpha1.UserService.DeleteUser:output_type -> buf.alpha.registry.v1alpha1.DeleteUserResponse - 18, // 38: buf.alpha.registry.v1alpha1.UserService.DeactivateUser:output_type -> buf.alpha.registry.v1alpha1.DeactivateUserResponse - 20, // 39: buf.alpha.registry.v1alpha1.UserService.UpdateUserServerRole:output_type -> buf.alpha.registry.v1alpha1.UpdateUserServerRoleResponse - 22, // 40: buf.alpha.registry.v1alpha1.UserService.CountUsers:output_type -> buf.alpha.registry.v1alpha1.CountUsersResponse - 24, // 41: buf.alpha.registry.v1alpha1.UserService.UpdateUserSettings:output_type -> buf.alpha.registry.v1alpha1.UpdateUserSettingsResponse - 26, // 42: buf.alpha.registry.v1alpha1.UserService.GetUserPluginPreferences:output_type -> buf.alpha.registry.v1alpha1.GetUserPluginPreferencesResponse - 28, // 43: buf.alpha.registry.v1alpha1.UserService.UpdateUserPluginPreferences:output_type -> buf.alpha.registry.v1alpha1.UpdateUserPluginPreferencesResponse - 32, // [32:44] is the sub-list for method output_type - 20, // [20:32] is the sub-list for method input_type - 20, // [20:20] is the sub-list for extension type_name - 20, // [20:20] is the sub-list for extension extendee - 0, // [0:20] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_user_proto_init() } -func file_buf_alpha_registry_v1alpha1_user_proto_init() { - if File_buf_alpha_registry_v1alpha1_user_proto != nil { - return - } - file_buf_alpha_registry_v1alpha1_plugin_curation_proto_init() - file_buf_alpha_registry_v1alpha1_role_proto_init() - file_buf_alpha_registry_v1alpha1_verification_status_proto_init() - file_buf_alpha_registry_v1alpha1_user_proto_msgTypes[21].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_user_proto_rawDesc, - NumEnums: 2, - NumMessages: 27, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_user_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_user_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_user_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_user_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_user_proto = out.File - file_buf_alpha_registry_v1alpha1_user_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_user_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_user_proto_depIdxs = nil -} 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 24aa02bd4d..f9f6fd56da 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/verification_status.proto -//go:build !protoopaque - package registryv1alpha1 import ( diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/verification_status_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/verification_status_protoopaque.pb.go deleted file mode 100644 index 606d9bb820..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/verification_status_protoopaque.pb.go +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/verification_status.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// VerificationStatus is the verification status of an owner on if we recognize them, -// an owner can be either user or organization. -type VerificationStatus int32 - -const ( - VerificationStatus_VERIFICATION_STATUS_UNSPECIFIED VerificationStatus = 0 - // OFFICIAL indicates that the owner is maintained by Buf. - VerificationStatus_VERIFICATION_STATUS_OFFICIAL VerificationStatus = 1 - // VERIFIED_PUBLISHER indicates that the owner is a third-party that has been - // verified by Buf. - VerificationStatus_VERIFICATION_STATUS_VERIFIED_PUBLISHER VerificationStatus = 2 -) - -// Enum value maps for VerificationStatus. -var ( - VerificationStatus_name = map[int32]string{ - 0: "VERIFICATION_STATUS_UNSPECIFIED", - 1: "VERIFICATION_STATUS_OFFICIAL", - 2: "VERIFICATION_STATUS_VERIFIED_PUBLISHER", - } - VerificationStatus_value = map[string]int32{ - "VERIFICATION_STATUS_UNSPECIFIED": 0, - "VERIFICATION_STATUS_OFFICIAL": 1, - "VERIFICATION_STATUS_VERIFIED_PUBLISHER": 2, - } -) - -func (x VerificationStatus) Enum() *VerificationStatus { - p := new(VerificationStatus) - *p = x - return p -} - -func (x VerificationStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (VerificationStatus) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_verification_status_proto_enumTypes[0].Descriptor() -} - -func (VerificationStatus) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_verification_status_proto_enumTypes[0] -} - -func (x VerificationStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -var File_buf_alpha_registry_v1alpha1_verification_status_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_verification_status_proto_rawDesc = []byte{ - 0x0a, 0x35, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x65, - 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2a, 0x87, 0x01, 0x0a, 0x12, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x23, 0x0a, 0x1f, 0x56, - 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x20, 0x0a, 0x1c, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4f, 0x46, 0x46, 0x49, 0x43, 0x49, 0x41, 0x4c, - 0x10, 0x01, 0x12, 0x2a, 0x0a, 0x26, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, - 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x52, 0x10, 0x02, 0x42, 0xa4, - 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x42, 0x17, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, - 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, - 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, - 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, - 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_verification_status_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_buf_alpha_registry_v1alpha1_verification_status_proto_goTypes = []any{ - (VerificationStatus)(0), // 0: buf.alpha.registry.v1alpha1.VerificationStatus -} -var file_buf_alpha_registry_v1alpha1_verification_status_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_verification_status_proto_init() } -func file_buf_alpha_registry_v1alpha1_verification_status_proto_init() { - if File_buf_alpha_registry_v1alpha1_verification_status_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_verification_status_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_verification_status_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_verification_status_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_verification_status_proto_enumTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_verification_status_proto = out.File - file_buf_alpha_registry_v1alpha1_verification_status_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_verification_status_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_verification_status_proto_depIdxs = nil -} 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 9e39248741..f3806deabb 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/registry/v1alpha1/webhook.proto -//go:build !protoopaque - package registryv1alpha1 import ( @@ -86,17 +84,13 @@ func (x WebhookEvent) Number() protoreflect.EnumNumber { // CreateWebhookRequest is the proto request representation of a // webhook request body. type CreateWebhookRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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. - OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_WebhookEvent WebhookEvent `protobuf:"varint,1,opt,name=webhook_event,json=webhookEvent,proto3,enum=buf.alpha.registry.v1alpha1.WebhookEvent" json:"webhook_event,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_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() { @@ -126,46 +120,46 @@ func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Message { func (x *CreateWebhookRequest) GetWebhookEvent() WebhookEvent { if x != nil { - return x.WebhookEvent + return x.xxx_hidden_WebhookEvent } return WebhookEvent_WEBHOOK_EVENT_UNSPECIFIED } func (x *CreateWebhookRequest) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *CreateWebhookRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *CreateWebhookRequest) GetCallbackUrl() string { if x != nil { - return x.CallbackUrl + return x.xxx_hidden_CallbackUrl } return "" } func (x *CreateWebhookRequest) SetWebhookEvent(v WebhookEvent) { - x.WebhookEvent = v + x.xxx_hidden_WebhookEvent = v } func (x *CreateWebhookRequest) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *CreateWebhookRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *CreateWebhookRequest) SetCallbackUrl(v string) { - x.CallbackUrl = v + x.xxx_hidden_CallbackUrl = v } type CreateWebhookRequest_builder struct { @@ -185,21 +179,20 @@ func (b0 CreateWebhookRequest_builder) Build() *CreateWebhookRequest { m0 := &CreateWebhookRequest{} b, x := &b0, m0 _, _ = b, x - x.WebhookEvent = b.WebhookEvent - x.OwnerName = b.OwnerName - x.RepositoryName = b.RepositoryName - x.CallbackUrl = b.CallbackUrl + x.xxx_hidden_WebhookEvent = b.WebhookEvent + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_CallbackUrl = b.CallbackUrl return m0 } // CreateWebhookResponse is the proto response representation // of a webhook request. type CreateWebhookResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Created webhook subscription. - Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateWebhookResponse) Reset() { @@ -229,24 +222,24 @@ func (x *CreateWebhookResponse) ProtoReflect() protoreflect.Message { func (x *CreateWebhookResponse) GetWebhook() *Webhook { if x != nil { - return x.Webhook + return x.xxx_hidden_Webhook } return nil } func (x *CreateWebhookResponse) SetWebhook(v *Webhook) { - x.Webhook = v + x.xxx_hidden_Webhook = v } func (x *CreateWebhookResponse) HasWebhook() bool { if x == nil { return false } - return x.Webhook != nil + return x.xxx_hidden_Webhook != nil } func (x *CreateWebhookResponse) ClearWebhook() { - x.Webhook = nil + x.xxx_hidden_Webhook = nil } type CreateWebhookResponse_builder struct { @@ -260,17 +253,16 @@ func (b0 CreateWebhookResponse_builder) Build() *CreateWebhookResponse { m0 := &CreateWebhookResponse{} b, x := &b0, m0 _, _ = b, x - x.Webhook = b.Webhook + x.xxx_hidden_Webhook = b.Webhook return m0 } // DeleteWebhookRequest is the request for unsubscribing to a webhook. type DeleteWebhookRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -300,13 +292,13 @@ func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message { func (x *DeleteWebhookRequest) GetWebhookId() string { if x != nil { - return x.WebhookId + return x.xxx_hidden_WebhookId } return "" } func (x *DeleteWebhookRequest) SetWebhookId(v string) { - x.WebhookId = v + x.xxx_hidden_WebhookId = v } type DeleteWebhookRequest_builder struct { @@ -320,14 +312,14 @@ func (b0 DeleteWebhookRequest_builder) Build() *DeleteWebhookRequest { m0 := &DeleteWebhookRequest{} b, x := &b0, m0 _, _ = b, x - x.WebhookId = b.WebhookId + x.xxx_hidden_WebhookId = b.WebhookId return m0 } // DeleteWebhookResponse is the response for unsubscribing // from a webhook. type DeleteWebhookResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -372,15 +364,12 @@ func (b0 DeleteWebhookResponse_builder) Build() *DeleteWebhookResponse { // ListWebhooksRequest is the request to get the // list of subscribed webhooks for a given repository. type ListWebhooksRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_RepositoryName string `protobuf:"bytes,1,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_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() { @@ -410,35 +399,35 @@ func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message { func (x *ListWebhooksRequest) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *ListWebhooksRequest) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *ListWebhooksRequest) GetPageToken() string { if x != nil { - return x.PageToken + return x.xxx_hidden_PageToken } return "" } func (x *ListWebhooksRequest) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *ListWebhooksRequest) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *ListWebhooksRequest) SetPageToken(v string) { - x.PageToken = v + x.xxx_hidden_PageToken = v } type ListWebhooksRequest_builder struct { @@ -456,22 +445,20 @@ func (b0 ListWebhooksRequest_builder) Build() *ListWebhooksRequest { m0 := &ListWebhooksRequest{} b, x := &b0, m0 _, _ = b, x - x.RepositoryName = b.RepositoryName - x.OwnerName = b.OwnerName - x.PageToken = b.PageToken + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_PageToken = b.PageToken return m0 } // ListWebhooksResponse is the response for the list of // subscribed webhooks for a given repository. type ListWebhooksResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Webhooks *[]*Webhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"` + xxx_hidden_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() { @@ -501,24 +488,26 @@ func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message { func (x *ListWebhooksResponse) GetWebhooks() []*Webhook { if x != nil { - return x.Webhooks + if x.xxx_hidden_Webhooks != nil { + return *x.xxx_hidden_Webhooks + } } return nil } func (x *ListWebhooksResponse) GetNextPageToken() string { if x != nil { - return x.NextPageToken + return x.xxx_hidden_NextPageToken } return "" } func (x *ListWebhooksResponse) SetWebhooks(v []*Webhook) { - x.Webhooks = v + x.xxx_hidden_Webhooks = &v } func (x *ListWebhooksResponse) SetNextPageToken(v string) { - x.NextPageToken = v + x.xxx_hidden_NextPageToken = v } type ListWebhooksResponse_builder struct { @@ -534,34 +523,23 @@ func (b0 ListWebhooksResponse_builder) Build() *ListWebhooksResponse { m0 := &ListWebhooksResponse{} b, x := &b0, m0 _, _ = b, x - x.Webhooks = b.Webhooks - x.NextPageToken = b.NextPageToken + x.xxx_hidden_Webhooks = &b.Webhooks + x.xxx_hidden_NextPageToken = b.NextPageToken return m0 } // Webhook is the representation of a webhook repository event subscription. type Webhook struct { - state protoimpl.MessageState `protogen:"hybrid.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. - WebhookId string `protobuf:"bytes,2,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"` - // The webhook creation timestamp. - CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The webhook last updated timestamp. - UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // The webhook repository name. - RepositoryName string `protobuf:"bytes,5,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - // The webhook repository owner name. - OwnerName string `protobuf:"bytes,6,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - // The subscriber's callback URL where notifications are delivered. Currently - // we only support Connect-powered backends with application/proto as the - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Event WebhookEvent `protobuf:"varint,1,opt,name=event,proto3,enum=buf.alpha.registry.v1alpha1.WebhookEvent" json:"event,omitempty"` + xxx_hidden_WebhookId string `protobuf:"bytes,2,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"` + xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + xxx_hidden_UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + xxx_hidden_RepositoryName string `protobuf:"bytes,5,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` + xxx_hidden_OwnerName string `protobuf:"bytes,6,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` + xxx_hidden_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() { @@ -591,101 +569,101 @@ func (x *Webhook) ProtoReflect() protoreflect.Message { func (x *Webhook) GetEvent() WebhookEvent { if x != nil { - return x.Event + return x.xxx_hidden_Event } return WebhookEvent_WEBHOOK_EVENT_UNSPECIFIED } func (x *Webhook) GetWebhookId() string { if x != nil { - return x.WebhookId + return x.xxx_hidden_WebhookId } return "" } func (x *Webhook) GetCreateTime() *timestamppb.Timestamp { if x != nil { - return x.CreateTime + return x.xxx_hidden_CreateTime } return nil } func (x *Webhook) GetUpdateTime() *timestamppb.Timestamp { if x != nil { - return x.UpdateTime + return x.xxx_hidden_UpdateTime } return nil } func (x *Webhook) GetRepositoryName() string { if x != nil { - return x.RepositoryName + return x.xxx_hidden_RepositoryName } return "" } func (x *Webhook) GetOwnerName() string { if x != nil { - return x.OwnerName + return x.xxx_hidden_OwnerName } return "" } func (x *Webhook) GetCallbackUrl() string { if x != nil { - return x.CallbackUrl + return x.xxx_hidden_CallbackUrl } return "" } func (x *Webhook) SetEvent(v WebhookEvent) { - x.Event = v + x.xxx_hidden_Event = v } func (x *Webhook) SetWebhookId(v string) { - x.WebhookId = v + x.xxx_hidden_WebhookId = v } func (x *Webhook) SetCreateTime(v *timestamppb.Timestamp) { - x.CreateTime = v + x.xxx_hidden_CreateTime = v } func (x *Webhook) SetUpdateTime(v *timestamppb.Timestamp) { - x.UpdateTime = v + x.xxx_hidden_UpdateTime = v } func (x *Webhook) SetRepositoryName(v string) { - x.RepositoryName = v + x.xxx_hidden_RepositoryName = v } func (x *Webhook) SetOwnerName(v string) { - x.OwnerName = v + x.xxx_hidden_OwnerName = v } func (x *Webhook) SetCallbackUrl(v string) { - x.CallbackUrl = v + x.xxx_hidden_CallbackUrl = v } func (x *Webhook) HasCreateTime() bool { if x == nil { return false } - return x.CreateTime != nil + return x.xxx_hidden_CreateTime != nil } func (x *Webhook) HasUpdateTime() bool { if x == nil { return false } - return x.UpdateTime != nil + return x.xxx_hidden_UpdateTime != nil } func (x *Webhook) ClearCreateTime() { - x.CreateTime = nil + x.xxx_hidden_CreateTime = nil } func (x *Webhook) ClearUpdateTime() { - x.UpdateTime = nil + x.xxx_hidden_UpdateTime = nil } type Webhook_builder struct { @@ -715,13 +693,13 @@ func (b0 Webhook_builder) Build() *Webhook { m0 := &Webhook{} b, x := &b0, m0 _, _ = b, x - x.Event = b.Event - x.WebhookId = b.WebhookId - x.CreateTime = b.CreateTime - x.UpdateTime = b.UpdateTime - x.RepositoryName = b.RepositoryName - x.OwnerName = b.OwnerName - x.CallbackUrl = b.CallbackUrl + x.xxx_hidden_Event = b.Event + x.xxx_hidden_WebhookId = b.WebhookId + x.xxx_hidden_CreateTime = b.CreateTime + x.xxx_hidden_UpdateTime = b.UpdateTime + x.xxx_hidden_RepositoryName = b.RepositoryName + x.xxx_hidden_OwnerName = b.OwnerName + x.xxx_hidden_CallbackUrl = b.CallbackUrl return m0 } diff --git a/private/gen/proto/go/buf/alpha/registry/v1alpha1/webhook_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/registry/v1alpha1/webhook_protoopaque.pb.go deleted file mode 100644 index fc6aac1d59..0000000000 --- a/private/gen/proto/go/buf/alpha/registry/v1alpha1/webhook_protoopaque.pb.go +++ /dev/null @@ -1,886 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/registry/v1alpha1/webhook.proto - -//go:build protoopaque - -package registryv1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// WebhookEvent contains the currently supported webhook event types. -type WebhookEvent int32 - -const ( - // WEBHOOK_EVENT_UNSPECIFIED is a safe noop default for webhook events - // subscription. It will trigger an error if trying to register a webhook with - // this event. - WebhookEvent_WEBHOOK_EVENT_UNSPECIFIED WebhookEvent = 0 - // WEBHOOK_EVENT_REPOSITORY_PUSH is emitted whenever a successful buf push is - // completed for a specific repository. - WebhookEvent_WEBHOOK_EVENT_REPOSITORY_PUSH WebhookEvent = 1 -) - -// Enum value maps for WebhookEvent. -var ( - WebhookEvent_name = map[int32]string{ - 0: "WEBHOOK_EVENT_UNSPECIFIED", - 1: "WEBHOOK_EVENT_REPOSITORY_PUSH", - } - WebhookEvent_value = map[string]int32{ - "WEBHOOK_EVENT_UNSPECIFIED": 0, - "WEBHOOK_EVENT_REPOSITORY_PUSH": 1, - } -) - -func (x WebhookEvent) Enum() *WebhookEvent { - p := new(WebhookEvent) - *p = x - return p -} - -func (x WebhookEvent) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WebhookEvent) Descriptor() protoreflect.EnumDescriptor { - return file_buf_alpha_registry_v1alpha1_webhook_proto_enumTypes[0].Descriptor() -} - -func (WebhookEvent) Type() protoreflect.EnumType { - return &file_buf_alpha_registry_v1alpha1_webhook_proto_enumTypes[0] -} - -func (x WebhookEvent) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// CreateWebhookRequest is the proto request representation of a -// webhook request body. -type CreateWebhookRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_WebhookEvent WebhookEvent `protobuf:"varint,1,opt,name=webhook_event,json=webhookEvent,proto3,enum=buf.alpha.registry.v1alpha1.WebhookEvent" json:"webhook_event,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,3,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_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() { - *x = CreateWebhookRequest{} - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateWebhookRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateWebhookRequest) ProtoMessage() {} - -func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateWebhookRequest) GetWebhookEvent() WebhookEvent { - if x != nil { - return x.xxx_hidden_WebhookEvent - } - return WebhookEvent_WEBHOOK_EVENT_UNSPECIFIED -} - -func (x *CreateWebhookRequest) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *CreateWebhookRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *CreateWebhookRequest) GetCallbackUrl() string { - if x != nil { - return x.xxx_hidden_CallbackUrl - } - return "" -} - -func (x *CreateWebhookRequest) SetWebhookEvent(v WebhookEvent) { - x.xxx_hidden_WebhookEvent = v -} - -func (x *CreateWebhookRequest) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *CreateWebhookRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *CreateWebhookRequest) SetCallbackUrl(v string) { - x.xxx_hidden_CallbackUrl = v -} - -type CreateWebhookRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The event to subscribe to for the given repository. - WebhookEvent WebhookEvent - // The owner name of the repository in the corresponding subscription request. - OwnerName string - // The repository name that the subscriber wishes create a subscription for. - RepositoryName string - // The subscriber's callback URL where notifications should be delivered. - CallbackUrl string -} - -func (b0 CreateWebhookRequest_builder) Build() *CreateWebhookRequest { - m0 := &CreateWebhookRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_WebhookEvent = b.WebhookEvent - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_CallbackUrl = b.CallbackUrl - return m0 -} - -// CreateWebhookResponse is the proto response representation -// of a webhook request. -type CreateWebhookResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateWebhookResponse) Reset() { - *x = CreateWebhookResponse{} - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateWebhookResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateWebhookResponse) ProtoMessage() {} - -func (x *CreateWebhookResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CreateWebhookResponse) GetWebhook() *Webhook { - if x != nil { - return x.xxx_hidden_Webhook - } - return nil -} - -func (x *CreateWebhookResponse) SetWebhook(v *Webhook) { - x.xxx_hidden_Webhook = v -} - -func (x *CreateWebhookResponse) HasWebhook() bool { - if x == nil { - return false - } - return x.xxx_hidden_Webhook != nil -} - -func (x *CreateWebhookResponse) ClearWebhook() { - x.xxx_hidden_Webhook = nil -} - -type CreateWebhookResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Created webhook subscription. - Webhook *Webhook -} - -func (b0 CreateWebhookResponse_builder) Build() *CreateWebhookResponse { - m0 := &CreateWebhookResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Webhook = b.Webhook - return m0 -} - -// DeleteWebhookRequest is the request for unsubscribing to a webhook. -type DeleteWebhookRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = DeleteWebhookRequest{} - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteWebhookRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteWebhookRequest) ProtoMessage() {} - -func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *DeleteWebhookRequest) GetWebhookId() string { - if x != nil { - return x.xxx_hidden_WebhookId - } - return "" -} - -func (x *DeleteWebhookRequest) SetWebhookId(v string) { - x.xxx_hidden_WebhookId = v -} - -type DeleteWebhookRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The id of the webhook subscription to delete. - WebhookId string -} - -func (b0 DeleteWebhookRequest_builder) Build() *DeleteWebhookRequest { - m0 := &DeleteWebhookRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_WebhookId = b.WebhookId - return m0 -} - -// DeleteWebhookResponse is the response for unsubscribing -// from a webhook. -type DeleteWebhookResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DeleteWebhookResponse) Reset() { - *x = DeleteWebhookResponse{} - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteWebhookResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteWebhookResponse) ProtoMessage() {} - -func (x *DeleteWebhookResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type DeleteWebhookResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 DeleteWebhookResponse_builder) Build() *DeleteWebhookResponse { - m0 := &DeleteWebhookResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -// ListWebhooksRequest is the request to get the -// list of subscribed webhooks for a given repository. -type ListWebhooksRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_RepositoryName string `protobuf:"bytes,1,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_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() { - *x = ListWebhooksRequest{} - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListWebhooksRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWebhooksRequest) ProtoMessage() {} - -func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListWebhooksRequest) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *ListWebhooksRequest) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *ListWebhooksRequest) GetPageToken() string { - if x != nil { - return x.xxx_hidden_PageToken - } - return "" -} - -func (x *ListWebhooksRequest) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *ListWebhooksRequest) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *ListWebhooksRequest) SetPageToken(v string) { - x.xxx_hidden_PageToken = v -} - -type ListWebhooksRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The repository name given in the corresponding subscription request. - RepositoryName string - // The owner associated with the repository. - OwnerName string - // The page token for paginating. - PageToken string -} - -func (b0 ListWebhooksRequest_builder) Build() *ListWebhooksRequest { - m0 := &ListWebhooksRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_PageToken = b.PageToken - return m0 -} - -// ListWebhooksResponse is the response for the list of -// subscribed webhooks for a given repository. -type ListWebhooksResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Webhooks *[]*Webhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"` - xxx_hidden_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() { - *x = ListWebhooksResponse{} - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListWebhooksResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListWebhooksResponse) ProtoMessage() {} - -func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListWebhooksResponse) GetWebhooks() []*Webhook { - if x != nil { - if x.xxx_hidden_Webhooks != nil { - return *x.xxx_hidden_Webhooks - } - } - return nil -} - -func (x *ListWebhooksResponse) GetNextPageToken() string { - if x != nil { - return x.xxx_hidden_NextPageToken - } - return "" -} - -func (x *ListWebhooksResponse) SetWebhooks(v []*Webhook) { - x.xxx_hidden_Webhooks = &v -} - -func (x *ListWebhooksResponse) SetNextPageToken(v string) { - x.xxx_hidden_NextPageToken = v -} - -type ListWebhooksResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The list of subscribed webhooks for a given repository. - Webhooks []*Webhook - // The next page token for paginating. - NextPageToken string -} - -func (b0 ListWebhooksResponse_builder) Build() *ListWebhooksResponse { - m0 := &ListWebhooksResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Webhooks = &b.Webhooks - x.xxx_hidden_NextPageToken = b.NextPageToken - return m0 -} - -// Webhook is the representation of a webhook repository event subscription. -type Webhook struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Event WebhookEvent `protobuf:"varint,1,opt,name=event,proto3,enum=buf.alpha.registry.v1alpha1.WebhookEvent" json:"event,omitempty"` - xxx_hidden_WebhookId string `protobuf:"bytes,2,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"` - xxx_hidden_CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - xxx_hidden_UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - xxx_hidden_RepositoryName string `protobuf:"bytes,5,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"` - xxx_hidden_OwnerName string `protobuf:"bytes,6,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` - xxx_hidden_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() { - *x = Webhook{} - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Webhook) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Webhook) ProtoMessage() {} - -func (x *Webhook) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Webhook) GetEvent() WebhookEvent { - if x != nil { - return x.xxx_hidden_Event - } - return WebhookEvent_WEBHOOK_EVENT_UNSPECIFIED -} - -func (x *Webhook) GetWebhookId() string { - if x != nil { - return x.xxx_hidden_WebhookId - } - return "" -} - -func (x *Webhook) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_CreateTime - } - return nil -} - -func (x *Webhook) GetUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_UpdateTime - } - return nil -} - -func (x *Webhook) GetRepositoryName() string { - if x != nil { - return x.xxx_hidden_RepositoryName - } - return "" -} - -func (x *Webhook) GetOwnerName() string { - if x != nil { - return x.xxx_hidden_OwnerName - } - return "" -} - -func (x *Webhook) GetCallbackUrl() string { - if x != nil { - return x.xxx_hidden_CallbackUrl - } - return "" -} - -func (x *Webhook) SetEvent(v WebhookEvent) { - x.xxx_hidden_Event = v -} - -func (x *Webhook) SetWebhookId(v string) { - x.xxx_hidden_WebhookId = v -} - -func (x *Webhook) SetCreateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_CreateTime = v -} - -func (x *Webhook) SetUpdateTime(v *timestamppb.Timestamp) { - x.xxx_hidden_UpdateTime = v -} - -func (x *Webhook) SetRepositoryName(v string) { - x.xxx_hidden_RepositoryName = v -} - -func (x *Webhook) SetOwnerName(v string) { - x.xxx_hidden_OwnerName = v -} - -func (x *Webhook) SetCallbackUrl(v string) { - x.xxx_hidden_CallbackUrl = v -} - -func (x *Webhook) HasCreateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_CreateTime != nil -} - -func (x *Webhook) HasUpdateTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_UpdateTime != nil -} - -func (x *Webhook) ClearCreateTime() { - x.xxx_hidden_CreateTime = nil -} - -func (x *Webhook) ClearUpdateTime() { - x.xxx_hidden_UpdateTime = nil -} - -type Webhook_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The event associated with the subscription id. - Event WebhookEvent - // The id of the associated subscription. - WebhookId string - // The webhook creation timestamp. - CreateTime *timestamppb.Timestamp - // The webhook last updated timestamp. - UpdateTime *timestamppb.Timestamp - // The webhook repository name. - RepositoryName string - // The webhook repository owner name. - OwnerName string - // The subscriber's callback URL where notifications are delivered. Currently - // we only support Connect-powered backends with application/proto as the - // 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 -} - -func (b0 Webhook_builder) Build() *Webhook { - m0 := &Webhook{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Event = b.Event - x.xxx_hidden_WebhookId = b.WebhookId - x.xxx_hidden_CreateTime = b.CreateTime - x.xxx_hidden_UpdateTime = b.UpdateTime - x.xxx_hidden_RepositoryName = b.RepositoryName - x.xxx_hidden_OwnerName = b.OwnerName - x.xxx_hidden_CallbackUrl = b.CallbackUrl - return m0 -} - -var File_buf_alpha_registry_v1alpha1_webhook_proto protoreflect.FileDescriptor - -var file_buf_alpha_registry_v1alpha1_webhook_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x77, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x62, 0x75, 0x66, - 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x01, 0x0a, 0x14, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x0d, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, - 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x55, 0x72, 0x6c, 0x22, 0x57, 0x0a, - 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x07, 0x77, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x35, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, - 0x0a, 0x0a, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x49, 0x64, 0x22, 0x17, 0x0a, - 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7c, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, - 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x80, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, - 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, - 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x24, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, - 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, - 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xce, 0x02, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x12, 0x3f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, - 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a, - 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, - 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x6c, - 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x55, 0x72, 0x6c, 0x2a, 0x50, 0x0a, 0x0c, 0x57, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x19, 0x57, 0x45, 0x42, 0x48, - 0x4f, 0x4f, 0x4b, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x57, 0x45, 0x42, 0x48, 0x4f, - 0x4f, 0x4b, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, - 0x4f, 0x52, 0x59, 0x5f, 0x50, 0x55, 0x53, 0x48, 0x10, 0x01, 0x32, 0x84, 0x03, 0x0a, 0x0e, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7b, 0x0a, - 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x31, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x32, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0x7b, 0x0a, 0x0d, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x31, 0x2e, 0x62, 0x75, - 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, - 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x02, 0x12, 0x78, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x30, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x62, 0x75, 0x66, 0x2e, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, - 0x01, 0x42, 0x99, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0c, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, - 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0xa2, 0x02, 0x03, 0x42, 0x41, 0x52, 0xaa, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1b, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, - 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xe2, 0x02, 0x27, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x42, - 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_registry_v1alpha1_webhook_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_buf_alpha_registry_v1alpha1_webhook_proto_goTypes = []any{ - (WebhookEvent)(0), // 0: buf.alpha.registry.v1alpha1.WebhookEvent - (*CreateWebhookRequest)(nil), // 1: buf.alpha.registry.v1alpha1.CreateWebhookRequest - (*CreateWebhookResponse)(nil), // 2: buf.alpha.registry.v1alpha1.CreateWebhookResponse - (*DeleteWebhookRequest)(nil), // 3: buf.alpha.registry.v1alpha1.DeleteWebhookRequest - (*DeleteWebhookResponse)(nil), // 4: buf.alpha.registry.v1alpha1.DeleteWebhookResponse - (*ListWebhooksRequest)(nil), // 5: buf.alpha.registry.v1alpha1.ListWebhooksRequest - (*ListWebhooksResponse)(nil), // 6: buf.alpha.registry.v1alpha1.ListWebhooksResponse - (*Webhook)(nil), // 7: buf.alpha.registry.v1alpha1.Webhook - (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp -} -var file_buf_alpha_registry_v1alpha1_webhook_proto_depIdxs = []int32{ - 0, // 0: buf.alpha.registry.v1alpha1.CreateWebhookRequest.webhook_event:type_name -> buf.alpha.registry.v1alpha1.WebhookEvent - 7, // 1: buf.alpha.registry.v1alpha1.CreateWebhookResponse.webhook:type_name -> buf.alpha.registry.v1alpha1.Webhook - 7, // 2: buf.alpha.registry.v1alpha1.ListWebhooksResponse.webhooks:type_name -> buf.alpha.registry.v1alpha1.Webhook - 0, // 3: buf.alpha.registry.v1alpha1.Webhook.event:type_name -> buf.alpha.registry.v1alpha1.WebhookEvent - 8, // 4: buf.alpha.registry.v1alpha1.Webhook.create_time:type_name -> google.protobuf.Timestamp - 8, // 5: buf.alpha.registry.v1alpha1.Webhook.update_time:type_name -> google.protobuf.Timestamp - 1, // 6: buf.alpha.registry.v1alpha1.WebhookService.CreateWebhook:input_type -> buf.alpha.registry.v1alpha1.CreateWebhookRequest - 3, // 7: buf.alpha.registry.v1alpha1.WebhookService.DeleteWebhook:input_type -> buf.alpha.registry.v1alpha1.DeleteWebhookRequest - 5, // 8: buf.alpha.registry.v1alpha1.WebhookService.ListWebhooks:input_type -> buf.alpha.registry.v1alpha1.ListWebhooksRequest - 2, // 9: buf.alpha.registry.v1alpha1.WebhookService.CreateWebhook:output_type -> buf.alpha.registry.v1alpha1.CreateWebhookResponse - 4, // 10: buf.alpha.registry.v1alpha1.WebhookService.DeleteWebhook:output_type -> buf.alpha.registry.v1alpha1.DeleteWebhookResponse - 6, // 11: buf.alpha.registry.v1alpha1.WebhookService.ListWebhooks:output_type -> buf.alpha.registry.v1alpha1.ListWebhooksResponse - 9, // [9:12] is the sub-list for method output_type - 6, // [6:9] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_buf_alpha_registry_v1alpha1_webhook_proto_init() } -func file_buf_alpha_registry_v1alpha1_webhook_proto_init() { - if File_buf_alpha_registry_v1alpha1_webhook_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_registry_v1alpha1_webhook_proto_rawDesc, - NumEnums: 1, - NumMessages: 7, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_registry_v1alpha1_webhook_proto_goTypes, - DependencyIndexes: file_buf_alpha_registry_v1alpha1_webhook_proto_depIdxs, - EnumInfos: file_buf_alpha_registry_v1alpha1_webhook_proto_enumTypes, - MessageInfos: file_buf_alpha_registry_v1alpha1_webhook_proto_msgTypes, - }.Build() - File_buf_alpha_registry_v1alpha1_webhook_proto = out.File - file_buf_alpha_registry_v1alpha1_webhook_proto_rawDesc = nil - file_buf_alpha_registry_v1alpha1_webhook_proto_goTypes = nil - file_buf_alpha_registry_v1alpha1_webhook_proto_depIdxs = nil -} 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 131cba877c..7c65cad3d7 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 @@ -42,8 +42,6 @@ // We may explore other transports such as WebSockets or WebTransport, at which // point we should define proper proto services and methods here as well. -//go:build !protoopaque - package studiov1alpha1 import ( @@ -61,11 +59,11 @@ const ( // Headers encode HTTP headers. type Headers struct { - state protoimpl.MessageState `protogen:"hybrid.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 - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + xxx_hidden_Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Headers) Reset() { @@ -95,24 +93,24 @@ func (x *Headers) ProtoReflect() protoreflect.Message { func (x *Headers) GetKey() string { if x != nil { - return x.Key + return x.xxx_hidden_Key } return "" } func (x *Headers) GetValue() []string { if x != nil { - return x.Value + return x.xxx_hidden_Value } return nil } func (x *Headers) SetKey(v string) { - x.Key = v + x.xxx_hidden_Key = v } func (x *Headers) SetValue(v []string) { - x.Value = v + x.xxx_hidden_Value = v } type Headers_builder struct { @@ -126,27 +124,20 @@ func (b0 Headers_builder) Build() *Headers { m0 := &Headers{} b, x := &b0, m0 _, _ = b, x - x.Key = b.Key - x.Value = b.Value + x.xxx_hidden_Key = b.Key + x.xxx_hidden_Value = b.Value return m0 } // InvokeRequest encodes an enveloped RPC request. See the package documentation // for more information. type InvokeRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 - // request with regular h2. - Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` - // Headers to send with the request. If body is set, a Content-Type header - // 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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` + xxx_hidden_Headers *[]*Headers `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` + xxx_hidden_Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InvokeRequest) Reset() { @@ -176,38 +167,40 @@ func (x *InvokeRequest) ProtoReflect() protoreflect.Message { func (x *InvokeRequest) GetTarget() string { if x != nil { - return x.Target + return x.xxx_hidden_Target } return "" } func (x *InvokeRequest) GetHeaders() []*Headers { if x != nil { - return x.Headers + if x.xxx_hidden_Headers != nil { + return *x.xxx_hidden_Headers + } } return nil } func (x *InvokeRequest) GetBody() []byte { if x != nil { - return x.Body + return x.xxx_hidden_Body } return nil } func (x *InvokeRequest) SetTarget(v string) { - x.Target = v + x.xxx_hidden_Target = v } func (x *InvokeRequest) SetHeaders(v []*Headers) { - x.Headers = v + x.xxx_hidden_Headers = &v } func (x *InvokeRequest) SetBody(v []byte) { if v == nil { v = []byte{} } - x.Body = v + x.xxx_hidden_Body = v } type InvokeRequest_builder struct { @@ -229,24 +222,21 @@ func (b0 InvokeRequest_builder) Build() *InvokeRequest { m0 := &InvokeRequest{} b, x := &b0, m0 _, _ = b, x - x.Target = b.Target - x.Headers = b.Headers - x.Body = b.Body + x.xxx_hidden_Target = b.Target + x.xxx_hidden_Headers = &b.Headers + x.xxx_hidden_Body = b.Body return m0 } // InvokeResponse encodes an enveloped RPC response. See the package documentation // for more information. type InvokeResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Headers *[]*Headers `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` + xxx_hidden_Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` + xxx_hidden_Trailers *[]*Headers `protobuf:"bytes,3,rep,name=trailers,proto3" json:"trailers,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InvokeResponse) Reset() { @@ -276,38 +266,42 @@ func (x *InvokeResponse) ProtoReflect() protoreflect.Message { func (x *InvokeResponse) GetHeaders() []*Headers { if x != nil { - return x.Headers + if x.xxx_hidden_Headers != nil { + return *x.xxx_hidden_Headers + } } return nil } func (x *InvokeResponse) GetBody() []byte { if x != nil { - return x.Body + return x.xxx_hidden_Body } return nil } func (x *InvokeResponse) GetTrailers() []*Headers { if x != nil { - return x.Trailers + if x.xxx_hidden_Trailers != nil { + return *x.xxx_hidden_Trailers + } } return nil } func (x *InvokeResponse) SetHeaders(v []*Headers) { - x.Headers = v + x.xxx_hidden_Headers = &v } func (x *InvokeResponse) SetBody(v []byte) { if v == nil { v = []byte{} } - x.Body = v + x.xxx_hidden_Body = v } func (x *InvokeResponse) SetTrailers(v []*Headers) { - x.Trailers = v + x.xxx_hidden_Trailers = &v } type InvokeResponse_builder struct { @@ -325,9 +319,9 @@ func (b0 InvokeResponse_builder) Build() *InvokeResponse { m0 := &InvokeResponse{} b, x := &b0, m0 _, _ = b, x - x.Headers = b.Headers - x.Body = b.Body - x.Trailers = b.Trailers + x.xxx_hidden_Headers = &b.Headers + x.xxx_hidden_Body = b.Body + x.xxx_hidden_Trailers = &b.Trailers return m0 } diff --git a/private/gen/proto/go/buf/alpha/studio/v1alpha1/invoke_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/studio/v1alpha1/invoke_protoopaque.pb.go deleted file mode 100644 index 526157fba3..0000000000 --- a/private/gen/proto/go/buf/alpha/studio/v1alpha1/invoke_protoopaque.pb.go +++ /dev/null @@ -1,418 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/studio/v1alpha1/invoke.proto - -// The buf.alpha.studio.v1alpha1 package contains types used by the buf studio -// agent. Because browsers are not capable of sending gRPC requests directly, -// users can run a studio agent to that receives enveloped requests from the -// browser and forwards them as gRPC requests. -// -// Ideally the agent would be simple protocol translating HTTP proxy without -// requiring any custom envelope. Unfortunately, js in the browser cannot set -// per request proxy configuration and we cannot specify that we want to open a -// connection to the request agent while specifying a different server in the -// request's Host header. The studio agent and UI could communicate this through -// a custom header instead, but reading custom headers requires a CORS-preflight -// request. -// -// To facilitate easier deployment it in environments with complicated edge -// configuration, it is a goal for the agent and UI to communicate without the -// need for a CORS-preflight requests. This limits our ability to use custom -// headers and restricts allowed values for the Content-Type header. Due to this -// we cannot simply use gRPC-Web with an additional header, but instead rely on -// enveloping the request and responses in a base64 encoded binary proto message -// sent over a POST endpoint with text/plain as Content-Type. -// -// We may explore other transports such as WebSockets or WebTransport, at which -// point we should define proper proto services and methods here as well. - -//go:build protoopaque - -package studiov1alpha1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Headers encode HTTP headers. -type Headers struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - xxx_hidden_Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Headers) Reset() { - *x = Headers{} - mi := &file_buf_alpha_studio_v1alpha1_invoke_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Headers) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Headers) ProtoMessage() {} - -func (x *Headers) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_studio_v1alpha1_invoke_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *Headers) GetKey() string { - if x != nil { - return x.xxx_hidden_Key - } - return "" -} - -func (x *Headers) GetValue() []string { - if x != nil { - return x.xxx_hidden_Value - } - return nil -} - -func (x *Headers) SetKey(v string) { - x.xxx_hidden_Key = v -} - -func (x *Headers) SetValue(v []string) { - x.xxx_hidden_Value = v -} - -type Headers_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Key string - Value []string -} - -func (b0 Headers_builder) Build() *Headers { - m0 := &Headers{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Key = b.Key - x.xxx_hidden_Value = b.Value - return m0 -} - -// InvokeRequest encodes an enveloped RPC request. See the package documentation -// for more information. -type InvokeRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` - xxx_hidden_Headers *[]*Headers `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` - xxx_hidden_Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *InvokeRequest) Reset() { - *x = InvokeRequest{} - mi := &file_buf_alpha_studio_v1alpha1_invoke_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *InvokeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InvokeRequest) ProtoMessage() {} - -func (x *InvokeRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_studio_v1alpha1_invoke_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *InvokeRequest) GetTarget() string { - if x != nil { - return x.xxx_hidden_Target - } - return "" -} - -func (x *InvokeRequest) GetHeaders() []*Headers { - if x != nil { - if x.xxx_hidden_Headers != nil { - return *x.xxx_hidden_Headers - } - } - return nil -} - -func (x *InvokeRequest) GetBody() []byte { - if x != nil { - return x.xxx_hidden_Body - } - return nil -} - -func (x *InvokeRequest) SetTarget(v string) { - x.xxx_hidden_Target = v -} - -func (x *InvokeRequest) SetHeaders(v []*Headers) { - x.xxx_hidden_Headers = &v -} - -func (x *InvokeRequest) SetBody(v []byte) { - if v == nil { - v = []byte{} - } - x.xxx_hidden_Body = v -} - -type InvokeRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 - // request with regular h2. - Target string - // Headers to send with the request. If body is set, a Content-Type header - // must be specified. - Headers []*Headers - // The message to be sent in the request (without any protocol specific framing). - Body []byte -} - -func (b0 InvokeRequest_builder) Build() *InvokeRequest { - m0 := &InvokeRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Target = b.Target - x.xxx_hidden_Headers = &b.Headers - x.xxx_hidden_Body = b.Body - return m0 -} - -// InvokeResponse encodes an enveloped RPC response. See the package documentation -// for more information. -type InvokeResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Headers *[]*Headers `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` - xxx_hidden_Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` - xxx_hidden_Trailers *[]*Headers `protobuf:"bytes,3,rep,name=trailers,proto3" json:"trailers,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *InvokeResponse) Reset() { - *x = InvokeResponse{} - mi := &file_buf_alpha_studio_v1alpha1_invoke_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *InvokeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InvokeResponse) ProtoMessage() {} - -func (x *InvokeResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_studio_v1alpha1_invoke_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *InvokeResponse) GetHeaders() []*Headers { - if x != nil { - if x.xxx_hidden_Headers != nil { - return *x.xxx_hidden_Headers - } - } - return nil -} - -func (x *InvokeResponse) GetBody() []byte { - if x != nil { - return x.xxx_hidden_Body - } - return nil -} - -func (x *InvokeResponse) GetTrailers() []*Headers { - if x != nil { - if x.xxx_hidden_Trailers != nil { - return *x.xxx_hidden_Trailers - } - } - return nil -} - -func (x *InvokeResponse) SetHeaders(v []*Headers) { - x.xxx_hidden_Headers = &v -} - -func (x *InvokeResponse) SetBody(v []byte) { - if v == nil { - v = []byte{} - } - x.xxx_hidden_Body = v -} - -func (x *InvokeResponse) SetTrailers(v []*Headers) { - x.xxx_hidden_Trailers = &v -} - -type InvokeResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Headers received in the response. - Headers []*Headers - // The encoded message received in the response (without protocol specific framing). - Body []byte - // Trailers received in the response. - Trailers []*Headers -} - -func (b0 InvokeResponse_builder) Build() *InvokeResponse { - m0 := &InvokeResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Headers = &b.Headers - x.xxx_hidden_Body = b.Body - x.xxx_hidden_Trailers = &b.Trailers - return m0 -} - -var File_buf_alpha_studio_v1alpha1_invoke_proto protoreflect.FileDescriptor - -var file_buf_alpha_studio_v1alpha1_invoke_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x73, 0x74, 0x75, 0x64, - 0x69, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x69, 0x6e, 0x76, 0x6f, - 0x6b, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x22, 0x31, 0x0a, 0x07, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x79, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, - 0x3c, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x22, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x73, 0x74, 0x75, - 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x73, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, - 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, - 0x79, 0x22, 0xa2, 0x01, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x3e, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, - 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x08, 0x74, 0x72, - 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x42, 0x8a, 0x02, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0b, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x55, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, - 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, - 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, - 0x73, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, - 0x03, 0x42, 0x41, 0x53, 0xaa, 0x02, 0x19, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0xca, 0x02, 0x19, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x53, 0x74, 0x75, - 0x64, 0x69, 0x6f, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x25, 0x42, - 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x5c, - 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x42, 0x75, 0x66, 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x3a, 0x3a, 0x53, 0x74, 0x75, 0x64, 0x69, 0x6f, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_buf_alpha_studio_v1alpha1_invoke_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_buf_alpha_studio_v1alpha1_invoke_proto_goTypes = []any{ - (*Headers)(nil), // 0: buf.alpha.studio.v1alpha1.Headers - (*InvokeRequest)(nil), // 1: buf.alpha.studio.v1alpha1.InvokeRequest - (*InvokeResponse)(nil), // 2: buf.alpha.studio.v1alpha1.InvokeResponse -} -var file_buf_alpha_studio_v1alpha1_invoke_proto_depIdxs = []int32{ - 0, // 0: buf.alpha.studio.v1alpha1.InvokeRequest.headers:type_name -> buf.alpha.studio.v1alpha1.Headers - 0, // 1: buf.alpha.studio.v1alpha1.InvokeResponse.headers:type_name -> buf.alpha.studio.v1alpha1.Headers - 0, // 2: buf.alpha.studio.v1alpha1.InvokeResponse.trailers:type_name -> buf.alpha.studio.v1alpha1.Headers - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_buf_alpha_studio_v1alpha1_invoke_proto_init() } -func file_buf_alpha_studio_v1alpha1_invoke_proto_init() { - if File_buf_alpha_studio_v1alpha1_invoke_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_studio_v1alpha1_invoke_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_buf_alpha_studio_v1alpha1_invoke_proto_goTypes, - DependencyIndexes: file_buf_alpha_studio_v1alpha1_invoke_proto_depIdxs, - MessageInfos: file_buf_alpha_studio_v1alpha1_invoke_proto_msgTypes, - }.Build() - File_buf_alpha_studio_v1alpha1_invoke_proto = out.File - file_buf_alpha_studio_v1alpha1_invoke_proto_rawDesc = nil - file_buf_alpha_studio_v1alpha1_invoke_proto_goTypes = nil - file_buf_alpha_studio_v1alpha1_invoke_proto_depIdxs = nil -} 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 65281b7946..0a6b9c2adb 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 @@ -18,8 +18,6 @@ // protoc (unknown) // source: buf/alpha/webhook/v1alpha1/event.proto -//go:build !protoopaque - package webhookv1alpha1 import ( @@ -40,14 +38,11 @@ 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 `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Event v1alpha1.WebhookEvent `protobuf:"varint,1,opt,name=event,proto3,enum=buf.alpha.registry.v1alpha1.WebhookEvent" json:"event,omitempty"` + xxx_hidden_Payload *EventPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventRequest) Reset() { @@ -77,35 +72,35 @@ func (x *EventRequest) ProtoReflect() protoreflect.Message { func (x *EventRequest) GetEvent() v1alpha1.WebhookEvent { if x != nil { - return x.Event + return x.xxx_hidden_Event } return v1alpha1.WebhookEvent(0) } func (x *EventRequest) GetPayload() *EventPayload { if x != nil { - return x.Payload + return x.xxx_hidden_Payload } return nil } func (x *EventRequest) SetEvent(v v1alpha1.WebhookEvent) { - x.Event = v + x.xxx_hidden_Event = v } func (x *EventRequest) SetPayload(v *EventPayload) { - x.Payload = v + x.xxx_hidden_Payload = v } func (x *EventRequest) HasPayload() bool { if x == nil { return false } - return x.Payload != nil + return x.xxx_hidden_Payload != nil } func (x *EventRequest) ClearPayload() { - x.Payload = nil + x.xxx_hidden_Payload = nil } type EventRequest_builder struct { @@ -122,21 +117,18 @@ func (b0 EventRequest_builder) Build() *EventRequest { m0 := &EventRequest{} b, x := &b0, m0 _, _ = b, x - x.Event = b.Event - x.Payload = b.Payload + x.xxx_hidden_Event = b.Event + x.xxx_hidden_Payload = b.Payload return m0 } // EventPayload contains the actual event payload for all possible // webhook event types. type EventPayload struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` - // Types that are valid to be assigned to Payload: - // - // *EventPayload_RepositoryPush - Payload isEventPayload_Payload `protobuf_oneof:"payload"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Payload isEventPayload_Payload `protobuf_oneof:"payload"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventPayload) Reset() { @@ -164,16 +156,9 @@ func (x *EventPayload) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -func (x *EventPayload) GetPayload() isEventPayload_Payload { - if x != nil { - return x.Payload - } - return nil -} - func (x *EventPayload) GetRepositoryPush() *RepositoryPushEvent { if x != nil { - if x, ok := x.Payload.(*EventPayload_RepositoryPush); ok { + if x, ok := x.xxx_hidden_Payload.(*eventPayload_RepositoryPush); ok { return x.RepositoryPush } } @@ -182,34 +167,34 @@ func (x *EventPayload) GetRepositoryPush() *RepositoryPushEvent { func (x *EventPayload) SetRepositoryPush(v *RepositoryPushEvent) { if v == nil { - x.Payload = nil + x.xxx_hidden_Payload = nil return } - x.Payload = &EventPayload_RepositoryPush{v} + x.xxx_hidden_Payload = &eventPayload_RepositoryPush{v} } func (x *EventPayload) HasPayload() bool { if x == nil { return false } - return x.Payload != nil + return x.xxx_hidden_Payload != nil } func (x *EventPayload) HasRepositoryPush() bool { if x == nil { return false } - _, ok := x.Payload.(*EventPayload_RepositoryPush) + _, ok := x.xxx_hidden_Payload.(*eventPayload_RepositoryPush) return ok } func (x *EventPayload) ClearPayload() { - x.Payload = nil + x.xxx_hidden_Payload = nil } func (x *EventPayload) ClearRepositoryPush() { - if _, ok := x.Payload.(*EventPayload_RepositoryPush); ok { - x.Payload = nil + if _, ok := x.xxx_hidden_Payload.(*eventPayload_RepositoryPush); ok { + x.xxx_hidden_Payload = nil } } @@ -220,8 +205,8 @@ func (x *EventPayload) WhichPayload() case_EventPayload_Payload { if x == nil { return EventPayload_Payload_not_set_case } - switch x.Payload.(type) { - case *EventPayload_RepositoryPush: + switch x.xxx_hidden_Payload.(type) { + case *eventPayload_RepositoryPush: return EventPayload_RepositoryPush_case default: return EventPayload_Payload_not_set_case @@ -231,9 +216,9 @@ func (x *EventPayload) WhichPayload() case_EventPayload_Payload { type EventPayload_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - // Fields of oneof Payload: + // Fields of oneof xxx_hidden_Payload: RepositoryPush *RepositoryPushEvent - // -- end of Payload + // -- end of xxx_hidden_Payload } func (b0 EventPayload_builder) Build() *EventPayload { @@ -241,7 +226,7 @@ func (b0 EventPayload_builder) Build() *EventPayload { b, x := &b0, m0 _, _ = b, x if b.RepositoryPush != nil { - x.Payload = &EventPayload_RepositoryPush{b.RepositoryPush} + x.xxx_hidden_Payload = &eventPayload_RepositoryPush{b.RepositoryPush} } return m0 } @@ -260,15 +245,15 @@ type isEventPayload_Payload interface { isEventPayload_Payload() } -type EventPayload_RepositoryPush struct { +type eventPayload_RepositoryPush struct { RepositoryPush *RepositoryPushEvent `protobuf:"bytes,1,opt,name=repository_push,json=repositoryPush,proto3,oneof"` } -func (*EventPayload_RepositoryPush) isEventPayload_Payload() {} +func (*eventPayload_RepositoryPush) isEventPayload_Payload() {} // EventResponse is the empty response payload from the customer to Buf. type EventResponse struct { - state protoimpl.MessageState `protogen:"hybrid.v1"` + state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -312,15 +297,12 @@ func (b0 EventResponse_builder) Build() *EventResponse { // Payload for the event WEBHOOK_EVENT_REPOSITORY_PUSH. type RepositoryPushEvent struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_EventTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` + xxx_hidden_RepositoryCommit *v1alpha1.RepositoryCommit `protobuf:"bytes,2,opt,name=repository_commit,json=repositoryCommit,proto3" json:"repository_commit,omitempty"` + xxx_hidden_Repository *v1alpha1.Repository `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RepositoryPushEvent) Reset() { @@ -350,68 +332,68 @@ func (x *RepositoryPushEvent) ProtoReflect() protoreflect.Message { func (x *RepositoryPushEvent) GetEventTime() *timestamppb.Timestamp { if x != nil { - return x.EventTime + return x.xxx_hidden_EventTime } return nil } func (x *RepositoryPushEvent) GetRepositoryCommit() *v1alpha1.RepositoryCommit { if x != nil { - return x.RepositoryCommit + return x.xxx_hidden_RepositoryCommit } return nil } func (x *RepositoryPushEvent) GetRepository() *v1alpha1.Repository { if x != nil { - return x.Repository + return x.xxx_hidden_Repository } return nil } func (x *RepositoryPushEvent) SetEventTime(v *timestamppb.Timestamp) { - x.EventTime = v + x.xxx_hidden_EventTime = v } func (x *RepositoryPushEvent) SetRepositoryCommit(v *v1alpha1.RepositoryCommit) { - x.RepositoryCommit = v + x.xxx_hidden_RepositoryCommit = v } func (x *RepositoryPushEvent) SetRepository(v *v1alpha1.Repository) { - x.Repository = v + x.xxx_hidden_Repository = v } func (x *RepositoryPushEvent) HasEventTime() bool { if x == nil { return false } - return x.EventTime != nil + return x.xxx_hidden_EventTime != nil } func (x *RepositoryPushEvent) HasRepositoryCommit() bool { if x == nil { return false } - return x.RepositoryCommit != nil + return x.xxx_hidden_RepositoryCommit != nil } func (x *RepositoryPushEvent) HasRepository() bool { if x == nil { return false } - return x.Repository != nil + return x.xxx_hidden_Repository != nil } func (x *RepositoryPushEvent) ClearEventTime() { - x.EventTime = nil + x.xxx_hidden_EventTime = nil } func (x *RepositoryPushEvent) ClearRepositoryCommit() { - x.RepositoryCommit = nil + x.xxx_hidden_RepositoryCommit = nil } func (x *RepositoryPushEvent) ClearRepository() { - x.Repository = nil + x.xxx_hidden_Repository = nil } type RepositoryPushEvent_builder struct { @@ -429,9 +411,9 @@ func (b0 RepositoryPushEvent_builder) Build() *RepositoryPushEvent { m0 := &RepositoryPushEvent{} b, x := &b0, m0 _, _ = b, x - x.EventTime = b.EventTime - x.RepositoryCommit = b.RepositoryCommit - x.Repository = b.Repository + x.xxx_hidden_EventTime = b.EventTime + x.xxx_hidden_RepositoryCommit = b.RepositoryCommit + x.xxx_hidden_Repository = b.Repository return m0 } @@ -547,7 +529,7 @@ func file_buf_alpha_webhook_v1alpha1_event_proto_init() { return } file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes[1].OneofWrappers = []any{ - (*EventPayload_RepositoryPush)(nil), + (*eventPayload_RepositoryPush)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/private/gen/proto/go/buf/alpha/webhook/v1alpha1/event_protoopaque.pb.go b/private/gen/proto/go/buf/alpha/webhook/v1alpha1/event_protoopaque.pb.go deleted file mode 100644 index 45e8d7c402..0000000000 --- a/private/gen/proto/go/buf/alpha/webhook/v1alpha1/event_protoopaque.pb.go +++ /dev/null @@ -1,554 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: buf/alpha/webhook/v1alpha1/event.proto - -//go:build protoopaque - -package webhookv1alpha1 - -import ( - v1alpha1 "github.com/bufbuild/buf/private/gen/proto/go/buf/alpha/registry/v1alpha1" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// 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 `protogen:"opaque.v1"` - xxx_hidden_Event v1alpha1.WebhookEvent `protobuf:"varint,1,opt,name=event,proto3,enum=buf.alpha.registry.v1alpha1.WebhookEvent" json:"event,omitempty"` - xxx_hidden_Payload *EventPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EventRequest) Reset() { - *x = EventRequest{} - mi := &file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EventRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EventRequest) ProtoMessage() {} - -func (x *EventRequest) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *EventRequest) GetEvent() v1alpha1.WebhookEvent { - if x != nil { - return x.xxx_hidden_Event - } - return v1alpha1.WebhookEvent(0) -} - -func (x *EventRequest) GetPayload() *EventPayload { - if x != nil { - return x.xxx_hidden_Payload - } - return nil -} - -func (x *EventRequest) SetEvent(v v1alpha1.WebhookEvent) { - x.xxx_hidden_Event = v -} - -func (x *EventRequest) SetPayload(v *EventPayload) { - x.xxx_hidden_Payload = v -} - -func (x *EventRequest) HasPayload() bool { - if x == nil { - return false - } - return x.xxx_hidden_Payload != nil -} - -func (x *EventRequest) ClearPayload() { - x.xxx_hidden_Payload = nil -} - -type EventRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 - // The event payload of the event was triggered. - Payload *EventPayload -} - -func (b0 EventRequest_builder) Build() *EventRequest { - m0 := &EventRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Event = b.Event - x.xxx_hidden_Payload = b.Payload - return m0 -} - -// EventPayload contains the actual event payload for all possible -// webhook event types. -type EventPayload struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Payload isEventPayload_Payload `protobuf_oneof:"payload"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EventPayload) Reset() { - *x = EventPayload{} - mi := &file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EventPayload) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EventPayload) ProtoMessage() {} - -func (x *EventPayload) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *EventPayload) GetRepositoryPush() *RepositoryPushEvent { - if x != nil { - if x, ok := x.xxx_hidden_Payload.(*eventPayload_RepositoryPush); ok { - return x.RepositoryPush - } - } - return nil -} - -func (x *EventPayload) SetRepositoryPush(v *RepositoryPushEvent) { - if v == nil { - x.xxx_hidden_Payload = nil - return - } - x.xxx_hidden_Payload = &eventPayload_RepositoryPush{v} -} - -func (x *EventPayload) HasPayload() bool { - if x == nil { - return false - } - return x.xxx_hidden_Payload != nil -} - -func (x *EventPayload) HasRepositoryPush() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_Payload.(*eventPayload_RepositoryPush) - return ok -} - -func (x *EventPayload) ClearPayload() { - x.xxx_hidden_Payload = nil -} - -func (x *EventPayload) ClearRepositoryPush() { - if _, ok := x.xxx_hidden_Payload.(*eventPayload_RepositoryPush); ok { - x.xxx_hidden_Payload = nil - } -} - -const EventPayload_Payload_not_set_case case_EventPayload_Payload = 0 -const EventPayload_RepositoryPush_case case_EventPayload_Payload = 1 - -func (x *EventPayload) WhichPayload() case_EventPayload_Payload { - if x == nil { - return EventPayload_Payload_not_set_case - } - switch x.xxx_hidden_Payload.(type) { - case *eventPayload_RepositoryPush: - return EventPayload_RepositoryPush_case - default: - return EventPayload_Payload_not_set_case - } -} - -type EventPayload_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Fields of oneof xxx_hidden_Payload: - RepositoryPush *RepositoryPushEvent - // -- end of xxx_hidden_Payload -} - -func (b0 EventPayload_builder) Build() *EventPayload { - m0 := &EventPayload{} - b, x := &b0, m0 - _, _ = b, x - if b.RepositoryPush != nil { - x.xxx_hidden_Payload = &eventPayload_RepositoryPush{b.RepositoryPush} - } - return m0 -} - -type case_EventPayload_Payload protoreflect.FieldNumber - -func (x case_EventPayload_Payload) String() string { - md := file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes[1].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isEventPayload_Payload interface { - isEventPayload_Payload() -} - -type eventPayload_RepositoryPush struct { - RepositoryPush *RepositoryPushEvent `protobuf:"bytes,1,opt,name=repository_push,json=repositoryPush,proto3,oneof"` -} - -func (*eventPayload_RepositoryPush) isEventPayload_Payload() {} - -// EventResponse is the empty response payload from the customer to Buf. -type EventResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *EventResponse) Reset() { - *x = EventResponse{} - mi := &file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EventResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EventResponse) ProtoMessage() {} - -func (x *EventResponse) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -type EventResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - -} - -func (b0 EventResponse_builder) Build() *EventResponse { - m0 := &EventResponse{} - b, x := &b0, m0 - _, _ = b, x - return m0 -} - -// Payload for the event WEBHOOK_EVENT_REPOSITORY_PUSH. -type RepositoryPushEvent struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_EventTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` - xxx_hidden_RepositoryCommit *v1alpha1.RepositoryCommit `protobuf:"bytes,2,opt,name=repository_commit,json=repositoryCommit,proto3" json:"repository_commit,omitempty"` - xxx_hidden_Repository *v1alpha1.Repository `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RepositoryPushEvent) Reset() { - *x = RepositoryPushEvent{} - mi := &file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RepositoryPushEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryPushEvent) ProtoMessage() {} - -func (x *RepositoryPushEvent) ProtoReflect() protoreflect.Message { - mi := &file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *RepositoryPushEvent) GetEventTime() *timestamppb.Timestamp { - if x != nil { - return x.xxx_hidden_EventTime - } - return nil -} - -func (x *RepositoryPushEvent) GetRepositoryCommit() *v1alpha1.RepositoryCommit { - if x != nil { - return x.xxx_hidden_RepositoryCommit - } - return nil -} - -func (x *RepositoryPushEvent) GetRepository() *v1alpha1.Repository { - if x != nil { - return x.xxx_hidden_Repository - } - return nil -} - -func (x *RepositoryPushEvent) SetEventTime(v *timestamppb.Timestamp) { - x.xxx_hidden_EventTime = v -} - -func (x *RepositoryPushEvent) SetRepositoryCommit(v *v1alpha1.RepositoryCommit) { - x.xxx_hidden_RepositoryCommit = v -} - -func (x *RepositoryPushEvent) SetRepository(v *v1alpha1.Repository) { - x.xxx_hidden_Repository = v -} - -func (x *RepositoryPushEvent) HasEventTime() bool { - if x == nil { - return false - } - return x.xxx_hidden_EventTime != nil -} - -func (x *RepositoryPushEvent) HasRepositoryCommit() bool { - if x == nil { - return false - } - return x.xxx_hidden_RepositoryCommit != nil -} - -func (x *RepositoryPushEvent) HasRepository() bool { - if x == nil { - return false - } - return x.xxx_hidden_Repository != nil -} - -func (x *RepositoryPushEvent) ClearEventTime() { - x.xxx_hidden_EventTime = nil -} - -func (x *RepositoryPushEvent) ClearRepositoryCommit() { - x.xxx_hidden_RepositoryCommit = nil -} - -func (x *RepositoryPushEvent) ClearRepository() { - x.xxx_hidden_Repository = nil -} - -type RepositoryPushEvent_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The timestamp of the commit push. - EventTime *timestamppb.Timestamp - // The repository commit that was pushed. - RepositoryCommit *v1alpha1.RepositoryCommit - // The repository that was pushed. - Repository *v1alpha1.Repository -} - -func (b0 RepositoryPushEvent_builder) Build() *RepositoryPushEvent { - m0 := &RepositoryPushEvent{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_EventTime = b.EventTime - x.xxx_hidden_RepositoryCommit = b.RepositoryCommit - x.xxx_hidden_Repository = b.Repository - return m0 -} - -var File_buf_alpha_webhook_v1alpha1_event_proto protoreflect.FileDescriptor - -var file_buf_alpha_webhook_v1alpha1_event_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x77, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x1a, 0x2c, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x33, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x01, 0x0a, 0x0c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x75, 0x0a, 0x0c, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x5a, 0x0a, 0x0f, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x70, 0x75, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x77, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x75, 0x73, 0x68, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x50, 0x75, 0x73, 0x68, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x22, 0x0f, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0xf5, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x50, 0x75, 0x73, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5a, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2d, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x10, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x12, 0x47, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x32, 0x6c, 0x0a, 0x0c, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x05, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x77, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x62, - 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x90, 0x02, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, - 0x62, 0x75, 0x66, 0x2e, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0a, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x57, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, - 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x3b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xa2, 0x02, 0x03, 0x42, 0x41, 0x57, 0xaa, 0x02, 0x1a, 0x42, 0x75, 0x66, 0x2e, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x56, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1a, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, - 0x5c, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xe2, 0x02, 0x26, 0x42, 0x75, 0x66, 0x5c, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x57, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x42, 0x75, 0x66, - 0x3a, 0x3a, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x3a, 0x3a, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_buf_alpha_webhook_v1alpha1_event_proto_goTypes = []any{ - (*EventRequest)(nil), // 0: buf.alpha.webhook.v1alpha1.EventRequest - (*EventPayload)(nil), // 1: buf.alpha.webhook.v1alpha1.EventPayload - (*EventResponse)(nil), // 2: buf.alpha.webhook.v1alpha1.EventResponse - (*RepositoryPushEvent)(nil), // 3: buf.alpha.webhook.v1alpha1.RepositoryPushEvent - (v1alpha1.WebhookEvent)(0), // 4: buf.alpha.registry.v1alpha1.WebhookEvent - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp - (*v1alpha1.RepositoryCommit)(nil), // 6: buf.alpha.registry.v1alpha1.RepositoryCommit - (*v1alpha1.Repository)(nil), // 7: buf.alpha.registry.v1alpha1.Repository -} -var file_buf_alpha_webhook_v1alpha1_event_proto_depIdxs = []int32{ - 4, // 0: buf.alpha.webhook.v1alpha1.EventRequest.event:type_name -> buf.alpha.registry.v1alpha1.WebhookEvent - 1, // 1: buf.alpha.webhook.v1alpha1.EventRequest.payload:type_name -> buf.alpha.webhook.v1alpha1.EventPayload - 3, // 2: buf.alpha.webhook.v1alpha1.EventPayload.repository_push:type_name -> buf.alpha.webhook.v1alpha1.RepositoryPushEvent - 5, // 3: buf.alpha.webhook.v1alpha1.RepositoryPushEvent.event_time:type_name -> google.protobuf.Timestamp - 6, // 4: buf.alpha.webhook.v1alpha1.RepositoryPushEvent.repository_commit:type_name -> buf.alpha.registry.v1alpha1.RepositoryCommit - 7, // 5: buf.alpha.webhook.v1alpha1.RepositoryPushEvent.repository:type_name -> buf.alpha.registry.v1alpha1.Repository - 0, // 6: buf.alpha.webhook.v1alpha1.EventService.Event:input_type -> buf.alpha.webhook.v1alpha1.EventRequest - 2, // 7: buf.alpha.webhook.v1alpha1.EventService.Event:output_type -> buf.alpha.webhook.v1alpha1.EventResponse - 7, // [7:8] is the sub-list for method output_type - 6, // [6:7] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_buf_alpha_webhook_v1alpha1_event_proto_init() } -func file_buf_alpha_webhook_v1alpha1_event_proto_init() { - if File_buf_alpha_webhook_v1alpha1_event_proto != nil { - return - } - file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes[1].OneofWrappers = []any{ - (*eventPayload_RepositoryPush)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_buf_alpha_webhook_v1alpha1_event_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_buf_alpha_webhook_v1alpha1_event_proto_goTypes, - DependencyIndexes: file_buf_alpha_webhook_v1alpha1_event_proto_depIdxs, - MessageInfos: file_buf_alpha_webhook_v1alpha1_event_proto_msgTypes, - }.Build() - File_buf_alpha_webhook_v1alpha1_event_proto = out.File - file_buf_alpha_webhook_v1alpha1_event_proto_rawDesc = nil - file_buf_alpha_webhook_v1alpha1_event_proto_goTypes = nil - file_buf_alpha_webhook_v1alpha1_event_proto_depIdxs = nil -} 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 11173db4e8..11b51d838b 100644 --- a/private/gen/proto/go/google/protobuf/cpp_features.pb.go +++ b/private/gen/proto/go/google/protobuf/cpp_features.pb.go @@ -18,8 +18,6 @@ // protoc (unknown) // source: google/protobuf/cpp_features.proto -//go:build !protoopaque - package protobuf import ( @@ -84,15 +82,13 @@ func (x CppFeatures_StringType) Number() protoreflect.EnumNumber { } type CppFeatures struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_LegacyClosedEnum bool `protobuf:"varint,1,opt,name=legacy_closed_enum,json=legacyClosedEnum" json:"legacy_closed_enum,omitempty"` + xxx_hidden_StringType CppFeatures_StringType `protobuf:"varint,2,opt,name=string_type,json=stringType,enum=pb.CppFeatures_StringType" json:"string_type,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CppFeatures) Reset() { @@ -121,47 +117,53 @@ func (x *CppFeatures) ProtoReflect() protoreflect.Message { } func (x *CppFeatures) GetLegacyClosedEnum() bool { - if x != nil && x.LegacyClosedEnum != nil { - return *x.LegacyClosedEnum + if x != nil { + return x.xxx_hidden_LegacyClosedEnum } return false } func (x *CppFeatures) GetStringType() CppFeatures_StringType { - if x != nil && x.StringType != nil { - return *x.StringType + if x != nil { + if protoimpl.X.Present(&(x.XXX_presence[0]), 1) { + return x.xxx_hidden_StringType + } } return CppFeatures_STRING_TYPE_UNKNOWN } func (x *CppFeatures) SetLegacyClosedEnum(v bool) { - x.LegacyClosedEnum = &v + x.xxx_hidden_LegacyClosedEnum = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 0, 2) } func (x *CppFeatures) SetStringType(v CppFeatures_StringType) { - x.StringType = &v + x.xxx_hidden_StringType = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 2) } func (x *CppFeatures) HasLegacyClosedEnum() bool { if x == nil { return false } - return x.LegacyClosedEnum != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 0) } func (x *CppFeatures) HasStringType() bool { if x == nil { return false } - return x.StringType != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 1) } func (x *CppFeatures) ClearLegacyClosedEnum() { - x.LegacyClosedEnum = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 0) + x.xxx_hidden_LegacyClosedEnum = false } func (x *CppFeatures) ClearStringType() { - x.StringType = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) + x.xxx_hidden_StringType = CppFeatures_STRING_TYPE_UNKNOWN } type CppFeatures_builder struct { @@ -179,8 +181,14 @@ func (b0 CppFeatures_builder) Build() *CppFeatures { m0 := &CppFeatures{} b, x := &b0, m0 _, _ = b, x - x.LegacyClosedEnum = b.LegacyClosedEnum - x.StringType = b.StringType + if b.LegacyClosedEnum != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 0, 2) + x.xxx_hidden_LegacyClosedEnum = *b.LegacyClosedEnum + } + if b.StringType != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 2) + x.xxx_hidden_StringType = *b.StringType + } return m0 } diff --git a/private/gen/proto/go/google/protobuf/cpp_features_protoopaque.pb.go b/private/gen/proto/go/google/protobuf/cpp_features_protoopaque.pb.go deleted file mode 100644 index fb741ed859..0000000000 --- a/private/gen/proto/go/google/protobuf/cpp_features_protoopaque.pb.go +++ /dev/null @@ -1,300 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: google/protobuf/cpp_features.proto - -//go:build protoopaque - -package protobuf - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type CppFeatures_StringType int32 - -const ( - CppFeatures_STRING_TYPE_UNKNOWN CppFeatures_StringType = 0 - CppFeatures_VIEW CppFeatures_StringType = 1 - CppFeatures_CORD CppFeatures_StringType = 2 - CppFeatures_STRING CppFeatures_StringType = 3 -) - -// Enum value maps for CppFeatures_StringType. -var ( - CppFeatures_StringType_name = map[int32]string{ - 0: "STRING_TYPE_UNKNOWN", - 1: "VIEW", - 2: "CORD", - 3: "STRING", - } - CppFeatures_StringType_value = map[string]int32{ - "STRING_TYPE_UNKNOWN": 0, - "VIEW": 1, - "CORD": 2, - "STRING": 3, - } -) - -func (x CppFeatures_StringType) Enum() *CppFeatures_StringType { - p := new(CppFeatures_StringType) - *p = x - return p -} - -func (x CppFeatures_StringType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CppFeatures_StringType) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_cpp_features_proto_enumTypes[0].Descriptor() -} - -func (CppFeatures_StringType) Type() protoreflect.EnumType { - return &file_google_protobuf_cpp_features_proto_enumTypes[0] -} - -func (x CppFeatures_StringType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type CppFeatures struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_LegacyClosedEnum bool `protobuf:"varint,1,opt,name=legacy_closed_enum,json=legacyClosedEnum" json:"legacy_closed_enum,omitempty"` - xxx_hidden_StringType CppFeatures_StringType `protobuf:"varint,2,opt,name=string_type,json=stringType,enum=pb.CppFeatures_StringType" json:"string_type,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CppFeatures) Reset() { - *x = CppFeatures{} - mi := &file_google_protobuf_cpp_features_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CppFeatures) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CppFeatures) ProtoMessage() {} - -func (x *CppFeatures) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_cpp_features_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *CppFeatures) GetLegacyClosedEnum() bool { - if x != nil { - return x.xxx_hidden_LegacyClosedEnum - } - return false -} - -func (x *CppFeatures) GetStringType() CppFeatures_StringType { - if x != nil { - if protoimpl.X.Present(&(x.XXX_presence[0]), 1) { - return x.xxx_hidden_StringType - } - } - return CppFeatures_STRING_TYPE_UNKNOWN -} - -func (x *CppFeatures) SetLegacyClosedEnum(v bool) { - x.xxx_hidden_LegacyClosedEnum = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 0, 2) -} - -func (x *CppFeatures) SetStringType(v CppFeatures_StringType) { - x.xxx_hidden_StringType = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 2) -} - -func (x *CppFeatures) HasLegacyClosedEnum() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 0) -} - -func (x *CppFeatures) HasStringType() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 1) -} - -func (x *CppFeatures) ClearLegacyClosedEnum() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 0) - x.xxx_hidden_LegacyClosedEnum = false -} - -func (x *CppFeatures) ClearStringType() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) - x.xxx_hidden_StringType = CppFeatures_STRING_TYPE_UNKNOWN -} - -type CppFeatures_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 - StringType *CppFeatures_StringType -} - -func (b0 CppFeatures_builder) Build() *CppFeatures { - m0 := &CppFeatures{} - b, x := &b0, m0 - _, _ = b, x - if b.LegacyClosedEnum != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 0, 2) - x.xxx_hidden_LegacyClosedEnum = *b.LegacyClosedEnum - } - if b.StringType != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 2) - x.xxx_hidden_StringType = *b.StringType - } - return m0 -} - -var file_google_protobuf_cpp_features_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.FeatureSet)(nil), - ExtensionType: (*CppFeatures)(nil), - Field: 1000, - Name: "pb.cpp", - Tag: "bytes,1000,opt,name=cpp", - Filename: "google/protobuf/cpp_features.proto", - }, -} - -// Extension fields to descriptorpb.FeatureSet. -var ( - // optional pb.CppFeatures cpp = 1000; - E_Cpp = &file_google_protobuf_cpp_features_proto_extTypes[0] -) - -var File_google_protobuf_cpp_features_proto protoreflect.FileDescriptor - -var file_google_protobuf_cpp_features_proto_rawDesc = []byte{ - 0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x63, 0x70, 0x70, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcc, 0x03, 0x0a, 0x0b, 0x43, - 0x70, 0x70, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x8d, 0x02, 0x0a, 0x12, 0x6c, - 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, - 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0xde, 0x01, 0x88, 0x01, 0x01, 0x98, 0x01, 0x04, - 0x98, 0x01, 0x01, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x74, 0x72, 0x75, 0x65, 0x18, 0xe6, 0x07, 0xa2, - 0x01, 0x0a, 0x12, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x18, 0xe7, 0x07, 0xb2, 0x01, 0xb8, 0x01, - 0x08, 0xe8, 0x07, 0x10, 0xe8, 0x07, 0x1a, 0xaf, 0x01, 0x54, 0x68, 0x65, 0x20, 0x6c, 0x65, 0x67, - 0x61, 0x63, 0x79, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x20, 0x65, 0x6e, 0x75, 0x6d, 0x20, - 0x74, 0x72, 0x65, 0x61, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x69, 0x6e, 0x20, 0x43, 0x2b, 0x2b, - 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x20, 0x61, - 0x6e, 0x64, 0x20, 0x69, 0x73, 0x20, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x20, - 0x74, 0x6f, 0x20, 0x62, 0x65, 0x20, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x20, 0x69, 0x6e, - 0x20, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x32, 0x30, 0x32, 0x35, 0x2e, 0x20, 0x20, - 0x4d, 0x61, 0x72, 0x6b, 0x20, 0x65, 0x6e, 0x75, 0x6d, 0x20, 0x74, 0x79, 0x70, 0x65, 0x20, 0x6f, - 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x65, 0x6e, 0x75, 0x6d, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x74, 0x68, 0x65, 0x6d, 0x73, 0x65, 0x6c, 0x76, 0x65, - 0x73, 0x20, 0x72, 0x61, 0x74, 0x68, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, 0x20, 0x6f, 0x6e, - 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x2e, 0x52, 0x10, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, - 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x66, 0x0a, 0x0b, 0x73, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x70, 0x70, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, - 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x42, 0x29, 0x88, 0x01, 0x01, - 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, - 0x47, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x56, 0x49, 0x45, 0x57, 0x18, 0xe9, 0x07, - 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0a, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x79, - 0x70, 0x65, 0x22, 0x45, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x56, 0x49, 0x45, - 0x57, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, 0x52, 0x44, 0x10, 0x02, 0x12, 0x0a, 0x0a, - 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x3a, 0x3f, 0x0a, 0x03, 0x63, 0x70, 0x70, - 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x18, 0xe8, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x70, 0x70, 0x46, 0x65, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x03, 0x63, 0x70, 0x70, -} - -var file_google_protobuf_cpp_features_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_google_protobuf_cpp_features_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_protobuf_cpp_features_proto_goTypes = []any{ - (CppFeatures_StringType)(0), // 0: pb.CppFeatures.StringType - (*CppFeatures)(nil), // 1: pb.CppFeatures - (*descriptorpb.FeatureSet)(nil), // 2: google.protobuf.FeatureSet -} -var file_google_protobuf_cpp_features_proto_depIdxs = []int32{ - 0, // 0: pb.CppFeatures.string_type:type_name -> pb.CppFeatures.StringType - 2, // 1: pb.cpp:extendee -> google.protobuf.FeatureSet - 1, // 2: pb.cpp:type_name -> pb.CppFeatures - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 2, // [2:3] is the sub-list for extension type_name - 1, // [1:2] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_google_protobuf_cpp_features_proto_init() } -func file_google_protobuf_cpp_features_proto_init() { - if File_google_protobuf_cpp_features_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_cpp_features_proto_rawDesc, - NumEnums: 1, - NumMessages: 1, - NumExtensions: 1, - NumServices: 0, - }, - GoTypes: file_google_protobuf_cpp_features_proto_goTypes, - DependencyIndexes: file_google_protobuf_cpp_features_proto_depIdxs, - EnumInfos: file_google_protobuf_cpp_features_proto_enumTypes, - MessageInfos: file_google_protobuf_cpp_features_proto_msgTypes, - ExtensionInfos: file_google_protobuf_cpp_features_proto_extTypes, - }.Build() - File_google_protobuf_cpp_features_proto = out.File - file_google_protobuf_cpp_features_proto_rawDesc = nil - file_google_protobuf_cpp_features_proto_goTypes = nil - file_google_protobuf_cpp_features_proto_depIdxs = nil -} 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 fb728981f4..b591f4a838 100644 --- a/private/gen/proto/go/google/protobuf/java_features.pb.go +++ b/private/gen/proto/go/google/protobuf/java_features.pb.go @@ -18,8 +18,6 @@ // protoc (unknown) // source: google/protobuf/java_features.proto -//go:build !protoopaque - package protobuf import ( @@ -88,15 +86,13 @@ func (x JavaFeatures_Utf8Validation) Number() protoreflect.EnumNumber { } type JavaFeatures struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_LegacyClosedEnum bool `protobuf:"varint,1,opt,name=legacy_closed_enum,json=legacyClosedEnum" json:"legacy_closed_enum,omitempty"` + xxx_hidden_Utf8Validation JavaFeatures_Utf8Validation `protobuf:"varint,2,opt,name=utf8_validation,json=utf8Validation,enum=pb.JavaFeatures_Utf8Validation" json:"utf8_validation,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JavaFeatures) Reset() { @@ -125,47 +121,53 @@ func (x *JavaFeatures) ProtoReflect() protoreflect.Message { } func (x *JavaFeatures) GetLegacyClosedEnum() bool { - if x != nil && x.LegacyClosedEnum != nil { - return *x.LegacyClosedEnum + if x != nil { + return x.xxx_hidden_LegacyClosedEnum } return false } func (x *JavaFeatures) GetUtf8Validation() JavaFeatures_Utf8Validation { - if x != nil && x.Utf8Validation != nil { - return *x.Utf8Validation + if x != nil { + if protoimpl.X.Present(&(x.XXX_presence[0]), 1) { + return x.xxx_hidden_Utf8Validation + } } return JavaFeatures_UTF8_VALIDATION_UNKNOWN } func (x *JavaFeatures) SetLegacyClosedEnum(v bool) { - x.LegacyClosedEnum = &v + x.xxx_hidden_LegacyClosedEnum = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 0, 2) } func (x *JavaFeatures) SetUtf8Validation(v JavaFeatures_Utf8Validation) { - x.Utf8Validation = &v + x.xxx_hidden_Utf8Validation = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 2) } func (x *JavaFeatures) HasLegacyClosedEnum() bool { if x == nil { return false } - return x.LegacyClosedEnum != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 0) } func (x *JavaFeatures) HasUtf8Validation() bool { if x == nil { return false } - return x.Utf8Validation != nil + return protoimpl.X.Present(&(x.XXX_presence[0]), 1) } func (x *JavaFeatures) ClearLegacyClosedEnum() { - x.LegacyClosedEnum = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 0) + x.xxx_hidden_LegacyClosedEnum = false } func (x *JavaFeatures) ClearUtf8Validation() { - x.Utf8Validation = nil + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) + x.xxx_hidden_Utf8Validation = JavaFeatures_UTF8_VALIDATION_UNKNOWN } type JavaFeatures_builder struct { @@ -183,8 +185,14 @@ func (b0 JavaFeatures_builder) Build() *JavaFeatures { m0 := &JavaFeatures{} b, x := &b0, m0 _, _ = b, x - x.LegacyClosedEnum = b.LegacyClosedEnum - x.Utf8Validation = b.Utf8Validation + if b.LegacyClosedEnum != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 0, 2) + x.xxx_hidden_LegacyClosedEnum = *b.LegacyClosedEnum + } + if b.Utf8Validation != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 2) + x.xxx_hidden_Utf8Validation = *b.Utf8Validation + } return m0 } diff --git a/private/gen/proto/go/google/protobuf/java_features_protoopaque.pb.go b/private/gen/proto/go/google/protobuf/java_features_protoopaque.pb.go deleted file mode 100644 index 20a7e9781e..0000000000 --- a/private/gen/proto/go/google/protobuf/java_features_protoopaque.pb.go +++ /dev/null @@ -1,320 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: google/protobuf/java_features.proto - -//go:build protoopaque - -package protobuf - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// The UTF8 validation strategy to use. See go/editions-utf8-validation for -// more information on this feature. -type JavaFeatures_Utf8Validation int32 - -const ( - // Invalid default, which should never be used. - JavaFeatures_UTF8_VALIDATION_UNKNOWN JavaFeatures_Utf8Validation = 0 - // Respect the UTF8 validation behavior specified by the global - // utf8_validation feature. - JavaFeatures_DEFAULT JavaFeatures_Utf8Validation = 1 - // Verifies UTF8 validity overriding the global utf8_validation - // feature. This represents the legacy java_string_check_utf8 option. - JavaFeatures_VERIFY JavaFeatures_Utf8Validation = 2 -) - -// Enum value maps for JavaFeatures_Utf8Validation. -var ( - JavaFeatures_Utf8Validation_name = map[int32]string{ - 0: "UTF8_VALIDATION_UNKNOWN", - 1: "DEFAULT", - 2: "VERIFY", - } - JavaFeatures_Utf8Validation_value = map[string]int32{ - "UTF8_VALIDATION_UNKNOWN": 0, - "DEFAULT": 1, - "VERIFY": 2, - } -) - -func (x JavaFeatures_Utf8Validation) Enum() *JavaFeatures_Utf8Validation { - p := new(JavaFeatures_Utf8Validation) - *p = x - return p -} - -func (x JavaFeatures_Utf8Validation) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (JavaFeatures_Utf8Validation) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_java_features_proto_enumTypes[0].Descriptor() -} - -func (JavaFeatures_Utf8Validation) Type() protoreflect.EnumType { - return &file_google_protobuf_java_features_proto_enumTypes[0] -} - -func (x JavaFeatures_Utf8Validation) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -type JavaFeatures struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_LegacyClosedEnum bool `protobuf:"varint,1,opt,name=legacy_closed_enum,json=legacyClosedEnum" json:"legacy_closed_enum,omitempty"` - xxx_hidden_Utf8Validation JavaFeatures_Utf8Validation `protobuf:"varint,2,opt,name=utf8_validation,json=utf8Validation,enum=pb.JavaFeatures_Utf8Validation" json:"utf8_validation,omitempty"` - XXX_raceDetectHookData protoimpl.RaceDetectHookData - XXX_presence [1]uint32 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *JavaFeatures) Reset() { - *x = JavaFeatures{} - mi := &file_google_protobuf_java_features_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *JavaFeatures) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*JavaFeatures) ProtoMessage() {} - -func (x *JavaFeatures) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_java_features_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *JavaFeatures) GetLegacyClosedEnum() bool { - if x != nil { - return x.xxx_hidden_LegacyClosedEnum - } - return false -} - -func (x *JavaFeatures) GetUtf8Validation() JavaFeatures_Utf8Validation { - if x != nil { - if protoimpl.X.Present(&(x.XXX_presence[0]), 1) { - return x.xxx_hidden_Utf8Validation - } - } - return JavaFeatures_UTF8_VALIDATION_UNKNOWN -} - -func (x *JavaFeatures) SetLegacyClosedEnum(v bool) { - x.xxx_hidden_LegacyClosedEnum = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 0, 2) -} - -func (x *JavaFeatures) SetUtf8Validation(v JavaFeatures_Utf8Validation) { - x.xxx_hidden_Utf8Validation = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 1, 2) -} - -func (x *JavaFeatures) HasLegacyClosedEnum() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 0) -} - -func (x *JavaFeatures) HasUtf8Validation() bool { - if x == nil { - return false - } - return protoimpl.X.Present(&(x.XXX_presence[0]), 1) -} - -func (x *JavaFeatures) ClearLegacyClosedEnum() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 0) - x.xxx_hidden_LegacyClosedEnum = false -} - -func (x *JavaFeatures) ClearUtf8Validation() { - protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 1) - x.xxx_hidden_Utf8Validation = JavaFeatures_UTF8_VALIDATION_UNKNOWN -} - -type JavaFeatures_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // 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 - Utf8Validation *JavaFeatures_Utf8Validation -} - -func (b0 JavaFeatures_builder) Build() *JavaFeatures { - m0 := &JavaFeatures{} - b, x := &b0, m0 - _, _ = b, x - if b.LegacyClosedEnum != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 0, 2) - x.xxx_hidden_LegacyClosedEnum = *b.LegacyClosedEnum - } - if b.Utf8Validation != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 1, 2) - x.xxx_hidden_Utf8Validation = *b.Utf8Validation - } - return m0 -} - -var file_google_protobuf_java_features_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.FeatureSet)(nil), - ExtensionType: (*JavaFeatures)(nil), - Field: 1001, - Name: "pb.java", - Tag: "bytes,1001,opt,name=java", - Filename: "google/protobuf/java_features.proto", - }, -} - -// Extension fields to descriptorpb.FeatureSet. -var ( - // optional pb.JavaFeatures java = 1001; - E_Java = &file_google_protobuf_java_features_proto_extTypes[0] -) - -var File_google_protobuf_java_features_proto protoreflect.FileDescriptor - -var file_google_protobuf_java_features_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x99, 0x05, 0x0a, 0x0c, - 0x4a, 0x61, 0x76, 0x61, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x8e, 0x02, 0x0a, - 0x12, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x65, - 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0xdf, 0x01, 0x88, 0x01, 0x01, 0x98, - 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x74, 0x72, 0x75, 0x65, 0x18, 0xe6, - 0x07, 0xa2, 0x01, 0x0a, 0x12, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x18, 0xe7, 0x07, 0xb2, 0x01, - 0xb9, 0x01, 0x08, 0xe8, 0x07, 0x10, 0xe8, 0x07, 0x1a, 0xb0, 0x01, 0x54, 0x68, 0x65, 0x20, 0x6c, - 0x65, 0x67, 0x61, 0x63, 0x79, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x20, 0x65, 0x6e, 0x75, - 0x6d, 0x20, 0x74, 0x72, 0x65, 0x61, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x69, 0x6e, 0x20, 0x4a, - 0x61, 0x76, 0x61, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x69, 0x73, 0x20, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, - 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x62, 0x65, 0x20, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, - 0x20, 0x69, 0x6e, 0x20, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x32, 0x30, 0x32, 0x35, - 0x2e, 0x20, 0x20, 0x4d, 0x61, 0x72, 0x6b, 0x20, 0x65, 0x6e, 0x75, 0x6d, 0x20, 0x74, 0x79, 0x70, - 0x65, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x65, 0x6e, 0x75, 0x6d, 0x20, 0x64, 0x65, - 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x74, 0x68, 0x65, 0x6d, 0x73, 0x65, - 0x6c, 0x76, 0x65, 0x73, 0x20, 0x72, 0x61, 0x74, 0x68, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, - 0x20, 0x6f, 0x6e, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x2e, 0x52, 0x10, 0x6c, 0x65, 0x67, - 0x61, 0x63, 0x79, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0xaf, 0x02, - 0x0a, 0x0f, 0x75, 0x74, 0x66, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4a, 0x61, 0x76, - 0x61, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x55, 0x74, 0x66, 0x38, 0x56, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xe4, 0x01, 0x88, 0x01, 0x01, 0x98, 0x01, - 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0c, 0x12, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, - 0x18, 0xe6, 0x07, 0xb2, 0x01, 0xc8, 0x01, 0x08, 0xe8, 0x07, 0x10, 0xe8, 0x07, 0x1a, 0xbf, 0x01, - 0x54, 0x68, 0x65, 0x20, 0x4a, 0x61, 0x76, 0x61, 0x2d, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, - 0x63, 0x20, 0x75, 0x74, 0x66, 0x38, 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x20, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x70, - 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x69, 0x73, 0x20, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x62, 0x65, 0x20, 0x72, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x20, 0x69, 0x6e, 0x20, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x20, 0x32, 0x30, 0x32, 0x35, 0x2e, 0x20, 0x20, 0x55, 0x74, 0x66, 0x38, 0x20, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, - 0x72, 0x20, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x20, 0x75, 0x73, 0x65, 0x20, 0x74, 0x68, 0x65, - 0x20, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x20, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x2d, 0x6c, 0x61, - 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x20, 0x75, 0x74, 0x66, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x52, - 0x0e, 0x75, 0x74, 0x66, 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x46, 0x0a, 0x0e, 0x55, 0x74, 0x66, 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x54, 0x46, 0x38, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, - 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x56, - 0x45, 0x52, 0x49, 0x46, 0x59, 0x10, 0x02, 0x3a, 0x42, 0x0a, 0x04, 0x6a, 0x61, 0x76, 0x61, 0x12, - 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x18, 0xe9, 0x07, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x4a, 0x61, 0x76, 0x61, 0x46, 0x65, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x04, 0x6a, 0x61, 0x76, 0x61, 0x42, 0x28, 0x0a, 0x13, 0x63, - 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x42, 0x11, 0x4a, 0x61, 0x76, 0x61, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, - 0x50, 0x72, 0x6f, 0x74, 0x6f, -} - -var file_google_protobuf_java_features_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_google_protobuf_java_features_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_protobuf_java_features_proto_goTypes = []any{ - (JavaFeatures_Utf8Validation)(0), // 0: pb.JavaFeatures.Utf8Validation - (*JavaFeatures)(nil), // 1: pb.JavaFeatures - (*descriptorpb.FeatureSet)(nil), // 2: google.protobuf.FeatureSet -} -var file_google_protobuf_java_features_proto_depIdxs = []int32{ - 0, // 0: pb.JavaFeatures.utf8_validation:type_name -> pb.JavaFeatures.Utf8Validation - 2, // 1: pb.java:extendee -> google.protobuf.FeatureSet - 1, // 2: pb.java:type_name -> pb.JavaFeatures - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 2, // [2:3] is the sub-list for extension type_name - 1, // [1:2] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_google_protobuf_java_features_proto_init() } -func file_google_protobuf_java_features_proto_init() { - if File_google_protobuf_java_features_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_java_features_proto_rawDesc, - NumEnums: 1, - NumMessages: 1, - NumExtensions: 1, - NumServices: 0, - }, - GoTypes: file_google_protobuf_java_features_proto_goTypes, - DependencyIndexes: file_google_protobuf_java_features_proto_depIdxs, - EnumInfos: file_google_protobuf_java_features_proto_enumTypes, - MessageInfos: file_google_protobuf_java_features_proto_msgTypes, - ExtensionInfos: file_google_protobuf_java_features_proto_extTypes, - }.Build() - File_google_protobuf_java_features_proto = out.File - file_google_protobuf_java_features_proto_rawDesc = nil - file_google_protobuf_java_features_proto_goTypes = nil - file_google_protobuf_java_features_proto_depIdxs = nil -} 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 d3e0bdaf96..470e28e821 100644 --- a/private/gen/proto/go/grpc/reflection/v1/reflection.pb.go +++ b/private/gen/proto/go/grpc/reflection/v1/reflection.pb.go @@ -25,8 +25,6 @@ // protoc (unknown) // source: grpc/reflection/v1/reflection.proto -//go:build !protoopaque - package reflectionv1 import ( @@ -44,22 +42,11 @@ const ( // The message sent by the client when calling ServerReflectionInfo method. type ServerReflectionRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 valid to be assigned to MessageRequest: - // - // *ServerReflectionRequest_FileByFilename - // *ServerReflectionRequest_FileContainingSymbol - // *ServerReflectionRequest_FileContainingExtension - // *ServerReflectionRequest_AllExtensionNumbersOfType - // *ServerReflectionRequest_ListServices - MessageRequest isServerReflectionRequest_MessageRequest `protobuf_oneof:"message_request"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + xxx_hidden_MessageRequest isServerReflectionRequest_MessageRequest `protobuf_oneof:"message_request"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerReflectionRequest) Reset() { @@ -89,21 +76,14 @@ func (x *ServerReflectionRequest) ProtoReflect() protoreflect.Message { func (x *ServerReflectionRequest) GetHost() string { if x != nil { - return x.Host + return x.xxx_hidden_Host } return "" } -func (x *ServerReflectionRequest) GetMessageRequest() isServerReflectionRequest_MessageRequest { - if x != nil { - return x.MessageRequest - } - return nil -} - func (x *ServerReflectionRequest) GetFileByFilename() string { if x != nil { - if x, ok := x.MessageRequest.(*ServerReflectionRequest_FileByFilename); ok { + if x, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileByFilename); ok { return x.FileByFilename } } @@ -112,7 +92,7 @@ func (x *ServerReflectionRequest) GetFileByFilename() string { func (x *ServerReflectionRequest) GetFileContainingSymbol() string { if x != nil { - if x, ok := x.MessageRequest.(*ServerReflectionRequest_FileContainingSymbol); ok { + if x, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileContainingSymbol); ok { return x.FileContainingSymbol } } @@ -121,7 +101,7 @@ func (x *ServerReflectionRequest) GetFileContainingSymbol() string { func (x *ServerReflectionRequest) GetFileContainingExtension() *ExtensionRequest { if x != nil { - if x, ok := x.MessageRequest.(*ServerReflectionRequest_FileContainingExtension); ok { + if x, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileContainingExtension); ok { return x.FileContainingExtension } } @@ -130,7 +110,7 @@ func (x *ServerReflectionRequest) GetFileContainingExtension() *ExtensionRequest func (x *ServerReflectionRequest) GetAllExtensionNumbersOfType() string { if x != nil { - if x, ok := x.MessageRequest.(*ServerReflectionRequest_AllExtensionNumbersOfType); ok { + if x, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_AllExtensionNumbersOfType); ok { return x.AllExtensionNumbersOfType } } @@ -139,7 +119,7 @@ func (x *ServerReflectionRequest) GetAllExtensionNumbersOfType() string { func (x *ServerReflectionRequest) GetListServices() string { if x != nil { - if x, ok := x.MessageRequest.(*ServerReflectionRequest_ListServices); ok { + if x, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_ListServices); ok { return x.ListServices } } @@ -147,45 +127,45 @@ func (x *ServerReflectionRequest) GetListServices() string { } func (x *ServerReflectionRequest) SetHost(v string) { - x.Host = v + x.xxx_hidden_Host = v } func (x *ServerReflectionRequest) SetFileByFilename(v string) { - x.MessageRequest = &ServerReflectionRequest_FileByFilename{v} + x.xxx_hidden_MessageRequest = &serverReflectionRequest_FileByFilename{v} } func (x *ServerReflectionRequest) SetFileContainingSymbol(v string) { - x.MessageRequest = &ServerReflectionRequest_FileContainingSymbol{v} + x.xxx_hidden_MessageRequest = &serverReflectionRequest_FileContainingSymbol{v} } func (x *ServerReflectionRequest) SetFileContainingExtension(v *ExtensionRequest) { if v == nil { - x.MessageRequest = nil + x.xxx_hidden_MessageRequest = nil return } - x.MessageRequest = &ServerReflectionRequest_FileContainingExtension{v} + x.xxx_hidden_MessageRequest = &serverReflectionRequest_FileContainingExtension{v} } func (x *ServerReflectionRequest) SetAllExtensionNumbersOfType(v string) { - x.MessageRequest = &ServerReflectionRequest_AllExtensionNumbersOfType{v} + x.xxx_hidden_MessageRequest = &serverReflectionRequest_AllExtensionNumbersOfType{v} } func (x *ServerReflectionRequest) SetListServices(v string) { - x.MessageRequest = &ServerReflectionRequest_ListServices{v} + x.xxx_hidden_MessageRequest = &serverReflectionRequest_ListServices{v} } func (x *ServerReflectionRequest) HasMessageRequest() bool { if x == nil { return false } - return x.MessageRequest != nil + return x.xxx_hidden_MessageRequest != nil } func (x *ServerReflectionRequest) HasFileByFilename() bool { if x == nil { return false } - _, ok := x.MessageRequest.(*ServerReflectionRequest_FileByFilename) + _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileByFilename) return ok } @@ -193,7 +173,7 @@ func (x *ServerReflectionRequest) HasFileContainingSymbol() bool { if x == nil { return false } - _, ok := x.MessageRequest.(*ServerReflectionRequest_FileContainingSymbol) + _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileContainingSymbol) return ok } @@ -201,7 +181,7 @@ func (x *ServerReflectionRequest) HasFileContainingExtension() bool { if x == nil { return false } - _, ok := x.MessageRequest.(*ServerReflectionRequest_FileContainingExtension) + _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileContainingExtension) return ok } @@ -209,7 +189,7 @@ func (x *ServerReflectionRequest) HasAllExtensionNumbersOfType() bool { if x == nil { return false } - _, ok := x.MessageRequest.(*ServerReflectionRequest_AllExtensionNumbersOfType) + _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_AllExtensionNumbersOfType) return ok } @@ -217,41 +197,41 @@ func (x *ServerReflectionRequest) HasListServices() bool { if x == nil { return false } - _, ok := x.MessageRequest.(*ServerReflectionRequest_ListServices) + _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_ListServices) return ok } func (x *ServerReflectionRequest) ClearMessageRequest() { - x.MessageRequest = nil + x.xxx_hidden_MessageRequest = nil } func (x *ServerReflectionRequest) ClearFileByFilename() { - if _, ok := x.MessageRequest.(*ServerReflectionRequest_FileByFilename); ok { - x.MessageRequest = nil + if _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileByFilename); ok { + x.xxx_hidden_MessageRequest = nil } } func (x *ServerReflectionRequest) ClearFileContainingSymbol() { - if _, ok := x.MessageRequest.(*ServerReflectionRequest_FileContainingSymbol); ok { - x.MessageRequest = nil + if _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileContainingSymbol); ok { + x.xxx_hidden_MessageRequest = nil } } func (x *ServerReflectionRequest) ClearFileContainingExtension() { - if _, ok := x.MessageRequest.(*ServerReflectionRequest_FileContainingExtension); ok { - x.MessageRequest = nil + if _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileContainingExtension); ok { + x.xxx_hidden_MessageRequest = nil } } func (x *ServerReflectionRequest) ClearAllExtensionNumbersOfType() { - if _, ok := x.MessageRequest.(*ServerReflectionRequest_AllExtensionNumbersOfType); ok { - x.MessageRequest = nil + if _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_AllExtensionNumbersOfType); ok { + x.xxx_hidden_MessageRequest = nil } } func (x *ServerReflectionRequest) ClearListServices() { - if _, ok := x.MessageRequest.(*ServerReflectionRequest_ListServices); ok { - x.MessageRequest = nil + if _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_ListServices); ok { + x.xxx_hidden_MessageRequest = nil } } @@ -266,16 +246,16 @@ func (x *ServerReflectionRequest) WhichMessageRequest() case_ServerReflectionReq if x == nil { return ServerReflectionRequest_MessageRequest_not_set_case } - switch x.MessageRequest.(type) { - case *ServerReflectionRequest_FileByFilename: + switch x.xxx_hidden_MessageRequest.(type) { + case *serverReflectionRequest_FileByFilename: return ServerReflectionRequest_FileByFilename_case - case *ServerReflectionRequest_FileContainingSymbol: + case *serverReflectionRequest_FileContainingSymbol: return ServerReflectionRequest_FileContainingSymbol_case - case *ServerReflectionRequest_FileContainingExtension: + case *serverReflectionRequest_FileContainingExtension: return ServerReflectionRequest_FileContainingExtension_case - case *ServerReflectionRequest_AllExtensionNumbersOfType: + case *serverReflectionRequest_AllExtensionNumbersOfType: return ServerReflectionRequest_AllExtensionNumbersOfType_case - case *ServerReflectionRequest_ListServices: + case *serverReflectionRequest_ListServices: return ServerReflectionRequest_ListServices_case default: return ServerReflectionRequest_MessageRequest_not_set_case @@ -290,7 +270,7 @@ type ServerReflectionRequest_builder struct { // fields in message_request. The server distinguishes requests by their // defined field and then handles them using corresponding methods. - // Fields of oneof MessageRequest: + // Fields of oneof xxx_hidden_MessageRequest: // Find a proto file by the file name. FileByFilename *string // Find the proto file that declares the given fully-qualified symbol name. @@ -312,28 +292,28 @@ type ServerReflectionRequest_builder struct { // List the full names of registered services. The content will not be // checked. ListServices *string - // -- end of MessageRequest + // -- end of xxx_hidden_MessageRequest } func (b0 ServerReflectionRequest_builder) Build() *ServerReflectionRequest { m0 := &ServerReflectionRequest{} b, x := &b0, m0 _, _ = b, x - x.Host = b.Host + x.xxx_hidden_Host = b.Host if b.FileByFilename != nil { - x.MessageRequest = &ServerReflectionRequest_FileByFilename{*b.FileByFilename} + x.xxx_hidden_MessageRequest = &serverReflectionRequest_FileByFilename{*b.FileByFilename} } if b.FileContainingSymbol != nil { - x.MessageRequest = &ServerReflectionRequest_FileContainingSymbol{*b.FileContainingSymbol} + x.xxx_hidden_MessageRequest = &serverReflectionRequest_FileContainingSymbol{*b.FileContainingSymbol} } if b.FileContainingExtension != nil { - x.MessageRequest = &ServerReflectionRequest_FileContainingExtension{b.FileContainingExtension} + x.xxx_hidden_MessageRequest = &serverReflectionRequest_FileContainingExtension{b.FileContainingExtension} } if b.AllExtensionNumbersOfType != nil { - x.MessageRequest = &ServerReflectionRequest_AllExtensionNumbersOfType{*b.AllExtensionNumbersOfType} + x.xxx_hidden_MessageRequest = &serverReflectionRequest_AllExtensionNumbersOfType{*b.AllExtensionNumbersOfType} } if b.ListServices != nil { - x.MessageRequest = &ServerReflectionRequest_ListServices{*b.ListServices} + x.xxx_hidden_MessageRequest = &serverReflectionRequest_ListServices{*b.ListServices} } return m0 } @@ -352,25 +332,25 @@ type isServerReflectionRequest_MessageRequest interface { isServerReflectionRequest_MessageRequest() } -type ServerReflectionRequest_FileByFilename struct { +type serverReflectionRequest_FileByFilename struct { // Find a proto file by the file name. FileByFilename string `protobuf:"bytes,3,opt,name=file_by_filename,json=fileByFilename,proto3,oneof"` } -type ServerReflectionRequest_FileContainingSymbol struct { +type serverReflectionRequest_FileContainingSymbol struct { // Find the proto file that declares the given fully-qualified symbol name. // This field should be a fully-qualified symbol name // (e.g. .[.] or .). FileContainingSymbol string `protobuf:"bytes,4,opt,name=file_containing_symbol,json=fileContainingSymbol,proto3,oneof"` } -type ServerReflectionRequest_FileContainingExtension struct { +type serverReflectionRequest_FileContainingExtension struct { // Find the proto file which defines an extension extending the given // message type with the given field number. FileContainingExtension *ExtensionRequest `protobuf:"bytes,5,opt,name=file_containing_extension,json=fileContainingExtension,proto3,oneof"` } -type ServerReflectionRequest_AllExtensionNumbersOfType struct { +type serverReflectionRequest_AllExtensionNumbersOfType struct { // Finds the tag numbers used by all known extensions of the given message // type, and appends them to ExtensionNumberResponse in an undefined order. // Its corresponding method is best-effort: it's not guaranteed that the @@ -382,32 +362,31 @@ type ServerReflectionRequest_AllExtensionNumbersOfType struct { AllExtensionNumbersOfType string `protobuf:"bytes,6,opt,name=all_extension_numbers_of_type,json=allExtensionNumbersOfType,proto3,oneof"` } -type ServerReflectionRequest_ListServices struct { +type serverReflectionRequest_ListServices struct { // List the full names of registered services. The content will not be // checked. ListServices string `protobuf:"bytes,7,opt,name=list_services,json=listServices,proto3,oneof"` } -func (*ServerReflectionRequest_FileByFilename) isServerReflectionRequest_MessageRequest() {} +func (*serverReflectionRequest_FileByFilename) isServerReflectionRequest_MessageRequest() {} -func (*ServerReflectionRequest_FileContainingSymbol) isServerReflectionRequest_MessageRequest() {} +func (*serverReflectionRequest_FileContainingSymbol) isServerReflectionRequest_MessageRequest() {} -func (*ServerReflectionRequest_FileContainingExtension) isServerReflectionRequest_MessageRequest() {} +func (*serverReflectionRequest_FileContainingExtension) isServerReflectionRequest_MessageRequest() {} -func (*ServerReflectionRequest_AllExtensionNumbersOfType) isServerReflectionRequest_MessageRequest() { +func (*serverReflectionRequest_AllExtensionNumbersOfType) isServerReflectionRequest_MessageRequest() { } -func (*ServerReflectionRequest_ListServices) isServerReflectionRequest_MessageRequest() {} +func (*serverReflectionRequest_ListServices) isServerReflectionRequest_MessageRequest() {} // The type name and extension number sent by the client when requesting // file_containing_extension. type ExtensionRequest struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_ContainingType string `protobuf:"bytes,1,opt,name=containing_type,json=containingType,proto3" json:"containing_type,omitempty"` + xxx_hidden_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() { @@ -437,24 +416,24 @@ func (x *ExtensionRequest) ProtoReflect() protoreflect.Message { func (x *ExtensionRequest) GetContainingType() string { if x != nil { - return x.ContainingType + return x.xxx_hidden_ContainingType } return "" } func (x *ExtensionRequest) GetExtensionNumber() int32 { if x != nil { - return x.ExtensionNumber + return x.xxx_hidden_ExtensionNumber } return 0 } func (x *ExtensionRequest) SetContainingType(v string) { - x.ContainingType = v + x.xxx_hidden_ContainingType = v } func (x *ExtensionRequest) SetExtensionNumber(v int32) { - x.ExtensionNumber = v + x.xxx_hidden_ExtensionNumber = v } type ExtensionRequest_builder struct { @@ -469,28 +448,19 @@ func (b0 ExtensionRequest_builder) Build() *ExtensionRequest { m0 := &ExtensionRequest{} b, x := &b0, m0 _, _ = b, x - x.ContainingType = b.ContainingType - x.ExtensionNumber = b.ExtensionNumber + x.xxx_hidden_ContainingType = b.ContainingType + x.xxx_hidden_ExtensionNumber = b.ExtensionNumber return m0 } // The message sent by the server to answer ServerReflectionInfo method. type ServerReflectionResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_ValidHost string `protobuf:"bytes,1,opt,name=valid_host,json=validHost,proto3" json:"valid_host,omitempty"` + xxx_hidden_OriginalRequest *ServerReflectionRequest `protobuf:"bytes,2,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` + xxx_hidden_MessageResponse isServerReflectionResponse_MessageResponse `protobuf_oneof:"message_response"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerReflectionResponse) Reset() { @@ -520,28 +490,21 @@ func (x *ServerReflectionResponse) ProtoReflect() protoreflect.Message { func (x *ServerReflectionResponse) GetValidHost() string { if x != nil { - return x.ValidHost + return x.xxx_hidden_ValidHost } return "" } func (x *ServerReflectionResponse) GetOriginalRequest() *ServerReflectionRequest { if x != nil { - return x.OriginalRequest - } - return nil -} - -func (x *ServerReflectionResponse) GetMessageResponse() isServerReflectionResponse_MessageResponse { - if x != nil { - return x.MessageResponse + return x.xxx_hidden_OriginalRequest } return nil } func (x *ServerReflectionResponse) GetFileDescriptorResponse() *FileDescriptorResponse { if x != nil { - if x, ok := x.MessageResponse.(*ServerReflectionResponse_FileDescriptorResponse); ok { + if x, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_FileDescriptorResponse); ok { return x.FileDescriptorResponse } } @@ -550,7 +513,7 @@ func (x *ServerReflectionResponse) GetFileDescriptorResponse() *FileDescriptorRe func (x *ServerReflectionResponse) GetAllExtensionNumbersResponse() *ExtensionNumberResponse { if x != nil { - if x, ok := x.MessageResponse.(*ServerReflectionResponse_AllExtensionNumbersResponse); ok { + if x, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_AllExtensionNumbersResponse); ok { return x.AllExtensionNumbersResponse } } @@ -559,7 +522,7 @@ func (x *ServerReflectionResponse) GetAllExtensionNumbersResponse() *ExtensionNu func (x *ServerReflectionResponse) GetListServicesResponse() *ListServiceResponse { if x != nil { - if x, ok := x.MessageResponse.(*ServerReflectionResponse_ListServicesResponse); ok { + if x, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_ListServicesResponse); ok { return x.ListServicesResponse } } @@ -568,7 +531,7 @@ func (x *ServerReflectionResponse) GetListServicesResponse() *ListServiceRespons func (x *ServerReflectionResponse) GetErrorResponse() *ErrorResponse { if x != nil { - if x, ok := x.MessageResponse.(*ServerReflectionResponse_ErrorResponse); ok { + if x, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_ErrorResponse); ok { return x.ErrorResponse } } @@ -576,64 +539,64 @@ func (x *ServerReflectionResponse) GetErrorResponse() *ErrorResponse { } func (x *ServerReflectionResponse) SetValidHost(v string) { - x.ValidHost = v + x.xxx_hidden_ValidHost = v } func (x *ServerReflectionResponse) SetOriginalRequest(v *ServerReflectionRequest) { - x.OriginalRequest = v + x.xxx_hidden_OriginalRequest = v } func (x *ServerReflectionResponse) SetFileDescriptorResponse(v *FileDescriptorResponse) { if v == nil { - x.MessageResponse = nil + x.xxx_hidden_MessageResponse = nil return } - x.MessageResponse = &ServerReflectionResponse_FileDescriptorResponse{v} + x.xxx_hidden_MessageResponse = &serverReflectionResponse_FileDescriptorResponse{v} } func (x *ServerReflectionResponse) SetAllExtensionNumbersResponse(v *ExtensionNumberResponse) { if v == nil { - x.MessageResponse = nil + x.xxx_hidden_MessageResponse = nil return } - x.MessageResponse = &ServerReflectionResponse_AllExtensionNumbersResponse{v} + x.xxx_hidden_MessageResponse = &serverReflectionResponse_AllExtensionNumbersResponse{v} } func (x *ServerReflectionResponse) SetListServicesResponse(v *ListServiceResponse) { if v == nil { - x.MessageResponse = nil + x.xxx_hidden_MessageResponse = nil return } - x.MessageResponse = &ServerReflectionResponse_ListServicesResponse{v} + x.xxx_hidden_MessageResponse = &serverReflectionResponse_ListServicesResponse{v} } func (x *ServerReflectionResponse) SetErrorResponse(v *ErrorResponse) { if v == nil { - x.MessageResponse = nil + x.xxx_hidden_MessageResponse = nil return } - x.MessageResponse = &ServerReflectionResponse_ErrorResponse{v} + x.xxx_hidden_MessageResponse = &serverReflectionResponse_ErrorResponse{v} } func (x *ServerReflectionResponse) HasOriginalRequest() bool { if x == nil { return false } - return x.OriginalRequest != nil + return x.xxx_hidden_OriginalRequest != nil } func (x *ServerReflectionResponse) HasMessageResponse() bool { if x == nil { return false } - return x.MessageResponse != nil + return x.xxx_hidden_MessageResponse != nil } func (x *ServerReflectionResponse) HasFileDescriptorResponse() bool { if x == nil { return false } - _, ok := x.MessageResponse.(*ServerReflectionResponse_FileDescriptorResponse) + _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_FileDescriptorResponse) return ok } @@ -641,7 +604,7 @@ func (x *ServerReflectionResponse) HasAllExtensionNumbersResponse() bool { if x == nil { return false } - _, ok := x.MessageResponse.(*ServerReflectionResponse_AllExtensionNumbersResponse) + _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_AllExtensionNumbersResponse) return ok } @@ -649,7 +612,7 @@ func (x *ServerReflectionResponse) HasListServicesResponse() bool { if x == nil { return false } - _, ok := x.MessageResponse.(*ServerReflectionResponse_ListServicesResponse) + _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_ListServicesResponse) return ok } @@ -657,39 +620,39 @@ func (x *ServerReflectionResponse) HasErrorResponse() bool { if x == nil { return false } - _, ok := x.MessageResponse.(*ServerReflectionResponse_ErrorResponse) + _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_ErrorResponse) return ok } func (x *ServerReflectionResponse) ClearOriginalRequest() { - x.OriginalRequest = nil + x.xxx_hidden_OriginalRequest = nil } func (x *ServerReflectionResponse) ClearMessageResponse() { - x.MessageResponse = nil + x.xxx_hidden_MessageResponse = nil } func (x *ServerReflectionResponse) ClearFileDescriptorResponse() { - if _, ok := x.MessageResponse.(*ServerReflectionResponse_FileDescriptorResponse); ok { - x.MessageResponse = nil + if _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_FileDescriptorResponse); ok { + x.xxx_hidden_MessageResponse = nil } } func (x *ServerReflectionResponse) ClearAllExtensionNumbersResponse() { - if _, ok := x.MessageResponse.(*ServerReflectionResponse_AllExtensionNumbersResponse); ok { - x.MessageResponse = nil + if _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_AllExtensionNumbersResponse); ok { + x.xxx_hidden_MessageResponse = nil } } func (x *ServerReflectionResponse) ClearListServicesResponse() { - if _, ok := x.MessageResponse.(*ServerReflectionResponse_ListServicesResponse); ok { - x.MessageResponse = nil + if _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_ListServicesResponse); ok { + x.xxx_hidden_MessageResponse = nil } } func (x *ServerReflectionResponse) ClearErrorResponse() { - if _, ok := x.MessageResponse.(*ServerReflectionResponse_ErrorResponse); ok { - x.MessageResponse = nil + if _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_ErrorResponse); ok { + x.xxx_hidden_MessageResponse = nil } } @@ -703,14 +666,14 @@ func (x *ServerReflectionResponse) WhichMessageResponse() case_ServerReflectionR if x == nil { return ServerReflectionResponse_MessageResponse_not_set_case } - switch x.MessageResponse.(type) { - case *ServerReflectionResponse_FileDescriptorResponse: + switch x.xxx_hidden_MessageResponse.(type) { + case *serverReflectionResponse_FileDescriptorResponse: return ServerReflectionResponse_FileDescriptorResponse_case - case *ServerReflectionResponse_AllExtensionNumbersResponse: + case *serverReflectionResponse_AllExtensionNumbersResponse: return ServerReflectionResponse_AllExtensionNumbersResponse_case - case *ServerReflectionResponse_ListServicesResponse: + case *serverReflectionResponse_ListServicesResponse: return ServerReflectionResponse_ListServicesResponse_case - case *ServerReflectionResponse_ErrorResponse: + case *serverReflectionResponse_ErrorResponse: return ServerReflectionResponse_ErrorResponse_case default: return ServerReflectionResponse_MessageResponse_not_set_case @@ -725,7 +688,7 @@ type ServerReflectionResponse_builder struct { // The server sets one of the following fields according to the message_request // in the request. - // Fields of oneof MessageResponse: + // Fields of oneof xxx_hidden_MessageResponse: // This message is used to answer file_by_filename, file_containing_symbol, // file_containing_extension requests with transitive dependencies. // As the repeated label is not allowed in oneof fields, we use a @@ -739,26 +702,26 @@ type ServerReflectionResponse_builder struct { ListServicesResponse *ListServiceResponse // This message is used when an error occurs. ErrorResponse *ErrorResponse - // -- end of MessageResponse + // -- end of xxx_hidden_MessageResponse } func (b0 ServerReflectionResponse_builder) Build() *ServerReflectionResponse { m0 := &ServerReflectionResponse{} b, x := &b0, m0 _, _ = b, x - x.ValidHost = b.ValidHost - x.OriginalRequest = b.OriginalRequest + x.xxx_hidden_ValidHost = b.ValidHost + x.xxx_hidden_OriginalRequest = b.OriginalRequest if b.FileDescriptorResponse != nil { - x.MessageResponse = &ServerReflectionResponse_FileDescriptorResponse{b.FileDescriptorResponse} + x.xxx_hidden_MessageResponse = &serverReflectionResponse_FileDescriptorResponse{b.FileDescriptorResponse} } if b.AllExtensionNumbersResponse != nil { - x.MessageResponse = &ServerReflectionResponse_AllExtensionNumbersResponse{b.AllExtensionNumbersResponse} + x.xxx_hidden_MessageResponse = &serverReflectionResponse_AllExtensionNumbersResponse{b.AllExtensionNumbersResponse} } if b.ListServicesResponse != nil { - x.MessageResponse = &ServerReflectionResponse_ListServicesResponse{b.ListServicesResponse} + x.xxx_hidden_MessageResponse = &serverReflectionResponse_ListServicesResponse{b.ListServicesResponse} } if b.ErrorResponse != nil { - x.MessageResponse = &ServerReflectionResponse_ErrorResponse{b.ErrorResponse} + x.xxx_hidden_MessageResponse = &serverReflectionResponse_ErrorResponse{b.ErrorResponse} } return m0 } @@ -777,7 +740,7 @@ type isServerReflectionResponse_MessageResponse interface { isServerReflectionResponse_MessageResponse() } -type ServerReflectionResponse_FileDescriptorResponse struct { +type serverReflectionResponse_FileDescriptorResponse struct { // This message is used to answer file_by_filename, file_containing_symbol, // file_containing_extension requests with transitive dependencies. // As the repeated label is not allowed in oneof fields, we use a @@ -787,42 +750,39 @@ type ServerReflectionResponse_FileDescriptorResponse struct { FileDescriptorResponse *FileDescriptorResponse `protobuf:"bytes,4,opt,name=file_descriptor_response,json=fileDescriptorResponse,proto3,oneof"` } -type ServerReflectionResponse_AllExtensionNumbersResponse struct { +type serverReflectionResponse_AllExtensionNumbersResponse struct { // This message is used to answer all_extension_numbers_of_type requests. AllExtensionNumbersResponse *ExtensionNumberResponse `protobuf:"bytes,5,opt,name=all_extension_numbers_response,json=allExtensionNumbersResponse,proto3,oneof"` } -type ServerReflectionResponse_ListServicesResponse struct { +type serverReflectionResponse_ListServicesResponse struct { // This message is used to answer list_services requests. ListServicesResponse *ListServiceResponse `protobuf:"bytes,6,opt,name=list_services_response,json=listServicesResponse,proto3,oneof"` } -type ServerReflectionResponse_ErrorResponse struct { +type serverReflectionResponse_ErrorResponse struct { // This message is used when an error occurs. ErrorResponse *ErrorResponse `protobuf:"bytes,7,opt,name=error_response,json=errorResponse,proto3,oneof"` } -func (*ServerReflectionResponse_FileDescriptorResponse) isServerReflectionResponse_MessageResponse() { +func (*serverReflectionResponse_FileDescriptorResponse) isServerReflectionResponse_MessageResponse() { } -func (*ServerReflectionResponse_AllExtensionNumbersResponse) isServerReflectionResponse_MessageResponse() { +func (*serverReflectionResponse_AllExtensionNumbersResponse) isServerReflectionResponse_MessageResponse() { } -func (*ServerReflectionResponse_ListServicesResponse) isServerReflectionResponse_MessageResponse() {} +func (*serverReflectionResponse_ListServicesResponse) isServerReflectionResponse_MessageResponse() {} -func (*ServerReflectionResponse_ErrorResponse) isServerReflectionResponse_MessageResponse() {} +func (*serverReflectionResponse_ErrorResponse) isServerReflectionResponse_MessageResponse() {} // Serialized FileDescriptorProto messages sent by the server answering // a file_by_filename, file_containing_symbol, or file_containing_extension // request. type FileDescriptorResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_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() { @@ -852,13 +812,13 @@ func (x *FileDescriptorResponse) ProtoReflect() protoreflect.Message { func (x *FileDescriptorResponse) GetFileDescriptorProto() [][]byte { if x != nil { - return x.FileDescriptorProto + return x.xxx_hidden_FileDescriptorProto } return nil } func (x *FileDescriptorResponse) SetFileDescriptorProto(v [][]byte) { - x.FileDescriptorProto = v + x.xxx_hidden_FileDescriptorProto = v } type FileDescriptorResponse_builder struct { @@ -874,20 +834,18 @@ func (b0 FileDescriptorResponse_builder) Build() *FileDescriptorResponse { m0 := &FileDescriptorResponse{} b, x := &b0, m0 _, _ = b, x - x.FileDescriptorProto = b.FileDescriptorProto + x.xxx_hidden_FileDescriptorProto = b.FileDescriptorProto return m0 } // A list of extension numbers sent by the server answering // all_extension_numbers_of_type request. type ExtensionNumberResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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 + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_BaseTypeName string `protobuf:"bytes,1,opt,name=base_type_name,json=baseTypeName,proto3" json:"base_type_name,omitempty"` + xxx_hidden_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() { @@ -917,24 +875,24 @@ func (x *ExtensionNumberResponse) ProtoReflect() protoreflect.Message { func (x *ExtensionNumberResponse) GetBaseTypeName() string { if x != nil { - return x.BaseTypeName + return x.xxx_hidden_BaseTypeName } return "" } func (x *ExtensionNumberResponse) GetExtensionNumber() []int32 { if x != nil { - return x.ExtensionNumber + return x.xxx_hidden_ExtensionNumber } return nil } func (x *ExtensionNumberResponse) SetBaseTypeName(v string) { - x.BaseTypeName = v + x.xxx_hidden_BaseTypeName = v } func (x *ExtensionNumberResponse) SetExtensionNumber(v []int32) { - x.ExtensionNumber = v + x.xxx_hidden_ExtensionNumber = v } type ExtensionNumberResponse_builder struct { @@ -950,19 +908,17 @@ func (b0 ExtensionNumberResponse_builder) Build() *ExtensionNumberResponse { m0 := &ExtensionNumberResponse{} b, x := &b0, m0 _, _ = b, x - x.BaseTypeName = b.BaseTypeName - x.ExtensionNumber = b.ExtensionNumber + x.xxx_hidden_BaseTypeName = b.BaseTypeName + x.xxx_hidden_ExtensionNumber = b.ExtensionNumber return m0 } // A list of ServiceResponse sent by the server answering list_services request. type ListServiceResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Service *[]*ServiceResponse `protobuf:"bytes,1,rep,name=service,proto3" json:"service,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListServiceResponse) Reset() { @@ -992,13 +948,15 @@ func (x *ListServiceResponse) ProtoReflect() protoreflect.Message { func (x *ListServiceResponse) GetService() []*ServiceResponse { if x != nil { - return x.Service + if x.xxx_hidden_Service != nil { + return *x.xxx_hidden_Service + } } return nil } func (x *ListServiceResponse) SetService(v []*ServiceResponse) { - x.Service = v + x.xxx_hidden_Service = &v } type ListServiceResponse_builder struct { @@ -1013,19 +971,17 @@ func (b0 ListServiceResponse_builder) Build() *ListServiceResponse { m0 := &ListServiceResponse{} b, x := &b0, m0 _, _ = b, x - x.Service = b.Service + x.xxx_hidden_Service = &b.Service return m0 } // The information of a single service used by ListServiceResponse to answer // list_services request. type ServiceResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceResponse) Reset() { @@ -1055,13 +1011,13 @@ func (x *ServiceResponse) ProtoReflect() protoreflect.Message { func (x *ServiceResponse) GetName() string { if x != nil { - return x.Name + return x.xxx_hidden_Name } return "" } func (x *ServiceResponse) SetName(v string) { - x.Name = v + x.xxx_hidden_Name = v } type ServiceResponse_builder struct { @@ -1076,18 +1032,17 @@ func (b0 ServiceResponse_builder) Build() *ServiceResponse { m0 := &ServiceResponse{} b, x := &b0, m0 _, _ = b, x - x.Name = b.Name + x.xxx_hidden_Name = b.Name return m0 } // The error code and error message sent by the server when an error occurs. type ErrorResponse struct { - state protoimpl.MessageState `protogen:"hybrid.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"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` + xxx_hidden_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() { @@ -1117,24 +1072,24 @@ func (x *ErrorResponse) ProtoReflect() protoreflect.Message { func (x *ErrorResponse) GetErrorCode() int32 { if x != nil { - return x.ErrorCode + return x.xxx_hidden_ErrorCode } return 0 } func (x *ErrorResponse) GetErrorMessage() string { if x != nil { - return x.ErrorMessage + return x.xxx_hidden_ErrorMessage } return "" } func (x *ErrorResponse) SetErrorCode(v int32) { - x.ErrorCode = v + x.xxx_hidden_ErrorCode = v } func (x *ErrorResponse) SetErrorMessage(v string) { - x.ErrorMessage = v + x.xxx_hidden_ErrorMessage = v } type ErrorResponse_builder struct { @@ -1149,8 +1104,8 @@ func (b0 ErrorResponse_builder) Build() *ErrorResponse { m0 := &ErrorResponse{} b, x := &b0, m0 _, _ = b, x - x.ErrorCode = b.ErrorCode - x.ErrorMessage = b.ErrorMessage + x.xxx_hidden_ErrorCode = b.ErrorCode + x.xxx_hidden_ErrorMessage = b.ErrorMessage return m0 } @@ -1310,17 +1265,17 @@ func file_grpc_reflection_v1_reflection_proto_init() { return } file_grpc_reflection_v1_reflection_proto_msgTypes[0].OneofWrappers = []any{ - (*ServerReflectionRequest_FileByFilename)(nil), - (*ServerReflectionRequest_FileContainingSymbol)(nil), - (*ServerReflectionRequest_FileContainingExtension)(nil), - (*ServerReflectionRequest_AllExtensionNumbersOfType)(nil), - (*ServerReflectionRequest_ListServices)(nil), + (*serverReflectionRequest_FileByFilename)(nil), + (*serverReflectionRequest_FileContainingSymbol)(nil), + (*serverReflectionRequest_FileContainingExtension)(nil), + (*serverReflectionRequest_AllExtensionNumbersOfType)(nil), + (*serverReflectionRequest_ListServices)(nil), } file_grpc_reflection_v1_reflection_proto_msgTypes[2].OneofWrappers = []any{ - (*ServerReflectionResponse_FileDescriptorResponse)(nil), - (*ServerReflectionResponse_AllExtensionNumbersResponse)(nil), - (*ServerReflectionResponse_ListServicesResponse)(nil), - (*ServerReflectionResponse_ErrorResponse)(nil), + (*serverReflectionResponse_FileDescriptorResponse)(nil), + (*serverReflectionResponse_AllExtensionNumbersResponse)(nil), + (*serverReflectionResponse_ListServicesResponse)(nil), + (*serverReflectionResponse_ErrorResponse)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/private/gen/proto/go/grpc/reflection/v1/reflection_protoopaque.pb.go b/private/gen/proto/go/grpc/reflection/v1/reflection_protoopaque.pb.go deleted file mode 100644 index aa9d297141..0000000000 --- a/private/gen/proto/go/grpc/reflection/v1/reflection_protoopaque.pb.go +++ /dev/null @@ -1,1300 +0,0 @@ -// Copyright 2020-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Service exported by server reflection. A more complete description of how -// server reflection works can be found at -// https://github.com/grpc/grpc/blob/master/doc/server-reflection.md -// -// The canonical version of this proto can be found at -// https://github.com/grpc/grpc-proto/blob/master/grpc/reflection/v1/reflection.proto - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.0 -// protoc (unknown) -// source: grpc/reflection/v1/reflection.proto - -//go:build protoopaque - -package reflectionv1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// The message sent by the client when calling ServerReflectionInfo method. -type ServerReflectionRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - xxx_hidden_MessageRequest isServerReflectionRequest_MessageRequest `protobuf_oneof:"message_request"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ServerReflectionRequest) Reset() { - *x = ServerReflectionRequest{} - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ServerReflectionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServerReflectionRequest) ProtoMessage() {} - -func (x *ServerReflectionRequest) ProtoReflect() protoreflect.Message { - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ServerReflectionRequest) GetHost() string { - if x != nil { - return x.xxx_hidden_Host - } - return "" -} - -func (x *ServerReflectionRequest) GetFileByFilename() string { - if x != nil { - if x, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileByFilename); ok { - return x.FileByFilename - } - } - return "" -} - -func (x *ServerReflectionRequest) GetFileContainingSymbol() string { - if x != nil { - if x, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileContainingSymbol); ok { - return x.FileContainingSymbol - } - } - return "" -} - -func (x *ServerReflectionRequest) GetFileContainingExtension() *ExtensionRequest { - if x != nil { - if x, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileContainingExtension); ok { - return x.FileContainingExtension - } - } - return nil -} - -func (x *ServerReflectionRequest) GetAllExtensionNumbersOfType() string { - if x != nil { - if x, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_AllExtensionNumbersOfType); ok { - return x.AllExtensionNumbersOfType - } - } - return "" -} - -func (x *ServerReflectionRequest) GetListServices() string { - if x != nil { - if x, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_ListServices); ok { - return x.ListServices - } - } - return "" -} - -func (x *ServerReflectionRequest) SetHost(v string) { - x.xxx_hidden_Host = v -} - -func (x *ServerReflectionRequest) SetFileByFilename(v string) { - x.xxx_hidden_MessageRequest = &serverReflectionRequest_FileByFilename{v} -} - -func (x *ServerReflectionRequest) SetFileContainingSymbol(v string) { - x.xxx_hidden_MessageRequest = &serverReflectionRequest_FileContainingSymbol{v} -} - -func (x *ServerReflectionRequest) SetFileContainingExtension(v *ExtensionRequest) { - if v == nil { - x.xxx_hidden_MessageRequest = nil - return - } - x.xxx_hidden_MessageRequest = &serverReflectionRequest_FileContainingExtension{v} -} - -func (x *ServerReflectionRequest) SetAllExtensionNumbersOfType(v string) { - x.xxx_hidden_MessageRequest = &serverReflectionRequest_AllExtensionNumbersOfType{v} -} - -func (x *ServerReflectionRequest) SetListServices(v string) { - x.xxx_hidden_MessageRequest = &serverReflectionRequest_ListServices{v} -} - -func (x *ServerReflectionRequest) HasMessageRequest() bool { - if x == nil { - return false - } - return x.xxx_hidden_MessageRequest != nil -} - -func (x *ServerReflectionRequest) HasFileByFilename() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileByFilename) - return ok -} - -func (x *ServerReflectionRequest) HasFileContainingSymbol() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileContainingSymbol) - return ok -} - -func (x *ServerReflectionRequest) HasFileContainingExtension() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileContainingExtension) - return ok -} - -func (x *ServerReflectionRequest) HasAllExtensionNumbersOfType() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_AllExtensionNumbersOfType) - return ok -} - -func (x *ServerReflectionRequest) HasListServices() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_ListServices) - return ok -} - -func (x *ServerReflectionRequest) ClearMessageRequest() { - x.xxx_hidden_MessageRequest = nil -} - -func (x *ServerReflectionRequest) ClearFileByFilename() { - if _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileByFilename); ok { - x.xxx_hidden_MessageRequest = nil - } -} - -func (x *ServerReflectionRequest) ClearFileContainingSymbol() { - if _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileContainingSymbol); ok { - x.xxx_hidden_MessageRequest = nil - } -} - -func (x *ServerReflectionRequest) ClearFileContainingExtension() { - if _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_FileContainingExtension); ok { - x.xxx_hidden_MessageRequest = nil - } -} - -func (x *ServerReflectionRequest) ClearAllExtensionNumbersOfType() { - if _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_AllExtensionNumbersOfType); ok { - x.xxx_hidden_MessageRequest = nil - } -} - -func (x *ServerReflectionRequest) ClearListServices() { - if _, ok := x.xxx_hidden_MessageRequest.(*serverReflectionRequest_ListServices); ok { - x.xxx_hidden_MessageRequest = nil - } -} - -const ServerReflectionRequest_MessageRequest_not_set_case case_ServerReflectionRequest_MessageRequest = 0 -const ServerReflectionRequest_FileByFilename_case case_ServerReflectionRequest_MessageRequest = 3 -const ServerReflectionRequest_FileContainingSymbol_case case_ServerReflectionRequest_MessageRequest = 4 -const ServerReflectionRequest_FileContainingExtension_case case_ServerReflectionRequest_MessageRequest = 5 -const ServerReflectionRequest_AllExtensionNumbersOfType_case case_ServerReflectionRequest_MessageRequest = 6 -const ServerReflectionRequest_ListServices_case case_ServerReflectionRequest_MessageRequest = 7 - -func (x *ServerReflectionRequest) WhichMessageRequest() case_ServerReflectionRequest_MessageRequest { - if x == nil { - return ServerReflectionRequest_MessageRequest_not_set_case - } - switch x.xxx_hidden_MessageRequest.(type) { - case *serverReflectionRequest_FileByFilename: - return ServerReflectionRequest_FileByFilename_case - case *serverReflectionRequest_FileContainingSymbol: - return ServerReflectionRequest_FileContainingSymbol_case - case *serverReflectionRequest_FileContainingExtension: - return ServerReflectionRequest_FileContainingExtension_case - case *serverReflectionRequest_AllExtensionNumbersOfType: - return ServerReflectionRequest_AllExtensionNumbersOfType_case - case *serverReflectionRequest_ListServices: - return ServerReflectionRequest_ListServices_case - default: - return ServerReflectionRequest_MessageRequest_not_set_case - } -} - -type ServerReflectionRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - Host string - // 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. - - // Fields of oneof xxx_hidden_MessageRequest: - // Find a proto file by the file name. - FileByFilename *string - // Find the proto file that declares the given fully-qualified symbol name. - // This field should be a fully-qualified symbol name - // (e.g. .[.] or .). - FileContainingSymbol *string - // Find the proto file which defines an extension extending the given - // message type with the given field number. - FileContainingExtension *ExtensionRequest - // Finds the tag numbers used by all known extensions of the given message - // type, and appends them to ExtensionNumberResponse in an undefined order. - // Its corresponding method is best-effort: it's not guaranteed that the - // reflection service will implement this method, and it's not guaranteed - // that this method will provide all extensions. Returns - // StatusCode::UNIMPLEMENTED if it's not implemented. - // This field should be a fully-qualified type name. The format is - // . - AllExtensionNumbersOfType *string - // List the full names of registered services. The content will not be - // checked. - ListServices *string - // -- end of xxx_hidden_MessageRequest -} - -func (b0 ServerReflectionRequest_builder) Build() *ServerReflectionRequest { - m0 := &ServerReflectionRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Host = b.Host - if b.FileByFilename != nil { - x.xxx_hidden_MessageRequest = &serverReflectionRequest_FileByFilename{*b.FileByFilename} - } - if b.FileContainingSymbol != nil { - x.xxx_hidden_MessageRequest = &serverReflectionRequest_FileContainingSymbol{*b.FileContainingSymbol} - } - if b.FileContainingExtension != nil { - x.xxx_hidden_MessageRequest = &serverReflectionRequest_FileContainingExtension{b.FileContainingExtension} - } - if b.AllExtensionNumbersOfType != nil { - x.xxx_hidden_MessageRequest = &serverReflectionRequest_AllExtensionNumbersOfType{*b.AllExtensionNumbersOfType} - } - if b.ListServices != nil { - x.xxx_hidden_MessageRequest = &serverReflectionRequest_ListServices{*b.ListServices} - } - return m0 -} - -type case_ServerReflectionRequest_MessageRequest protoreflect.FieldNumber - -func (x case_ServerReflectionRequest_MessageRequest) String() string { - md := file_grpc_reflection_v1_reflection_proto_msgTypes[0].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isServerReflectionRequest_MessageRequest interface { - isServerReflectionRequest_MessageRequest() -} - -type serverReflectionRequest_FileByFilename struct { - // Find a proto file by the file name. - FileByFilename string `protobuf:"bytes,3,opt,name=file_by_filename,json=fileByFilename,proto3,oneof"` -} - -type serverReflectionRequest_FileContainingSymbol struct { - // Find the proto file that declares the given fully-qualified symbol name. - // This field should be a fully-qualified symbol name - // (e.g. .[.] or .). - FileContainingSymbol string `protobuf:"bytes,4,opt,name=file_containing_symbol,json=fileContainingSymbol,proto3,oneof"` -} - -type serverReflectionRequest_FileContainingExtension struct { - // Find the proto file which defines an extension extending the given - // message type with the given field number. - FileContainingExtension *ExtensionRequest `protobuf:"bytes,5,opt,name=file_containing_extension,json=fileContainingExtension,proto3,oneof"` -} - -type serverReflectionRequest_AllExtensionNumbersOfType struct { - // Finds the tag numbers used by all known extensions of the given message - // type, and appends them to ExtensionNumberResponse in an undefined order. - // Its corresponding method is best-effort: it's not guaranteed that the - // reflection service will implement this method, and it's not guaranteed - // that this method will provide all extensions. Returns - // StatusCode::UNIMPLEMENTED if it's not implemented. - // This field should be a fully-qualified type name. The format is - // . - AllExtensionNumbersOfType string `protobuf:"bytes,6,opt,name=all_extension_numbers_of_type,json=allExtensionNumbersOfType,proto3,oneof"` -} - -type serverReflectionRequest_ListServices struct { - // List the full names of registered services. The content will not be - // checked. - ListServices string `protobuf:"bytes,7,opt,name=list_services,json=listServices,proto3,oneof"` -} - -func (*serverReflectionRequest_FileByFilename) isServerReflectionRequest_MessageRequest() {} - -func (*serverReflectionRequest_FileContainingSymbol) isServerReflectionRequest_MessageRequest() {} - -func (*serverReflectionRequest_FileContainingExtension) isServerReflectionRequest_MessageRequest() {} - -func (*serverReflectionRequest_AllExtensionNumbersOfType) isServerReflectionRequest_MessageRequest() { -} - -func (*serverReflectionRequest_ListServices) isServerReflectionRequest_MessageRequest() {} - -// The type name and extension number sent by the client when requesting -// file_containing_extension. -type ExtensionRequest struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_ContainingType string `protobuf:"bytes,1,opt,name=containing_type,json=containingType,proto3" json:"containing_type,omitempty"` - xxx_hidden_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() { - *x = ExtensionRequest{} - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ExtensionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtensionRequest) ProtoMessage() {} - -func (x *ExtensionRequest) ProtoReflect() protoreflect.Message { - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ExtensionRequest) GetContainingType() string { - if x != nil { - return x.xxx_hidden_ContainingType - } - return "" -} - -func (x *ExtensionRequest) GetExtensionNumber() int32 { - if x != nil { - return x.xxx_hidden_ExtensionNumber - } - return 0 -} - -func (x *ExtensionRequest) SetContainingType(v string) { - x.xxx_hidden_ContainingType = v -} - -func (x *ExtensionRequest) SetExtensionNumber(v int32) { - x.xxx_hidden_ExtensionNumber = v -} - -type ExtensionRequest_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Fully-qualified type name. The format should be . - ContainingType string - ExtensionNumber int32 -} - -func (b0 ExtensionRequest_builder) Build() *ExtensionRequest { - m0 := &ExtensionRequest{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_ContainingType = b.ContainingType - x.xxx_hidden_ExtensionNumber = b.ExtensionNumber - return m0 -} - -// The message sent by the server to answer ServerReflectionInfo method. -type ServerReflectionResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_ValidHost string `protobuf:"bytes,1,opt,name=valid_host,json=validHost,proto3" json:"valid_host,omitempty"` - xxx_hidden_OriginalRequest *ServerReflectionRequest `protobuf:"bytes,2,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` - xxx_hidden_MessageResponse isServerReflectionResponse_MessageResponse `protobuf_oneof:"message_response"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ServerReflectionResponse) Reset() { - *x = ServerReflectionResponse{} - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ServerReflectionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServerReflectionResponse) ProtoMessage() {} - -func (x *ServerReflectionResponse) ProtoReflect() protoreflect.Message { - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ServerReflectionResponse) GetValidHost() string { - if x != nil { - return x.xxx_hidden_ValidHost - } - return "" -} - -func (x *ServerReflectionResponse) GetOriginalRequest() *ServerReflectionRequest { - if x != nil { - return x.xxx_hidden_OriginalRequest - } - return nil -} - -func (x *ServerReflectionResponse) GetFileDescriptorResponse() *FileDescriptorResponse { - if x != nil { - if x, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_FileDescriptorResponse); ok { - return x.FileDescriptorResponse - } - } - return nil -} - -func (x *ServerReflectionResponse) GetAllExtensionNumbersResponse() *ExtensionNumberResponse { - if x != nil { - if x, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_AllExtensionNumbersResponse); ok { - return x.AllExtensionNumbersResponse - } - } - return nil -} - -func (x *ServerReflectionResponse) GetListServicesResponse() *ListServiceResponse { - if x != nil { - if x, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_ListServicesResponse); ok { - return x.ListServicesResponse - } - } - return nil -} - -func (x *ServerReflectionResponse) GetErrorResponse() *ErrorResponse { - if x != nil { - if x, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_ErrorResponse); ok { - return x.ErrorResponse - } - } - return nil -} - -func (x *ServerReflectionResponse) SetValidHost(v string) { - x.xxx_hidden_ValidHost = v -} - -func (x *ServerReflectionResponse) SetOriginalRequest(v *ServerReflectionRequest) { - x.xxx_hidden_OriginalRequest = v -} - -func (x *ServerReflectionResponse) SetFileDescriptorResponse(v *FileDescriptorResponse) { - if v == nil { - x.xxx_hidden_MessageResponse = nil - return - } - x.xxx_hidden_MessageResponse = &serverReflectionResponse_FileDescriptorResponse{v} -} - -func (x *ServerReflectionResponse) SetAllExtensionNumbersResponse(v *ExtensionNumberResponse) { - if v == nil { - x.xxx_hidden_MessageResponse = nil - return - } - x.xxx_hidden_MessageResponse = &serverReflectionResponse_AllExtensionNumbersResponse{v} -} - -func (x *ServerReflectionResponse) SetListServicesResponse(v *ListServiceResponse) { - if v == nil { - x.xxx_hidden_MessageResponse = nil - return - } - x.xxx_hidden_MessageResponse = &serverReflectionResponse_ListServicesResponse{v} -} - -func (x *ServerReflectionResponse) SetErrorResponse(v *ErrorResponse) { - if v == nil { - x.xxx_hidden_MessageResponse = nil - return - } - x.xxx_hidden_MessageResponse = &serverReflectionResponse_ErrorResponse{v} -} - -func (x *ServerReflectionResponse) HasOriginalRequest() bool { - if x == nil { - return false - } - return x.xxx_hidden_OriginalRequest != nil -} - -func (x *ServerReflectionResponse) HasMessageResponse() bool { - if x == nil { - return false - } - return x.xxx_hidden_MessageResponse != nil -} - -func (x *ServerReflectionResponse) HasFileDescriptorResponse() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_FileDescriptorResponse) - return ok -} - -func (x *ServerReflectionResponse) HasAllExtensionNumbersResponse() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_AllExtensionNumbersResponse) - return ok -} - -func (x *ServerReflectionResponse) HasListServicesResponse() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_ListServicesResponse) - return ok -} - -func (x *ServerReflectionResponse) HasErrorResponse() bool { - if x == nil { - return false - } - _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_ErrorResponse) - return ok -} - -func (x *ServerReflectionResponse) ClearOriginalRequest() { - x.xxx_hidden_OriginalRequest = nil -} - -func (x *ServerReflectionResponse) ClearMessageResponse() { - x.xxx_hidden_MessageResponse = nil -} - -func (x *ServerReflectionResponse) ClearFileDescriptorResponse() { - if _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_FileDescriptorResponse); ok { - x.xxx_hidden_MessageResponse = nil - } -} - -func (x *ServerReflectionResponse) ClearAllExtensionNumbersResponse() { - if _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_AllExtensionNumbersResponse); ok { - x.xxx_hidden_MessageResponse = nil - } -} - -func (x *ServerReflectionResponse) ClearListServicesResponse() { - if _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_ListServicesResponse); ok { - x.xxx_hidden_MessageResponse = nil - } -} - -func (x *ServerReflectionResponse) ClearErrorResponse() { - if _, ok := x.xxx_hidden_MessageResponse.(*serverReflectionResponse_ErrorResponse); ok { - x.xxx_hidden_MessageResponse = nil - } -} - -const ServerReflectionResponse_MessageResponse_not_set_case case_ServerReflectionResponse_MessageResponse = 0 -const ServerReflectionResponse_FileDescriptorResponse_case case_ServerReflectionResponse_MessageResponse = 4 -const ServerReflectionResponse_AllExtensionNumbersResponse_case case_ServerReflectionResponse_MessageResponse = 5 -const ServerReflectionResponse_ListServicesResponse_case case_ServerReflectionResponse_MessageResponse = 6 -const ServerReflectionResponse_ErrorResponse_case case_ServerReflectionResponse_MessageResponse = 7 - -func (x *ServerReflectionResponse) WhichMessageResponse() case_ServerReflectionResponse_MessageResponse { - if x == nil { - return ServerReflectionResponse_MessageResponse_not_set_case - } - switch x.xxx_hidden_MessageResponse.(type) { - case *serverReflectionResponse_FileDescriptorResponse: - return ServerReflectionResponse_FileDescriptorResponse_case - case *serverReflectionResponse_AllExtensionNumbersResponse: - return ServerReflectionResponse_AllExtensionNumbersResponse_case - case *serverReflectionResponse_ListServicesResponse: - return ServerReflectionResponse_ListServicesResponse_case - case *serverReflectionResponse_ErrorResponse: - return ServerReflectionResponse_ErrorResponse_case - default: - return ServerReflectionResponse_MessageResponse_not_set_case - } -} - -type ServerReflectionResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - ValidHost string - OriginalRequest *ServerReflectionRequest - // The server sets one of the following fields according to the message_request - // in the request. - - // Fields of oneof xxx_hidden_MessageResponse: - // This message is used to answer file_by_filename, file_containing_symbol, - // file_containing_extension requests with transitive dependencies. - // As the repeated label is not allowed in oneof fields, we use a - // FileDescriptorResponse message to encapsulate the repeated fields. - // The reflection service is allowed to avoid sending FileDescriptorProtos - // that were previously sent in response to earlier requests in the stream. - FileDescriptorResponse *FileDescriptorResponse - // This message is used to answer all_extension_numbers_of_type requests. - AllExtensionNumbersResponse *ExtensionNumberResponse - // This message is used to answer list_services requests. - ListServicesResponse *ListServiceResponse - // This message is used when an error occurs. - ErrorResponse *ErrorResponse - // -- end of xxx_hidden_MessageResponse -} - -func (b0 ServerReflectionResponse_builder) Build() *ServerReflectionResponse { - m0 := &ServerReflectionResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_ValidHost = b.ValidHost - x.xxx_hidden_OriginalRequest = b.OriginalRequest - if b.FileDescriptorResponse != nil { - x.xxx_hidden_MessageResponse = &serverReflectionResponse_FileDescriptorResponse{b.FileDescriptorResponse} - } - if b.AllExtensionNumbersResponse != nil { - x.xxx_hidden_MessageResponse = &serverReflectionResponse_AllExtensionNumbersResponse{b.AllExtensionNumbersResponse} - } - if b.ListServicesResponse != nil { - x.xxx_hidden_MessageResponse = &serverReflectionResponse_ListServicesResponse{b.ListServicesResponse} - } - if b.ErrorResponse != nil { - x.xxx_hidden_MessageResponse = &serverReflectionResponse_ErrorResponse{b.ErrorResponse} - } - return m0 -} - -type case_ServerReflectionResponse_MessageResponse protoreflect.FieldNumber - -func (x case_ServerReflectionResponse_MessageResponse) String() string { - md := file_grpc_reflection_v1_reflection_proto_msgTypes[2].Descriptor() - if x == 0 { - return "not set" - } - return protoimpl.X.MessageFieldStringOf(md, protoreflect.FieldNumber(x)) -} - -type isServerReflectionResponse_MessageResponse interface { - isServerReflectionResponse_MessageResponse() -} - -type serverReflectionResponse_FileDescriptorResponse struct { - // This message is used to answer file_by_filename, file_containing_symbol, - // file_containing_extension requests with transitive dependencies. - // As the repeated label is not allowed in oneof fields, we use a - // FileDescriptorResponse message to encapsulate the repeated fields. - // The reflection service is allowed to avoid sending FileDescriptorProtos - // that were previously sent in response to earlier requests in the stream. - FileDescriptorResponse *FileDescriptorResponse `protobuf:"bytes,4,opt,name=file_descriptor_response,json=fileDescriptorResponse,proto3,oneof"` -} - -type serverReflectionResponse_AllExtensionNumbersResponse struct { - // This message is used to answer all_extension_numbers_of_type requests. - AllExtensionNumbersResponse *ExtensionNumberResponse `protobuf:"bytes,5,opt,name=all_extension_numbers_response,json=allExtensionNumbersResponse,proto3,oneof"` -} - -type serverReflectionResponse_ListServicesResponse struct { - // This message is used to answer list_services requests. - ListServicesResponse *ListServiceResponse `protobuf:"bytes,6,opt,name=list_services_response,json=listServicesResponse,proto3,oneof"` -} - -type serverReflectionResponse_ErrorResponse struct { - // This message is used when an error occurs. - ErrorResponse *ErrorResponse `protobuf:"bytes,7,opt,name=error_response,json=errorResponse,proto3,oneof"` -} - -func (*serverReflectionResponse_FileDescriptorResponse) isServerReflectionResponse_MessageResponse() { -} - -func (*serverReflectionResponse_AllExtensionNumbersResponse) isServerReflectionResponse_MessageResponse() { -} - -func (*serverReflectionResponse_ListServicesResponse) isServerReflectionResponse_MessageResponse() {} - -func (*serverReflectionResponse_ErrorResponse) isServerReflectionResponse_MessageResponse() {} - -// Serialized FileDescriptorProto messages sent by the server answering -// a file_by_filename, file_containing_symbol, or file_containing_extension -// request. -type FileDescriptorResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_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() { - *x = FileDescriptorResponse{} - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FileDescriptorResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FileDescriptorResponse) ProtoMessage() {} - -func (x *FileDescriptorResponse) ProtoReflect() protoreflect.Message { - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *FileDescriptorResponse) GetFileDescriptorProto() [][]byte { - if x != nil { - return x.xxx_hidden_FileDescriptorProto - } - return nil -} - -func (x *FileDescriptorResponse) SetFileDescriptorProto(v [][]byte) { - x.xxx_hidden_FileDescriptorProto = v -} - -type FileDescriptorResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Serialized FileDescriptorProto messages. We avoid taking a dependency on - // descriptor.proto, which uses proto2 only features, by making them opaque - // bytes instead. - FileDescriptorProto [][]byte -} - -func (b0 FileDescriptorResponse_builder) Build() *FileDescriptorResponse { - m0 := &FileDescriptorResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_FileDescriptorProto = b.FileDescriptorProto - return m0 -} - -// A list of extension numbers sent by the server answering -// all_extension_numbers_of_type request. -type ExtensionNumberResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_BaseTypeName string `protobuf:"bytes,1,opt,name=base_type_name,json=baseTypeName,proto3" json:"base_type_name,omitempty"` - xxx_hidden_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() { - *x = ExtensionNumberResponse{} - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ExtensionNumberResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtensionNumberResponse) ProtoMessage() {} - -func (x *ExtensionNumberResponse) ProtoReflect() protoreflect.Message { - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ExtensionNumberResponse) GetBaseTypeName() string { - if x != nil { - return x.xxx_hidden_BaseTypeName - } - return "" -} - -func (x *ExtensionNumberResponse) GetExtensionNumber() []int32 { - if x != nil { - return x.xxx_hidden_ExtensionNumber - } - return nil -} - -func (x *ExtensionNumberResponse) SetBaseTypeName(v string) { - x.xxx_hidden_BaseTypeName = v -} - -func (x *ExtensionNumberResponse) SetExtensionNumber(v []int32) { - x.xxx_hidden_ExtensionNumber = v -} - -type ExtensionNumberResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Full name of the base type, including the package name. The format - // is . - BaseTypeName string - ExtensionNumber []int32 -} - -func (b0 ExtensionNumberResponse_builder) Build() *ExtensionNumberResponse { - m0 := &ExtensionNumberResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_BaseTypeName = b.BaseTypeName - x.xxx_hidden_ExtensionNumber = b.ExtensionNumber - return m0 -} - -// A list of ServiceResponse sent by the server answering list_services request. -type ListServiceResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Service *[]*ServiceResponse `protobuf:"bytes,1,rep,name=service,proto3" json:"service,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ListServiceResponse) Reset() { - *x = ListServiceResponse{} - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ListServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListServiceResponse) ProtoMessage() {} - -func (x *ListServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ListServiceResponse) GetService() []*ServiceResponse { - if x != nil { - if x.xxx_hidden_Service != nil { - return *x.xxx_hidden_Service - } - } - return nil -} - -func (x *ListServiceResponse) SetService(v []*ServiceResponse) { - x.xxx_hidden_Service = &v -} - -type ListServiceResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // The information of each service may be expanded in the future, so we use - // ServiceResponse message to encapsulate it. - Service []*ServiceResponse -} - -func (b0 ListServiceResponse_builder) Build() *ListServiceResponse { - m0 := &ListServiceResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Service = &b.Service - return m0 -} - -// The information of a single service used by ListServiceResponse to answer -// list_services request. -type ServiceResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ServiceResponse) Reset() { - *x = ServiceResponse{} - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceResponse) ProtoMessage() {} - -func (x *ServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ServiceResponse) GetName() string { - if x != nil { - return x.xxx_hidden_Name - } - return "" -} - -func (x *ServiceResponse) SetName(v string) { - x.xxx_hidden_Name = v -} - -type ServiceResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // Full name of a registered service, including its package name. The format - // is . - Name string -} - -func (b0 ServiceResponse_builder) Build() *ServiceResponse { - m0 := &ServiceResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_Name = b.Name - return m0 -} - -// The error code and error message sent by the server when an error occurs. -type ErrorResponse struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` - xxx_hidden_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() { - *x = ErrorResponse{} - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ErrorResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ErrorResponse) ProtoMessage() {} - -func (x *ErrorResponse) ProtoReflect() protoreflect.Message { - mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -func (x *ErrorResponse) GetErrorCode() int32 { - if x != nil { - return x.xxx_hidden_ErrorCode - } - return 0 -} - -func (x *ErrorResponse) GetErrorMessage() string { - if x != nil { - return x.xxx_hidden_ErrorMessage - } - return "" -} - -func (x *ErrorResponse) SetErrorCode(v int32) { - x.xxx_hidden_ErrorCode = v -} - -func (x *ErrorResponse) SetErrorMessage(v string) { - x.xxx_hidden_ErrorMessage = v -} - -type ErrorResponse_builder struct { - _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. - - // This field uses the error codes defined in grpc::StatusCode. - ErrorCode int32 - ErrorMessage string -} - -func (b0 ErrorResponse_builder) Build() *ErrorResponse { - m0 := &ErrorResponse{} - b, x := &b0, m0 - _, _ = b, x - x.xxx_hidden_ErrorCode = b.ErrorCode - x.xxx_hidden_ErrorMessage = b.ErrorMessage - return m0 -} - -var File_grpc_reflection_v1_reflection_proto protoreflect.FileDescriptor - -var file_grpc_reflection_v1_reflection_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x22, 0xf3, 0x02, 0x0a, 0x17, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x6c, - 0x65, 0x5f, 0x62, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x79, 0x46, 0x69, 0x6c, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x14, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x62, 0x0a, - 0x19, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, - 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x24, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x17, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x42, 0x0a, 0x1d, 0x61, 0x6c, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, - 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x19, 0x61, 0x6c, 0x6c, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x4f, - 0x66, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0d, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, - 0x6c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x42, 0x11, 0x0a, 0x0f, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, - 0x66, 0x0a, 0x10, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, - 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, - 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, - 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xae, 0x04, 0x0a, 0x18, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x68, 0x6f, - 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x48, - 0x6f, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x10, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x6f, 0x72, 0x69, 0x67, - 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x66, 0x0a, 0x18, 0x66, - 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x72, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x16, 0x66, 0x69, 0x6c, - 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x1e, 0x61, 0x6c, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x5f, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x72, - 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x1b, 0x61, 0x6c, 0x6c, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x6c, 0x69, 0x73, 0x74, 0x5f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, - 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x48, 0x00, 0x52, 0x14, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0e, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x21, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x12, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, - 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x0a, 0x16, 0x46, 0x69, 0x6c, 0x65, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0c, 0x52, 0x13, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, - 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, 0x17, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, - 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x05, 0x52, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x22, 0x54, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x07, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x70, - 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, - 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x25, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x53, 0x0a, 0x0d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, - 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x32, 0x89, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, - 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x75, 0x0a, 0x14, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x2b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x66, - 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, - 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, - 0x42, 0xe1, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, - 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x52, 0x65, 0x66, - 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, - 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x70, - 0x63, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b, - 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x47, - 0x52, 0x58, 0xaa, 0x02, 0x12, 0x47, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x47, 0x72, 0x70, 0x63, 0x5c, 0x52, - 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x47, - 0x72, 0x70, 0x63, 0x5c, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, - 0x47, 0x72, 0x70, 0x63, 0x3a, 0x3a, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_grpc_reflection_v1_reflection_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_grpc_reflection_v1_reflection_proto_goTypes = []any{ - (*ServerReflectionRequest)(nil), // 0: grpc.reflection.v1.ServerReflectionRequest - (*ExtensionRequest)(nil), // 1: grpc.reflection.v1.ExtensionRequest - (*ServerReflectionResponse)(nil), // 2: grpc.reflection.v1.ServerReflectionResponse - (*FileDescriptorResponse)(nil), // 3: grpc.reflection.v1.FileDescriptorResponse - (*ExtensionNumberResponse)(nil), // 4: grpc.reflection.v1.ExtensionNumberResponse - (*ListServiceResponse)(nil), // 5: grpc.reflection.v1.ListServiceResponse - (*ServiceResponse)(nil), // 6: grpc.reflection.v1.ServiceResponse - (*ErrorResponse)(nil), // 7: grpc.reflection.v1.ErrorResponse -} -var file_grpc_reflection_v1_reflection_proto_depIdxs = []int32{ - 1, // 0: grpc.reflection.v1.ServerReflectionRequest.file_containing_extension:type_name -> grpc.reflection.v1.ExtensionRequest - 0, // 1: grpc.reflection.v1.ServerReflectionResponse.original_request:type_name -> grpc.reflection.v1.ServerReflectionRequest - 3, // 2: grpc.reflection.v1.ServerReflectionResponse.file_descriptor_response:type_name -> grpc.reflection.v1.FileDescriptorResponse - 4, // 3: grpc.reflection.v1.ServerReflectionResponse.all_extension_numbers_response:type_name -> grpc.reflection.v1.ExtensionNumberResponse - 5, // 4: grpc.reflection.v1.ServerReflectionResponse.list_services_response:type_name -> grpc.reflection.v1.ListServiceResponse - 7, // 5: grpc.reflection.v1.ServerReflectionResponse.error_response:type_name -> grpc.reflection.v1.ErrorResponse - 6, // 6: grpc.reflection.v1.ListServiceResponse.service:type_name -> grpc.reflection.v1.ServiceResponse - 0, // 7: grpc.reflection.v1.ServerReflection.ServerReflectionInfo:input_type -> grpc.reflection.v1.ServerReflectionRequest - 2, // 8: grpc.reflection.v1.ServerReflection.ServerReflectionInfo:output_type -> grpc.reflection.v1.ServerReflectionResponse - 8, // [8:9] is the sub-list for method output_type - 7, // [7:8] is the sub-list for method input_type - 7, // [7:7] is the sub-list for extension type_name - 7, // [7:7] is the sub-list for extension extendee - 0, // [0:7] is the sub-list for field type_name -} - -func init() { file_grpc_reflection_v1_reflection_proto_init() } -func file_grpc_reflection_v1_reflection_proto_init() { - if File_grpc_reflection_v1_reflection_proto != nil { - return - } - file_grpc_reflection_v1_reflection_proto_msgTypes[0].OneofWrappers = []any{ - (*serverReflectionRequest_FileByFilename)(nil), - (*serverReflectionRequest_FileContainingSymbol)(nil), - (*serverReflectionRequest_FileContainingExtension)(nil), - (*serverReflectionRequest_AllExtensionNumbersOfType)(nil), - (*serverReflectionRequest_ListServices)(nil), - } - file_grpc_reflection_v1_reflection_proto_msgTypes[2].OneofWrappers = []any{ - (*serverReflectionResponse_FileDescriptorResponse)(nil), - (*serverReflectionResponse_AllExtensionNumbersResponse)(nil), - (*serverReflectionResponse_ListServicesResponse)(nil), - (*serverReflectionResponse_ErrorResponse)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_grpc_reflection_v1_reflection_proto_rawDesc, - NumEnums: 0, - NumMessages: 8, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_grpc_reflection_v1_reflection_proto_goTypes, - DependencyIndexes: file_grpc_reflection_v1_reflection_proto_depIdxs, - MessageInfos: file_grpc_reflection_v1_reflection_proto_msgTypes, - }.Build() - File_grpc_reflection_v1_reflection_proto = out.File - file_grpc_reflection_v1_reflection_proto_rawDesc = nil - file_grpc_reflection_v1_reflection_proto_goTypes = nil - file_grpc_reflection_v1_reflection_proto_depIdxs = nil -}