| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.26.0
- // protoc v3.12.4
- // source: network.proto
- package pb
- import (
- _ "google.golang.org/genproto/googleapis/api/annotations"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- 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 NetworkCreateRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Cidr string `protobuf:"bytes,2,opt,name=cidr,proto3" json:"cidr,omitempty"`
- Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
- Via string `protobuf:"bytes,4,opt,name=via,proto3" json:"via,omitempty"`
- }
- func (x *NetworkCreateRequest) Reset() {
- *x = NetworkCreateRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkCreateRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkCreateRequest) ProtoMessage() {}
- func (x *NetworkCreateRequest) ProtoReflect() protoreflect.Message {
- mi := &file_network_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 NetworkCreateRequest.ProtoReflect.Descriptor instead.
- func (*NetworkCreateRequest) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{0}
- }
- func (x *NetworkCreateRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *NetworkCreateRequest) GetCidr() string {
- if x != nil {
- return x.Cidr
- }
- return ""
- }
- func (x *NetworkCreateRequest) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
- }
- func (x *NetworkCreateRequest) GetVia() string {
- if x != nil {
- return x.Via
- }
- return ""
- }
- type NetworkListRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *NetworkListRequest) Reset() {
- *x = NetworkListRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkListRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkListRequest) ProtoMessage() {}
- func (x *NetworkListRequest) ProtoReflect() protoreflect.Message {
- mi := &file_network_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 NetworkListRequest.ProtoReflect.Descriptor instead.
- func (*NetworkListRequest) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{1}
- }
- type NetworkDeleteRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- }
- func (x *NetworkDeleteRequest) Reset() {
- *x = NetworkDeleteRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkDeleteRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkDeleteRequest) ProtoMessage() {}
- func (x *NetworkDeleteRequest) ProtoReflect() protoreflect.Message {
- mi := &file_network_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 NetworkDeleteRequest.ProtoReflect.Descriptor instead.
- func (*NetworkDeleteRequest) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{2}
- }
- func (x *NetworkDeleteRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- type NetworkGetAllTypesRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *NetworkGetAllTypesRequest) Reset() {
- *x = NetworkGetAllTypesRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkGetAllTypesRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkGetAllTypesRequest) ProtoMessage() {}
- func (x *NetworkGetAllTypesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_network_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 NetworkGetAllTypesRequest.ProtoReflect.Descriptor instead.
- func (*NetworkGetAllTypesRequest) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{3}
- }
- type NetworkAssociateRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
- }
- func (x *NetworkAssociateRequest) Reset() {
- *x = NetworkAssociateRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkAssociateRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkAssociateRequest) ProtoMessage() {}
- func (x *NetworkAssociateRequest) ProtoReflect() protoreflect.Message {
- mi := &file_network_proto_msgTypes[4]
- 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 NetworkAssociateRequest.ProtoReflect.Descriptor instead.
- func (*NetworkAssociateRequest) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{4}
- }
- func (x *NetworkAssociateRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *NetworkAssociateRequest) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- type NetworkDissociateRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
- }
- func (x *NetworkDissociateRequest) Reset() {
- *x = NetworkDissociateRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkDissociateRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkDissociateRequest) ProtoMessage() {}
- func (x *NetworkDissociateRequest) ProtoReflect() protoreflect.Message {
- mi := &file_network_proto_msgTypes[5]
- 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 NetworkDissociateRequest.ProtoReflect.Descriptor instead.
- func (*NetworkDissociateRequest) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{5}
- }
- func (x *NetworkDissociateRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *NetworkDissociateRequest) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- type NetworkGetAssociatedUsersRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- }
- func (x *NetworkGetAssociatedUsersRequest) Reset() {
- *x = NetworkGetAssociatedUsersRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkGetAssociatedUsersRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkGetAssociatedUsersRequest) ProtoMessage() {}
- func (x *NetworkGetAssociatedUsersRequest) ProtoReflect() protoreflect.Message {
- mi := &file_network_proto_msgTypes[6]
- 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 NetworkGetAssociatedUsersRequest.ProtoReflect.Descriptor instead.
- func (*NetworkGetAssociatedUsersRequest) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{6}
- }
- func (x *NetworkGetAssociatedUsersRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- type Network struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Cidr string `protobuf:"bytes,2,opt,name=cidr,proto3" json:"cidr,omitempty"`
- Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
- CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- AssociatedUsernames []string `protobuf:"bytes,5,rep,name=associated_usernames,json=associatedUsernames,proto3" json:"associated_usernames,omitempty"`
- Via string `protobuf:"bytes,6,opt,name=via,proto3" json:"via,omitempty"`
- }
- func (x *Network) Reset() {
- *x = Network{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Network) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Network) ProtoMessage() {}
- func (x *Network) ProtoReflect() protoreflect.Message {
- mi := &file_network_proto_msgTypes[7]
- 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 Network.ProtoReflect.Descriptor instead.
- func (*Network) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{7}
- }
- func (x *Network) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *Network) GetCidr() string {
- if x != nil {
- return x.Cidr
- }
- return ""
- }
- func (x *Network) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
- }
- func (x *Network) GetCreatedAt() string {
- if x != nil {
- return x.CreatedAt
- }
- return ""
- }
- func (x *Network) GetAssociatedUsernames() []string {
- if x != nil {
- return x.AssociatedUsernames
- }
- return nil
- }
- func (x *Network) GetVia() string {
- if x != nil {
- return x.Via
- }
- return ""
- }
- type NetworkType struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- }
- func (x *NetworkType) Reset() {
- *x = NetworkType{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkType) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkType) ProtoMessage() {}
- func (x *NetworkType) ProtoReflect() protoreflect.Message {
- mi := &file_network_proto_msgTypes[8]
- 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 NetworkType.ProtoReflect.Descriptor instead.
- func (*NetworkType) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{8}
- }
- func (x *NetworkType) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
- }
- func (x *NetworkType) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- type NetworkCreateResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
- }
- func (x *NetworkCreateResponse) Reset() {
- *x = NetworkCreateResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkCreateResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkCreateResponse) ProtoMessage() {}
- func (x *NetworkCreateResponse) ProtoReflect() protoreflect.Message {
- mi := &file_network_proto_msgTypes[9]
- 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 NetworkCreateResponse.ProtoReflect.Descriptor instead.
- func (*NetworkCreateResponse) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{9}
- }
- func (x *NetworkCreateResponse) GetNetwork() *Network {
- if x != nil {
- return x.Network
- }
- return nil
- }
- type NetworkListResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
- }
- func (x *NetworkListResponse) Reset() {
- *x = NetworkListResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkListResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkListResponse) ProtoMessage() {}
- func (x *NetworkListResponse) ProtoReflect() protoreflect.Message {
- mi := &file_network_proto_msgTypes[10]
- 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 NetworkListResponse.ProtoReflect.Descriptor instead.
- func (*NetworkListResponse) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{10}
- }
- func (x *NetworkListResponse) GetNetworks() []*Network {
- if x != nil {
- return x.Networks
- }
- return nil
- }
- type NetworkDeleteResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
- }
- func (x *NetworkDeleteResponse) Reset() {
- *x = NetworkDeleteResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkDeleteResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkDeleteResponse) ProtoMessage() {}
- func (x *NetworkDeleteResponse) ProtoReflect() protoreflect.Message {
- mi := &file_network_proto_msgTypes[11]
- 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 NetworkDeleteResponse.ProtoReflect.Descriptor instead.
- func (*NetworkDeleteResponse) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{11}
- }
- func (x *NetworkDeleteResponse) GetNetwork() *Network {
- if x != nil {
- return x.Network
- }
- return nil
- }
- type NetworkGetAllTypesResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Types []*NetworkType `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"`
- }
- func (x *NetworkGetAllTypesResponse) Reset() {
- *x = NetworkGetAllTypesResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkGetAllTypesResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkGetAllTypesResponse) ProtoMessage() {}
- func (x *NetworkGetAllTypesResponse) ProtoReflect() protoreflect.Message {
- mi := &file_network_proto_msgTypes[12]
- 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 NetworkGetAllTypesResponse.ProtoReflect.Descriptor instead.
- func (*NetworkGetAllTypesResponse) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{12}
- }
- func (x *NetworkGetAllTypesResponse) GetTypes() []*NetworkType {
- if x != nil {
- return x.Types
- }
- return nil
- }
- type NetworkAssociateResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *NetworkAssociateResponse) Reset() {
- *x = NetworkAssociateResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkAssociateResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkAssociateResponse) ProtoMessage() {}
- func (x *NetworkAssociateResponse) ProtoReflect() protoreflect.Message {
- mi := &file_network_proto_msgTypes[13]
- 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 NetworkAssociateResponse.ProtoReflect.Descriptor instead.
- func (*NetworkAssociateResponse) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{13}
- }
- type NetworkDissociateResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *NetworkDissociateResponse) Reset() {
- *x = NetworkDissociateResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkDissociateResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkDissociateResponse) ProtoMessage() {}
- func (x *NetworkDissociateResponse) ProtoReflect() protoreflect.Message {
- mi := &file_network_proto_msgTypes[14]
- 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 NetworkDissociateResponse.ProtoReflect.Descriptor instead.
- func (*NetworkDissociateResponse) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{14}
- }
- type NetworkGetAssociatedUsersResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Usernames []string `protobuf:"bytes,1,rep,name=usernames,proto3" json:"usernames,omitempty"`
- }
- func (x *NetworkGetAssociatedUsersResponse) Reset() {
- *x = NetworkGetAssociatedUsersResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_network_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *NetworkGetAssociatedUsersResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkGetAssociatedUsersResponse) ProtoMessage() {}
- func (x *NetworkGetAssociatedUsersResponse) ProtoReflect() protoreflect.Message {
- mi := &file_network_proto_msgTypes[15]
- 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 NetworkGetAssociatedUsersResponse.ProtoReflect.Descriptor instead.
- func (*NetworkGetAssociatedUsersResponse) Descriptor() ([]byte, []int) {
- return file_network_proto_rawDescGZIP(), []int{15}
- }
- func (x *NetworkGetAssociatedUsersResponse) GetUsernames() []string {
- if x != nil {
- return x.Usernames
- }
- return nil
- }
- var File_network_proto protoreflect.FileDescriptor
- var file_network_proto_rawDesc = []byte{
- 0x0a, 0x0d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
- 0x02, 0x70, 0x62, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
- 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x22, 0x64, 0x0a, 0x14, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x72, 0x65, 0x61,
- 0x74, 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, 0x12, 0x0a,
- 0x04, 0x63, 0x69, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x64,
- 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x69, 0x61, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x03, 0x76, 0x69, 0x61, 0x22, 0x14, 0x0a, 0x12, 0x4e, 0x65, 0x74, 0x77, 0x6f,
- 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2a, 0x0a,
- 0x14, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 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, 0x1b, 0x0a, 0x19, 0x4e, 0x65, 0x74,
- 0x77, 0x6f, 0x72, 0x6b, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x17, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
- 0x6b, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 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, 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, 0x22, 0x4a, 0x0a, 0x18, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x73, 0x73,
- 0x6f, 0x63, 0x69, 0x61, 0x74, 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, 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, 0x22, 0x36, 0x0a,
- 0x20, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x6f, 0x63,
- 0x69, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 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, 0xa9, 0x01, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
- 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69, 0x64, 0x72, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x64, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
- 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a,
- 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x31, 0x0a, 0x14,
- 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e,
- 0x61, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x61, 0x73, 0x73, 0x6f,
- 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12,
- 0x10, 0x0a, 0x03, 0x76, 0x69, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x76, 0x69,
- 0x61, 0x22, 0x43, 0x0a, 0x0b, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x54, 0x79, 0x70, 0x65,
- 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x74, 0x79, 0x70, 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, 0x3e, 0x0a, 0x15, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
- 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x25, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07, 0x6e,
- 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x3e, 0x0a, 0x13, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
- 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a,
- 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x08, 0x6e, 0x65,
- 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x22, 0x3e, 0x0a, 0x15, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
- 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x25, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07, 0x6e,
- 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x43, 0x0a, 0x1a, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
- 0x6b, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
- 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x4e,
- 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x4e, 0x65, 0x74, 0x77, 0x6f,
- 0x72, 0x6b, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x0a, 0x21, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x47,
- 0x65, 0x74, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72,
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x73, 0x65,
- 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73,
- 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x32, 0x8e, 0x06, 0x0a, 0x0e, 0x4e, 0x65, 0x74, 0x77,
- 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x60, 0x0a, 0x06, 0x43, 0x72,
- 0x65, 0x61, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
- 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19,
- 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x1b, 0x22, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f,
- 0x72, 0x6b, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x55, 0x0a, 0x04,
- 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
- 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70,
- 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f,
- 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6c,
- 0x69, 0x73, 0x74, 0x12, 0x60, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, 0x2e,
- 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74,
- 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, 0x16, 0x2f, 0x61, 0x70, 0x69,
- 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x64, 0x65, 0x6c, 0x65,
- 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x71, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54,
- 0x79, 0x70, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
- 0x6b, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
- 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x61, 0x70,
- 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x67, 0x65, 0x74,
- 0x61, 0x6c, 0x6c, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x8d, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74,
- 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12,
- 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x47, 0x65, 0x74, 0x41,
- 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f,
- 0x72, 0x6b, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x55,
- 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3,
- 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x65,
- 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61,
- 0x74, 0x65, 0x64, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x6c, 0x0a, 0x09, 0x41, 0x73, 0x73, 0x6f,
- 0x63, 0x69, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f,
- 0x72, 0x6b, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41,
- 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
- 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69,
- 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x70, 0x0a, 0x0a, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63,
- 0x69, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
- 0x6b, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x44,
- 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1a, 0x2f, 0x61, 0x70, 0x69, 0x2f,
- 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x64, 0x69, 0x73, 0x73, 0x6f,
- 0x63, 0x69, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x42, 0x1c, 0x5a, 0x1a, 0x67, 0x69, 0x74, 0x68,
- 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x61, 0x64, 0x2f, 0x6f, 0x76, 0x70, 0x6d, 0x2f,
- 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_network_proto_rawDescOnce sync.Once
- file_network_proto_rawDescData = file_network_proto_rawDesc
- )
- func file_network_proto_rawDescGZIP() []byte {
- file_network_proto_rawDescOnce.Do(func() {
- file_network_proto_rawDescData = protoimpl.X.CompressGZIP(file_network_proto_rawDescData)
- })
- return file_network_proto_rawDescData
- }
- var file_network_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
- var file_network_proto_goTypes = []interface{}{
- (*NetworkCreateRequest)(nil), // 0: pb.NetworkCreateRequest
- (*NetworkListRequest)(nil), // 1: pb.NetworkListRequest
- (*NetworkDeleteRequest)(nil), // 2: pb.NetworkDeleteRequest
- (*NetworkGetAllTypesRequest)(nil), // 3: pb.NetworkGetAllTypesRequest
- (*NetworkAssociateRequest)(nil), // 4: pb.NetworkAssociateRequest
- (*NetworkDissociateRequest)(nil), // 5: pb.NetworkDissociateRequest
- (*NetworkGetAssociatedUsersRequest)(nil), // 6: pb.NetworkGetAssociatedUsersRequest
- (*Network)(nil), // 7: pb.Network
- (*NetworkType)(nil), // 8: pb.NetworkType
- (*NetworkCreateResponse)(nil), // 9: pb.NetworkCreateResponse
- (*NetworkListResponse)(nil), // 10: pb.NetworkListResponse
- (*NetworkDeleteResponse)(nil), // 11: pb.NetworkDeleteResponse
- (*NetworkGetAllTypesResponse)(nil), // 12: pb.NetworkGetAllTypesResponse
- (*NetworkAssociateResponse)(nil), // 13: pb.NetworkAssociateResponse
- (*NetworkDissociateResponse)(nil), // 14: pb.NetworkDissociateResponse
- (*NetworkGetAssociatedUsersResponse)(nil), // 15: pb.NetworkGetAssociatedUsersResponse
- }
- var file_network_proto_depIdxs = []int32{
- 7, // 0: pb.NetworkCreateResponse.network:type_name -> pb.Network
- 7, // 1: pb.NetworkListResponse.networks:type_name -> pb.Network
- 7, // 2: pb.NetworkDeleteResponse.network:type_name -> pb.Network
- 8, // 3: pb.NetworkGetAllTypesResponse.types:type_name -> pb.NetworkType
- 0, // 4: pb.NetworkService.Create:input_type -> pb.NetworkCreateRequest
- 1, // 5: pb.NetworkService.List:input_type -> pb.NetworkListRequest
- 2, // 6: pb.NetworkService.Delete:input_type -> pb.NetworkDeleteRequest
- 3, // 7: pb.NetworkService.GetAllTypes:input_type -> pb.NetworkGetAllTypesRequest
- 6, // 8: pb.NetworkService.GetAssociatedUsers:input_type -> pb.NetworkGetAssociatedUsersRequest
- 4, // 9: pb.NetworkService.Associate:input_type -> pb.NetworkAssociateRequest
- 5, // 10: pb.NetworkService.Dissociate:input_type -> pb.NetworkDissociateRequest
- 9, // 11: pb.NetworkService.Create:output_type -> pb.NetworkCreateResponse
- 10, // 12: pb.NetworkService.List:output_type -> pb.NetworkListResponse
- 11, // 13: pb.NetworkService.Delete:output_type -> pb.NetworkDeleteResponse
- 12, // 14: pb.NetworkService.GetAllTypes:output_type -> pb.NetworkGetAllTypesResponse
- 15, // 15: pb.NetworkService.GetAssociatedUsers:output_type -> pb.NetworkGetAssociatedUsersResponse
- 13, // 16: pb.NetworkService.Associate:output_type -> pb.NetworkAssociateResponse
- 14, // 17: pb.NetworkService.Dissociate:output_type -> pb.NetworkDissociateResponse
- 11, // [11:18] is the sub-list for method output_type
- 4, // [4:11] 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_network_proto_init() }
- func file_network_proto_init() {
- if File_network_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_network_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkCreateRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkListRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkDeleteRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkGetAllTypesRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkAssociateRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkDissociateRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkGetAssociatedUsersRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Network); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkType); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkCreateResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkListResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkDeleteResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkGetAllTypesResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkAssociateResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkDissociateResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_network_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NetworkGetAssociatedUsersResponse); 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_network_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 16,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_network_proto_goTypes,
- DependencyIndexes: file_network_proto_depIdxs,
- MessageInfos: file_network_proto_msgTypes,
- }.Build()
- File_network_proto = out.File
- file_network_proto_rawDesc = nil
- file_network_proto_goTypes = nil
- file_network_proto_depIdxs = nil
- }
|