protos

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_northbound_proto protoreflect.FileDescriptor
View Source
var File_southbound_proto protoreflect.FileDescriptor

Functions

func GetStringWrapper

func GetStringWrapper(v *string) *wrappers.StringValue

func RegisterMconfigBuilderServer

func RegisterMconfigBuilderServer(s *grpc.Server, srv MconfigBuilderServer)

func RegisterNorthboundConfiguratorServer

func RegisterNorthboundConfiguratorServer(s *grpc.Server, srv NorthboundConfiguratorServer)

func RegisterSouthboundConfiguratorServer

func RegisterSouthboundConfiguratorServer(s *grpc.Server, srv SouthboundConfiguratorServer)

Types

type BuildMconfigRequest

type BuildMconfigRequest struct {
	NetworkId   string               `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	GatewayId   string               `protobuf:"bytes,2,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
	EntityGraph *storage.EntityGraph `protobuf:"bytes,3,opt,name=entity_graph,json=entityGraph,proto3" json:"entity_graph,omitempty"`
	Network     *storage.Network     `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildMconfigRequest) Descriptor deprecated

func (*BuildMconfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use BuildMconfigRequest.ProtoReflect.Descriptor instead.

func (*BuildMconfigRequest) GetEntityGraph

func (x *BuildMconfigRequest) GetEntityGraph() *storage.EntityGraph

func (*BuildMconfigRequest) GetGatewayId

func (x *BuildMconfigRequest) GetGatewayId() string

func (*BuildMconfigRequest) GetNetwork

func (x *BuildMconfigRequest) GetNetwork() *storage.Network

func (*BuildMconfigRequest) GetNetworkId

func (x *BuildMconfigRequest) GetNetworkId() string

func (*BuildMconfigRequest) ProtoMessage

func (*BuildMconfigRequest) ProtoMessage()

func (*BuildMconfigRequest) ProtoReflect

func (x *BuildMconfigRequest) ProtoReflect() protoreflect.Message

func (*BuildMconfigRequest) Reset

func (x *BuildMconfigRequest) Reset()

func (*BuildMconfigRequest) String

func (x *BuildMconfigRequest) String() string

type BuildMconfigResponse

type BuildMconfigResponse struct {
	ConfigsByKey map[string]*any.Any `` /* 187-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BuildMconfigResponse) Descriptor deprecated

func (*BuildMconfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use BuildMconfigResponse.ProtoReflect.Descriptor instead.

func (*BuildMconfigResponse) GetConfigsByKey

func (x *BuildMconfigResponse) GetConfigsByKey() map[string]*any.Any

func (*BuildMconfigResponse) ProtoMessage

func (*BuildMconfigResponse) ProtoMessage()

func (*BuildMconfigResponse) ProtoReflect

func (x *BuildMconfigResponse) ProtoReflect() protoreflect.Message

func (*BuildMconfigResponse) Reset

func (x *BuildMconfigResponse) Reset()

func (*BuildMconfigResponse) String

func (x *BuildMconfigResponse) String() string

type CreateEntitiesRequest

type CreateEntitiesRequest struct {
	NetworkID string                   `protobuf:"bytes,1,opt,name=networkID,proto3" json:"networkID,omitempty"`
	Entities  []*storage.NetworkEntity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntitiesRequest) Descriptor deprecated

func (*CreateEntitiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateEntitiesRequest.ProtoReflect.Descriptor instead.

func (*CreateEntitiesRequest) GetEntities

func (x *CreateEntitiesRequest) GetEntities() []*storage.NetworkEntity

func (*CreateEntitiesRequest) GetNetworkID

func (x *CreateEntitiesRequest) GetNetworkID() string

func (*CreateEntitiesRequest) ProtoMessage

func (*CreateEntitiesRequest) ProtoMessage()

func (*CreateEntitiesRequest) ProtoReflect

func (x *CreateEntitiesRequest) ProtoReflect() protoreflect.Message

func (*CreateEntitiesRequest) Reset

func (x *CreateEntitiesRequest) Reset()

func (*CreateEntitiesRequest) String

func (x *CreateEntitiesRequest) String() string

type CreateEntitiesResponse

type CreateEntitiesResponse struct {
	CreatedEntities []*storage.NetworkEntity `protobuf:"bytes,1,rep,name=created_entities,json=createdEntities,proto3" json:"created_entities,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntitiesResponse) Descriptor deprecated

func (*CreateEntitiesResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateEntitiesResponse.ProtoReflect.Descriptor instead.

func (*CreateEntitiesResponse) GetCreatedEntities

func (x *CreateEntitiesResponse) GetCreatedEntities() []*storage.NetworkEntity

func (*CreateEntitiesResponse) ProtoMessage

func (*CreateEntitiesResponse) ProtoMessage()

func (*CreateEntitiesResponse) ProtoReflect

func (x *CreateEntitiesResponse) ProtoReflect() protoreflect.Message

func (*CreateEntitiesResponse) Reset

func (x *CreateEntitiesResponse) Reset()

func (*CreateEntitiesResponse) String

func (x *CreateEntitiesResponse) String() string

type CreateNetworksRequest

type CreateNetworksRequest struct {
	Networks []*storage.Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNetworksRequest) Descriptor deprecated

func (*CreateNetworksRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNetworksRequest.ProtoReflect.Descriptor instead.

func (*CreateNetworksRequest) GetNetworks

func (x *CreateNetworksRequest) GetNetworks() []*storage.Network

func (*CreateNetworksRequest) ProtoMessage

func (*CreateNetworksRequest) ProtoMessage()

func (*CreateNetworksRequest) ProtoReflect

func (x *CreateNetworksRequest) ProtoReflect() protoreflect.Message

func (*CreateNetworksRequest) Reset

func (x *CreateNetworksRequest) Reset()

func (*CreateNetworksRequest) String

func (x *CreateNetworksRequest) String() string

type CreateNetworksResponse

type CreateNetworksResponse struct {
	CreatedNetworks []*storage.Network `protobuf:"bytes,1,rep,name=created_networks,json=createdNetworks,proto3" json:"created_networks,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNetworksResponse) Descriptor deprecated

func (*CreateNetworksResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateNetworksResponse.ProtoReflect.Descriptor instead.

func (*CreateNetworksResponse) GetCreatedNetworks

func (x *CreateNetworksResponse) GetCreatedNetworks() []*storage.Network

func (*CreateNetworksResponse) ProtoMessage

func (*CreateNetworksResponse) ProtoMessage()

func (*CreateNetworksResponse) ProtoReflect

func (x *CreateNetworksResponse) ProtoReflect() protoreflect.Message

func (*CreateNetworksResponse) Reset

func (x *CreateNetworksResponse) Reset()

func (*CreateNetworksResponse) String

func (x *CreateNetworksResponse) String() string

type DeleteEntitiesRequest

type DeleteEntitiesRequest struct {
	NetworkID string              `protobuf:"bytes,1,opt,name=networkID,proto3" json:"networkID,omitempty"`
	ID        []*storage.EntityID `protobuf:"bytes,2,rep,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEntitiesRequest) Descriptor deprecated

func (*DeleteEntitiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteEntitiesRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntitiesRequest) GetID

func (x *DeleteEntitiesRequest) GetID() []*storage.EntityID

func (*DeleteEntitiesRequest) GetNetworkID

func (x *DeleteEntitiesRequest) GetNetworkID() string

func (*DeleteEntitiesRequest) ProtoMessage

func (*DeleteEntitiesRequest) ProtoMessage()

func (*DeleteEntitiesRequest) ProtoReflect

func (x *DeleteEntitiesRequest) ProtoReflect() protoreflect.Message

func (*DeleteEntitiesRequest) Reset

func (x *DeleteEntitiesRequest) Reset()

func (*DeleteEntitiesRequest) String

func (x *DeleteEntitiesRequest) String() string

type DeleteNetworksRequest

type DeleteNetworksRequest struct {
	NetworkIDs []string `protobuf:"bytes,1,rep,name=networkIDs,proto3" json:"networkIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNetworksRequest) Descriptor deprecated

func (*DeleteNetworksRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNetworksRequest.ProtoReflect.Descriptor instead.

func (*DeleteNetworksRequest) GetNetworkIDs

func (x *DeleteNetworksRequest) GetNetworkIDs() []string

func (*DeleteNetworksRequest) ProtoMessage

func (*DeleteNetworksRequest) ProtoMessage()

func (*DeleteNetworksRequest) ProtoReflect

func (x *DeleteNetworksRequest) ProtoReflect() protoreflect.Message

func (*DeleteNetworksRequest) Reset

func (x *DeleteNetworksRequest) Reset()

func (*DeleteNetworksRequest) String

func (x *DeleteNetworksRequest) String() string

type GetMconfigRequest

type GetMconfigRequest struct {
	HardwareID string `protobuf:"bytes,1,opt,name=hardwareID,proto3" json:"hardwareID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMconfigRequest) Descriptor deprecated

func (*GetMconfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMconfigRequest.ProtoReflect.Descriptor instead.

func (*GetMconfigRequest) GetHardwareID

func (x *GetMconfigRequest) GetHardwareID() string

func (*GetMconfigRequest) ProtoMessage

func (*GetMconfigRequest) ProtoMessage()

func (*GetMconfigRequest) ProtoReflect

func (x *GetMconfigRequest) ProtoReflect() protoreflect.Message

func (*GetMconfigRequest) Reset

func (x *GetMconfigRequest) Reset()

func (*GetMconfigRequest) String

func (x *GetMconfigRequest) String() string

type GetMconfigResponse

type GetMconfigResponse struct {
	Configs   *protos.GatewayConfigs `protobuf:"bytes,1,opt,name=configs,proto3" json:"configs,omitempty"`
	LogicalID string                 `protobuf:"bytes,2,opt,name=logicalID,proto3" json:"logicalID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMconfigResponse) Descriptor deprecated

func (*GetMconfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMconfigResponse.ProtoReflect.Descriptor instead.

func (*GetMconfigResponse) GetConfigs

func (x *GetMconfigResponse) GetConfigs() *protos.GatewayConfigs

func (*GetMconfigResponse) GetLogicalID

func (x *GetMconfigResponse) GetLogicalID() string

func (*GetMconfigResponse) ProtoMessage

func (*GetMconfigResponse) ProtoMessage()

func (*GetMconfigResponse) ProtoReflect

func (x *GetMconfigResponse) ProtoReflect() protoreflect.Message

func (*GetMconfigResponse) Reset

func (x *GetMconfigResponse) Reset()

func (*GetMconfigResponse) String

func (x *GetMconfigResponse) String() string

type ListNetworkIDsResponse

type ListNetworkIDsResponse struct {
	NetworkIDs []string `protobuf:"bytes,1,rep,name=networkIDs,proto3" json:"networkIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNetworkIDsResponse) Descriptor deprecated

func (*ListNetworkIDsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNetworkIDsResponse.ProtoReflect.Descriptor instead.

func (*ListNetworkIDsResponse) GetNetworkIDs

func (x *ListNetworkIDsResponse) GetNetworkIDs() []string

func (*ListNetworkIDsResponse) ProtoMessage

func (*ListNetworkIDsResponse) ProtoMessage()

func (*ListNetworkIDsResponse) ProtoReflect

func (x *ListNetworkIDsResponse) ProtoReflect() protoreflect.Message

func (*ListNetworkIDsResponse) Reset

func (x *ListNetworkIDsResponse) Reset()

func (*ListNetworkIDsResponse) String

func (x *ListNetworkIDsResponse) String() string

type LoadEntitiesRequest

type LoadEntitiesRequest struct {
	NetworkID string                      `protobuf:"bytes,1,opt,name=networkID,proto3" json:"networkID,omitempty"`
	Filter    *storage.EntityLoadFilter   `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	Criteria  *storage.EntityLoadCriteria `protobuf:"bytes,3,opt,name=criteria,proto3" json:"criteria,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadEntitiesRequest) Descriptor deprecated

func (*LoadEntitiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoadEntitiesRequest.ProtoReflect.Descriptor instead.

func (*LoadEntitiesRequest) GetCriteria

func (*LoadEntitiesRequest) GetFilter

func (*LoadEntitiesRequest) GetNetworkID

func (x *LoadEntitiesRequest) GetNetworkID() string

func (*LoadEntitiesRequest) ProtoMessage

func (*LoadEntitiesRequest) ProtoMessage()

func (*LoadEntitiesRequest) ProtoReflect

func (x *LoadEntitiesRequest) ProtoReflect() protoreflect.Message

func (*LoadEntitiesRequest) Reset

func (x *LoadEntitiesRequest) Reset()

func (*LoadEntitiesRequest) String

func (x *LoadEntitiesRequest) String() string

type LoadNetworksRequest

type LoadNetworksRequest struct {
	Criteria *storage.NetworkLoadCriteria `protobuf:"bytes,2,opt,name=criteria,proto3" json:"criteria,omitempty"`
	Filter   *storage.NetworkLoadFilter   `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadNetworksRequest) Descriptor deprecated

func (*LoadNetworksRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoadNetworksRequest.ProtoReflect.Descriptor instead.

func (*LoadNetworksRequest) GetCriteria

func (*LoadNetworksRequest) GetFilter

func (*LoadNetworksRequest) ProtoMessage

func (*LoadNetworksRequest) ProtoMessage()

func (*LoadNetworksRequest) ProtoReflect

func (x *LoadNetworksRequest) ProtoReflect() protoreflect.Message

func (*LoadNetworksRequest) Reset

func (x *LoadNetworksRequest) Reset()

func (*LoadNetworksRequest) String

func (x *LoadNetworksRequest) String() string

type MconfigBuilderClient

type MconfigBuilderClient interface {
	Build(ctx context.Context, in *BuildMconfigRequest, opts ...grpc.CallOption) (*BuildMconfigResponse, error)
}

MconfigBuilderClient is the client API for MconfigBuilder service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type MconfigBuilderServer

type MconfigBuilderServer interface {
	Build(context.Context, *BuildMconfigRequest) (*BuildMconfigResponse, error)
}

MconfigBuilderServer is the server API for MconfigBuilder service.

type NorthboundConfiguratorClient

type NorthboundConfiguratorClient interface {
	// ListNetworkIDs fetches the list of networkIDs registered
	ListNetworkIDs(ctx context.Context, in *protos.Void, opts ...grpc.CallOption) (*ListNetworkIDsResponse, error)
	// CreateNetworks registers the given list of Networks and returns the created Networks
	CreateNetworks(ctx context.Context, in *CreateNetworksRequest, opts ...grpc.CallOption) (*CreateNetworksResponse, error)
	// UpdateNetworks updates the given list of registered Networks
	UpdateNetworks(ctx context.Context, in *UpdateNetworksRequest, opts ...grpc.CallOption) (*protos.Void, error)
	// DeleteNetworks deletes the given list of registered Networks
	DeleteNetworks(ctx context.Context, in *DeleteNetworksRequest, opts ...grpc.CallOption) (*protos.Void, error)
	// LoadNetworks fetches the set of Networks specified by the request
	LoadNetworks(ctx context.Context, in *LoadNetworksRequest, opts ...grpc.CallOption) (*storage.NetworkLoadResult, error)
	// Perform multiple operations (create/update/delete) in a single
	// transaction
	WriteEntities(ctx context.Context, in *WriteEntitiesRequest, opts ...grpc.CallOption) (*WriteEntitiesResponse, error)
	// CreateEntities registers the given list of Entities and returns the created Entities
	CreateEntities(ctx context.Context, in *CreateEntitiesRequest, opts ...grpc.CallOption) (*CreateEntitiesResponse, error)
	// UpdateEntities updates the given list of registered Entities and returns the updated Entities
	UpdateEntities(ctx context.Context, in *UpdateEntitiesRequest, opts ...grpc.CallOption) (*UpdateEntitiesResponse, error)
	// DeleteEntities deletes the set of Entities registered
	DeleteEntities(ctx context.Context, in *DeleteEntitiesRequest, opts ...grpc.CallOption) (*protos.Void, error)
	// LoadEntities fetches the set of Entities specified by the request
	LoadEntities(ctx context.Context, in *LoadEntitiesRequest, opts ...grpc.CallOption) (*storage.EntityLoadResult, error)
}

NorthboundConfiguratorClient is the client API for NorthboundConfigurator service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type NorthboundConfiguratorServer

type NorthboundConfiguratorServer interface {
	// ListNetworkIDs fetches the list of networkIDs registered
	ListNetworkIDs(context.Context, *protos.Void) (*ListNetworkIDsResponse, error)
	// CreateNetworks registers the given list of Networks and returns the created Networks
	CreateNetworks(context.Context, *CreateNetworksRequest) (*CreateNetworksResponse, error)
	// UpdateNetworks updates the given list of registered Networks
	UpdateNetworks(context.Context, *UpdateNetworksRequest) (*protos.Void, error)
	// DeleteNetworks deletes the given list of registered Networks
	DeleteNetworks(context.Context, *DeleteNetworksRequest) (*protos.Void, error)
	// LoadNetworks fetches the set of Networks specified by the request
	LoadNetworks(context.Context, *LoadNetworksRequest) (*storage.NetworkLoadResult, error)
	// Perform multiple operations (create/update/delete) in a single
	// transaction
	WriteEntities(context.Context, *WriteEntitiesRequest) (*WriteEntitiesResponse, error)
	// CreateEntities registers the given list of Entities and returns the created Entities
	CreateEntities(context.Context, *CreateEntitiesRequest) (*CreateEntitiesResponse, error)
	// UpdateEntities updates the given list of registered Entities and returns the updated Entities
	UpdateEntities(context.Context, *UpdateEntitiesRequest) (*UpdateEntitiesResponse, error)
	// DeleteEntities deletes the set of Entities registered
	DeleteEntities(context.Context, *DeleteEntitiesRequest) (*protos.Void, error)
	// LoadEntities fetches the set of Entities specified by the request
	LoadEntities(context.Context, *LoadEntitiesRequest) (*storage.EntityLoadResult, error)
}

NorthboundConfiguratorServer is the server API for NorthboundConfigurator service.

type SouthboundConfiguratorClient

type SouthboundConfiguratorClient interface {
	GetMconfig(ctx context.Context, in *protos.Void, opts ...grpc.CallOption) (*protos.GatewayConfigs, error)
	// GetMconfigInternal exists to support the existing streamer mconfig
	// policy. This should be removed when we migrate gateway mconfig updates
	// from streamer to this southbound configurator servicer.
	GetMconfigInternal(ctx context.Context, in *GetMconfigRequest, opts ...grpc.CallOption) (*GetMconfigResponse, error)
}

SouthboundConfiguratorClient is the client API for SouthboundConfigurator service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type SouthboundConfiguratorServer

type SouthboundConfiguratorServer interface {
	GetMconfig(context.Context, *protos.Void) (*protos.GatewayConfigs, error)
	// GetMconfigInternal exists to support the existing streamer mconfig
	// policy. This should be removed when we migrate gateway mconfig updates
	// from streamer to this southbound configurator servicer.
	GetMconfigInternal(context.Context, *GetMconfigRequest) (*GetMconfigResponse, error)
}

SouthboundConfiguratorServer is the server API for SouthboundConfigurator service.

type UnimplementedMconfigBuilderServer

type UnimplementedMconfigBuilderServer struct {
}

UnimplementedMconfigBuilderServer can be embedded to have forward compatible implementations.

func (*UnimplementedMconfigBuilderServer) Build

type UnimplementedNorthboundConfiguratorServer

type UnimplementedNorthboundConfiguratorServer struct {
}

UnimplementedNorthboundConfiguratorServer can be embedded to have forward compatible implementations.

func (*UnimplementedNorthboundConfiguratorServer) CreateEntities

func (*UnimplementedNorthboundConfiguratorServer) CreateNetworks

func (*UnimplementedNorthboundConfiguratorServer) DeleteEntities

func (*UnimplementedNorthboundConfiguratorServer) DeleteNetworks

func (*UnimplementedNorthboundConfiguratorServer) ListNetworkIDs

func (*UnimplementedNorthboundConfiguratorServer) LoadEntities

func (*UnimplementedNorthboundConfiguratorServer) LoadNetworks

func (*UnimplementedNorthboundConfiguratorServer) UpdateEntities

func (*UnimplementedNorthboundConfiguratorServer) UpdateNetworks

func (*UnimplementedNorthboundConfiguratorServer) WriteEntities

type UnimplementedSouthboundConfiguratorServer

type UnimplementedSouthboundConfiguratorServer struct {
}

UnimplementedSouthboundConfiguratorServer can be embedded to have forward compatible implementations.

func (*UnimplementedSouthboundConfiguratorServer) GetMconfig

func (*UnimplementedSouthboundConfiguratorServer) GetMconfigInternal

type UpdateEntitiesRequest

type UpdateEntitiesRequest struct {
	NetworkID string                          `protobuf:"bytes,1,opt,name=networkID,proto3" json:"networkID,omitempty"`
	Updates   []*storage.EntityUpdateCriteria `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEntitiesRequest) Descriptor deprecated

func (*UpdateEntitiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEntitiesRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntitiesRequest) GetNetworkID

func (x *UpdateEntitiesRequest) GetNetworkID() string

func (*UpdateEntitiesRequest) GetUpdates

func (*UpdateEntitiesRequest) ProtoMessage

func (*UpdateEntitiesRequest) ProtoMessage()

func (*UpdateEntitiesRequest) ProtoReflect

func (x *UpdateEntitiesRequest) ProtoReflect() protoreflect.Message

func (*UpdateEntitiesRequest) Reset

func (x *UpdateEntitiesRequest) Reset()

func (*UpdateEntitiesRequest) String

func (x *UpdateEntitiesRequest) String() string

type UpdateEntitiesResponse

type UpdateEntitiesResponse struct {
	UpdatedEntities map[string]*storage.NetworkEntity `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateEntitiesResponse) Descriptor deprecated

func (*UpdateEntitiesResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEntitiesResponse.ProtoReflect.Descriptor instead.

func (*UpdateEntitiesResponse) GetUpdatedEntities

func (x *UpdateEntitiesResponse) GetUpdatedEntities() map[string]*storage.NetworkEntity

func (*UpdateEntitiesResponse) ProtoMessage

func (*UpdateEntitiesResponse) ProtoMessage()

func (*UpdateEntitiesResponse) ProtoReflect

func (x *UpdateEntitiesResponse) ProtoReflect() protoreflect.Message

func (*UpdateEntitiesResponse) Reset

func (x *UpdateEntitiesResponse) Reset()

func (*UpdateEntitiesResponse) String

func (x *UpdateEntitiesResponse) String() string

type UpdateNetworksRequest

type UpdateNetworksRequest struct {
	Updates []*storage.NetworkUpdateCriteria `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNetworksRequest) Descriptor deprecated

func (*UpdateNetworksRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNetworksRequest.ProtoReflect.Descriptor instead.

func (*UpdateNetworksRequest) GetUpdates

func (*UpdateNetworksRequest) ProtoMessage

func (*UpdateNetworksRequest) ProtoMessage()

func (*UpdateNetworksRequest) ProtoReflect

func (x *UpdateNetworksRequest) ProtoReflect() protoreflect.Message

func (*UpdateNetworksRequest) Reset

func (x *UpdateNetworksRequest) Reset()

func (*UpdateNetworksRequest) String

func (x *UpdateNetworksRequest) String() string

type WriteEntitiesRequest

type WriteEntitiesRequest struct {
	NetworkID string                `protobuf:"bytes,1,opt,name=networkID,proto3" json:"networkID,omitempty"`
	Writes    []*WriteEntityRequest `protobuf:"bytes,2,rep,name=writes,proto3" json:"writes,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteEntitiesRequest) Descriptor deprecated

func (*WriteEntitiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use WriteEntitiesRequest.ProtoReflect.Descriptor instead.

func (*WriteEntitiesRequest) GetNetworkID

func (x *WriteEntitiesRequest) GetNetworkID() string

func (*WriteEntitiesRequest) GetWrites

func (x *WriteEntitiesRequest) GetWrites() []*WriteEntityRequest

func (*WriteEntitiesRequest) ProtoMessage

func (*WriteEntitiesRequest) ProtoMessage()

func (*WriteEntitiesRequest) ProtoReflect

func (x *WriteEntitiesRequest) ProtoReflect() protoreflect.Message

func (*WriteEntitiesRequest) Reset

func (x *WriteEntitiesRequest) Reset()

func (*WriteEntitiesRequest) String

func (x *WriteEntitiesRequest) String() string

type WriteEntitiesResponse

type WriteEntitiesResponse struct {
	CreatedEntities []*storage.NetworkEntity          `protobuf:"bytes,1,rep,name=created_entities,json=createdEntities,proto3" json:"created_entities,omitempty"`
	UpdatedEntities map[string]*storage.NetworkEntity `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WriteEntitiesResponse) Descriptor deprecated

func (*WriteEntitiesResponse) Descriptor() ([]byte, []int)

Deprecated: Use WriteEntitiesResponse.ProtoReflect.Descriptor instead.

func (*WriteEntitiesResponse) GetCreatedEntities

func (x *WriteEntitiesResponse) GetCreatedEntities() []*storage.NetworkEntity

func (*WriteEntitiesResponse) GetUpdatedEntities

func (x *WriteEntitiesResponse) GetUpdatedEntities() map[string]*storage.NetworkEntity

func (*WriteEntitiesResponse) ProtoMessage

func (*WriteEntitiesResponse) ProtoMessage()

func (*WriteEntitiesResponse) ProtoReflect

func (x *WriteEntitiesResponse) ProtoReflect() protoreflect.Message

func (*WriteEntitiesResponse) Reset

func (x *WriteEntitiesResponse) Reset()

func (*WriteEntitiesResponse) String

func (x *WriteEntitiesResponse) String() string

type WriteEntityRequest

type WriteEntityRequest struct {

	// Types that are assignable to Request:
	//	*WriteEntityRequest_Create
	//	*WriteEntityRequest_Update
	Request isWriteEntityRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

func (*WriteEntityRequest) Descriptor deprecated

func (*WriteEntityRequest) Descriptor() ([]byte, []int)

Deprecated: Use WriteEntityRequest.ProtoReflect.Descriptor instead.

func (*WriteEntityRequest) GetCreate

func (x *WriteEntityRequest) GetCreate() *storage.NetworkEntity

func (*WriteEntityRequest) GetRequest

func (m *WriteEntityRequest) GetRequest() isWriteEntityRequest_Request

func (*WriteEntityRequest) GetUpdate

func (*WriteEntityRequest) ProtoMessage

func (*WriteEntityRequest) ProtoMessage()

func (*WriteEntityRequest) ProtoReflect

func (x *WriteEntityRequest) ProtoReflect() protoreflect.Message

func (*WriteEntityRequest) Reset

func (x *WriteEntityRequest) Reset()

func (*WriteEntityRequest) String

func (x *WriteEntityRequest) String() string

type WriteEntityRequest_Create

type WriteEntityRequest_Create struct {
	Create *storage.NetworkEntity `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}

type WriteEntityRequest_Update

type WriteEntityRequest_Update struct {
	Update *storage.EntityUpdateCriteria `protobuf:"bytes,2,opt,name=update,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL