Documentation ¶
Index ¶
- Variables
- func RegisterNetworkServiceServer(s grpc.ServiceRegistrar, srv NetworkServiceServer)
- type AddRequest
- func (*AddRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRequest) GetAllowedCountries() []string
- func (x *AddRequest) GetAllowedNetworks() []string
- func (x *AddRequest) GetBudget() float64
- func (x *AddRequest) GetName() string
- func (x *AddRequest) GetOverdraft() float64
- func (x *AddRequest) GetPaymentLinks() bool
- func (x *AddRequest) GetTrafficPolicy() uint32
- func (*AddRequest) ProtoMessage()
- func (x *AddRequest) ProtoReflect() protoreflect.Message
- func (x *AddRequest) Reset()
- func (x *AddRequest) String() string
- func (this *AddRequest) Validate() error
- type AddResponse
- func (*AddResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddResponse) GetNetwork() *Network
- func (*AddResponse) ProtoMessage()
- func (x *AddResponse) ProtoReflect() protoreflect.Message
- func (x *AddResponse) Reset()
- func (x *AddResponse) String() string
- func (this *AddResponse) Validate() error
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetNetworkId() string
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- func (this *DeleteRequest) Validate() error
- type DeleteResponse
- type GetByNameRequest
- func (*GetByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetByNameRequest) GetName() string
- func (*GetByNameRequest) ProtoMessage()
- func (x *GetByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetByNameRequest) Reset()
- func (x *GetByNameRequest) String() string
- func (this *GetByNameRequest) Validate() error
- type GetByNameResponse
- func (*GetByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetByNameResponse) GetNetwork() *Network
- func (*GetByNameResponse) ProtoMessage()
- func (x *GetByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetByNameResponse) Reset()
- func (x *GetByNameResponse) String() string
- func (this *GetByNameResponse) Validate() error
- type GetDefaultRequest
- type GetDefaultResponse
- func (*GetDefaultResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDefaultResponse) GetNetwork() *Network
- func (*GetDefaultResponse) ProtoMessage()
- func (x *GetDefaultResponse) ProtoReflect() protoreflect.Message
- func (x *GetDefaultResponse) Reset()
- func (x *GetDefaultResponse) String() string
- func (this *GetDefaultResponse) Validate() error
- type GetNetworksRequest
- func (*GetNetworksRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetNetworksRequest) ProtoMessage()
- func (x *GetNetworksRequest) ProtoReflect() protoreflect.Message
- func (x *GetNetworksRequest) Reset()
- func (x *GetNetworksRequest) String() string
- func (this *GetNetworksRequest) Validate() error
- type GetNetworksResponse
- func (*GetNetworksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNetworksResponse) GetNetworks() []*Network
- func (*GetNetworksResponse) ProtoMessage()
- func (x *GetNetworksResponse) ProtoReflect() protoreflect.Message
- func (x *GetNetworksResponse) Reset()
- func (x *GetNetworksResponse) String() string
- func (this *GetNetworksResponse) Validate() error
- type GetRequest
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetNetwork() *Network
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- func (this *GetResponse) Validate() error
- type Network
- func (*Network) Descriptor() ([]byte, []int)deprecated
- func (x *Network) GetAllowedCountries() []string
- func (x *Network) GetAllowedNetworks() []string
- func (x *Network) GetBudget() float64
- func (x *Network) GetCreatedAt() *timestamppb.Timestamp
- func (x *Network) GetId() string
- func (x *Network) GetIsDeactivated() bool
- func (x *Network) GetIsDefault() bool
- func (x *Network) GetName() string
- func (x *Network) GetOverdraft() float64
- func (x *Network) GetPaymentLinks() bool
- func (x *Network) GetSyncStatus() string
- func (x *Network) GetTrafficPolicy() uint32
- func (*Network) ProtoMessage()
- func (x *Network) ProtoReflect() protoreflect.Message
- func (x *Network) Reset()
- func (x *Network) String() string
- func (this *Network) Validate() error
- type NetworkServiceClient
- type NetworkServiceServer
- type SetDefaultRequest
- func (*SetDefaultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDefaultRequest) GetNetworkId() string
- func (*SetDefaultRequest) ProtoMessage()
- func (x *SetDefaultRequest) ProtoReflect() protoreflect.Message
- func (x *SetDefaultRequest) Reset()
- func (x *SetDefaultRequest) String() string
- func (this *SetDefaultRequest) Validate() error
- type SetDefaultResponse
- func (*SetDefaultResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetDefaultResponse) ProtoMessage()
- func (x *SetDefaultResponse) ProtoReflect() protoreflect.Message
- func (x *SetDefaultResponse) Reset()
- func (x *SetDefaultResponse) String() string
- func (this *SetDefaultResponse) Validate() error
- type UnimplementedNetworkServiceServer
- func (UnimplementedNetworkServiceServer) Add(context.Context, *AddRequest) (*AddResponse, error)
- func (UnimplementedNetworkServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedNetworkServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedNetworkServiceServer) GetAll(context.Context, *GetNetworksRequest) (*GetNetworksResponse, error)
- func (UnimplementedNetworkServiceServer) GetByName(context.Context, *GetByNameRequest) (*GetByNameResponse, error)
- func (UnimplementedNetworkServiceServer) GetDefault(context.Context, *GetDefaultRequest) (*GetDefaultResponse, error)
- func (UnimplementedNetworkServiceServer) SetDefault(context.Context, *SetDefaultRequest) (*SetDefaultResponse, error)
- type UnsafeNetworkServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_network_proto protoreflect.FileDescriptor
var NetworkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ukama.registry.network.v1.NetworkService", HandlerType: (*NetworkServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Add", Handler: _NetworkService_Add_Handler, }, { MethodName: "Get", Handler: _NetworkService_Get_Handler, }, { MethodName: "GetDefault", Handler: _NetworkService_GetDefault_Handler, }, { MethodName: "GetByName", Handler: _NetworkService_GetByName_Handler, }, { MethodName: "Delete", Handler: _NetworkService_Delete_Handler, }, { MethodName: "GetAll", Handler: _NetworkService_GetAll_Handler, }, { MethodName: "SetDefault", Handler: _NetworkService_SetDefault_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "network.proto", }
NetworkService_ServiceDesc is the grpc.ServiceDesc for NetworkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNetworkServiceServer ¶
func RegisterNetworkServiceServer(s grpc.ServiceRegistrar, srv NetworkServiceServer)
Types ¶
type AddRequest ¶
type AddRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` AllowedCountries []string `protobuf:"bytes,3,rep,name=allowedCountries,json=allowed_countries,proto3" json:"allowedCountries,omitempty"` AllowedNetworks []string `protobuf:"bytes,4,rep,name=allowedNetworks,json=allowed_networks,proto3" json:"allowedNetworks,omitempty"` Budget float64 `protobuf:"fixed64,5,opt,name=budget,proto3" json:"budget,omitempty"` Overdraft float64 `protobuf:"fixed64,6,opt,name=overdraft,proto3" json:"overdraft,omitempty"` TrafficPolicy uint32 `protobuf:"varint,7,opt,name=trafficPolicy,json=traffic_policy,proto3" json:"trafficPolicy,omitempty"` PaymentLinks bool `protobuf:"varint,8,opt,name=paymentLinks,json=payment_links,proto3" json:"paymentLinks,omitempty"` // contains filtered or unexported fields }
func (*AddRequest) Descriptor
deprecated
func (*AddRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRequest.ProtoReflect.Descriptor instead.
func (*AddRequest) GetAllowedCountries ¶
func (x *AddRequest) GetAllowedCountries() []string
func (*AddRequest) GetAllowedNetworks ¶
func (x *AddRequest) GetAllowedNetworks() []string
func (*AddRequest) GetBudget ¶
func (x *AddRequest) GetBudget() float64
func (*AddRequest) GetName ¶
func (x *AddRequest) GetName() string
func (*AddRequest) GetOverdraft ¶
func (x *AddRequest) GetOverdraft() float64
func (*AddRequest) GetPaymentLinks ¶
func (x *AddRequest) GetPaymentLinks() bool
func (*AddRequest) GetTrafficPolicy ¶
func (x *AddRequest) GetTrafficPolicy() uint32
func (*AddRequest) ProtoMessage ¶
func (*AddRequest) ProtoMessage()
func (*AddRequest) ProtoReflect ¶
func (x *AddRequest) ProtoReflect() protoreflect.Message
func (*AddRequest) Reset ¶
func (x *AddRequest) Reset()
func (*AddRequest) String ¶
func (x *AddRequest) String() string
func (*AddRequest) Validate ¶
func (this *AddRequest) Validate() error
type AddResponse ¶
type AddResponse struct { Network *Network `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*AddResponse) Descriptor
deprecated
func (*AddResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddResponse.ProtoReflect.Descriptor instead.
func (*AddResponse) GetNetwork ¶
func (x *AddResponse) GetNetwork() *Network
func (*AddResponse) ProtoMessage ¶
func (*AddResponse) ProtoMessage()
func (*AddResponse) ProtoReflect ¶
func (x *AddResponse) ProtoReflect() protoreflect.Message
func (*AddResponse) Reset ¶
func (x *AddResponse) Reset()
func (*AddResponse) String ¶
func (x *AddResponse) String() string
func (*AddResponse) Validate ¶
func (this *AddResponse) Validate() error
type DeleteRequest ¶
type DeleteRequest struct { NetworkId string `protobuf:"bytes,1,opt,name=networkId,json=id,proto3" json:"networkId,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetNetworkId ¶
func (x *DeleteRequest) GetNetworkId() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
func (*DeleteRequest) Validate ¶
func (this *DeleteRequest) Validate() error
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
func (*DeleteResponse) Validate ¶
func (this *DeleteResponse) Validate() error
type GetByNameRequest ¶
type GetByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetByNameRequest) Descriptor
deprecated
func (*GetByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByNameRequest.ProtoReflect.Descriptor instead.
func (*GetByNameRequest) GetName ¶
func (x *GetByNameRequest) GetName() string
func (*GetByNameRequest) ProtoMessage ¶
func (*GetByNameRequest) ProtoMessage()
func (*GetByNameRequest) ProtoReflect ¶
func (x *GetByNameRequest) ProtoReflect() protoreflect.Message
func (*GetByNameRequest) Reset ¶
func (x *GetByNameRequest) Reset()
func (*GetByNameRequest) String ¶
func (x *GetByNameRequest) String() string
func (*GetByNameRequest) Validate ¶
func (this *GetByNameRequest) Validate() error
type GetByNameResponse ¶
type GetByNameResponse struct { Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*GetByNameResponse) Descriptor
deprecated
func (*GetByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByNameResponse.ProtoReflect.Descriptor instead.
func (*GetByNameResponse) GetNetwork ¶
func (x *GetByNameResponse) GetNetwork() *Network
func (*GetByNameResponse) ProtoMessage ¶
func (*GetByNameResponse) ProtoMessage()
func (*GetByNameResponse) ProtoReflect ¶
func (x *GetByNameResponse) ProtoReflect() protoreflect.Message
func (*GetByNameResponse) Reset ¶
func (x *GetByNameResponse) Reset()
func (*GetByNameResponse) String ¶
func (x *GetByNameResponse) String() string
func (*GetByNameResponse) Validate ¶
func (this *GetByNameResponse) Validate() error
type GetDefaultRequest ¶
type GetDefaultRequest struct {
// contains filtered or unexported fields
}
func (*GetDefaultRequest) Descriptor
deprecated
func (*GetDefaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultRequest.ProtoReflect.Descriptor instead.
func (*GetDefaultRequest) ProtoMessage ¶
func (*GetDefaultRequest) ProtoMessage()
func (*GetDefaultRequest) ProtoReflect ¶
func (x *GetDefaultRequest) ProtoReflect() protoreflect.Message
func (*GetDefaultRequest) Reset ¶
func (x *GetDefaultRequest) Reset()
func (*GetDefaultRequest) String ¶
func (x *GetDefaultRequest) String() string
func (*GetDefaultRequest) Validate ¶
func (this *GetDefaultRequest) Validate() error
type GetDefaultResponse ¶
type GetDefaultResponse struct { Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*GetDefaultResponse) Descriptor
deprecated
func (*GetDefaultResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultResponse.ProtoReflect.Descriptor instead.
func (*GetDefaultResponse) GetNetwork ¶
func (x *GetDefaultResponse) GetNetwork() *Network
func (*GetDefaultResponse) ProtoMessage ¶
func (*GetDefaultResponse) ProtoMessage()
func (*GetDefaultResponse) ProtoReflect ¶
func (x *GetDefaultResponse) ProtoReflect() protoreflect.Message
func (*GetDefaultResponse) Reset ¶
func (x *GetDefaultResponse) Reset()
func (*GetDefaultResponse) String ¶
func (x *GetDefaultResponse) String() string
func (*GetDefaultResponse) Validate ¶
func (this *GetDefaultResponse) Validate() error
type GetNetworksRequest ¶
type GetNetworksRequest struct {
// contains filtered or unexported fields
}
func (*GetNetworksRequest) Descriptor
deprecated
func (*GetNetworksRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNetworksRequest.ProtoReflect.Descriptor instead.
func (*GetNetworksRequest) ProtoMessage ¶
func (*GetNetworksRequest) ProtoMessage()
func (*GetNetworksRequest) ProtoReflect ¶
func (x *GetNetworksRequest) ProtoReflect() protoreflect.Message
func (*GetNetworksRequest) Reset ¶
func (x *GetNetworksRequest) Reset()
func (*GetNetworksRequest) String ¶
func (x *GetNetworksRequest) String() string
func (*GetNetworksRequest) Validate ¶
func (this *GetNetworksRequest) Validate() error
type GetNetworksResponse ¶
type GetNetworksResponse struct { Networks []*Network `protobuf:"bytes,2,rep,name=networks,proto3" json:"networks,omitempty"` // contains filtered or unexported fields }
func (*GetNetworksResponse) Descriptor
deprecated
func (*GetNetworksResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNetworksResponse.ProtoReflect.Descriptor instead.
func (*GetNetworksResponse) GetNetworks ¶
func (x *GetNetworksResponse) GetNetworks() []*Network
func (*GetNetworksResponse) ProtoMessage ¶
func (*GetNetworksResponse) ProtoMessage()
func (*GetNetworksResponse) ProtoReflect ¶
func (x *GetNetworksResponse) ProtoReflect() protoreflect.Message
func (*GetNetworksResponse) Reset ¶
func (x *GetNetworksResponse) Reset()
func (*GetNetworksResponse) String ¶
func (x *GetNetworksResponse) String() string
func (*GetNetworksResponse) Validate ¶
func (this *GetNetworksResponse) Validate() error
type GetRequest ¶
type GetRequest struct { NetworkId string `protobuf:"bytes,1,opt,name=networkId,json=network_id,proto3" json:"networkId,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetNetworkId ¶
func (x *GetRequest) GetNetworkId() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
func (*GetRequest) Validate ¶
func (this *GetRequest) Validate() error
type GetResponse ¶
type GetResponse struct { Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetNetwork ¶
func (x *GetResponse) GetNetwork() *Network
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
func (*GetResponse) Validate ¶
func (this *GetResponse) Validate() error
type Network ¶
type Network struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` AllowedCountries []string `protobuf:"bytes,4,rep,name=allowedCountries,json=allowed_countries,proto3" json:"allowedCountries,omitempty"` AllowedNetworks []string `protobuf:"bytes,5,rep,name=allowedNetworks,json=allowed_networks,proto3" json:"allowedNetworks,omitempty"` Budget float64 `protobuf:"fixed64,6,opt,name=budget,proto3" json:"budget,omitempty"` Overdraft float64 `protobuf:"fixed64,7,opt,name=overdraft,proto3" json:"overdraft,omitempty"` TrafficPolicy uint32 `protobuf:"varint,8,opt,name=trafficPolicy,json=traffic_policy,proto3" json:"trafficPolicy,omitempty"` IsDeactivated bool `protobuf:"varint,9,opt,name=isDeactivated,json=is_deactivated,proto3" json:"isDeactivated,omitempty"` PaymentLinks bool `protobuf:"varint,10,opt,name=paymentLinks,json=payment_links,proto3" json:"paymentLinks,omitempty"` IsDefault bool `protobuf:"varint,11,opt,name=isDefault,json=is_default,proto3" json:"isDefault,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=createdAt,json=created_at,proto3" json:"createdAt,omitempty"` SyncStatus string `protobuf:"bytes,13,opt,name=syncStatus,json=sync_status,proto3" json:"syncStatus,omitempty"` // contains filtered or unexported fields }
func (*Network) Descriptor
deprecated
func (*Network) GetAllowedCountries ¶
func (*Network) GetAllowedNetworks ¶
func (*Network) GetCreatedAt ¶
func (x *Network) GetCreatedAt() *timestamppb.Timestamp
func (*Network) GetIsDeactivated ¶
func (*Network) GetIsDefault ¶
func (*Network) GetOverdraft ¶
func (*Network) GetPaymentLinks ¶
func (*Network) GetSyncStatus ¶
func (*Network) GetTrafficPolicy ¶
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) ProtoReflect ¶
func (x *Network) ProtoReflect() protoreflect.Message
type NetworkServiceClient ¶
type NetworkServiceClient interface { // Networks Add(ctx context.Context, in *AddRequest, opts ...grpc.CallOption) (*AddResponse, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) GetDefault(ctx context.Context, in *GetDefaultRequest, opts ...grpc.CallOption) (*GetDefaultResponse, error) GetByName(ctx context.Context, in *GetByNameRequest, opts ...grpc.CallOption) (*GetByNameResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) GetAll(ctx context.Context, in *GetNetworksRequest, opts ...grpc.CallOption) (*GetNetworksResponse, error) SetDefault(ctx context.Context, in *SetDefaultRequest, opts ...grpc.CallOption) (*SetDefaultResponse, error) }
NetworkServiceClient is the client API for NetworkService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNetworkServiceClient ¶
func NewNetworkServiceClient(cc grpc.ClientConnInterface) NetworkServiceClient
type NetworkServiceServer ¶
type NetworkServiceServer interface { // Networks Add(context.Context, *AddRequest) (*AddResponse, error) Get(context.Context, *GetRequest) (*GetResponse, error) GetDefault(context.Context, *GetDefaultRequest) (*GetDefaultResponse, error) GetByName(context.Context, *GetByNameRequest) (*GetByNameResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) GetAll(context.Context, *GetNetworksRequest) (*GetNetworksResponse, error) SetDefault(context.Context, *SetDefaultRequest) (*SetDefaultResponse, error) // contains filtered or unexported methods }
NetworkServiceServer is the server API for NetworkService service. All implementations must embed UnimplementedNetworkServiceServer for forward compatibility
type SetDefaultRequest ¶
type SetDefaultRequest struct { NetworkId string `protobuf:"bytes,1,opt,name=networkId,json=id,proto3" json:"networkId,omitempty"` // contains filtered or unexported fields }
func (*SetDefaultRequest) Descriptor
deprecated
func (*SetDefaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDefaultRequest.ProtoReflect.Descriptor instead.
func (*SetDefaultRequest) GetNetworkId ¶
func (x *SetDefaultRequest) GetNetworkId() string
func (*SetDefaultRequest) ProtoMessage ¶
func (*SetDefaultRequest) ProtoMessage()
func (*SetDefaultRequest) ProtoReflect ¶
func (x *SetDefaultRequest) ProtoReflect() protoreflect.Message
func (*SetDefaultRequest) Reset ¶
func (x *SetDefaultRequest) Reset()
func (*SetDefaultRequest) String ¶
func (x *SetDefaultRequest) String() string
func (*SetDefaultRequest) Validate ¶
func (this *SetDefaultRequest) Validate() error
type SetDefaultResponse ¶
type SetDefaultResponse struct {
// contains filtered or unexported fields
}
func (*SetDefaultResponse) Descriptor
deprecated
func (*SetDefaultResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetDefaultResponse.ProtoReflect.Descriptor instead.
func (*SetDefaultResponse) ProtoMessage ¶
func (*SetDefaultResponse) ProtoMessage()
func (*SetDefaultResponse) ProtoReflect ¶
func (x *SetDefaultResponse) ProtoReflect() protoreflect.Message
func (*SetDefaultResponse) Reset ¶
func (x *SetDefaultResponse) Reset()
func (*SetDefaultResponse) String ¶
func (x *SetDefaultResponse) String() string
func (*SetDefaultResponse) Validate ¶
func (this *SetDefaultResponse) Validate() error
type UnimplementedNetworkServiceServer ¶
type UnimplementedNetworkServiceServer struct { }
UnimplementedNetworkServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedNetworkServiceServer) Add ¶
func (UnimplementedNetworkServiceServer) Add(context.Context, *AddRequest) (*AddResponse, error)
func (UnimplementedNetworkServiceServer) Delete ¶
func (UnimplementedNetworkServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedNetworkServiceServer) Get ¶
func (UnimplementedNetworkServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedNetworkServiceServer) GetAll ¶
func (UnimplementedNetworkServiceServer) GetAll(context.Context, *GetNetworksRequest) (*GetNetworksResponse, error)
func (UnimplementedNetworkServiceServer) GetByName ¶
func (UnimplementedNetworkServiceServer) GetByName(context.Context, *GetByNameRequest) (*GetByNameResponse, error)
func (UnimplementedNetworkServiceServer) GetDefault ¶
func (UnimplementedNetworkServiceServer) GetDefault(context.Context, *GetDefaultRequest) (*GetDefaultResponse, error)
func (UnimplementedNetworkServiceServer) SetDefault ¶
func (UnimplementedNetworkServiceServer) SetDefault(context.Context, *SetDefaultRequest) (*SetDefaultResponse, error)
type UnsafeNetworkServiceServer ¶
type UnsafeNetworkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNetworkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkServiceServer will result in compilation errors.