v1alpha

package
v1.0.1784669319-alpha.... Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SolutionIngester_ApplySystemAndRadioResourceAllocation_FullMethodName = "/aalyria.spacetime.api.solver.v1alpha.SolutionIngester/ApplySystemAndRadioResourceAllocation"
)

Variables

View Source
var File_api_solver_v1alpha_solver_proto protoreflect.FileDescriptor
View Source
var SolutionIngester_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "aalyria.spacetime.api.solver.v1alpha.SolutionIngester",
	HandlerType: (*SolutionIngesterServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ApplySystemAndRadioResourceAllocation",
			Handler:    _SolutionIngester_ApplySystemAndRadioResourceAllocation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/solver/v1alpha/solver.proto",
}

SolutionIngester_ServiceDesc is the grpc.ServiceDesc for SolutionIngester service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSolutionIngesterServer

func RegisterSolutionIngesterServer(s grpc.ServiceRegistrar, srv SolutionIngesterServer)

Types

type ApplySystemAndRadioResourceAllocationRequest

type ApplySystemAndRadioResourceAllocationRequest struct {

	// The total interval covered by the resource allocation plan in the request.
	// Any previous resource allocations for this interval will be deleted.
	// Required.
	Interval *interval.Interval `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// The allocation of system and radio resources.
	SystemAndRadioResources []*SystemAndRadioResource `` /* 134-byte string literal not displayed */
	// The network paths that correspond to the resource allocations.
	Paths []*Path `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplySystemAndRadioResourceAllocationRequest) Descriptor deprecated

Deprecated: Use ApplySystemAndRadioResourceAllocationRequest.ProtoReflect.Descriptor instead.

func (*ApplySystemAndRadioResourceAllocationRequest) GetInterval

func (*ApplySystemAndRadioResourceAllocationRequest) GetPaths

func (*ApplySystemAndRadioResourceAllocationRequest) GetSystemAndRadioResources

func (x *ApplySystemAndRadioResourceAllocationRequest) GetSystemAndRadioResources() []*SystemAndRadioResource

func (*ApplySystemAndRadioResourceAllocationRequest) ProtoMessage

func (*ApplySystemAndRadioResourceAllocationRequest) ProtoReflect

func (*ApplySystemAndRadioResourceAllocationRequest) Reset

func (*ApplySystemAndRadioResourceAllocationRequest) String

type ApplySystemAndRadioResourceAllocationResponse

type ApplySystemAndRadioResourceAllocationResponse struct {
	// contains filtered or unexported fields
}

func (*ApplySystemAndRadioResourceAllocationResponse) Descriptor deprecated

Deprecated: Use ApplySystemAndRadioResourceAllocationResponse.ProtoReflect.Descriptor instead.

func (*ApplySystemAndRadioResourceAllocationResponse) ProtoMessage

func (*ApplySystemAndRadioResourceAllocationResponse) ProtoReflect

func (*ApplySystemAndRadioResourceAllocationResponse) Reset

func (*ApplySystemAndRadioResourceAllocationResponse) String

type Path

type Path struct {

	// The interval over which this path exists.
	// Required.
	Interval *interval.Interval `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// Defines the path.
	// Required.
	Path *resources.PathIntent `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// The requests for service that this path serves to fulfill over time.
	// Required.
	DependentServiceRequests []*ServiceRequestAndIntervals `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Models a list of paths that represent routing solutions to the network flows specified by SERVICE_REQUEST entities. When submitted to Spacetime, each Path is used to initialize an INTENT entity, and its ID is set to a UUID.

func (*Path) Descriptor deprecated

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

Deprecated: Use Path.ProtoReflect.Descriptor instead.

func (*Path) GetDependentServiceRequests

func (x *Path) GetDependentServiceRequests() []*ServiceRequestAndIntervals

func (*Path) GetInterval

func (x *Path) GetInterval() *interval.Interval

func (*Path) GetPath

func (x *Path) GetPath() *resources.PathIntent

func (*Path) ProtoMessage

func (*Path) ProtoMessage()

func (*Path) ProtoReflect

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

func (*Path) Reset

func (x *Path) Reset()

func (*Path) String

func (x *Path) String() string

type ServiceRequestAndIntervals

type ServiceRequestAndIntervals struct {

	// A SERVICE_REQUEST entity's ID.
	// Required.
	ServiceRequestId string `protobuf:"bytes,1,opt,name=service_request_id,json=serviceRequestId,proto3" json:"service_request_id,omitempty"`
	// Required.
	Intervals []*interval.Interval `protobuf:"bytes,2,rep,name=intervals,proto3" json:"intervals,omitempty"`
	// contains filtered or unexported fields
}

Used to represent the requests for connectivity across the network that each resource allocation serves to fulfill over time. The requests for connectivity are represented as SERVICE_REQUEST entities in Spacetime's data model.

func (*ServiceRequestAndIntervals) Descriptor deprecated

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

Deprecated: Use ServiceRequestAndIntervals.ProtoReflect.Descriptor instead.

func (*ServiceRequestAndIntervals) GetIntervals

func (x *ServiceRequestAndIntervals) GetIntervals() []*interval.Interval

func (*ServiceRequestAndIntervals) GetServiceRequestId

func (x *ServiceRequestAndIntervals) GetServiceRequestId() string

func (*ServiceRequestAndIntervals) ProtoMessage

func (*ServiceRequestAndIntervals) ProtoMessage()

func (*ServiceRequestAndIntervals) ProtoReflect

func (*ServiceRequestAndIntervals) Reset

func (x *ServiceRequestAndIntervals) Reset()

func (*ServiceRequestAndIntervals) String

func (x *ServiceRequestAndIntervals) String() string

type SolutionIngesterClient

type SolutionIngesterClient interface {
	// Issues a request to submit the allocation of system and radio resources
	// over an interval.
	ApplySystemAndRadioResourceAllocation(ctx context.Context, in *ApplySystemAndRadioResourceAllocationRequest, opts ...grpc.CallOption) (*ApplySystemAndRadioResourceAllocationResponse, error)
}

SolutionIngesterClient is the client API for SolutionIngester 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 NewSolutionIngesterClient

func NewSolutionIngesterClient(cc grpc.ClientConnInterface) SolutionIngesterClient

type SolutionIngesterServer

type SolutionIngesterServer interface {
	// Issues a request to submit the allocation of system and radio resources
	// over an interval.
	ApplySystemAndRadioResourceAllocation(context.Context, *ApplySystemAndRadioResourceAllocationRequest) (*ApplySystemAndRadioResourceAllocationResponse, error)
}

SolutionIngesterServer is the server API for SolutionIngester service. All implementations should embed UnimplementedSolutionIngesterServer for forward compatibility.

type SystemAndRadioResource

type SystemAndRadioResource struct {

	// The interval over which this resource allocation exists.
	// Required.
	Interval *interval.Interval `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// Defines the resource allocation.
	// Required.
	Resource *resources.ModemIntent `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// The requests for service that this resource serves to fulfill over time.
	// Required.
	DependentServiceRequests []*ServiceRequestAndIntervals `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Models a list of system and radio resource allocations. When submitted to Spacetime, each SystemAndRadioResource is used to initialize an INTENT entity, and its ID is set to a UUID.

func (*SystemAndRadioResource) Descriptor deprecated

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

Deprecated: Use SystemAndRadioResource.ProtoReflect.Descriptor instead.

func (*SystemAndRadioResource) GetDependentServiceRequests

func (x *SystemAndRadioResource) GetDependentServiceRequests() []*ServiceRequestAndIntervals

func (*SystemAndRadioResource) GetInterval

func (x *SystemAndRadioResource) GetInterval() *interval.Interval

func (*SystemAndRadioResource) GetResource

func (x *SystemAndRadioResource) GetResource() *resources.ModemIntent

func (*SystemAndRadioResource) ProtoMessage

func (*SystemAndRadioResource) ProtoMessage()

func (*SystemAndRadioResource) ProtoReflect

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

func (*SystemAndRadioResource) Reset

func (x *SystemAndRadioResource) Reset()

func (*SystemAndRadioResource) String

func (x *SystemAndRadioResource) String() string

type UnimplementedSolutionIngesterServer

type UnimplementedSolutionIngesterServer struct{}

UnimplementedSolutionIngesterServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSolutionIngesterServer) ApplySystemAndRadioResourceAllocation

type UnsafeSolutionIngesterServer

type UnsafeSolutionIngesterServer interface {
	// contains filtered or unexported methods
}

UnsafeSolutionIngesterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SolutionIngesterServer will result in compilation errors.

Source Files

  • solver.pb.go
  • solver_grpc.pb.go

Jump to

Keyboard shortcuts

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