diff --git a/apis/BUILD b/apis/BUILD
index 816ff8b..813b112 100644
--- a/apis/BUILD
+++ b/apis/BUILD
@@ -41,10 +41,11 @@ filegroup(
name = "platform_api_protos",
srcs = [
"@improbable_platform//proto/improbable/spatialos/deployment:protos",
- "@improbable_platform//proto/improbable/spatialos/snapshot:protos",
- "@improbable_platform//proto/improbable/spatialos/serviceaccount:protos",
"@improbable_platform//proto/improbable/spatialos/playerauth/v1alpha1:protos",
"@improbable_platform//proto/improbable/spatialos/playerauth/v2alpha1:protos",
+ "@improbable_platform//proto/improbable/spatialos/remoteinteraction/v1alpha1:protos",
+ "@improbable_platform//proto/improbable/spatialos/serviceaccount:protos",
+ "@improbable_platform//proto/improbable/spatialos/snapshot:protos",
],
)
diff --git a/apis/playerauth_v2alpha1/PlayerIdentity.cs b/apis/playerauth_v2alpha1/PlayerIdentity.cs
deleted file mode 100755
index 707df8d..0000000
--- a/apis/playerauth_v2alpha1/PlayerIdentity.cs
+++ /dev/null
@@ -1,449 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: proto/improbable/spatialos/playerauth/v1alpha1/player_identity.proto
-#pragma warning disable 1591, 0612, 3021
-#region Designer generated code
-
-using pb = global::Google.Protobuf;
-using pbc = global::Google.Protobuf.Collections;
-using pbr = global::Google.Protobuf.Reflection;
-using scg = global::System.Collections.Generic;
-namespace Improbable.SpatialOS.PlayerAuth.V1Alpha1 {
-
- /// Holder for reflection information generated from proto/improbable/spatialos/playerauth/v1alpha1/player_identity.proto
- public static partial class PlayerIdentityReflection {
-
- #region Descriptor
- /// File descriptor for proto/improbable/spatialos/playerauth/v1alpha1/player_identity.proto
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static PlayerIdentityReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "CkRwcm90by9pbXByb2JhYmxlL3NwYXRpYWxvcy9wbGF5ZXJhdXRoL3YxYWxw",
- "aGExL3BsYXllcl9pZGVudGl0eS5wcm90bxIoaW1wcm9iYWJsZS5zcGF0aWFs",
- "b3MucGxheWVyYXV0aC52MWFscGhhMSIcCgtQbGF5ZXJUb2tlbhINCgV0b2tl",
- "bhgBIAEoCSJLChhDcmVhdGVQbGF5ZXJUb2tlblJlcXVlc3QSGQoRcGxheWVy",
- "X2lkZW50aWZpZXIYASABKAkSFAoMcHJvamVjdF9uYW1lGAIgASgJImEKGUNy",
- "ZWF0ZVBsYXllclRva2VuUmVzcG9uc2USRAoFdG9rZW4YASABKAsyNS5pbXBy",
- "b2JhYmxlLnNwYXRpYWxvcy5wbGF5ZXJhdXRoLnYxYWxwaGExLlBsYXllclRv",
- "a2VuMrMBChJQbGF5ZXJUb2tlblNlcnZpY2USnAEKEUNyZWF0ZVBsYXllclRv",
- "a2VuEkIuaW1wcm9iYWJsZS5zcGF0aWFsb3MucGxheWVyYXV0aC52MWFscGhh",
- "MS5DcmVhdGVQbGF5ZXJUb2tlblJlcXVlc3QaQy5pbXByb2JhYmxlLnNwYXRp",
- "YWxvcy5wbGF5ZXJhdXRoLnYxYWxwaGExLkNyZWF0ZVBsYXllclRva2VuUmVz",
- "cG9uc2VCYFozaW1wcm9iYWJsZS9zcGF0aWFsb3MvcGxheWVyYXV0aC92MWFs",
- "cGhhMTtwbGF5ZXJhdXRoqgIoSW1wcm9iYWJsZS5TcGF0aWFsT1MuUGxheWVy",
- "QXV0aC5WMUFscGhhMWIGcHJvdG8z"));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.PlayerToken), global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.PlayerToken.Parser, new[]{ "Token" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenRequest), global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenRequest.Parser, new[]{ "PlayerIdentifier", "ProjectName" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenResponse), global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenResponse.Parser, new[]{ "Token" }, null, null, null)
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class PlayerToken : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerToken());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.PlayerIdentityReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public PlayerToken() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public PlayerToken(PlayerToken other) : this() {
- token_ = other.token_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public PlayerToken Clone() {
- return new PlayerToken(this);
- }
-
- /// Field number for the "token" field.
- public const int TokenFieldNumber = 1;
- private string token_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string Token {
- get { return token_; }
- set {
- token_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as PlayerToken);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(PlayerToken other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Token != other.Token) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (Token.Length != 0) hash ^= Token.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (Token.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Token);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (Token.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Token);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(PlayerToken other) {
- if (other == null) {
- return;
- }
- if (other.Token.Length != 0) {
- Token = other.Token;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- Token = input.ReadString();
- break;
- }
- }
- }
- }
-
- }
-
- public sealed partial class CreatePlayerTokenRequest : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreatePlayerTokenRequest());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.PlayerIdentityReflection.Descriptor.MessageTypes[1]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public CreatePlayerTokenRequest() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public CreatePlayerTokenRequest(CreatePlayerTokenRequest other) : this() {
- playerIdentifier_ = other.playerIdentifier_;
- projectName_ = other.projectName_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public CreatePlayerTokenRequest Clone() {
- return new CreatePlayerTokenRequest(this);
- }
-
- /// Field number for the "player_identifier" field.
- public const int PlayerIdentifierFieldNumber = 1;
- private string playerIdentifier_ = "";
- ///
- //// Player identifier, eg: username
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string PlayerIdentifier {
- get { return playerIdentifier_; }
- set {
- playerIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- /// Field number for the "project_name" field.
- public const int ProjectNameFieldNumber = 2;
- private string projectName_ = "";
- ///
- //// Name of the project player_identifier should access
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string ProjectName {
- get { return projectName_; }
- set {
- projectName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as CreatePlayerTokenRequest);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(CreatePlayerTokenRequest other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (PlayerIdentifier != other.PlayerIdentifier) return false;
- if (ProjectName != other.ProjectName) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (PlayerIdentifier.Length != 0) hash ^= PlayerIdentifier.GetHashCode();
- if (ProjectName.Length != 0) hash ^= ProjectName.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (PlayerIdentifier.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(PlayerIdentifier);
- }
- if (ProjectName.Length != 0) {
- output.WriteRawTag(18);
- output.WriteString(ProjectName);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (PlayerIdentifier.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(PlayerIdentifier);
- }
- if (ProjectName.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(ProjectName);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(CreatePlayerTokenRequest other) {
- if (other == null) {
- return;
- }
- if (other.PlayerIdentifier.Length != 0) {
- PlayerIdentifier = other.PlayerIdentifier;
- }
- if (other.ProjectName.Length != 0) {
- ProjectName = other.ProjectName;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- PlayerIdentifier = input.ReadString();
- break;
- }
- case 18: {
- ProjectName = input.ReadString();
- break;
- }
- }
- }
- }
-
- }
-
- public sealed partial class CreatePlayerTokenResponse : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreatePlayerTokenResponse());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.PlayerIdentityReflection.Descriptor.MessageTypes[2]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public CreatePlayerTokenResponse() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public CreatePlayerTokenResponse(CreatePlayerTokenResponse other) : this() {
- Token = other.token_ != null ? other.Token.Clone() : null;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public CreatePlayerTokenResponse Clone() {
- return new CreatePlayerTokenResponse(this);
- }
-
- /// Field number for the "token" field.
- public const int TokenFieldNumber = 1;
- private global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.PlayerToken token_;
- ///
- //// Token granting the player access to the requested project
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.PlayerToken Token {
- get { return token_; }
- set {
- token_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as CreatePlayerTokenResponse);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(CreatePlayerTokenResponse other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (!object.Equals(Token, other.Token)) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (token_ != null) hash ^= Token.GetHashCode();
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (token_ != null) {
- output.WriteRawTag(10);
- output.WriteMessage(Token);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (token_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Token);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(CreatePlayerTokenResponse other) {
- if (other == null) {
- return;
- }
- if (other.token_ != null) {
- if (token_ == null) {
- token_ = new global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.PlayerToken();
- }
- Token.MergeFrom(other.Token);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 10: {
- if (token_ == null) {
- token_ = new global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.PlayerToken();
- }
- input.ReadMessage(token_);
- break;
- }
- }
- }
- }
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code
diff --git a/apis/playerauth_v2alpha1/PlayerIdentityGrpc.cs b/apis/playerauth_v2alpha1/PlayerIdentityGrpc.cs
deleted file mode 100755
index ce7122e..0000000
--- a/apis/playerauth_v2alpha1/PlayerIdentityGrpc.cs
+++ /dev/null
@@ -1,138 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: proto/improbable/spatialos/playerauth/v1alpha1/player_identity.proto
-// Original file comments:
-// / Provides methods to manage player tokens.
-//
-#pragma warning disable 1591
-#region Designer generated code
-
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-using grpc = global::Grpc.Core;
-
-namespace Improbable.SpatialOS.PlayerAuth.V1Alpha1 {
- ///
- //// PlayerAuthenticationService provides methods for generation of player authentication.
- ///
- public static partial class PlayerTokenService
- {
- static readonly string __ServiceName = "improbable.spatialos.playerauth.v1alpha1.PlayerTokenService";
-
- static readonly grpc::Marshaller __Marshaller_CreatePlayerTokenRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenRequest.Parser.ParseFrom);
- static readonly grpc::Marshaller __Marshaller_CreatePlayerTokenResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenResponse.Parser.ParseFrom);
-
- static readonly grpc::Method __Method_CreatePlayerToken = new grpc::Method(
- grpc::MethodType.Unary,
- __ServiceName,
- "CreatePlayerToken",
- __Marshaller_CreatePlayerTokenRequest,
- __Marshaller_CreatePlayerTokenResponse);
-
- /// Service descriptor
- public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
- {
- get { return global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.PlayerIdentityReflection.Descriptor.Services[0]; }
- }
-
- /// Base class for server-side implementations of PlayerTokenService
- public abstract partial class PlayerTokenServiceBase
- {
- ///
- //// Returns a new token required to access the requested project
- ///
- /// The request received from the client.
- /// The context of the server-side call handler being invoked.
- /// The response to send back to the client (wrapped by a task).
- public virtual global::System.Threading.Tasks.Task CreatePlayerToken(global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
-
- }
-
- /// Client for PlayerTokenService
- public partial class PlayerTokenServiceClient : grpc::ClientBase
- {
- /// Creates a new client for PlayerTokenService
- /// The channel to use to make remote calls.
- public PlayerTokenServiceClient(grpc::Channel channel) : base(channel)
- {
- }
- /// Creates a new client for PlayerTokenService that uses a custom CallInvoker.
- /// The callInvoker to use to make remote calls.
- public PlayerTokenServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
- {
- }
- /// Protected parameterless constructor to allow creation of test doubles.
- protected PlayerTokenServiceClient() : base()
- {
- }
- /// Protected constructor to allow creation of configured clients.
- /// The client configuration.
- protected PlayerTokenServiceClient(ClientBaseConfiguration configuration) : base(configuration)
- {
- }
-
- ///
- //// Returns a new token required to access the requested project
- ///
- /// The request to send to the server.
- /// The initial metadata to send with the call. This parameter is optional.
- /// An optional deadline for the call. The call will be cancelled if deadline is hit.
- /// An optional token for canceling the call.
- /// The response received from the server.
- public virtual global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenResponse CreatePlayerToken(global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
- {
- return CreatePlayerToken(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- ///
- //// Returns a new token required to access the requested project
- ///
- /// The request to send to the server.
- /// The options for the call.
- /// The response received from the server.
- public virtual global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenResponse CreatePlayerToken(global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_CreatePlayerToken, null, options, request);
- }
- ///
- //// Returns a new token required to access the requested project
- ///
- /// The request to send to the server.
- /// The initial metadata to send with the call. This parameter is optional.
- /// An optional deadline for the call. The call will be cancelled if deadline is hit.
- /// An optional token for canceling the call.
- /// The call object.
- public virtual grpc::AsyncUnaryCall CreatePlayerTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
- {
- return CreatePlayerTokenAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- ///
- //// Returns a new token required to access the requested project
- ///
- /// The request to send to the server.
- /// The options for the call.
- /// The call object.
- public virtual grpc::AsyncUnaryCall CreatePlayerTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V1Alpha1.CreatePlayerTokenRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_CreatePlayerToken, null, options, request);
- }
- /// Creates a new instance of client from given ClientBaseConfiguration.
- protected override PlayerTokenServiceClient NewInstance(ClientBaseConfiguration configuration)
- {
- return new PlayerTokenServiceClient(configuration);
- }
- }
-
- /// Creates service definition that can be registered with a server
- /// An object implementing the server-side handling logic.
- public static grpc::ServerServiceDefinition BindService(PlayerTokenServiceBase serviceImpl)
- {
- return grpc::ServerServiceDefinition.CreateBuilder()
- .AddMethod(__Method_CreatePlayerToken, serviceImpl.CreatePlayerToken).Build();
- }
-
- }
-}
-#endregion
diff --git a/apis/remoteinteraction_v1alpha1/BUILD b/apis/remoteinteraction_v1alpha1/BUILD
new file mode 100644
index 0000000..5b81e4b
--- /dev/null
+++ b/apis/remoteinteraction_v1alpha1/BUILD
@@ -0,0 +1,35 @@
+package(default_visibility = ["//visibility:public"])
+
+load("//apis:rules.bzl", "gapic_generator_codegen")
+
+gapic_generator_codegen(
+ name = "gapic",
+ outs = [
+ "remoteinteraction_gapicout/Improbable.SpatialOS.RemoteInteraction.V1Alpha1/Improbable.SpatialOS.RemoteInteraction.V1Alpha1/RemoteInteractionServiceClient.cs"
+ ],
+ descriptor_set = "//apis:platform_api_descriptor_set",
+ gapic_yaml = "@improbable_platform//proto/improbable/spatialos/remoteinteraction/v1alpha1:csharp_gapic",
+ package_yaml = "//apis:package_yaml",
+ service_yaml = "@improbable_platform//proto/improbable/spatialos/remoteinteraction:remoteinteraction_v1alpha1.yaml",
+)
+
+load("@org_pubref_rules_protobuf//csharp:rules.bzl", "csharp_proto_compile")
+csharp_proto_compile(
+ name = "grpc",
+ imports = [
+ "external/com_github_googleapis_googleapis/",
+ "external/com_github_improbable_io_go_proto_logfields_proto/",
+ "external/com_github_mwitkow_go_proto_validators_proto/",
+ "external/com_google_protobuf/src/",
+ ],
+ inputs = [
+ "@com_github_googleapis_googleapis//:important_protos",
+ "@com_github_improbable_io_go_proto_logfields_proto//:proto",
+ "@com_github_mwitkow_go_proto_validators_proto//:proto",
+ "@com_google_protobuf//:well_known_protos",
+ ],
+ protos = [
+ "@improbable_platform//proto/improbable/spatialos/remoteinteraction/v1alpha1:protos",
+ ],
+ with_grpc = True,
+)
diff --git a/apis/remoteinteraction_v1alpha1/RemoteInteractionServiceClient.cs b/apis/remoteinteraction_v1alpha1/RemoteInteractionServiceClient.cs
new file mode 100755
index 0000000..854ecdc
--- /dev/null
+++ b/apis/remoteinteraction_v1alpha1/RemoteInteractionServiceClient.cs
@@ -0,0 +1,1313 @@
+// Copyright 2018, Improbable Worlds Ltd rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+using gax = Google.Api.Gax;
+using gaxgrpc = Google.Api.Gax.Grpc;
+using pb = Google.Protobuf;
+using pbwkt = Google.Protobuf.WellKnownTypes;
+using grpccore = Grpc.Core;
+using ispc = Improbable.SpatialOS.Platform.Common;
+using sys = System;
+using sc = System.Collections;
+using scg = System.Collections.Generic;
+using sco = System.Collections.ObjectModel;
+using st = System.Threading;
+using stt = System.Threading.Tasks;
+
+namespace Improbable.SpatialOS.RemoteInteraction.V1Alpha1
+{
+ ///
+ /// Settings for a .
+ ///
+ public sealed partial class RemoteInteractionServiceSettings : gaxgrpc::ServiceSettingsBase
+ {
+ ///
+ /// Get a new instance of the default .
+ ///
+ ///
+ /// A new instance of the default .
+ ///
+ public static RemoteInteractionServiceSettings GetDefault() => new RemoteInteractionServiceSettings();
+
+ ///
+ /// Constructs a new object with default settings.
+ ///
+ public RemoteInteractionServiceSettings() { }
+
+ private RemoteInteractionServiceSettings(RemoteInteractionServiceSettings existing) : base(existing)
+ {
+ gax::GaxPreconditions.CheckNotNull(existing, nameof(existing));
+ EntityCommandSettings = existing.EntityCommandSettings;
+ ReserveEntityIdSettings = existing.ReserveEntityIdSettings;
+ CreateEntitySettings = existing.CreateEntitySettings;
+ DeleteEntitySettings = existing.DeleteEntitySettings;
+ EntityQuerySettings = existing.EntityQuerySettings;
+ OnCopy(existing);
+ }
+
+ partial void OnCopy(RemoteInteractionServiceSettings existing);
+
+ ///
+ /// The filter specifying which RPC s are eligible for retry
+ /// for "Idempotent" RPC methods.
+ ///
+ ///
+ /// The eligible RPC s for retry for "Idempotent" RPC methods are:
+ ///
+ ///
+ ///
+ ///
+ public static sys::Predicate IdempotentRetryFilter { get; } =
+ gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable);
+
+ ///
+ /// "Default" retry backoff for RPC methods.
+ ///
+ ///
+ /// The "Default" retry backoff for RPC methods.
+ ///
+ ///
+ /// The "Default" retry backoff for RPC methods is defined as:
+ ///
+ /// - Initial delay: 100 milliseconds
+ /// - Maximum delay: 10000 milliseconds
+ /// - Delay multiplier: 1.2
+ ///
+ ///
+ public static gaxgrpc::BackoffSettings GetDefaultRetryBackoff() => new gaxgrpc::BackoffSettings(
+ delay: sys::TimeSpan.FromMilliseconds(100),
+ maxDelay: sys::TimeSpan.FromMilliseconds(10000),
+ delayMultiplier: 1.2
+ );
+
+ ///
+ /// "Default" timeout backoff for RPC methods.
+ ///
+ ///
+ /// The "Default" timeout backoff for RPC methods.
+ ///
+ ///
+ /// The "Default" timeout backoff for RPC methods is defined as:
+ ///
+ /// - Initial timeout: 10000 milliseconds
+ /// - Timeout multiplier: 1.2
+ /// - Maximum timeout: 20000 milliseconds
+ ///
+ ///
+ public static gaxgrpc::BackoffSettings GetDefaultTimeoutBackoff() => new gaxgrpc::BackoffSettings(
+ delay: sys::TimeSpan.FromMilliseconds(10000),
+ maxDelay: sys::TimeSpan.FromMilliseconds(20000),
+ delayMultiplier: 1.2
+ );
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// RemoteInteractionServiceClient.EntityCommand and RemoteInteractionServiceClient.EntityCommandAsync.
+ ///
+ ///
+ /// The default RemoteInteractionServiceClient.EntityCommand and
+ /// RemoteInteractionServiceClient.EntityCommandAsync are:
+ ///
+ /// - Initial retry delay: 100 milliseconds
+ /// - Retry delay multiplier: 1.2
+ /// - Retry maximum delay: 10000 milliseconds
+ /// - Initial timeout: 10000 milliseconds
+ /// - Timeout multiplier: 1.2
+ /// - Timeout maximum delay: 20000 milliseconds
+ ///
+ /// Retry will be attempted on the following response status codes:
+ ///
+ ///
+ ///
+ /// Default RPC expiration is 60000 milliseconds.
+ ///
+ public gaxgrpc::CallSettings EntityCommandSettings { get; set; } = gaxgrpc::CallSettings.FromCallTiming(
+ gaxgrpc::CallTiming.FromRetry(new gaxgrpc::RetrySettings(
+ retryBackoff: GetDefaultRetryBackoff(),
+ timeoutBackoff: GetDefaultTimeoutBackoff(),
+ totalExpiration: gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000)),
+ retryFilter: IdempotentRetryFilter
+ )));
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// RemoteInteractionServiceClient.ReserveEntityId and RemoteInteractionServiceClient.ReserveEntityIdAsync.
+ ///
+ ///
+ /// The default RemoteInteractionServiceClient.ReserveEntityId and
+ /// RemoteInteractionServiceClient.ReserveEntityIdAsync are:
+ ///
+ /// - Initial retry delay: 100 milliseconds
+ /// - Retry delay multiplier: 1.2
+ /// - Retry maximum delay: 10000 milliseconds
+ /// - Initial timeout: 10000 milliseconds
+ /// - Timeout multiplier: 1.2
+ /// - Timeout maximum delay: 20000 milliseconds
+ ///
+ /// Retry will be attempted on the following response status codes:
+ ///
+ ///
+ ///
+ /// Default RPC expiration is 60000 milliseconds.
+ ///
+ public gaxgrpc::CallSettings ReserveEntityIdSettings { get; set; } = gaxgrpc::CallSettings.FromCallTiming(
+ gaxgrpc::CallTiming.FromRetry(new gaxgrpc::RetrySettings(
+ retryBackoff: GetDefaultRetryBackoff(),
+ timeoutBackoff: GetDefaultTimeoutBackoff(),
+ totalExpiration: gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000)),
+ retryFilter: IdempotentRetryFilter
+ )));
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// RemoteInteractionServiceClient.CreateEntity and RemoteInteractionServiceClient.CreateEntityAsync.
+ ///
+ ///
+ /// The default RemoteInteractionServiceClient.CreateEntity and
+ /// RemoteInteractionServiceClient.CreateEntityAsync are:
+ ///
+ /// - Initial retry delay: 100 milliseconds
+ /// - Retry delay multiplier: 1.2
+ /// - Retry maximum delay: 10000 milliseconds
+ /// - Initial timeout: 10000 milliseconds
+ /// - Timeout multiplier: 1.2
+ /// - Timeout maximum delay: 20000 milliseconds
+ ///
+ /// Retry will be attempted on the following response status codes:
+ ///
+ ///
+ ///
+ /// Default RPC expiration is 60000 milliseconds.
+ ///
+ public gaxgrpc::CallSettings CreateEntitySettings { get; set; } = gaxgrpc::CallSettings.FromCallTiming(
+ gaxgrpc::CallTiming.FromRetry(new gaxgrpc::RetrySettings(
+ retryBackoff: GetDefaultRetryBackoff(),
+ timeoutBackoff: GetDefaultTimeoutBackoff(),
+ totalExpiration: gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000)),
+ retryFilter: IdempotentRetryFilter
+ )));
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// RemoteInteractionServiceClient.DeleteEntity and RemoteInteractionServiceClient.DeleteEntityAsync.
+ ///
+ ///
+ /// The default RemoteInteractionServiceClient.DeleteEntity and
+ /// RemoteInteractionServiceClient.DeleteEntityAsync are:
+ ///
+ /// - Initial retry delay: 100 milliseconds
+ /// - Retry delay multiplier: 1.2
+ /// - Retry maximum delay: 10000 milliseconds
+ /// - Initial timeout: 10000 milliseconds
+ /// - Timeout multiplier: 1.2
+ /// - Timeout maximum delay: 20000 milliseconds
+ ///
+ /// Retry will be attempted on the following response status codes:
+ ///
+ ///
+ ///
+ /// Default RPC expiration is 60000 milliseconds.
+ ///
+ public gaxgrpc::CallSettings DeleteEntitySettings { get; set; } = gaxgrpc::CallSettings.FromCallTiming(
+ gaxgrpc::CallTiming.FromRetry(new gaxgrpc::RetrySettings(
+ retryBackoff: GetDefaultRetryBackoff(),
+ timeoutBackoff: GetDefaultTimeoutBackoff(),
+ totalExpiration: gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000)),
+ retryFilter: IdempotentRetryFilter
+ )));
+
+ ///
+ /// for synchronous and asynchronous calls to
+ /// RemoteInteractionServiceClient.EntityQuery and RemoteInteractionServiceClient.EntityQueryAsync.
+ ///
+ ///
+ /// The default RemoteInteractionServiceClient.EntityQuery and
+ /// RemoteInteractionServiceClient.EntityQueryAsync are:
+ ///
+ /// - Initial retry delay: 100 milliseconds
+ /// - Retry delay multiplier: 1.2
+ /// - Retry maximum delay: 10000 milliseconds
+ /// - Initial timeout: 10000 milliseconds
+ /// - Timeout multiplier: 1.2
+ /// - Timeout maximum delay: 20000 milliseconds
+ ///
+ /// Retry will be attempted on the following response status codes:
+ ///
+ ///
+ ///
+ /// Default RPC expiration is 60000 milliseconds.
+ ///
+ public gaxgrpc::CallSettings EntityQuerySettings { get; set; } = gaxgrpc::CallSettings.FromCallTiming(
+ gaxgrpc::CallTiming.FromRetry(new gaxgrpc::RetrySettings(
+ retryBackoff: GetDefaultRetryBackoff(),
+ timeoutBackoff: GetDefaultTimeoutBackoff(),
+ totalExpiration: gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000)),
+ retryFilter: IdempotentRetryFilter
+ )));
+
+ ///
+ /// Creates a deep clone of this object, with all the same property values.
+ ///
+ /// A deep clone of this object.
+ public RemoteInteractionServiceSettings Clone() => new RemoteInteractionServiceSettings(this);
+ }
+
+ ///
+ /// RemoteInteractionService client wrapper, for convenient use.
+ ///
+ public abstract partial class RemoteInteractionServiceClient
+ {
+ ///
+ /// The default endpoint for the RemoteInteractionService service, which is a host of "platform.api.improbable.io" and a port of 443.
+ ///
+ public static ispc::PlatformApiEndpoint DefaultEndpoint { get; } = new ispc::PlatformApiEndpoint("platform.api.improbable.io", 443);
+
+ ///
+ /// Synchronously creates a , applying defaults for all unspecified settings,
+ /// and creating a channel connecting to the given endpoint with application auto-detected credentials where
+ /// necessary. See the example for how to use custom credentials.
+ ///
+ /// Optional .
+ /// Optional, most likely a .
+ /// Optional .
+ /// The created .
+ public static RemoteInteractionServiceClient Create(ispc::PlatformApiEndpoint endpoint = null, ispc::PlatformCredential credentials = null, RemoteInteractionServiceSettings settings = null)
+ {
+ var platformEndpoint = endpoint ?? DefaultEndpoint;
+ var platformCredentials = platformEndpoint.Insecure ? null : credentials ?? ispc::PlatformRefreshTokenCredential.AutoDetected;
+ grpccore::Channel channel = new ispc::PlatformApiChannel(platformCredentials, platformEndpoint);
+ return Create(channel, settings);
+ }
+
+ ///
+ /// Creates a which uses the specified channel for remote operations.
+ ///
+ /// The for remote operations. Must not be null.
+ /// Optional .
+ /// The created .
+ public static RemoteInteractionServiceClient Create(grpccore::Channel channel, RemoteInteractionServiceSettings settings = null)
+ {
+ gax::GaxPreconditions.CheckNotNull(channel, nameof(channel));
+ RemoteInteractionService.RemoteInteractionServiceClient grpcClient = new RemoteInteractionService.RemoteInteractionServiceClient(channel);
+ return new RemoteInteractionServiceClientImpl(grpcClient, settings);
+ }
+
+ ///
+ /// The underlying gRPC RemoteInteractionService client.
+ ///
+ public virtual RemoteInteractionService.RemoteInteractionServiceClient GrpcClient
+ {
+ get { throw new sys::NotImplementedException(); }
+ }
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task EntityCommandAsync(
+ Deployment target,
+ string workerType,
+ string workerId,
+ EntityCommandRequest.Types.EntityCommandTarget componentTarget,
+ pb::ByteString binary,
+ gaxgrpc::CallSettings callSettings = null) => EntityCommandAsync(
+ new EntityCommandRequest
+ {
+ Target = gax::GaxPreconditions.CheckNotNull(target, nameof(target)),
+ WorkerType = gax::GaxPreconditions.CheckNotNullOrEmpty(workerType, nameof(workerType)),
+ WorkerId = gax::GaxPreconditions.CheckNotNullOrEmpty(workerId, nameof(workerId)),
+ ComponentTarget = gax::GaxPreconditions.CheckNotNull(componentTarget, nameof(componentTarget)),
+ Binary = binary ?? pb::ByteString.Empty, // Optional
+ },
+ callSettings);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A to use for this RPC.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task EntityCommandAsync(
+ Deployment target,
+ string workerType,
+ string workerId,
+ EntityCommandRequest.Types.EntityCommandTarget componentTarget,
+ pb::ByteString binary,
+ st::CancellationToken cancellationToken) => EntityCommandAsync(
+ target,
+ workerType,
+ workerId,
+ componentTarget,
+ binary,
+ gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public virtual EntityCommandResponse EntityCommand(
+ Deployment target,
+ string workerType,
+ string workerId,
+ EntityCommandRequest.Types.EntityCommandTarget componentTarget,
+ pb::ByteString binary,
+ gaxgrpc::CallSettings callSettings = null) => EntityCommand(
+ new EntityCommandRequest
+ {
+ Target = gax::GaxPreconditions.CheckNotNull(target, nameof(target)),
+ WorkerType = gax::GaxPreconditions.CheckNotNullOrEmpty(workerType, nameof(workerType)),
+ WorkerId = gax::GaxPreconditions.CheckNotNullOrEmpty(workerId, nameof(workerId)),
+ ComponentTarget = gax::GaxPreconditions.CheckNotNull(componentTarget, nameof(componentTarget)),
+ Binary = binary ?? pb::ByteString.Empty, // Optional
+ },
+ callSettings);
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task EntityCommandAsync(
+ EntityCommandRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ throw new sys::NotImplementedException();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// A to use for this RPC.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task EntityCommandAsync(
+ EntityCommandRequest request,
+ st::CancellationToken cancellationToken) => EntityCommandAsync(
+ request,
+ gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public virtual EntityCommandResponse EntityCommand(
+ EntityCommandRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ throw new sys::NotImplementedException();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task ReserveEntityIdAsync(
+ Deployment target,
+ uint? numberOfIds,
+ gaxgrpc::CallSettings callSettings = null) => ReserveEntityIdAsync(
+ new ReserveEntityIdRequest
+ {
+ Target = gax::GaxPreconditions.CheckNotNull(target, nameof(target)),
+ NumberOfIds = numberOfIds ?? 0, // Optional
+ },
+ callSettings);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A to use for this RPC.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task ReserveEntityIdAsync(
+ Deployment target,
+ uint? numberOfIds,
+ st::CancellationToken cancellationToken) => ReserveEntityIdAsync(
+ target,
+ numberOfIds,
+ gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public virtual ReserveEntityIdResponse ReserveEntityId(
+ Deployment target,
+ uint? numberOfIds,
+ gaxgrpc::CallSettings callSettings = null) => ReserveEntityId(
+ new ReserveEntityIdRequest
+ {
+ Target = gax::GaxPreconditions.CheckNotNull(target, nameof(target)),
+ NumberOfIds = numberOfIds ?? 0, // Optional
+ },
+ callSettings);
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task ReserveEntityIdAsync(
+ ReserveEntityIdRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ throw new sys::NotImplementedException();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// A to use for this RPC.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task ReserveEntityIdAsync(
+ ReserveEntityIdRequest request,
+ st::CancellationToken cancellationToken) => ReserveEntityIdAsync(
+ request,
+ gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public virtual ReserveEntityIdResponse ReserveEntityId(
+ ReserveEntityIdRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ throw new sys::NotImplementedException();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task CreateEntityAsync(
+ Deployment target,
+ long entityId,
+ pb::ByteString binary,
+ gaxgrpc::CallSettings callSettings = null) => CreateEntityAsync(
+ new CreateEntityRequest
+ {
+ Target = gax::GaxPreconditions.CheckNotNull(target, nameof(target)),
+ EntityId = entityId,
+ Binary = binary ?? pb::ByteString.Empty, // Optional
+ },
+ callSettings);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A to use for this RPC.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task CreateEntityAsync(
+ Deployment target,
+ long entityId,
+ pb::ByteString binary,
+ st::CancellationToken cancellationToken) => CreateEntityAsync(
+ target,
+ entityId,
+ binary,
+ gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public virtual CreateEntityResponse CreateEntity(
+ Deployment target,
+ long entityId,
+ pb::ByteString binary,
+ gaxgrpc::CallSettings callSettings = null) => CreateEntity(
+ new CreateEntityRequest
+ {
+ Target = gax::GaxPreconditions.CheckNotNull(target, nameof(target)),
+ EntityId = entityId,
+ Binary = binary ?? pb::ByteString.Empty, // Optional
+ },
+ callSettings);
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task CreateEntityAsync(
+ CreateEntityRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ throw new sys::NotImplementedException();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// A to use for this RPC.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task CreateEntityAsync(
+ CreateEntityRequest request,
+ st::CancellationToken cancellationToken) => CreateEntityAsync(
+ request,
+ gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public virtual CreateEntityResponse CreateEntity(
+ CreateEntityRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ throw new sys::NotImplementedException();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task DeleteEntityAsync(
+ Deployment target,
+ long entityId,
+ gaxgrpc::CallSettings callSettings = null) => DeleteEntityAsync(
+ new DeleteEntityRequest
+ {
+ Target = gax::GaxPreconditions.CheckNotNull(target, nameof(target)),
+ EntityId = entityId,
+ },
+ callSettings);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A to use for this RPC.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task DeleteEntityAsync(
+ Deployment target,
+ long entityId,
+ st::CancellationToken cancellationToken) => DeleteEntityAsync(
+ target,
+ entityId,
+ gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public virtual DeleteEntityResponse DeleteEntity(
+ Deployment target,
+ long entityId,
+ gaxgrpc::CallSettings callSettings = null) => DeleteEntity(
+ new DeleteEntityRequest
+ {
+ Target = gax::GaxPreconditions.CheckNotNull(target, nameof(target)),
+ EntityId = entityId,
+ },
+ callSettings);
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task DeleteEntityAsync(
+ DeleteEntityRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ throw new sys::NotImplementedException();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// A to use for this RPC.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task DeleteEntityAsync(
+ DeleteEntityRequest request,
+ st::CancellationToken cancellationToken) => DeleteEntityAsync(
+ request,
+ gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public virtual DeleteEntityResponse DeleteEntity(
+ DeleteEntityRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ throw new sys::NotImplementedException();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task EntityQueryAsync(
+ Deployment target,
+ pb::ByteString binary,
+ gaxgrpc::CallSettings callSettings = null) => EntityQueryAsync(
+ new EntityQueryRequest
+ {
+ Target = gax::GaxPreconditions.CheckNotNull(target, nameof(target)),
+ Binary = binary ?? pb::ByteString.Empty, // Optional
+ },
+ callSettings);
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// A to use for this RPC.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task EntityQueryAsync(
+ Deployment target,
+ pb::ByteString binary,
+ st::CancellationToken cancellationToken) => EntityQueryAsync(
+ target,
+ binary,
+ gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public virtual EntityQueryResponse EntityQuery(
+ Deployment target,
+ pb::ByteString binary,
+ gaxgrpc::CallSettings callSettings = null) => EntityQuery(
+ new EntityQueryRequest
+ {
+ Target = gax::GaxPreconditions.CheckNotNull(target, nameof(target)),
+ Binary = binary ?? pb::ByteString.Empty, // Optional
+ },
+ callSettings);
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task EntityQueryAsync(
+ EntityQueryRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ throw new sys::NotImplementedException();
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// A to use for this RPC.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public virtual stt::Task EntityQueryAsync(
+ EntityQueryRequest request,
+ st::CancellationToken cancellationToken) => EntityQueryAsync(
+ request,
+ gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public virtual EntityQueryResponse EntityQuery(
+ EntityQueryRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ throw new sys::NotImplementedException();
+ }
+
+ }
+
+ ///
+ /// RemoteInteractionService client wrapper implementation, for convenient use.
+ ///
+ public sealed partial class RemoteInteractionServiceClientImpl : RemoteInteractionServiceClient
+ {
+ private readonly gaxgrpc::ApiCall _callEntityCommand;
+ private readonly gaxgrpc::ApiCall _callReserveEntityId;
+ private readonly gaxgrpc::ApiCall _callCreateEntity;
+ private readonly gaxgrpc::ApiCall _callDeleteEntity;
+ private readonly gaxgrpc::ApiCall _callEntityQuery;
+
+ ///
+ /// Constructs a client wrapper for the RemoteInteractionService service, with the specified gRPC client and settings.
+ ///
+ /// The underlying gRPC client.
+ /// The base used within this client
+ public RemoteInteractionServiceClientImpl(RemoteInteractionService.RemoteInteractionServiceClient grpcClient, RemoteInteractionServiceSettings settings)
+ {
+ GrpcClient = grpcClient;
+ RemoteInteractionServiceSettings effectiveSettings = settings ?? RemoteInteractionServiceSettings.GetDefault();
+ gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(effectiveSettings);
+ _callEntityCommand = clientHelper.BuildApiCall(
+ GrpcClient.EntityCommandAsync, GrpcClient.EntityCommand, effectiveSettings.EntityCommandSettings);
+ _callReserveEntityId = clientHelper.BuildApiCall(
+ GrpcClient.ReserveEntityIdAsync, GrpcClient.ReserveEntityId, effectiveSettings.ReserveEntityIdSettings);
+ _callCreateEntity = clientHelper.BuildApiCall(
+ GrpcClient.CreateEntityAsync, GrpcClient.CreateEntity, effectiveSettings.CreateEntitySettings);
+ _callDeleteEntity = clientHelper.BuildApiCall(
+ GrpcClient.DeleteEntityAsync, GrpcClient.DeleteEntity, effectiveSettings.DeleteEntitySettings);
+ _callEntityQuery = clientHelper.BuildApiCall(
+ GrpcClient.EntityQueryAsync, GrpcClient.EntityQuery, effectiveSettings.EntityQuerySettings);
+ Modify_ApiCall(ref _callEntityCommand);
+ Modify_EntityCommandApiCall(ref _callEntityCommand);
+ Modify_ApiCall(ref _callReserveEntityId);
+ Modify_ReserveEntityIdApiCall(ref _callReserveEntityId);
+ Modify_ApiCall(ref _callCreateEntity);
+ Modify_CreateEntityApiCall(ref _callCreateEntity);
+ Modify_ApiCall(ref _callDeleteEntity);
+ Modify_DeleteEntityApiCall(ref _callDeleteEntity);
+ Modify_ApiCall(ref _callEntityQuery);
+ Modify_EntityQueryApiCall(ref _callEntityQuery);
+ OnConstruction(grpcClient, effectiveSettings, clientHelper);
+ }
+
+ // Partial methods are named to (mostly) ensure there cannot be conflicts with RPC method names.
+
+ // Partial methods called for every ApiCall on construction.
+ // Allows modification of all the underlying ApiCall objects.
+ partial void Modify_ApiCall(ref gaxgrpc::ApiCall call)
+ where TRequest : class, pb::IMessage
+ where TResponse : class, pb::IMessage;
+
+ // Partial methods called for each ApiCall on construction.
+ // Allows per-RPC-method modification of the underlying ApiCall object.
+ partial void Modify_EntityCommandApiCall(ref gaxgrpc::ApiCall call);
+ partial void Modify_ReserveEntityIdApiCall(ref gaxgrpc::ApiCall call);
+ partial void Modify_CreateEntityApiCall(ref gaxgrpc::ApiCall call);
+ partial void Modify_DeleteEntityApiCall(ref gaxgrpc::ApiCall call);
+ partial void Modify_EntityQueryApiCall(ref gaxgrpc::ApiCall call);
+ partial void OnConstruction(RemoteInteractionService.RemoteInteractionServiceClient grpcClient, RemoteInteractionServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper);
+
+ ///
+ /// The underlying gRPC RemoteInteractionService client.
+ ///
+ public override RemoteInteractionService.RemoteInteractionServiceClient GrpcClient { get; }
+
+ // Partial methods called on each request.
+ // Allows per-RPC-call modification to the request and CallSettings objects,
+ // before the underlying RPC is performed.
+ partial void Modify_EntityCommandRequest(ref EntityCommandRequest request, ref gaxgrpc::CallSettings settings);
+ partial void Modify_ReserveEntityIdRequest(ref ReserveEntityIdRequest request, ref gaxgrpc::CallSettings settings);
+ partial void Modify_CreateEntityRequest(ref CreateEntityRequest request, ref gaxgrpc::CallSettings settings);
+ partial void Modify_DeleteEntityRequest(ref DeleteEntityRequest request, ref gaxgrpc::CallSettings settings);
+ partial void Modify_EntityQueryRequest(ref EntityQueryRequest request, ref gaxgrpc::CallSettings settings);
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public override stt::Task EntityCommandAsync(
+ EntityCommandRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_EntityCommandRequest(ref request, ref callSettings);
+ return _callEntityCommand.Async(request, callSettings);
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public override EntityCommandResponse EntityCommand(
+ EntityCommandRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_EntityCommandRequest(ref request, ref callSettings);
+ return _callEntityCommand.Sync(request, callSettings);
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public override stt::Task ReserveEntityIdAsync(
+ ReserveEntityIdRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_ReserveEntityIdRequest(ref request, ref callSettings);
+ return _callReserveEntityId.Async(request, callSettings);
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public override ReserveEntityIdResponse ReserveEntityId(
+ ReserveEntityIdRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_ReserveEntityIdRequest(ref request, ref callSettings);
+ return _callReserveEntityId.Sync(request, callSettings);
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public override stt::Task CreateEntityAsync(
+ CreateEntityRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_CreateEntityRequest(ref request, ref callSettings);
+ return _callCreateEntity.Async(request, callSettings);
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public override CreateEntityResponse CreateEntity(
+ CreateEntityRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_CreateEntityRequest(ref request, ref callSettings);
+ return _callCreateEntity.Sync(request, callSettings);
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public override stt::Task DeleteEntityAsync(
+ DeleteEntityRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_DeleteEntityRequest(ref request, ref callSettings);
+ return _callDeleteEntity.Async(request, callSettings);
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public override DeleteEntityResponse DeleteEntity(
+ DeleteEntityRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_DeleteEntityRequest(ref request, ref callSettings);
+ return _callDeleteEntity.Sync(request, callSettings);
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// A Task containing the RPC response.
+ ///
+ public override stt::Task EntityQueryAsync(
+ EntityQueryRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_EntityQueryRequest(ref request, ref callSettings);
+ return _callEntityQuery.Async(request, callSettings);
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// The request object containing all of the parameters for the API call.
+ ///
+ ///
+ /// If not null, applies overrides to this RPC call.
+ ///
+ ///
+ /// The RPC response.
+ ///
+ public override EntityQueryResponse EntityQuery(
+ EntityQueryRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_EntityQueryRequest(ref request, ref callSettings);
+ return _callEntityQuery.Sync(request, callSettings);
+ }
+
+ }
+
+ // Partial classes to enable page-streaming
+
+
+}
diff --git a/apis/remoteinteraction_v1alpha1/Remoteinteraction.cs b/apis/remoteinteraction_v1alpha1/Remoteinteraction.cs
new file mode 100755
index 0000000..ff5ceae
--- /dev/null
+++ b/apis/remoteinteraction_v1alpha1/Remoteinteraction.cs
@@ -0,0 +1,2605 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: proto/improbable/spatialos/remoteinteraction/v1alpha1/remoteinteraction.proto
+#pragma warning disable 1591, 0612, 3021
+#region Designer generated code
+
+using pb = global::Google.Protobuf;
+using pbc = global::Google.Protobuf.Collections;
+using pbr = global::Google.Protobuf.Reflection;
+using scg = global::System.Collections.Generic;
+namespace Improbable.SpatialOS.RemoteInteraction.V1Alpha1 {
+
+ /// Holder for reflection information generated from proto/improbable/spatialos/remoteinteraction/v1alpha1/remoteinteraction.proto
+ public static partial class RemoteinteractionReflection {
+
+ #region Descriptor
+ /// File descriptor for proto/improbable/spatialos/remoteinteraction/v1alpha1/remoteinteraction.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static RemoteinteractionReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "Ck1wcm90by9pbXByb2JhYmxlL3NwYXRpYWxvcy9yZW1vdGVpbnRlcmFjdGlv",
+ "bi92MWFscGhhMS9yZW1vdGVpbnRlcmFjdGlvbi5wcm90bxIvaW1wcm9iYWJs",
+ "ZS5zcGF0aWFsb3MucmVtb3RlaW50ZXJhY3Rpb24udjFhbHBoYTEaNmdpdGh1",
+ "Yi5jb20vbXdpdGtvdy9nby1wcm90by12YWxpZGF0b3JzL3ZhbGlkYXRvci5w",
+ "cm90byJtCgpEZXBsb3ltZW50Ei0KDHByb2plY3RfbmFtZRgBIAEoCUIX4t8f",
+ "EwoRXlthLXowLTlfXXszLDMyfSQSMAoPZGVwbG95bWVudF9uYW1lGAIgASgJ",
+ "Qhfi3x8TChFeW2EtejAtOV9dezMsMzJ9JCK1AgoNQ29tbWFuZFN0YXR1cxJY",
+ "CgtzdGF0dXNfY29kZRgBIAEoDjJDLmltcHJvYmFibGUuc3BhdGlhbG9zLnJl",
+ "bW90ZWludGVyYWN0aW9uLnYxYWxwaGExLkNvbW1hbmRTdGF0dXMuQ29kZRIP",
+ "CgdtZXNzYWdlGAIgASgJIrgBCgRDb2RlEgsKB1VOS05PV04QABIGCgJPSxAB",
+ "EhEKDVVOSU1QTEVNRU5URUQQAhISCg5JTlRFUk5BTF9FUlJPUhADEhUKEURF",
+ "QURMSU5FX0VYQ0VFREVEEAQSFAoQVEFSR0VUX05PVF9GT1VORBAGEhkKFVRB",
+ "UkdFVF9BVVRIT1JJVFlfTE9TVBAHEhUKEVBFUk1JU1NJT05fREVOSUVEEAgS",
+ "FQoRQVBQTElDQVRJT05fRVJST1IQCSLWAwoURW50aXR5Q29tbWFuZFJlcXVl",
+ "c3QSUwoGdGFyZ2V0GAEgASgLMjsuaW1wcm9iYWJsZS5zcGF0aWFsb3MucmVt",
+ "b3RlaW50ZXJhY3Rpb24udjFhbHBoYTEuRGVwbG95bWVudEIG4t8fAiABEjEK",
+ "C3dvcmtlcl90eXBlGAIgASgJQhzi3x8YChZeW2EtekEtWjAtOV8tXXszLDEy",
+ "OH0kEi8KCXdvcmtlcl9pZBgDIAEoCUIc4t8fGAoWXlthLXpBLVowLTlfLV17",
+ "MywxMjh9JBJ7ChBjb21wb25lbnRfdGFyZ2V0GAQgASgLMlkuaW1wcm9iYWJs",
+ "ZS5zcGF0aWFsb3MucmVtb3RlaW50ZXJhY3Rpb24udjFhbHBoYTEuRW50aXR5",
+ "Q29tbWFuZFJlcXVlc3QuRW50aXR5Q29tbWFuZFRhcmdldEIG4t8fAiABEhAK",
+ "BmJpbmFyeRgFIAEoDEgAGmsKE0VudGl0eUNvbW1hbmRUYXJnZXQSGQoJZW50",
+ "aXR5X2lkGAEgASgDQgbi3x8CEAASHAoMY29tcG9uZW50X2lkGAIgASgNQgbi",
+ "3x8CEAASGwoLY29tbWFuZF9pZHgYAyABKA1CBuLfHwIQAEIJCgdwYXlsb2Fk",
+ "IoUBChVFbnRpdHlDb21tYW5kUmVzcG9uc2USTgoGc3RhdHVzGAEgASgLMj4u",
+ "aW1wcm9iYWJsZS5zcGF0aWFsb3MucmVtb3RlaW50ZXJhY3Rpb24udjFhbHBo",
+ "YTEuQ29tbWFuZFN0YXR1cxIQCgZiaW5hcnkYAiABKAxIAEIKCghyZXNwb25z",
+ "ZSKEAQoWUmVzZXJ2ZUVudGl0eUlkUmVxdWVzdBJTCgZ0YXJnZXQYASABKAsy",
+ "Oy5pbXByb2JhYmxlLnNwYXRpYWxvcy5yZW1vdGVpbnRlcmFjdGlvbi52MWFs",
+ "cGhhMS5EZXBsb3ltZW50Qgbi3x8CIAESFQoNbnVtYmVyX29mX2lkcxgCIAEo",
+ "DSJ8ChdSZXNlcnZlRW50aXR5SWRSZXNwb25zZRJOCgZzdGF0dXMYASABKAsy",
+ "Pi5pbXByb2JhYmxlLnNwYXRpYWxvcy5yZW1vdGVpbnRlcmFjdGlvbi52MWFs",
+ "cGhhMS5Db21tYW5kU3RhdHVzEhEKCWVudGl0eV9pZBgCIAEoAyKfAQoTQ3Jl",
+ "YXRlRW50aXR5UmVxdWVzdBJTCgZ0YXJnZXQYASABKAsyOy5pbXByb2JhYmxl",
+ "LnNwYXRpYWxvcy5yZW1vdGVpbnRlcmFjdGlvbi52MWFscGhhMS5EZXBsb3lt",
+ "ZW50Qgbi3x8CIAESEQoJZW50aXR5X2lkGAIgASgDEhAKBmJpbmFyeRgDIAEo",
+ "DEgAQg4KDGVudGl0eV9zdGF0ZSJ5ChRDcmVhdGVFbnRpdHlSZXNwb25zZRJO",
+ "CgZzdGF0dXMYASABKAsyPi5pbXByb2JhYmxlLnNwYXRpYWxvcy5yZW1vdGVp",
+ "bnRlcmFjdGlvbi52MWFscGhhMS5Db21tYW5kU3RhdHVzEhEKCWVudGl0eV9p",
+ "ZBgCIAEoAyJ9ChNEZWxldGVFbnRpdHlSZXF1ZXN0ElMKBnRhcmdldBgBIAEo",
+ "CzI7LmltcHJvYmFibGUuc3BhdGlhbG9zLnJlbW90ZWludGVyYWN0aW9uLnYx",
+ "YWxwaGExLkRlcGxveW1lbnRCBuLfHwIgARIRCgllbnRpdHlfaWQYAiABKAMi",
+ "ZgoURGVsZXRlRW50aXR5UmVzcG9uc2USTgoGc3RhdHVzGAEgASgLMj4uaW1w",
+ "cm9iYWJsZS5zcGF0aWFsb3MucmVtb3RlaW50ZXJhY3Rpb24udjFhbHBoYTEu",
+ "Q29tbWFuZFN0YXR1cyKEAQoSRW50aXR5UXVlcnlSZXF1ZXN0ElMKBnRhcmdl",
+ "dBgBIAEoCzI7LmltcHJvYmFibGUuc3BhdGlhbG9zLnJlbW90ZWludGVyYWN0",
+ "aW9uLnYxYWxwaGExLkRlcGxveW1lbnRCBuLfHwIgARIQCgZiaW5hcnkYAiAB",
+ "KAxIAEIHCgVxdWVyeSLzAQoTRW50aXR5UXVlcnlSZXNwb25zZRJOCgZzdGF0",
+ "dXMYASABKAsyPi5pbXByb2JhYmxlLnNwYXRpYWxvcy5yZW1vdGVpbnRlcmFj",
+ "dGlvbi52MWFscGhhMS5Db21tYW5kU3RhdHVzElsKBnJlc3VsdBgCIAMoCzJL",
+ "LmltcHJvYmFibGUuc3BhdGlhbG9zLnJlbW90ZWludGVyYWN0aW9uLnYxYWxw",
+ "aGExLkVudGl0eVF1ZXJ5UmVzcG9uc2UuRW50aXR5Gi8KBkVudGl0eRIKCgJp",
+ "ZBgBIAEoAxIQCgZiaW5hcnkYAiABKAxIAEIHCgVzdGF0ZTK5BgoYUmVtb3Rl",
+ "SW50ZXJhY3Rpb25TZXJ2aWNlEp4BCg1FbnRpdHlDb21tYW5kEkUuaW1wcm9i",
+ "YWJsZS5zcGF0aWFsb3MucmVtb3RlaW50ZXJhY3Rpb24udjFhbHBoYTEuRW50",
+ "aXR5Q29tbWFuZFJlcXVlc3QaRi5pbXByb2JhYmxlLnNwYXRpYWxvcy5yZW1v",
+ "dGVpbnRlcmFjdGlvbi52MWFscGhhMS5FbnRpdHlDb21tYW5kUmVzcG9uc2US",
+ "pAEKD1Jlc2VydmVFbnRpdHlJZBJHLmltcHJvYmFibGUuc3BhdGlhbG9zLnJl",
+ "bW90ZWludGVyYWN0aW9uLnYxYWxwaGExLlJlc2VydmVFbnRpdHlJZFJlcXVl",
+ "c3QaSC5pbXByb2JhYmxlLnNwYXRpYWxvcy5yZW1vdGVpbnRlcmFjdGlvbi52",
+ "MWFscGhhMS5SZXNlcnZlRW50aXR5SWRSZXNwb25zZRKbAQoMQ3JlYXRlRW50",
+ "aXR5EkQuaW1wcm9iYWJsZS5zcGF0aWFsb3MucmVtb3RlaW50ZXJhY3Rpb24u",
+ "djFhbHBoYTEuQ3JlYXRlRW50aXR5UmVxdWVzdBpFLmltcHJvYmFibGUuc3Bh",
+ "dGlhbG9zLnJlbW90ZWludGVyYWN0aW9uLnYxYWxwaGExLkNyZWF0ZUVudGl0",
+ "eVJlc3BvbnNlEpsBCgxEZWxldGVFbnRpdHkSRC5pbXByb2JhYmxlLnNwYXRp",
+ "YWxvcy5yZW1vdGVpbnRlcmFjdGlvbi52MWFscGhhMS5EZWxldGVFbnRpdHlS",
+ "ZXF1ZXN0GkUuaW1wcm9iYWJsZS5zcGF0aWFsb3MucmVtb3RlaW50ZXJhY3Rp",
+ "b24udjFhbHBoYTEuRGVsZXRlRW50aXR5UmVzcG9uc2USmAEKC0VudGl0eVF1",
+ "ZXJ5EkMuaW1wcm9iYWJsZS5zcGF0aWFsb3MucmVtb3RlaW50ZXJhY3Rpb24u",
+ "djFhbHBoYTEuRW50aXR5UXVlcnlSZXF1ZXN0GkQuaW1wcm9iYWJsZS5zcGF0",
+ "aWFsb3MucmVtb3RlaW50ZXJhY3Rpb24udjFhbHBoYTEuRW50aXR5UXVlcnlS",
+ "ZXNwb25zZUJ1WkFpbXByb2JhYmxlL3NwYXRpYWxvcy9yZW1vdGVpbnRlcmFj",
+ "dGlvbi92MWFscGhhMTtyZW1vdGVpbnRlcmFjdGlvbqoCL0ltcHJvYmFibGUu",
+ "U3BhdGlhbE9TLlJlbW90ZUludGVyYWN0aW9uLlYxQWxwaGExYgZwcm90bzM="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Validator.ValidatorReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment.Parser, new[]{ "ProjectName", "DeploymentName" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus.Parser, new[]{ "StatusCode", "Message" }, null, new[]{ typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus.Types.Code) }, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest.Parser, new[]{ "Target", "WorkerType", "WorkerId", "ComponentTarget", "Binary" }, new[]{ "Payload" }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest.Types.EntityCommandTarget), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest.Types.EntityCommandTarget.Parser, new[]{ "EntityId", "ComponentId", "CommandIdx" }, null, null, null)}),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandResponse), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandResponse.Parser, new[]{ "Status", "Binary" }, new[]{ "Response" }, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdRequest), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdRequest.Parser, new[]{ "Target", "NumberOfIds" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdResponse), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdResponse.Parser, new[]{ "Status", "EntityId" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityRequest), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityRequest.Parser, new[]{ "Target", "EntityId", "Binary" }, new[]{ "EntityState" }, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityResponse), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityResponse.Parser, new[]{ "Status", "EntityId" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityRequest), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityRequest.Parser, new[]{ "Target", "EntityId" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityResponse), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityResponse.Parser, new[]{ "Status" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryRequest), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryRequest.Parser, new[]{ "Target", "Binary" }, new[]{ "Query" }, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryResponse), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryResponse.Parser, new[]{ "Status", "Result" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryResponse.Types.Entity), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryResponse.Types.Entity.Parser, new[]{ "Id", "Binary" }, new[]{ "State" }, null, null)})
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class Deployment : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Deployment());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Deployment() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Deployment(Deployment other) : this() {
+ projectName_ = other.projectName_;
+ deploymentName_ = other.deploymentName_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Deployment Clone() {
+ return new Deployment(this);
+ }
+
+ /// Field number for the "project_name" field.
+ public const int ProjectNameFieldNumber = 1;
+ private string projectName_ = "";
+ ///
+ /// The project that the deployment targeted by the execution request belongs to.
+ ///
+ /// `project_name` must conform to the following regular expression: ^[a-z0-9_]{3,32}$
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string ProjectName {
+ get { return projectName_; }
+ set {
+ projectName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "deployment_name" field.
+ public const int DeploymentNameFieldNumber = 2;
+ private string deploymentName_ = "";
+ ///
+ /// The name of the deployment targeted by the execution request.
+ ///
+ /// `deployment_name` must conform to the regex: ^[a-z0-9_]{3,32}$
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string DeploymentName {
+ get { return deploymentName_; }
+ set {
+ deploymentName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Deployment);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Deployment other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (ProjectName != other.ProjectName) return false;
+ if (DeploymentName != other.DeploymentName) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (ProjectName.Length != 0) hash ^= ProjectName.GetHashCode();
+ if (DeploymentName.Length != 0) hash ^= DeploymentName.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (ProjectName.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(ProjectName);
+ }
+ if (DeploymentName.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(DeploymentName);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (ProjectName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(ProjectName);
+ }
+ if (DeploymentName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(DeploymentName);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Deployment other) {
+ if (other == null) {
+ return;
+ }
+ if (other.ProjectName.Length != 0) {
+ ProjectName = other.ProjectName;
+ }
+ if (other.DeploymentName.Length != 0) {
+ DeploymentName = other.DeploymentName;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ ProjectName = input.ReadString();
+ break;
+ }
+ case 18: {
+ DeploymentName = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ ///
+ /// Additional status information for when executing an entity command.
+ ///
+ public sealed partial class CommandStatus : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CommandStatus());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.MessageTypes[1]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public CommandStatus() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public CommandStatus(CommandStatus other) : this() {
+ statusCode_ = other.statusCode_;
+ message_ = other.message_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public CommandStatus Clone() {
+ return new CommandStatus(this);
+ }
+
+ /// Field number for the "status_code" field.
+ public const int StatusCodeFieldNumber = 1;
+ private global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus.Types.Code statusCode_ = 0;
+ ///
+ /// The status code telling us what the result of the command was.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus.Types.Code StatusCode {
+ get { return statusCode_; }
+ set {
+ statusCode_ = value;
+ }
+ }
+
+ /// Field number for the "message" field.
+ public const int MessageFieldNumber = 2;
+ private string message_ = "";
+ ///
+ /// An optional descriptive string explaining the status.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Message {
+ get { return message_; }
+ set {
+ message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as CommandStatus);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(CommandStatus other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (StatusCode != other.StatusCode) return false;
+ if (Message != other.Message) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (StatusCode != 0) hash ^= StatusCode.GetHashCode();
+ if (Message.Length != 0) hash ^= Message.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (StatusCode != 0) {
+ output.WriteRawTag(8);
+ output.WriteEnum((int) StatusCode);
+ }
+ if (Message.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Message);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (StatusCode != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) StatusCode);
+ }
+ if (Message.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(CommandStatus other) {
+ if (other == null) {
+ return;
+ }
+ if (other.StatusCode != 0) {
+ StatusCode = other.StatusCode;
+ }
+ if (other.Message.Length != 0) {
+ Message = other.Message;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 8: {
+ statusCode_ = (global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus.Types.Code) input.ReadEnum();
+ break;
+ }
+ case 18: {
+ Message = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+
+ #region Nested types
+ /// Container for nested types declared in the CommandStatus message type.
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static partial class Types {
+ ///
+ /// Status codes that can be returned. They are identical to the ones
+ /// supported by the Worker SDKs.
+ ///
+ public enum Code {
+ [pbr::OriginalName("UNKNOWN")] Unknown = 0,
+ [pbr::OriginalName("OK")] Ok = 1,
+ [pbr::OriginalName("UNIMPLEMENTED")] Unimplemented = 2,
+ [pbr::OriginalName("INTERNAL_ERROR")] InternalError = 3,
+ [pbr::OriginalName("DEADLINE_EXCEEDED")] DeadlineExceeded = 4,
+ [pbr::OriginalName("TARGET_NOT_FOUND")] TargetNotFound = 6,
+ [pbr::OriginalName("TARGET_AUTHORITY_LOST")] TargetAuthorityLost = 7,
+ [pbr::OriginalName("PERMISSION_DENIED")] PermissionDenied = 8,
+ [pbr::OriginalName("APPLICATION_ERROR")] ApplicationError = 9,
+ }
+
+ }
+ #endregion
+
+ }
+
+ public sealed partial class EntityCommandRequest : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EntityCommandRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.MessageTypes[2]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityCommandRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityCommandRequest(EntityCommandRequest other) : this() {
+ Target = other.target_ != null ? other.Target.Clone() : null;
+ workerType_ = other.workerType_;
+ workerId_ = other.workerId_;
+ ComponentTarget = other.componentTarget_ != null ? other.ComponentTarget.Clone() : null;
+ switch (other.PayloadCase) {
+ case PayloadOneofCase.Binary:
+ Binary = other.Binary;
+ break;
+ }
+
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityCommandRequest Clone() {
+ return new EntityCommandRequest(this);
+ }
+
+ /// Field number for the "target" field.
+ public const int TargetFieldNumber = 1;
+ private global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment target_;
+ ///
+ /// Deployment targeted by the request.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment Target {
+ get { return target_; }
+ set {
+ target_ = value;
+ }
+ }
+
+ /// Field number for the "worker_type" field.
+ public const int WorkerTypeFieldNumber = 2;
+ private string workerType_ = "";
+ ///
+ /// Worker type that will be forwarded with the command to the handling worker. The specified
+ /// string needs to correspond to a worker type defined in the deployment's bridge configurations.
+ /// This allows for entity commands forwarded through the RIS to impersonate any known worker type.
+ /// Specifying an unknown worker type will result in an error with an INVALID_ARGUMENT code.
+ ///
+ /// The regular expression used to validate types is synchronised with the one present in the
+ /// WorkerType message of proto/improbable/platform/deployment/worker_flagz.proto.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string WorkerType {
+ get { return workerType_; }
+ set {
+ workerType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "worker_id" field.
+ public const int WorkerIdFieldNumber = 3;
+ private string workerId_ = "";
+ ///
+ /// Worker ID that will be forwarded with the command to the handling worker. This allows for
+ /// entity commands forwarded through the RIS to impersonate any (in)existent worker.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string WorkerId {
+ get { return workerId_; }
+ set {
+ workerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "component_target" field.
+ public const int ComponentTargetFieldNumber = 4;
+ private global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest.Types.EntityCommandTarget componentTarget_;
+ ///
+ /// Target component of the entity command.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest.Types.EntityCommandTarget ComponentTarget {
+ get { return componentTarget_; }
+ set {
+ componentTarget_ = value;
+ }
+ }
+
+ /// Field number for the "binary" field.
+ public const int BinaryFieldNumber = 5;
+ ///
+ /// Binary-encoded schema.improbable.EntityCommand message.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString Binary {
+ get { return payloadCase_ == PayloadOneofCase.Binary ? (pb::ByteString) payload_ : pb::ByteString.Empty; }
+ set {
+ payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ payloadCase_ = PayloadOneofCase.Binary;
+ }
+ }
+
+ private object payload_;
+ /// Enum of possible cases for the "payload" oneof.
+ public enum PayloadOneofCase {
+ None = 0,
+ Binary = 5,
+ }
+ private PayloadOneofCase payloadCase_ = PayloadOneofCase.None;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public PayloadOneofCase PayloadCase {
+ get { return payloadCase_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void ClearPayload() {
+ payloadCase_ = PayloadOneofCase.None;
+ payload_ = null;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as EntityCommandRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(EntityCommandRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Target, other.Target)) return false;
+ if (WorkerType != other.WorkerType) return false;
+ if (WorkerId != other.WorkerId) return false;
+ if (!object.Equals(ComponentTarget, other.ComponentTarget)) return false;
+ if (Binary != other.Binary) return false;
+ if (PayloadCase != other.PayloadCase) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (target_ != null) hash ^= Target.GetHashCode();
+ if (WorkerType.Length != 0) hash ^= WorkerType.GetHashCode();
+ if (WorkerId.Length != 0) hash ^= WorkerId.GetHashCode();
+ if (componentTarget_ != null) hash ^= ComponentTarget.GetHashCode();
+ if (payloadCase_ == PayloadOneofCase.Binary) hash ^= Binary.GetHashCode();
+ hash ^= (int) payloadCase_;
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (target_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Target);
+ }
+ if (WorkerType.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(WorkerType);
+ }
+ if (WorkerId.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(WorkerId);
+ }
+ if (componentTarget_ != null) {
+ output.WriteRawTag(34);
+ output.WriteMessage(ComponentTarget);
+ }
+ if (payloadCase_ == PayloadOneofCase.Binary) {
+ output.WriteRawTag(42);
+ output.WriteBytes(Binary);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (target_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target);
+ }
+ if (WorkerType.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(WorkerType);
+ }
+ if (WorkerId.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(WorkerId);
+ }
+ if (componentTarget_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComponentTarget);
+ }
+ if (payloadCase_ == PayloadOneofCase.Binary) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(Binary);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(EntityCommandRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.target_ != null) {
+ if (target_ == null) {
+ target_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment();
+ }
+ Target.MergeFrom(other.Target);
+ }
+ if (other.WorkerType.Length != 0) {
+ WorkerType = other.WorkerType;
+ }
+ if (other.WorkerId.Length != 0) {
+ WorkerId = other.WorkerId;
+ }
+ if (other.componentTarget_ != null) {
+ if (componentTarget_ == null) {
+ componentTarget_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest.Types.EntityCommandTarget();
+ }
+ ComponentTarget.MergeFrom(other.ComponentTarget);
+ }
+ switch (other.PayloadCase) {
+ case PayloadOneofCase.Binary:
+ Binary = other.Binary;
+ break;
+ }
+
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ if (target_ == null) {
+ target_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment();
+ }
+ input.ReadMessage(target_);
+ break;
+ }
+ case 18: {
+ WorkerType = input.ReadString();
+ break;
+ }
+ case 26: {
+ WorkerId = input.ReadString();
+ break;
+ }
+ case 34: {
+ if (componentTarget_ == null) {
+ componentTarget_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest.Types.EntityCommandTarget();
+ }
+ input.ReadMessage(componentTarget_);
+ break;
+ }
+ case 42: {
+ Binary = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+
+ #region Nested types
+ /// Container for nested types declared in the EntityCommandRequest message type.
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static partial class Types {
+ public sealed partial class EntityCommandTarget : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EntityCommandTarget());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest.Descriptor.NestedTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityCommandTarget() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityCommandTarget(EntityCommandTarget other) : this() {
+ entityId_ = other.entityId_;
+ componentId_ = other.componentId_;
+ commandIdx_ = other.commandIdx_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityCommandTarget Clone() {
+ return new EntityCommandTarget(this);
+ }
+
+ /// Field number for the "entity_id" field.
+ public const int EntityIdFieldNumber = 1;
+ private long entityId_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public long EntityId {
+ get { return entityId_; }
+ set {
+ entityId_ = value;
+ }
+ }
+
+ /// Field number for the "component_id" field.
+ public const int ComponentIdFieldNumber = 2;
+ private uint componentId_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint ComponentId {
+ get { return componentId_; }
+ set {
+ componentId_ = value;
+ }
+ }
+
+ /// Field number for the "command_idx" field.
+ public const int CommandIdxFieldNumber = 3;
+ private uint commandIdx_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint CommandIdx {
+ get { return commandIdx_; }
+ set {
+ commandIdx_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as EntityCommandTarget);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(EntityCommandTarget other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (EntityId != other.EntityId) return false;
+ if (ComponentId != other.ComponentId) return false;
+ if (CommandIdx != other.CommandIdx) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (EntityId != 0L) hash ^= EntityId.GetHashCode();
+ if (ComponentId != 0) hash ^= ComponentId.GetHashCode();
+ if (CommandIdx != 0) hash ^= CommandIdx.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (EntityId != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(EntityId);
+ }
+ if (ComponentId != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(ComponentId);
+ }
+ if (CommandIdx != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(CommandIdx);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (EntityId != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(EntityId);
+ }
+ if (ComponentId != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ComponentId);
+ }
+ if (CommandIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CommandIdx);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(EntityCommandTarget other) {
+ if (other == null) {
+ return;
+ }
+ if (other.EntityId != 0L) {
+ EntityId = other.EntityId;
+ }
+ if (other.ComponentId != 0) {
+ ComponentId = other.ComponentId;
+ }
+ if (other.CommandIdx != 0) {
+ CommandIdx = other.CommandIdx;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 8: {
+ EntityId = input.ReadInt64();
+ break;
+ }
+ case 16: {
+ ComponentId = input.ReadUInt32();
+ break;
+ }
+ case 24: {
+ CommandIdx = input.ReadUInt32();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ }
+ #endregion
+
+ }
+
+ public sealed partial class EntityCommandResponse : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EntityCommandResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.MessageTypes[3]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityCommandResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityCommandResponse(EntityCommandResponse other) : this() {
+ Status = other.status_ != null ? other.Status.Clone() : null;
+ switch (other.ResponseCase) {
+ case ResponseOneofCase.Binary:
+ Binary = other.Binary;
+ break;
+ }
+
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityCommandResponse Clone() {
+ return new EntityCommandResponse(this);
+ }
+
+ /// Field number for the "status" field.
+ public const int StatusFieldNumber = 1;
+ private global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus status_;
+ ///
+ /// Response status.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus Status {
+ get { return status_; }
+ set {
+ status_ = value;
+ }
+ }
+
+ /// Field number for the "binary" field.
+ public const int BinaryFieldNumber = 2;
+ ///
+ /// Binary-encoded schema.improbable.EntityCommand message.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString Binary {
+ get { return responseCase_ == ResponseOneofCase.Binary ? (pb::ByteString) response_ : pb::ByteString.Empty; }
+ set {
+ response_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ responseCase_ = ResponseOneofCase.Binary;
+ }
+ }
+
+ private object response_;
+ /// Enum of possible cases for the "response" oneof.
+ public enum ResponseOneofCase {
+ None = 0,
+ Binary = 2,
+ }
+ private ResponseOneofCase responseCase_ = ResponseOneofCase.None;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public ResponseOneofCase ResponseCase {
+ get { return responseCase_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void ClearResponse() {
+ responseCase_ = ResponseOneofCase.None;
+ response_ = null;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as EntityCommandResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(EntityCommandResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Status, other.Status)) return false;
+ if (Binary != other.Binary) return false;
+ if (ResponseCase != other.ResponseCase) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (status_ != null) hash ^= Status.GetHashCode();
+ if (responseCase_ == ResponseOneofCase.Binary) hash ^= Binary.GetHashCode();
+ hash ^= (int) responseCase_;
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (status_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Status);
+ }
+ if (responseCase_ == ResponseOneofCase.Binary) {
+ output.WriteRawTag(18);
+ output.WriteBytes(Binary);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (status_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Status);
+ }
+ if (responseCase_ == ResponseOneofCase.Binary) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(Binary);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(EntityCommandResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.status_ != null) {
+ if (status_ == null) {
+ status_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus();
+ }
+ Status.MergeFrom(other.Status);
+ }
+ switch (other.ResponseCase) {
+ case ResponseOneofCase.Binary:
+ Binary = other.Binary;
+ break;
+ }
+
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ if (status_ == null) {
+ status_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus();
+ }
+ input.ReadMessage(status_);
+ break;
+ }
+ case 18: {
+ Binary = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ public sealed partial class ReserveEntityIdRequest : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReserveEntityIdRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.MessageTypes[4]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public ReserveEntityIdRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public ReserveEntityIdRequest(ReserveEntityIdRequest other) : this() {
+ Target = other.target_ != null ? other.Target.Clone() : null;
+ numberOfIds_ = other.numberOfIds_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public ReserveEntityIdRequest Clone() {
+ return new ReserveEntityIdRequest(this);
+ }
+
+ /// Field number for the "target" field.
+ public const int TargetFieldNumber = 1;
+ private global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment target_;
+ ///
+ /// Deployment targeted by the request.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment Target {
+ get { return target_; }
+ set {
+ target_ = value;
+ }
+ }
+
+ /// Field number for the "number_of_ids" field.
+ public const int NumberOfIdsFieldNumber = 2;
+ private uint numberOfIds_;
+ ///
+ /// Optional number of entity IDs to reserve. If specified this allows for bulk reservations.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint NumberOfIds {
+ get { return numberOfIds_; }
+ set {
+ numberOfIds_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as ReserveEntityIdRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(ReserveEntityIdRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Target, other.Target)) return false;
+ if (NumberOfIds != other.NumberOfIds) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (target_ != null) hash ^= Target.GetHashCode();
+ if (NumberOfIds != 0) hash ^= NumberOfIds.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (target_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Target);
+ }
+ if (NumberOfIds != 0) {
+ output.WriteRawTag(16);
+ output.WriteUInt32(NumberOfIds);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (target_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target);
+ }
+ if (NumberOfIds != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NumberOfIds);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(ReserveEntityIdRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.target_ != null) {
+ if (target_ == null) {
+ target_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment();
+ }
+ Target.MergeFrom(other.Target);
+ }
+ if (other.NumberOfIds != 0) {
+ NumberOfIds = other.NumberOfIds;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ if (target_ == null) {
+ target_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment();
+ }
+ input.ReadMessage(target_);
+ break;
+ }
+ case 16: {
+ NumberOfIds = input.ReadUInt32();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ public sealed partial class ReserveEntityIdResponse : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReserveEntityIdResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.MessageTypes[5]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public ReserveEntityIdResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public ReserveEntityIdResponse(ReserveEntityIdResponse other) : this() {
+ Status = other.status_ != null ? other.Status.Clone() : null;
+ entityId_ = other.entityId_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public ReserveEntityIdResponse Clone() {
+ return new ReserveEntityIdResponse(this);
+ }
+
+ /// Field number for the "status" field.
+ public const int StatusFieldNumber = 1;
+ private global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus status_;
+ ///
+ /// Response status.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus Status {
+ get { return status_; }
+ set {
+ status_ = value;
+ }
+ }
+
+ /// Field number for the "entity_id" field.
+ public const int EntityIdFieldNumber = 2;
+ private long entityId_;
+ ///
+ /// The entity ID that has been reserved. If a bulk reservation request was made this will
+ /// correspond to the first of a contiguous range of entity IDs of which the lenght is identical to
+ /// the number of IDs that were requested.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public long EntityId {
+ get { return entityId_; }
+ set {
+ entityId_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as ReserveEntityIdResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(ReserveEntityIdResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Status, other.Status)) return false;
+ if (EntityId != other.EntityId) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (status_ != null) hash ^= Status.GetHashCode();
+ if (EntityId != 0L) hash ^= EntityId.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (status_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Status);
+ }
+ if (EntityId != 0L) {
+ output.WriteRawTag(16);
+ output.WriteInt64(EntityId);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (status_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Status);
+ }
+ if (EntityId != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(EntityId);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(ReserveEntityIdResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.status_ != null) {
+ if (status_ == null) {
+ status_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus();
+ }
+ Status.MergeFrom(other.Status);
+ }
+ if (other.EntityId != 0L) {
+ EntityId = other.EntityId;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ if (status_ == null) {
+ status_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus();
+ }
+ input.ReadMessage(status_);
+ break;
+ }
+ case 16: {
+ EntityId = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ public sealed partial class CreateEntityRequest : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateEntityRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.MessageTypes[6]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public CreateEntityRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public CreateEntityRequest(CreateEntityRequest other) : this() {
+ Target = other.target_ != null ? other.Target.Clone() : null;
+ entityId_ = other.entityId_;
+ switch (other.EntityStateCase) {
+ case EntityStateOneofCase.Binary:
+ Binary = other.Binary;
+ break;
+ }
+
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public CreateEntityRequest Clone() {
+ return new CreateEntityRequest(this);
+ }
+
+ /// Field number for the "target" field.
+ public const int TargetFieldNumber = 1;
+ private global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment target_;
+ ///
+ /// Deployment targeted by the requeset.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment Target {
+ get { return target_; }
+ set {
+ target_ = value;
+ }
+ }
+
+ /// Field number for the "entity_id" field.
+ public const int EntityIdFieldNumber = 2;
+ private long entityId_;
+ ///
+ /// Optional ID of the entity to create. If specified it needs to have been reserved before by a
+ /// call to ReserveEntityId.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public long EntityId {
+ get { return entityId_; }
+ set {
+ entityId_ = value;
+ }
+ }
+
+ /// Field number for the "binary" field.
+ public const int BinaryFieldNumber = 3;
+ ///
+ /// Binary-encoded schema.improbable.EntityState message.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString Binary {
+ get { return entityStateCase_ == EntityStateOneofCase.Binary ? (pb::ByteString) entityState_ : pb::ByteString.Empty; }
+ set {
+ entityState_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ entityStateCase_ = EntityStateOneofCase.Binary;
+ }
+ }
+
+ private object entityState_;
+ /// Enum of possible cases for the "entity_state" oneof.
+ public enum EntityStateOneofCase {
+ None = 0,
+ Binary = 3,
+ }
+ private EntityStateOneofCase entityStateCase_ = EntityStateOneofCase.None;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityStateOneofCase EntityStateCase {
+ get { return entityStateCase_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void ClearEntityState() {
+ entityStateCase_ = EntityStateOneofCase.None;
+ entityState_ = null;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as CreateEntityRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(CreateEntityRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Target, other.Target)) return false;
+ if (EntityId != other.EntityId) return false;
+ if (Binary != other.Binary) return false;
+ if (EntityStateCase != other.EntityStateCase) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (target_ != null) hash ^= Target.GetHashCode();
+ if (EntityId != 0L) hash ^= EntityId.GetHashCode();
+ if (entityStateCase_ == EntityStateOneofCase.Binary) hash ^= Binary.GetHashCode();
+ hash ^= (int) entityStateCase_;
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (target_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Target);
+ }
+ if (EntityId != 0L) {
+ output.WriteRawTag(16);
+ output.WriteInt64(EntityId);
+ }
+ if (entityStateCase_ == EntityStateOneofCase.Binary) {
+ output.WriteRawTag(26);
+ output.WriteBytes(Binary);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (target_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target);
+ }
+ if (EntityId != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(EntityId);
+ }
+ if (entityStateCase_ == EntityStateOneofCase.Binary) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(Binary);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(CreateEntityRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.target_ != null) {
+ if (target_ == null) {
+ target_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment();
+ }
+ Target.MergeFrom(other.Target);
+ }
+ if (other.EntityId != 0L) {
+ EntityId = other.EntityId;
+ }
+ switch (other.EntityStateCase) {
+ case EntityStateOneofCase.Binary:
+ Binary = other.Binary;
+ break;
+ }
+
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ if (target_ == null) {
+ target_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment();
+ }
+ input.ReadMessage(target_);
+ break;
+ }
+ case 16: {
+ EntityId = input.ReadInt64();
+ break;
+ }
+ case 26: {
+ Binary = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ public sealed partial class CreateEntityResponse : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateEntityResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.MessageTypes[7]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public CreateEntityResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public CreateEntityResponse(CreateEntityResponse other) : this() {
+ Status = other.status_ != null ? other.Status.Clone() : null;
+ entityId_ = other.entityId_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public CreateEntityResponse Clone() {
+ return new CreateEntityResponse(this);
+ }
+
+ /// Field number for the "status" field.
+ public const int StatusFieldNumber = 1;
+ private global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus status_;
+ ///
+ /// Response status.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus Status {
+ get { return status_; }
+ set {
+ status_ = value;
+ }
+ }
+
+ /// Field number for the "entity_id" field.
+ public const int EntityIdFieldNumber = 2;
+ private long entityId_;
+ ///
+ /// ID of the newly created entity.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public long EntityId {
+ get { return entityId_; }
+ set {
+ entityId_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as CreateEntityResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(CreateEntityResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Status, other.Status)) return false;
+ if (EntityId != other.EntityId) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (status_ != null) hash ^= Status.GetHashCode();
+ if (EntityId != 0L) hash ^= EntityId.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (status_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Status);
+ }
+ if (EntityId != 0L) {
+ output.WriteRawTag(16);
+ output.WriteInt64(EntityId);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (status_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Status);
+ }
+ if (EntityId != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(EntityId);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(CreateEntityResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.status_ != null) {
+ if (status_ == null) {
+ status_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus();
+ }
+ Status.MergeFrom(other.Status);
+ }
+ if (other.EntityId != 0L) {
+ EntityId = other.EntityId;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ if (status_ == null) {
+ status_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus();
+ }
+ input.ReadMessage(status_);
+ break;
+ }
+ case 16: {
+ EntityId = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ public sealed partial class DeleteEntityRequest : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteEntityRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.MessageTypes[8]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeleteEntityRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeleteEntityRequest(DeleteEntityRequest other) : this() {
+ Target = other.target_ != null ? other.Target.Clone() : null;
+ entityId_ = other.entityId_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeleteEntityRequest Clone() {
+ return new DeleteEntityRequest(this);
+ }
+
+ /// Field number for the "target" field.
+ public const int TargetFieldNumber = 1;
+ private global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment target_;
+ ///
+ /// Deployment targeted by the requeset.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment Target {
+ get { return target_; }
+ set {
+ target_ = value;
+ }
+ }
+
+ /// Field number for the "entity_id" field.
+ public const int EntityIdFieldNumber = 2;
+ private long entityId_;
+ ///
+ /// ID of the entity that should be deleted.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public long EntityId {
+ get { return entityId_; }
+ set {
+ entityId_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteEntityRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(DeleteEntityRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Target, other.Target)) return false;
+ if (EntityId != other.EntityId) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (target_ != null) hash ^= Target.GetHashCode();
+ if (EntityId != 0L) hash ^= EntityId.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (target_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Target);
+ }
+ if (EntityId != 0L) {
+ output.WriteRawTag(16);
+ output.WriteInt64(EntityId);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (target_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target);
+ }
+ if (EntityId != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(EntityId);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(DeleteEntityRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.target_ != null) {
+ if (target_ == null) {
+ target_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment();
+ }
+ Target.MergeFrom(other.Target);
+ }
+ if (other.EntityId != 0L) {
+ EntityId = other.EntityId;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ if (target_ == null) {
+ target_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment();
+ }
+ input.ReadMessage(target_);
+ break;
+ }
+ case 16: {
+ EntityId = input.ReadInt64();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ public sealed partial class DeleteEntityResponse : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteEntityResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.MessageTypes[9]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeleteEntityResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeleteEntityResponse(DeleteEntityResponse other) : this() {
+ Status = other.status_ != null ? other.Status.Clone() : null;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeleteEntityResponse Clone() {
+ return new DeleteEntityResponse(this);
+ }
+
+ /// Field number for the "status" field.
+ public const int StatusFieldNumber = 1;
+ private global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus status_;
+ ///
+ /// Response status.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus Status {
+ get { return status_; }
+ set {
+ status_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteEntityResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(DeleteEntityResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Status, other.Status)) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (status_ != null) hash ^= Status.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (status_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Status);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (status_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Status);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(DeleteEntityResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.status_ != null) {
+ if (status_ == null) {
+ status_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus();
+ }
+ Status.MergeFrom(other.Status);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ if (status_ == null) {
+ status_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus();
+ }
+ input.ReadMessage(status_);
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ public sealed partial class EntityQueryRequest : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EntityQueryRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.MessageTypes[10]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityQueryRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityQueryRequest(EntityQueryRequest other) : this() {
+ Target = other.target_ != null ? other.Target.Clone() : null;
+ switch (other.QueryCase) {
+ case QueryOneofCase.Binary:
+ Binary = other.Binary;
+ break;
+ }
+
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityQueryRequest Clone() {
+ return new EntityQueryRequest(this);
+ }
+
+ /// Field number for the "target" field.
+ public const int TargetFieldNumber = 1;
+ private global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment target_;
+ ///
+ /// Deployment targeted by the requeset.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment Target {
+ get { return target_; }
+ set {
+ target_ = value;
+ }
+ }
+
+ /// Field number for the "binary" field.
+ public const int BinaryFieldNumber = 2;
+ ///
+ /// Binary-encoded schema.improbable.ComponentInterest.Query message.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString Binary {
+ get { return queryCase_ == QueryOneofCase.Binary ? (pb::ByteString) query_ : pb::ByteString.Empty; }
+ set {
+ query_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ queryCase_ = QueryOneofCase.Binary;
+ }
+ }
+
+ private object query_;
+ /// Enum of possible cases for the "query" oneof.
+ public enum QueryOneofCase {
+ None = 0,
+ Binary = 2,
+ }
+ private QueryOneofCase queryCase_ = QueryOneofCase.None;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public QueryOneofCase QueryCase {
+ get { return queryCase_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void ClearQuery() {
+ queryCase_ = QueryOneofCase.None;
+ query_ = null;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as EntityQueryRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(EntityQueryRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Target, other.Target)) return false;
+ if (Binary != other.Binary) return false;
+ if (QueryCase != other.QueryCase) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (target_ != null) hash ^= Target.GetHashCode();
+ if (queryCase_ == QueryOneofCase.Binary) hash ^= Binary.GetHashCode();
+ hash ^= (int) queryCase_;
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (target_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Target);
+ }
+ if (queryCase_ == QueryOneofCase.Binary) {
+ output.WriteRawTag(18);
+ output.WriteBytes(Binary);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (target_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target);
+ }
+ if (queryCase_ == QueryOneofCase.Binary) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(Binary);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(EntityQueryRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.target_ != null) {
+ if (target_ == null) {
+ target_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment();
+ }
+ Target.MergeFrom(other.Target);
+ }
+ switch (other.QueryCase) {
+ case QueryOneofCase.Binary:
+ Binary = other.Binary;
+ break;
+ }
+
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ if (target_ == null) {
+ target_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.Deployment();
+ }
+ input.ReadMessage(target_);
+ break;
+ }
+ case 18: {
+ Binary = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ public sealed partial class EntityQueryResponse : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EntityQueryResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.MessageTypes[11]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityQueryResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityQueryResponse(EntityQueryResponse other) : this() {
+ Status = other.status_ != null ? other.Status.Clone() : null;
+ result_ = other.result_.Clone();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EntityQueryResponse Clone() {
+ return new EntityQueryResponse(this);
+ }
+
+ /// Field number for the "status" field.
+ public const int StatusFieldNumber = 1;
+ private global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus status_;
+ ///
+ /// Response status.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus Status {
+ get { return status_; }
+ set {
+ status_ = value;
+ }
+ }
+
+ /// Field number for the "result" field.
+ public const int ResultFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_result_codec
+ = pb::FieldCodec.ForMessage(18, global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryResponse.Types.Entity.Parser);
+ private readonly pbc::RepeatedField result_ = new pbc::RepeatedField();
+ ///
+ /// Entities returned by the query.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField Result {
+ get { return result_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as EntityQueryResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(EntityQueryResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Status, other.Status)) return false;
+ if(!result_.Equals(other.result_)) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (status_ != null) hash ^= Status.GetHashCode();
+ hash ^= result_.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (status_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Status);
+ }
+ result_.WriteTo(output, _repeated_result_codec);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (status_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Status);
+ }
+ size += result_.CalculateSize(_repeated_result_codec);
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(EntityQueryResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.status_ != null) {
+ if (status_ == null) {
+ status_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus();
+ }
+ Status.MergeFrom(other.Status);
+ }
+ result_.Add(other.result_);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 10: {
+ if (status_ == null) {
+ status_ = new global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CommandStatus();
+ }
+ input.ReadMessage(status_);
+ break;
+ }
+ case 18: {
+ result_.AddEntriesFrom(input, _repeated_result_codec);
+ break;
+ }
+ }
+ }
+ }
+
+ #region Nested types
+ /// Container for nested types declared in the EntityQueryResponse message type.
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static partial class Types {
+ public sealed partial class Entity : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entity());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryResponse.Descriptor.NestedTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Entity() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Entity(Entity other) : this() {
+ id_ = other.id_;
+ switch (other.StateCase) {
+ case StateOneofCase.Binary:
+ Binary = other.Binary;
+ break;
+ }
+
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Entity Clone() {
+ return new Entity(this);
+ }
+
+ /// Field number for the "id" field.
+ public const int IdFieldNumber = 1;
+ private long id_;
+ ///
+ /// ID of the entity.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public long Id {
+ get { return id_; }
+ set {
+ id_ = value;
+ }
+ }
+
+ /// Field number for the "binary" field.
+ public const int BinaryFieldNumber = 2;
+ ///
+ /// List of binary-encoded schema.improbable.EntityState messages.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString Binary {
+ get { return stateCase_ == StateOneofCase.Binary ? (pb::ByteString) state_ : pb::ByteString.Empty; }
+ set {
+ state_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ stateCase_ = StateOneofCase.Binary;
+ }
+ }
+
+ private object state_;
+ /// Enum of possible cases for the "state" oneof.
+ public enum StateOneofCase {
+ None = 0,
+ Binary = 2,
+ }
+ private StateOneofCase stateCase_ = StateOneofCase.None;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StateOneofCase StateCase {
+ get { return stateCase_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void ClearState() {
+ stateCase_ = StateOneofCase.None;
+ state_ = null;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Entity);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Entity other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Id != other.Id) return false;
+ if (Binary != other.Binary) return false;
+ if (StateCase != other.StateCase) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Id != 0L) hash ^= Id.GetHashCode();
+ if (stateCase_ == StateOneofCase.Binary) hash ^= Binary.GetHashCode();
+ hash ^= (int) stateCase_;
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (Id != 0L) {
+ output.WriteRawTag(8);
+ output.WriteInt64(Id);
+ }
+ if (stateCase_ == StateOneofCase.Binary) {
+ output.WriteRawTag(18);
+ output.WriteBytes(Binary);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Id != 0L) {
+ size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
+ }
+ if (stateCase_ == StateOneofCase.Binary) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(Binary);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Entity other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Id != 0L) {
+ Id = other.Id;
+ }
+ switch (other.StateCase) {
+ case StateOneofCase.Binary:
+ Binary = other.Binary;
+ break;
+ }
+
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 8: {
+ Id = input.ReadInt64();
+ break;
+ }
+ case 18: {
+ Binary = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ }
+ #endregion
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/apis/remoteinteraction_v1alpha1/RemoteinteractionGrpc.cs b/apis/remoteinteraction_v1alpha1/RemoteinteractionGrpc.cs
new file mode 100755
index 0000000..834d6c9
--- /dev/null
+++ b/apis/remoteinteraction_v1alpha1/RemoteinteractionGrpc.cs
@@ -0,0 +1,395 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: proto/improbable/spatialos/remoteinteraction/v1alpha1/remoteinteraction.proto
+// Original file comments:
+// Provide methods to send remote commands and queries to deployments.
+//
+#pragma warning disable 1591
+#region Designer generated code
+
+using System;
+using System.Threading;
+using System.Threading.Tasks;
+using grpc = global::Grpc.Core;
+
+namespace Improbable.SpatialOS.RemoteInteraction.V1Alpha1 {
+ public static partial class RemoteInteractionService
+ {
+ static readonly string __ServiceName = "improbable.spatialos.remoteinteraction.v1alpha1.RemoteInteractionService";
+
+ static readonly grpc::Marshaller __Marshaller_EntityCommandRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest.Parser.ParseFrom);
+ static readonly grpc::Marshaller __Marshaller_EntityCommandResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandResponse.Parser.ParseFrom);
+ static readonly grpc::Marshaller __Marshaller_ReserveEntityIdRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdRequest.Parser.ParseFrom);
+ static readonly grpc::Marshaller __Marshaller_ReserveEntityIdResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdResponse.Parser.ParseFrom);
+ static readonly grpc::Marshaller __Marshaller_CreateEntityRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityRequest.Parser.ParseFrom);
+ static readonly grpc::Marshaller __Marshaller_CreateEntityResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityResponse.Parser.ParseFrom);
+ static readonly grpc::Marshaller __Marshaller_DeleteEntityRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityRequest.Parser.ParseFrom);
+ static readonly grpc::Marshaller __Marshaller_DeleteEntityResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityResponse.Parser.ParseFrom);
+ static readonly grpc::Marshaller __Marshaller_EntityQueryRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryRequest.Parser.ParseFrom);
+ static readonly grpc::Marshaller __Marshaller_EntityQueryResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryResponse.Parser.ParseFrom);
+
+ static readonly grpc::Method __Method_EntityCommand = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "EntityCommand",
+ __Marshaller_EntityCommandRequest,
+ __Marshaller_EntityCommandResponse);
+
+ static readonly grpc::Method __Method_ReserveEntityId = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "ReserveEntityId",
+ __Marshaller_ReserveEntityIdRequest,
+ __Marshaller_ReserveEntityIdResponse);
+
+ static readonly grpc::Method __Method_CreateEntity = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "CreateEntity",
+ __Marshaller_CreateEntityRequest,
+ __Marshaller_CreateEntityResponse);
+
+ static readonly grpc::Method __Method_DeleteEntity = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "DeleteEntity",
+ __Marshaller_DeleteEntityRequest,
+ __Marshaller_DeleteEntityResponse);
+
+ static readonly grpc::Method __Method_EntityQuery = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "EntityQuery",
+ __Marshaller_EntityQueryRequest,
+ __Marshaller_EntityQueryResponse);
+
+ /// Service descriptor
+ public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
+ {
+ get { return global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.RemoteinteractionReflection.Descriptor.Services[0]; }
+ }
+
+ /// Base class for server-side implementations of RemoteInteractionService
+ public abstract partial class RemoteInteractionServiceBase
+ {
+ ///
+ /// Execute an entity command.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ public virtual global::System.Threading.Tasks.Task EntityCommand(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// Reserve an entity ID.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ public virtual global::System.Threading.Tasks.Task ReserveEntityId(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// Create a new entity.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ public virtual global::System.Threading.Tasks.Task CreateEntity(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// Delete an existing entity.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ public virtual global::System.Threading.Tasks.Task DeleteEntity(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ ///
+ /// Execute a one-shot query.
+ ///
+ /// The request received from the client.
+ /// The context of the server-side call handler being invoked.
+ /// The response to send back to the client (wrapped by a task).
+ public virtual global::System.Threading.Tasks.Task EntityQuery(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
+ }
+
+ /// Client for RemoteInteractionService
+ public partial class RemoteInteractionServiceClient : grpc::ClientBase
+ {
+ /// Creates a new client for RemoteInteractionService
+ /// The channel to use to make remote calls.
+ public RemoteInteractionServiceClient(grpc::Channel channel) : base(channel)
+ {
+ }
+ /// Creates a new client for RemoteInteractionService that uses a custom CallInvoker.
+ /// The callInvoker to use to make remote calls.
+ public RemoteInteractionServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
+ {
+ }
+ /// Protected parameterless constructor to allow creation of test doubles.
+ protected RemoteInteractionServiceClient() : base()
+ {
+ }
+ /// Protected constructor to allow creation of configured clients.
+ /// The client configuration.
+ protected RemoteInteractionServiceClient(ClientBaseConfiguration configuration) : base(configuration)
+ {
+ }
+
+ ///
+ /// Execute an entity command.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ public virtual global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandResponse EntityCommand(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ return EntityCommand(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Execute an entity command.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ public virtual global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandResponse EntityCommand(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_EntityCommand, null, options, request);
+ }
+ ///
+ /// Execute an entity command.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ public virtual grpc::AsyncUnaryCall EntityCommandAsync(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ return EntityCommandAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Execute an entity command.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ public virtual grpc::AsyncUnaryCall EntityCommandAsync(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityCommandRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_EntityCommand, null, options, request);
+ }
+ ///
+ /// Reserve an entity ID.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ public virtual global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdResponse ReserveEntityId(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ return ReserveEntityId(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Reserve an entity ID.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ public virtual global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdResponse ReserveEntityId(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_ReserveEntityId, null, options, request);
+ }
+ ///
+ /// Reserve an entity ID.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ public virtual grpc::AsyncUnaryCall ReserveEntityIdAsync(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ return ReserveEntityIdAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Reserve an entity ID.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ public virtual grpc::AsyncUnaryCall ReserveEntityIdAsync(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.ReserveEntityIdRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_ReserveEntityId, null, options, request);
+ }
+ ///
+ /// Create a new entity.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ public virtual global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityResponse CreateEntity(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ return CreateEntity(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Create a new entity.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ public virtual global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityResponse CreateEntity(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_CreateEntity, null, options, request);
+ }
+ ///
+ /// Create a new entity.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ public virtual grpc::AsyncUnaryCall CreateEntityAsync(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ return CreateEntityAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Create a new entity.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ public virtual grpc::AsyncUnaryCall CreateEntityAsync(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.CreateEntityRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_CreateEntity, null, options, request);
+ }
+ ///
+ /// Delete an existing entity.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ public virtual global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityResponse DeleteEntity(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ return DeleteEntity(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Delete an existing entity.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ public virtual global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityResponse DeleteEntity(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_DeleteEntity, null, options, request);
+ }
+ ///
+ /// Delete an existing entity.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ public virtual grpc::AsyncUnaryCall DeleteEntityAsync(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ return DeleteEntityAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Delete an existing entity.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ public virtual grpc::AsyncUnaryCall DeleteEntityAsync(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.DeleteEntityRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_DeleteEntity, null, options, request);
+ }
+ ///
+ /// Execute a one-shot query.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The response received from the server.
+ public virtual global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryResponse EntityQuery(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ return EntityQuery(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Execute a one-shot query.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ public virtual global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryResponse EntityQuery(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_EntityQuery, null, options, request);
+ }
+ ///
+ /// Execute a one-shot query.
+ ///
+ /// The request to send to the server.
+ /// The initial metadata to send with the call. This parameter is optional.
+ /// An optional deadline for the call. The call will be cancelled if deadline is hit.
+ /// An optional token for canceling the call.
+ /// The call object.
+ public virtual grpc::AsyncUnaryCall EntityQueryAsync(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ return EntityQueryAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Execute a one-shot query.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ public virtual grpc::AsyncUnaryCall EntityQueryAsync(global::Improbable.SpatialOS.RemoteInteraction.V1Alpha1.EntityQueryRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_EntityQuery, null, options, request);
+ }
+ /// Creates a new instance of client from given ClientBaseConfiguration.
+ protected override RemoteInteractionServiceClient NewInstance(ClientBaseConfiguration configuration)
+ {
+ return new RemoteInteractionServiceClient(configuration);
+ }
+ }
+
+ /// Creates service definition that can be registered with a server
+ /// An object implementing the server-side handling logic.
+ public static grpc::ServerServiceDefinition BindService(RemoteInteractionServiceBase serviceImpl)
+ {
+ return grpc::ServerServiceDefinition.CreateBuilder()
+ .AddMethod(__Method_EntityCommand, serviceImpl.EntityCommand)
+ .AddMethod(__Method_ReserveEntityId, serviceImpl.ReserveEntityId)
+ .AddMethod(__Method_CreateEntity, serviceImpl.CreateEntity)
+ .AddMethod(__Method_DeleteEntity, serviceImpl.DeleteEntity)
+ .AddMethod(__Method_EntityQuery, serviceImpl.EntityQuery).Build();
+ }
+
+ }
+}
+#endregion
diff --git a/scripts/generateapis.sh b/scripts/generateapis.sh
index cdd31ce..de048f3 100755
--- a/scripts/generateapis.sh
+++ b/scripts/generateapis.sh
@@ -22,6 +22,7 @@ function generate_api() {
}
generate_api "deployment" "v1beta1"
-generate_api "snapshot" "v1alpha1"
-generate_api "serviceaccount" "v1alpha1"
generate_api "playerauth" "v2alpha1"
+generate_api "remoteinteraction" "v1alpha1"
+generate_api "serviceaccount" "v1alpha1"
+generate_api "snapshot" "v1alpha1"