api/mesh/options.pb.go (508 lines of code) (raw):

// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 // protoc v3.20.0 // source: api/mesh/options.proto package mesh import ( reflect "reflect" sync "sync" ) import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" ) 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 DubboResourceOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Name of the Dubbo resource struct. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name and value of the modelResourceType constant. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // True if this resource has global scope. Otherwise it will be mesh scope. Global bool `protobuf:"varint,3,opt,name=global,proto3" json:"global,omitempty"` // Name of the resource's Go package. Package string `protobuf:"bytes,4,opt,name=package,proto3" json:"package,omitempty"` // Whether to skip type registration for this resource. SkipRegistration bool `protobuf:"varint,6,opt,name=skip_registration,json=skipRegistration,proto3" json:"skip_registration,omitempty"` Dds *DubboDdsOptions `protobuf:"bytes,10,opt,name=dds,proto3" json:"dds,omitempty"` Ws *DubboWsOptions `protobuf:"bytes,7,opt,name=ws,proto3" json:"ws,omitempty"` // Whether scope is "Namespace"; Otherwise to "Cluster". ScopeNamespace bool `protobuf:"varint,11,opt,name=scope_namespace,json=scopeNamespace,proto3" json:"scope_namespace,omitempty"` // Whether to skip generation of native API helper functions. SkipKubernetesWrappers bool `protobuf:"varint,12,opt,name=skip_kubernetes_wrappers,json=skipKubernetesWrappers,proto3" json:"skip_kubernetes_wrappers,omitempty"` // Whether to generate Inspect API endpoint AllowToInspect bool `protobuf:"varint,13,opt,name=allow_to_inspect,json=allowToInspect,proto3" json:"allow_to_inspect,omitempty"` // If resource has more than one version, then the flag defines which version // is used in the storage. All other versions must be convertible to it. StorageVersion bool `protobuf:"varint,14,opt,name=storage_version,json=storageVersion,proto3" json:"storage_version,omitempty"` // The name of the policy showed as plural to be displayed in the UI and maybe // CLI PluralDisplayName string `protobuf:"bytes,15,opt,name=plural_display_name,json=pluralDisplayName,proto3" json:"plural_display_name,omitempty"` // Is Experimental indicates if a policy is in experimental state (might not // be production ready). IsExperimental bool `protobuf:"varint,16,opt,name=is_experimental,json=isExperimental,proto3" json:"is_experimental,omitempty"` // Columns to set using `+kubebuilder::printcolumns` AdditionalPrinterColumns []string `protobuf:"bytes,17,rep,name=additional_printer_columns,json=additionalPrinterColumns,proto3" json:"additional_printer_columns,omitempty"` // Whether the resource has a matching insight type HasInsights bool `protobuf:"varint,18,opt,name=has_insights,json=hasInsights,proto3" json:"has_insights,omitempty"` } func (x *DubboResourceOptions) Reset() { *x = DubboResourceOptions{} if protoimpl.UnsafeEnabled { mi := &file_api_mesh_options_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DubboResourceOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*DubboResourceOptions) ProtoMessage() {} func (x *DubboResourceOptions) ProtoReflect() protoreflect.Message { mi := &file_api_mesh_options_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DubboResourceOptions.ProtoReflect.Descriptor instead. func (*DubboResourceOptions) Descriptor() ([]byte, []int) { return file_api_mesh_options_proto_rawDescGZIP(), []int{0} } func (x *DubboResourceOptions) GetName() string { if x != nil { return x.Name } return "" } func (x *DubboResourceOptions) GetType() string { if x != nil { return x.Type } return "" } func (x *DubboResourceOptions) GetGlobal() bool { if x != nil { return x.Global } return false } func (x *DubboResourceOptions) GetPackage() string { if x != nil { return x.Package } return "" } func (x *DubboResourceOptions) GetSkipRegistration() bool { if x != nil { return x.SkipRegistration } return false } func (x *DubboResourceOptions) GetDds() *DubboDdsOptions { if x != nil { return x.Dds } return nil } func (x *DubboResourceOptions) GetWs() *DubboWsOptions { if x != nil { return x.Ws } return nil } func (x *DubboResourceOptions) GetScopeNamespace() bool { if x != nil { return x.ScopeNamespace } return false } func (x *DubboResourceOptions) GetSkipKubernetesWrappers() bool { if x != nil { return x.SkipKubernetesWrappers } return false } func (x *DubboResourceOptions) GetAllowToInspect() bool { if x != nil { return x.AllowToInspect } return false } func (x *DubboResourceOptions) GetStorageVersion() bool { if x != nil { return x.StorageVersion } return false } func (x *DubboResourceOptions) GetPluralDisplayName() string { if x != nil { return x.PluralDisplayName } return "" } func (x *DubboResourceOptions) GetIsExperimental() bool { if x != nil { return x.IsExperimental } return false } func (x *DubboResourceOptions) GetAdditionalPrinterColumns() []string { if x != nil { return x.AdditionalPrinterColumns } return nil } func (x *DubboResourceOptions) GetHasInsights() bool { if x != nil { return x.HasInsights } return false } type DubboWsOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Name is the name of the policy for resource name usage in path. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Plural is only to be set if the plural of the resource is irregular (not // just adding a 's' at the end). Plural string `protobuf:"bytes,2,opt,name=plural,proto3" json:"plural,omitempty"` // ReadOnly if the resource is read only. ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` // AdminOnly whether this entity requires admin auth to access these // endpoints. AdminOnly bool `protobuf:"varint,4,opt,name=admin_only,json=adminOnly,proto3" json:"admin_only,omitempty"` } func (x *DubboWsOptions) Reset() { *x = DubboWsOptions{} if protoimpl.UnsafeEnabled { mi := &file_api_mesh_options_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DubboWsOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*DubboWsOptions) ProtoMessage() {} func (x *DubboWsOptions) ProtoReflect() protoreflect.Message { mi := &file_api_mesh_options_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DubboWsOptions.ProtoReflect.Descriptor instead. func (*DubboWsOptions) Descriptor() ([]byte, []int) { return file_api_mesh_options_proto_rawDescGZIP(), []int{1} } func (x *DubboWsOptions) GetName() string { if x != nil { return x.Name } return "" } func (x *DubboWsOptions) GetPlural() string { if x != nil { return x.Plural } return "" } func (x *DubboWsOptions) GetReadOnly() bool { if x != nil { return x.ReadOnly } return false } func (x *DubboWsOptions) GetAdminOnly() bool { if x != nil { return x.AdminOnly } return false } type DubboDdsOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // SendToGlobal whether this entity will be sent from zone cp to global cp SendToGlobal bool `protobuf:"varint,1,opt,name=send_to_global,json=sendToGlobal,proto3" json:"send_to_global,omitempty"` // SendToZone whether this entity will be sent from global cp to zone cp SendToZone bool `protobuf:"varint,2,opt,name=send_to_zone,json=sendToZone,proto3" json:"send_to_zone,omitempty"` } func (x *DubboDdsOptions) Reset() { *x = DubboDdsOptions{} if protoimpl.UnsafeEnabled { mi := &file_api_mesh_options_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DubboDdsOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*DubboDdsOptions) ProtoMessage() {} func (x *DubboDdsOptions) ProtoReflect() protoreflect.Message { mi := &file_api_mesh_options_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DubboDdsOptions.ProtoReflect.Descriptor instead. func (*DubboDdsOptions) Descriptor() ([]byte, []int) { return file_api_mesh_options_proto_rawDescGZIP(), []int{2} } func (x *DubboDdsOptions) GetSendToGlobal() bool { if x != nil { return x.SendToGlobal } return false } func (x *DubboDdsOptions) GetSendToZone() bool { if x != nil { return x.SendToZone } return false } type DubboPolicyOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Whether to skip type registration for this resource. SkipRegistration bool `protobuf:"varint,1,opt,name=skip_registration,json=skipRegistration,proto3" json:"skip_registration,omitempty"` // An optional alternative plural form if this is unset default to a standard // derivation of the name Plural string `protobuf:"bytes,2,opt,name=plural,proto3" json:"plural,omitempty"` } func (x *DubboPolicyOptions) Reset() { *x = DubboPolicyOptions{} if protoimpl.UnsafeEnabled { mi := &file_api_mesh_options_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DubboPolicyOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*DubboPolicyOptions) ProtoMessage() {} func (x *DubboPolicyOptions) ProtoReflect() protoreflect.Message { mi := &file_api_mesh_options_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DubboPolicyOptions.ProtoReflect.Descriptor instead. func (*DubboPolicyOptions) Descriptor() ([]byte, []int) { return file_api_mesh_options_proto_rawDescGZIP(), []int{3} } func (x *DubboPolicyOptions) GetSkipRegistration() bool { if x != nil { return x.SkipRegistration } return false } func (x *DubboPolicyOptions) GetPlural() string { if x != nil { return x.Plural } return "" } var file_api_mesh_options_proto_extTypes = []protoimpl.ExtensionInfo{ { ExtendedType: (*descriptorpb.MessageOptions)(nil), ExtensionType: (*DubboResourceOptions)(nil), Field: 43534533, Name: "dubbo.mesh.resource", Tag: "bytes,43534533,opt,name=resource", Filename: "api/mesh/options.proto", }, { ExtendedType: (*descriptorpb.MessageOptions)(nil), ExtensionType: (*DubboPolicyOptions)(nil), Field: 43534534, Name: "dubbo.mesh.policy", Tag: "bytes,43534534,opt,name=policy", Filename: "api/mesh/options.proto", }, } // Extension fields to descriptorpb.MessageOptions. var ( // optional dubbo.mesh.DubboResourceOptions resource = 43534533; E_Resource = &file_api_mesh_options_proto_extTypes[0] // 'dubbo' // optional dubbo.mesh.DubboPolicyOptions policy = 43534534; E_Policy = &file_api_mesh_options_proto_extTypes[1] // 'dubbo' ) var File_api_mesh_options_proto protoreflect.FileDescriptor var file_api_mesh_options_proto_rawDesc = []byte{ 0x0a, 0x16, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x68, 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, 0xe8, 0x04, 0x0a, 0x14, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x6b, 0x69, 0x70, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x03, 0x64, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x44, 0x64, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x03, 0x64, 0x64, 0x73, 0x12, 0x2a, 0x0a, 0x02, 0x77, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x57, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x02, 0x77, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x73, 0x6b, 0x69, 0x70, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x6f, 0x5f, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x54, 0x6f, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x6c, 0x75, 0x72, 0x61, 0x6c, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x70, 0x6c, 0x75, 0x72, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x12, 0x3c, 0x0a, 0x1a, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x68, 0x61, 0x73, 0x5f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x68, 0x61, 0x73, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x22, 0x78, 0x0a, 0x0e, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x57, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6c, 0x75, 0x72, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6c, 0x75, 0x72, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x59, 0x0a, 0x0f, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x44, 0x64, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x12, 0x20, 0x0a, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x5a, 0x6f, 0x6e, 0x65, 0x22, 0x59, 0x0a, 0x12, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x6b, 0x69, 0x70, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6c, 0x75, 0x72, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6c, 0x75, 0x72, 0x61, 0x6c, 0x3a, 0x60, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xc5, 0x91, 0xe1, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x5a, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xc6, 0x91, 0xe1, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2f, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2d, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x65, 0x73, 0x68, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_api_mesh_options_proto_rawDescOnce sync.Once file_api_mesh_options_proto_rawDescData = file_api_mesh_options_proto_rawDesc ) func file_api_mesh_options_proto_rawDescGZIP() []byte { file_api_mesh_options_proto_rawDescOnce.Do(func() { file_api_mesh_options_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_mesh_options_proto_rawDescData) }) return file_api_mesh_options_proto_rawDescData } var file_api_mesh_options_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_api_mesh_options_proto_goTypes = []interface{}{ (*DubboResourceOptions)(nil), // 0: dubbo.mesh.DubboResourceOptions (*DubboWsOptions)(nil), // 1: dubbo.mesh.DubboWsOptions (*DubboDdsOptions)(nil), // 2: dubbo.mesh.DubboDdsOptions (*DubboPolicyOptions)(nil), // 3: dubbo.mesh.DubboPolicyOptions (*descriptorpb.MessageOptions)(nil), // 4: google.protobuf.MessageOptions } var file_api_mesh_options_proto_depIdxs = []int32{ 2, // 0: dubbo.mesh.DubboResourceOptions.dds:type_name -> dubbo.mesh.DubboDdsOptions 1, // 1: dubbo.mesh.DubboResourceOptions.ws:type_name -> dubbo.mesh.DubboWsOptions 4, // 2: dubbo.mesh.resource:extendee -> google.protobuf.MessageOptions 4, // 3: dubbo.mesh.policy:extendee -> google.protobuf.MessageOptions 0, // 4: dubbo.mesh.resource:type_name -> dubbo.mesh.DubboResourceOptions 3, // 5: dubbo.mesh.policy:type_name -> dubbo.mesh.DubboPolicyOptions 6, // [6:6] is the sub-list for method output_type 6, // [6:6] is the sub-list for method input_type 4, // [4:6] is the sub-list for extension type_name 2, // [2:4] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_api_mesh_options_proto_init() } func file_api_mesh_options_proto_init() { if File_api_mesh_options_proto != nil { return } if !protoimpl.UnsafeEnabled { file_api_mesh_options_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DubboResourceOptions); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_mesh_options_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DubboWsOptions); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_mesh_options_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DubboDdsOptions); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_mesh_options_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DubboPolicyOptions); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_api_mesh_options_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 2, NumServices: 0, }, GoTypes: file_api_mesh_options_proto_goTypes, DependencyIndexes: file_api_mesh_options_proto_depIdxs, MessageInfos: file_api_mesh_options_proto_msgTypes, ExtensionInfos: file_api_mesh_options_proto_extTypes, }.Build() File_api_mesh_options_proto = out.File file_api_mesh_options_proto_rawDesc = nil file_api_mesh_options_proto_goTypes = nil file_api_mesh_options_proto_depIdxs = nil }