Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nims: Add Register and Unregister Multiplexer Sessions APIs #608

Merged
merged 3 commits into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ class ResourceAccessInformation(google.protobuf.message.Message):
"""
@property
def channel_mappings(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ChannelMapping]:
"""List of site and pin/relay mappings with the multiplexer info for each channel in the channel_list.
"""List of site and pin/relay mappings with optional multiplexer information for each channel in the channel_list.
Each item represents a channel-to-pin connection for this instrument resource. In the case of shared pins, there is a separate item for each connection.
"""
def __init__(
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class SessionInformation(google.protobuf.message.Message):
"""
@property
def channel_mappings(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ChannelMapping]:
"""List of site and pin/relay mappings with the multiplexer info for each channel in the channel_list.
"""List of site and pin/relay mappings with optional multiplexer information for each channel in the channel_list.
Each item represents a channel-to-pin connection for this instrument resource. In the case of shared pins, there is a separate item for each connection.
This field is empty for any SessionInformation returned from ReserveAllRegisteredSessions.
This field is readonly.
Expand Down Expand Up @@ -351,3 +351,57 @@ class ReserveAllRegisteredSessionsResponse(google.protobuf.message.Message):
def ClearField(self, field_name: typing_extensions.Literal["sessions", b"sessions"]) -> None: ...

global___ReserveAllRegisteredSessionsResponse = ReserveAllRegisteredSessionsResponse

@typing_extensions.final
class RegisterMultiplexerSessionsRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

MULTIPLEXER_SESSIONS_FIELD_NUMBER: builtins.int
@property
def multiplexer_sessions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MultiplexerSessionInformation]:
"""Required. List of multiplexer sessions to register with the session management service to track as the sessions are open."""
def __init__(
self,
*,
multiplexer_sessions: collections.abc.Iterable[global___MultiplexerSessionInformation] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["multiplexer_sessions", b"multiplexer_sessions"]) -> None: ...

global___RegisterMultiplexerSessionsRequest = RegisterMultiplexerSessionsRequest

@typing_extensions.final
class RegisterMultiplexerSessionsResponse(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

def __init__(
self,
) -> None: ...

global___RegisterMultiplexerSessionsResponse = RegisterMultiplexerSessionsResponse

@typing_extensions.final
class UnregisterMultiplexerSessionsRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

MULTIPLEXER_SESSIONS_FIELD_NUMBER: builtins.int
@property
def multiplexer_sessions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MultiplexerSessionInformation]:
"""Required. List of multiplexer sessions to unregister with the session management service to mark them as sessions were closed."""
def __init__(
self,
*,
multiplexer_sessions: collections.abc.Iterable[global___MultiplexerSessionInformation] | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["multiplexer_sessions", b"multiplexer_sessions"]) -> None: ...

global___UnregisterMultiplexerSessionsRequest = UnregisterMultiplexerSessionsRequest

@typing_extensions.final
class UnregisterMultiplexerSessionsResponse(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

def __init__(
self,
) -> None: ...

global___UnregisterMultiplexerSessionsResponse = UnregisterMultiplexerSessionsResponse
Loading
Loading