eventstoredb.generated.event_store.cluster
#
Package Contents#
Classes#
The base class for protobuf enumerations, all generated enumerations will inherit |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
The base class for protobuf messages, all generated messages will inherit from |
|
Base class for async gRPC clients. |
|
Base class for async gRPC clients. |
|
Base class for async gRPC servers. |
|
Base class for async gRPC servers. |
- class eventstoredb.generated.event_store.cluster.MemberInfoVNodeState[source]#
Bases:
betterproto.Enum
The base class for protobuf enumerations, all generated enumerations will inherit from this. Bases
enum.IntEnum
.- Initializing = 0#
- DiscoverLeader = 1#
- Unknown = 2#
- PreReplica = 3#
- CatchingUp = 4#
- Clone = 5#
- Follower = 6#
- PreLeader = 7#
- Leader = 8#
- Manager = 9#
- ShuttingDown = 10#
- Shutdown = 11#
- ReadOnlyLeaderless = 12#
- PreReadOnlyReplica = 13#
- ReadOnlyReplica = 14#
- ResigningLeader = 15#
- class eventstoredb.generated.event_store.cluster.GossipRequest[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- info: ClusterInfo#
- class eventstoredb.generated.event_store.cluster.ViewChangeRequest[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.ViewChangeProofRequest[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.PrepareRequest[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.PrepareOkRequest[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- epoch_leader_instance_id: eventstoredb.generated.event_store.client.Uuid#
- cluster_info: ClusterInfo#
- class eventstoredb.generated.event_store.cluster.ProposalRequest[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- epoch_leader_instance_id: eventstoredb.generated.event_store.client.Uuid#
- class eventstoredb.generated.event_store.cluster.AcceptRequest[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.LeaderIsResigningRequest[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.LeaderIsResigningOkRequest[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.ClusterInfo[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- members: List[MemberInfo]#
- class eventstoredb.generated.event_store.cluster.EndPoint[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.MemberInfo[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- instance_id: eventstoredb.generated.event_store.client.Uuid#
- state: MemberInfoVNodeState#
- class eventstoredb.generated.event_store.cluster.ReplicaLogWrite[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.ReplicatedTo[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.Epoch[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.SubscribeReplica[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.ReplicaSubscriptionRetry[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.ReplicaSubscribed[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.ReplicaLogPositionAck[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.CreateChunk[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.RawChunkBulk[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.DataChunkBulk[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.FollowerAssignment[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.CloneAssignment[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.DropSubscription[source]#
Bases:
betterproto.Message
The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.
- bytes(x)
Calls
__bytes__()
.
- bool(x)
Calls
__bool__()
.
- class eventstoredb.generated.event_store.cluster.GossipStub(channel, *, timeout=None, deadline=None, metadata=None)[source]#
Bases:
betterproto.ServiceStub
Base class for async gRPC clients.
- Parameters:
channel (grpclib.client.Channel) –
timeout (Optional[float]) –
deadline (Optional[grpclib.metadata.Deadline]) –
metadata (Optional[MetadataLike]) –
- async update(gossip_request, *, timeout=None, deadline=None, metadata=None)[source]#
- Parameters:
gossip_request (GossipRequest) –
timeout (Optional[float]) –
deadline (Optional[grpclib.metadata.Deadline]) –
metadata (Optional[betterproto.grpc.grpclib_client.MetadataLike]) –
- Return type:
- async read(client_empty, *, timeout=None, deadline=None, metadata=None)[source]#
- Parameters:
client_empty (eventstoredb.generated.event_store.client.Empty) –
timeout (Optional[float]) –
deadline (Optional[grpclib.metadata.Deadline]) –
metadata (Optional[betterproto.grpc.grpclib_client.MetadataLike]) –
- Return type:
- class eventstoredb.generated.event_store.cluster.ElectionsStub(channel, *, timeout=None, deadline=None, metadata=None)[source]#
Bases:
betterproto.ServiceStub
Base class for async gRPC clients.
- Parameters:
channel (grpclib.client.Channel) –
timeout (Optional[float]) –
deadline (Optional[grpclib.metadata.Deadline]) –
metadata (Optional[MetadataLike]) –
- async view_change(view_change_request, *, timeout=None, deadline=None, metadata=None)[source]#
- Parameters:
view_change_request (ViewChangeRequest) –
timeout (Optional[float]) –
deadline (Optional[grpclib.metadata.Deadline]) –
metadata (Optional[betterproto.grpc.grpclib_client.MetadataLike]) –
- Return type:
- async view_change_proof(view_change_proof_request, *, timeout=None, deadline=None, metadata=None)[source]#
- Parameters:
view_change_proof_request (ViewChangeProofRequest) –
timeout (Optional[float]) –
deadline (Optional[grpclib.metadata.Deadline]) –
metadata (Optional[betterproto.grpc.grpclib_client.MetadataLike]) –
- Return type:
- async prepare(prepare_request, *, timeout=None, deadline=None, metadata=None)[source]#
- Parameters:
prepare_request (PrepareRequest) –
timeout (Optional[float]) –
deadline (Optional[grpclib.metadata.Deadline]) –
metadata (Optional[betterproto.grpc.grpclib_client.MetadataLike]) –
- Return type:
- async prepare_ok(prepare_ok_request, *, timeout=None, deadline=None, metadata=None)[source]#
- Parameters:
prepare_ok_request (PrepareOkRequest) –
timeout (Optional[float]) –
deadline (Optional[grpclib.metadata.Deadline]) –
metadata (Optional[betterproto.grpc.grpclib_client.MetadataLike]) –
- Return type:
- async proposal(proposal_request, *, timeout=None, deadline=None, metadata=None)[source]#
- Parameters:
proposal_request (ProposalRequest) –
timeout (Optional[float]) –
deadline (Optional[grpclib.metadata.Deadline]) –
metadata (Optional[betterproto.grpc.grpclib_client.MetadataLike]) –
- Return type:
- async accept(accept_request, *, timeout=None, deadline=None, metadata=None)[source]#
- Parameters:
accept_request (AcceptRequest) –
timeout (Optional[float]) –
deadline (Optional[grpclib.metadata.Deadline]) –
metadata (Optional[betterproto.grpc.grpclib_client.MetadataLike]) –
- Return type:
- async leader_is_resigning(leader_is_resigning_request, *, timeout=None, deadline=None, metadata=None)[source]#
- Parameters:
leader_is_resigning_request (LeaderIsResigningRequest) –
timeout (Optional[float]) –
deadline (Optional[grpclib.metadata.Deadline]) –
metadata (Optional[betterproto.grpc.grpclib_client.MetadataLike]) –
- Return type:
- async leader_is_resigning_ok(leader_is_resigning_ok_request, *, timeout=None, deadline=None, metadata=None)[source]#
- Parameters:
leader_is_resigning_ok_request (LeaderIsResigningOkRequest) –
timeout (Optional[float]) –
deadline (Optional[grpclib.metadata.Deadline]) –
metadata (Optional[betterproto.grpc.grpclib_client.MetadataLike]) –
- Return type:
- class eventstoredb.generated.event_store.cluster.GossipBase[source]#
Bases:
betterproto.grpc.grpclib_server.ServiceBase
Base class for async gRPC servers.
- async update(gossip_request)[source]#
- Parameters:
gossip_request (GossipRequest) –
- Return type:
- async read(client_empty)[source]#
- Parameters:
client_empty (eventstoredb.generated.event_store.client.Empty) –
- Return type:
- class eventstoredb.generated.event_store.cluster.ElectionsBase[source]#
Bases:
betterproto.grpc.grpclib_server.ServiceBase
Base class for async gRPC servers.
- async view_change(view_change_request)[source]#
- Parameters:
view_change_request (ViewChangeRequest) –
- Return type:
- async view_change_proof(view_change_proof_request)[source]#
- Parameters:
view_change_proof_request (ViewChangeProofRequest) –
- Return type:
- async prepare(prepare_request)[source]#
- Parameters:
prepare_request (PrepareRequest) –
- Return type:
- async prepare_ok(prepare_ok_request)[source]#
- Parameters:
prepare_ok_request (PrepareOkRequest) –
- Return type:
- async proposal(proposal_request)[source]#
- Parameters:
proposal_request (ProposalRequest) –
- Return type:
- async accept(accept_request)[source]#
- Parameters:
accept_request (AcceptRequest) –
- Return type:
- async leader_is_resigning(leader_is_resigning_request)[source]#
- Parameters:
leader_is_resigning_request (LeaderIsResigningRequest) –
- Return type:
- async leader_is_resigning_ok(leader_is_resigning_ok_request)[source]#
- Parameters:
leader_is_resigning_ok_request (LeaderIsResigningOkRequest) –
- Return type: