diff --git a/WORKSPACE b/WORKSPACE
index 6061bcd..596c03d 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -61,8 +61,8 @@ git_repository(
git_repository(
name = "improbable_platform",
remote = "git@github.com:improbable/platform.git",
- commit = "777672f36dbc103621ee04dec1786da2cdd48599",
- shallow_since = "2019-02-01",
+ commit = "e0315520c25f65716ca119d85fc76a967916101c",
+ shallow_since = "2019-04-01",
)
new_git_repository(
@@ -86,6 +86,22 @@ new_git_repository(
strip_prefix = "src",
)
+new_git_repository(
+ name = "improbable_protoc_gen_gocli",
+ commit = "7d7a36b1ec7123d2af3105fe3a3692f8e56880f2",
+ remote = "git@github.com:improbable/protoc-gen-gocli.git",
+ build_file = "@//third_party/protoc_gen_gocli:BUILD",
+ strip_prefix = "bazel_proto",
+)
+
+new_git_repository(
+ name = "com_github_improbable_io_go_proto_logfields_proto",
+ commit = "6e66e74a1763de7e1372586f671d4a88023297eb",
+ remote = "https://github.com/improbable-io/go-proto-logfields",
+ build_file = "@//third_party/proto_logfields:BUILD",
+ strip_prefix = "src",
+)
+
maven_jar(
name = "com_atlassian_commonmark_commonmark",
artifact = "com.atlassian.commonmark:commonmark:0.9.0",
diff --git a/apis/BUILD b/apis/BUILD
index d84755e..816ff8b 100644
--- a/apis/BUILD
+++ b/apis/BUILD
@@ -26,6 +26,8 @@ proto_library(
":platform_api_protos",
],
deps = [
+ "@improbable_protoc_gen_gocli//:gocli_proto",
+ "@com_github_improbable_io_go_proto_logfields_proto//:logfields_proto",
"@com_github_googleapis_googleapis//:important_protos_lib",
"@com_github_mwitkow_go_proto_validators_proto//:validator_proto",
"@com_google_protobuf//:field_mask_proto",
diff --git a/apis/deployment_v1alpha1/BUILD b/apis/deployment_v1alpha1/BUILD
index 77abbf8..fc65648 100644
--- a/apis/deployment_v1alpha1/BUILD
+++ b/apis/deployment_v1alpha1/BUILD
@@ -18,13 +18,17 @@ 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/",
+ "external/improbable_protoc_gen_gocli/",
],
inputs = [
"@com_google_protobuf//:well_known_protos",
"@com_github_googleapis_googleapis//:important_protos",
"@com_github_mwitkow_go_proto_validators_proto//:proto",
+ "@com_github_improbable_io_go_proto_logfields_proto//:proto",
+ "@improbable_protoc_gen_gocli//:proto",
],
protos = [
"@improbable_platform//proto/improbable/spatialos/deployment:protos",
diff --git a/apis/deployment_v1alpha1/Deployment.cs b/apis/deployment_v1alpha1/Deployment.cs
index 6faba1a..c33b8fe 100755
--- a/apis/deployment_v1alpha1/Deployment.cs
+++ b/apis/deployment_v1alpha1/Deployment.cs
@@ -28,89 +28,130 @@ static DeploymentReflection() {
"b25zLnByb3RvGiBnb29nbGUvcHJvdG9idWYvZmllbGRfbWFzay5wcm90bxof",
"Z29vZ2xlL3Byb3RvYnVmL3RpbWVzdGFtcC5wcm90bxoeZ29vZ2xlL3Byb3Rv",
"YnVmL2R1cmF0aW9uLnByb3RvGjZnaXRodWIuY29tL213aXRrb3cvZ28tcHJv",
- "dG8tdmFsaWRhdG9ycy92YWxpZGF0b3IucHJvdG8iuwcKCkRlcGxveW1lbnQS",
- "CgoCaWQYASABKAkSLQoMcHJvamVjdF9uYW1lGAIgASgJQhfi3x8TChFeW2Et",
- "ejAtOV9dezMsMzJ9JBIlCgRuYW1lGAMgASgJQhfi3x8TChFeW2EtejAtOV9d",
- "ezMsMzJ9JBITCgtyZWdpb25fY29kZRgEIAEoCRIUCgxjbHVzdGVyX2NvZGUY",
- "BSABKAkSEwoLYXNzZW1ibHlfaWQYByABKAkSHAoUc3RhcnRpbmdfc25hcHNo",
- "b3RfaWQYCCABKAkSCwoDdGFnGAkgAygJEksKBnN0YXR1cxgKIAEoDjI7Lmlt",
- "cHJvYmFibGUuc3BhdGlhbG9zLmRlcGxveW1lbnQudjFhbHBoYTEuRGVwbG95",
- "bWVudC5TdG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 "LmRlcGxveW1lbnQudjFhbHBoYTEuRGVsZXRlRGVwbG95bWVudFJlcXVlc3Qa",
+ "HS5nb29nbGUubG9uZ3J1bm5pbmcuT3BlcmF0aW9uEpkBChBVcGRhdGVEZXBs",
+ "b3ltZW50EkEuaW1wcm9iYWJsZS5zcGF0aWFsb3MuZGVwbG95bWVudC52MWFs",
+ "cGhhMS5VcGRhdGVEZXBsb3ltZW50UmVxdWVzdBpCLmltcHJvYmFibGUuc3Bh",
+ "dGlhbG9zLmRlcGxveW1lbnQudjFhbHBoYTEuVXBkYXRlRGVwbG95bWVudFJl",
+ "c3BvbnNlEpMBCg5TdG9wRGVwbG95bWVudBI/LmltcHJvYmFibGUuc3BhdGlh",
+ "bG9zLmRlcGxveW1lbnQudjFhbHBoYTEuU3RvcERlcGxveW1lbnRSZXF1ZXN0",
+ "GkAuaW1wcm9iYWJsZS5zcGF0aWFsb3MuZGVwbG95bWVudC52MWFscGhhMS5T",
+ "dG9wRGVwbG95bWVudFJlc3BvbnNlQmBaM2ltcHJvYmFibGUvc3BhdGlhbG9z",
+ "L2RlcGxveW1lbnQvdjFhbHBoYTE7ZGVwbG95bWVudKoCKEltcHJvYmFibGUu",
+ "U3BhdGlhbE9TLkRlcGxveW1lbnQuVjFBbHBoYTFiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Validator.ValidatorReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Validator.ValidatorReflection.Descriptor, global::Cli.CliReflection.Descriptor, global::Improbable.LogfieldsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Improbable.SpatialOS.Deployment.V1Alpha1.ViewType), }, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.Deployment.V1Alpha1.Deployment), global::Improbable.SpatialOS.Deployment.V1Alpha1.Deployment.Parser, new[]{ "Id", "ProjectName", "Name", "RegionCode", "ClusterCode", "AssemblyId", "StartingSnapshotId", "Tag", "Status", "LaunchConfig", "WorkerFlags", "PlayerInfo", "StartTime", "StopTime", "WorkerConnectionCapacities", "WorkerConnectionRateLimits", "Description", "RuntimeVersion" }, null, new[]{ typeof(global::Improbable.SpatialOS.Deployment.V1Alpha1.Deployment.Types.Status) }, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.Deployment.V1Alpha1.WorkerCapacity), global::Improbable.SpatialOS.Deployment.V1Alpha1.WorkerCapacity.Parser, new[]{ "WorkerType", "MaxCapacity", "RemainingCapacity" }, null, null, null),
@@ -127,7 +168,9 @@ static DeploymentReflection() {
new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.Deployment.V1Alpha1.UpdateDeploymentRequest), global::Improbable.SpatialOS.Deployment.V1Alpha1.UpdateDeploymentRequest.Parser, new[]{ "Deployment", "UpdateMask" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.Deployment.V1Alpha1.UpdateDeploymentResponse), global::Improbable.SpatialOS.Deployment.V1Alpha1.UpdateDeploymentResponse.Parser, new[]{ "Deployment" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.Deployment.V1Alpha1.StopDeploymentRequest), global::Improbable.SpatialOS.Deployment.V1Alpha1.StopDeploymentRequest.Parser, new[]{ "ProjectName", "Id" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.Deployment.V1Alpha1.StopDeploymentResponse), global::Improbable.SpatialOS.Deployment.V1Alpha1.StopDeploymentResponse.Parser, null, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.Deployment.V1Alpha1.StopDeploymentResponse), global::Improbable.SpatialOS.Deployment.V1Alpha1.StopDeploymentResponse.Parser, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.Deployment.V1Alpha1.DeleteDeploymentRequest), global::Improbable.SpatialOS.Deployment.V1Alpha1.DeleteDeploymentRequest.Parser, new[]{ "Id" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.SpatialOS.Deployment.V1Alpha1.DeleteDeploymentMetadata), global::Improbable.SpatialOS.Deployment.V1Alpha1.DeleteDeploymentMetadata.Parser, null, null, null, null)
}));
}
#endregion
@@ -210,7 +253,7 @@ public Deployment Clone() {
public const int IdFieldNumber = 1;
private string id_ = "";
///
- /// A unique identifier for the deployment. Read-only.
+ /// A unique identifier for the deployment. Read-only. The deployment's `id` is assigned automatically and uniquely identifies a particular run of a deployment.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Id {
@@ -227,7 +270,7 @@ public string Id {
/// Read-only once created.
///
/// The name of the project this deployment belongs to.
- /// It must conform to the regex: ^[a-z0-9_]{3,32}$
+ /// It must be lower case letters or numbers or underscores and 3-32 characters in length.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ProjectName {
@@ -245,7 +288,7 @@ public string ProjectName {
///
/// The name of the deployment.
///
- /// It must conform to the regex: ^[a-z0-9_]{3,32}$
+ /// You choose the deployment's name. It must be lower case letters or numbers or underscores and 3-32 characters in length.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name {
@@ -262,7 +305,7 @@ public string Name {
/// Read-only once created.
///
/// The region that the deployment is running in.
- /// The supported regions are "EU", "US", and "AP". Leave blank if unknown.
+ /// The supported regions are "EU" and "US" (and "AP" for specific users who have requested access). Leave blank if unknown.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string RegionCode {
@@ -294,7 +337,8 @@ public string ClusterCode {
///
/// Read-only once created.
///
- /// The assembly to use for the deployment.
+ /// The assembly to use for the deployment. You must supply this for cloud deployments. Local deployments automatically use
+ /// the assembly located in the folder containing the `spatialos.json` file, so any value you supply is ignored.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string AssemblyId {
@@ -310,7 +354,8 @@ public string AssemblyId {
///
/// Read-only once created.
///
- /// The starting snapshot for the deployment.
+ /// The starting snapshot for the deployment. For cloud deployments, you must provide a starting snapshot.
+ /// For local deployments, if you don't provide a starting snapshot, it uses the default.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string StartingSnapshotId {
@@ -376,7 +421,7 @@ public string StartingSnapshotId {
///
/// The worker flags that the deployment exposes at runtime.
///
- /// Only applicable to running deployments. It is omitted for deployments of other states.
+ /// Only applicable to running deployments. It is omitted for deployments in other states.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField WorkerFlags {
@@ -496,9 +541,9 @@ public string Description {
public const int RuntimeVersionFieldNumber = 19;
private string runtimeVersion_ = "";
///
- /// Read-only
+ /// Read-only once created. Only use this field if you were directed to do so by SpatialOS support
///
- /// The version of the Runtime used to start this deployment
+ /// The version of the Runtime to start the deployment.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string RuntimeVersion {
@@ -1287,7 +1332,7 @@ public LaunchConfig Clone() {
///
/// The launch configuration for the deployment, supplied as JSON.
/// For information about the launch configuration, see the SpatialOS documentation:
- /// https://docs.improbable.io/reference/latest/shared/reference/file-formats/launch-config
+ /// https://docs.improbable.io/reference/latest/shared/project-layout/launch-config
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ConfigJson {
@@ -1857,7 +1902,7 @@ public string DeploymentName {
public const int DeploymentStoppedStatusFilterFieldNumber = 6;
private global::Improbable.SpatialOS.Deployment.V1Alpha1.ListDeploymentsRequest.Types.DeploymentStoppedStatusFilter deploymentStoppedStatusFilter_ = 0;
///
- /// Filter for all deployments, deployments that are stopped or deployments that are not stopped.
+ /// Filter for all deployments, or filter by whether deployments are stopped or not.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Improbable.SpatialOS.Deployment.V1Alpha1.ListDeploymentsRequest.Types.DeploymentStoppedStatusFilter DeploymentStoppedStatusFilter {
@@ -2755,7 +2800,7 @@ public UpdateDeploymentRequest Clone() {
///
/// Use `update_mask` to provide partial object updates.
///
- /// We only support these fields, as in the proto serialised way:
+ /// We support the following fields, which must be passed in protobuf serialized form:
/// `tag`
/// `worker_flags`
/// `worker_connection_capacities`
@@ -3245,6 +3290,215 @@ public void MergeFrom(pb::CodedInputStream input) {
}
+ public sealed partial class DeleteDeploymentRequest : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteDeploymentRequest());
+ [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.Deployment.V1Alpha1.DeploymentReflection.Descriptor.MessageTypes[16]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeleteDeploymentRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeleteDeploymentRequest(DeleteDeploymentRequest other) : this() {
+ id_ = other.id_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeleteDeploymentRequest Clone() {
+ return new DeleteDeploymentRequest(this);
+ }
+
+ /// Field number for the "id" field.
+ public const int IdFieldNumber = 1;
+ private string id_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Id {
+ get { return id_; }
+ set {
+ id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteDeploymentRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(DeleteDeploymentRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Id != other.Id) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Id.Length != 0) hash ^= Id.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 (Id.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Id);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Id.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(DeleteDeploymentRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Id.Length != 0) {
+ Id = other.Id;
+ }
+ }
+
+ [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: {
+ Id = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ ///
+ /// Metadata for DeleteDeployment operations.
+ ///
+ public sealed partial class DeleteDeploymentMetadata : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteDeploymentMetadata());
+ [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.Deployment.V1Alpha1.DeploymentReflection.Descriptor.MessageTypes[17]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeleteDeploymentMetadata() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeleteDeploymentMetadata(DeleteDeploymentMetadata other) : this() {
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DeleteDeploymentMetadata Clone() {
+ return new DeleteDeploymentMetadata(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as DeleteDeploymentMetadata);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(DeleteDeploymentMetadata other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ 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) {
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(DeleteDeploymentMetadata other) {
+ if (other == null) {
+ return;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ }
+ }
+ }
+
+ }
+
#endregion
}
diff --git a/apis/deployment_v1alpha1/DeploymentGrpc.cs b/apis/deployment_v1alpha1/DeploymentGrpc.cs
index 21fb07b..57826dc 100755
--- a/apis/deployment_v1alpha1/DeploymentGrpc.cs
+++ b/apis/deployment_v1alpha1/DeploymentGrpc.cs
@@ -25,6 +25,7 @@ public static partial class DeploymentService
static readonly grpc::Marshaller __Marshaller_GetDeploymentResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.Deployment.V1Alpha1.GetDeploymentResponse.Parser.ParseFrom);
static readonly grpc::Marshaller __Marshaller_CreateDeploymentRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.Deployment.V1Alpha1.CreateDeploymentRequest.Parser.ParseFrom);
static readonly grpc::Marshaller __Marshaller_Operation = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Google.LongRunning.Operation.Parser.ParseFrom);
+ static readonly grpc::Marshaller __Marshaller_DeleteDeploymentRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.Deployment.V1Alpha1.DeleteDeploymentRequest.Parser.ParseFrom);
static readonly grpc::Marshaller __Marshaller_UpdateDeploymentRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.Deployment.V1Alpha1.UpdateDeploymentRequest.Parser.ParseFrom);
static readonly grpc::Marshaller __Marshaller_UpdateDeploymentResponse = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.Deployment.V1Alpha1.UpdateDeploymentResponse.Parser.ParseFrom);
static readonly grpc::Marshaller __Marshaller_StopDeploymentRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Improbable.SpatialOS.Deployment.V1Alpha1.StopDeploymentRequest.Parser.ParseFrom);
@@ -51,6 +52,13 @@ public static partial class DeploymentService
__Marshaller_CreateDeploymentRequest,
__Marshaller_Operation);
+ static readonly grpc::Method __Method_DeleteDeployment = new grpc::Method(
+ grpc::MethodType.Unary,
+ __ServiceName,
+ "DeleteDeployment",
+ __Marshaller_DeleteDeploymentRequest,
+ __Marshaller_Operation);
+
static readonly grpc::Method __Method_UpdateDeployment = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
@@ -109,6 +117,19 @@ public abstract partial class DeploymentServiceBase
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
+ ///
+ /// Deletes a deployment.
+ ///
+ /// The returned operation result is of type `DeleteDeploymentResponse` upon successful deletion.
+ ///
+ /// 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 DeleteDeployment(global::Improbable.SpatialOS.Deployment.V1Alpha1.DeleteDeploymentRequest request, grpc::ServerCallContext context)
+ {
+ throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
+ }
+
///
/// Updates a deployment as identified by the deployment's `id`.
///
@@ -121,7 +142,8 @@ public abstract partial class DeploymentServiceBase
}
///
- /// Stops a running deployment.
+ /// Stops a running deployment. You can call this at any point after you've called `CreateDeployment`.
+ /// To restart a stopped deployment, call `CreateDeployment` with the same parameters as you did to start the deployment originally.
///
/// The request received from the client.
/// The context of the server-side call handler being invoked.
@@ -297,6 +319,58 @@ protected DeploymentServiceClient(ClientBaseConfiguration configuration) : base(
return CallInvoker.AsyncUnaryCall(__Method_CreateDeployment, null, options, request);
}
///
+ /// Deletes a deployment.
+ ///
+ /// The returned operation result is of type `DeleteDeploymentResponse` upon successful deletion.
+ ///
+ /// 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::Google.LongRunning.Operation DeleteDeployment(global::Improbable.SpatialOS.Deployment.V1Alpha1.DeleteDeploymentRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ return DeleteDeployment(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Deletes a deployment.
+ ///
+ /// The returned operation result is of type `DeleteDeploymentResponse` upon successful deletion.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The response received from the server.
+ public virtual global::Google.LongRunning.Operation DeleteDeployment(global::Improbable.SpatialOS.Deployment.V1Alpha1.DeleteDeploymentRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.BlockingUnaryCall(__Method_DeleteDeployment, null, options, request);
+ }
+ ///
+ /// Deletes a deployment.
+ ///
+ /// The returned operation result is of type `DeleteDeploymentResponse` upon successful deletion.
+ ///
+ /// 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 DeleteDeploymentAsync(global::Improbable.SpatialOS.Deployment.V1Alpha1.DeleteDeploymentRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ return DeleteDeploymentAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
+ }
+ ///
+ /// Deletes a deployment.
+ ///
+ /// The returned operation result is of type `DeleteDeploymentResponse` upon successful deletion.
+ ///
+ /// The request to send to the server.
+ /// The options for the call.
+ /// The call object.
+ public virtual grpc::AsyncUnaryCall DeleteDeploymentAsync(global::Improbable.SpatialOS.Deployment.V1Alpha1.DeleteDeploymentRequest request, grpc::CallOptions options)
+ {
+ return CallInvoker.AsyncUnaryCall(__Method_DeleteDeployment, null, options, request);
+ }
+ ///
/// Updates a deployment as identified by the deployment's `id`.
///
/// The request to send to the server.
@@ -341,7 +415,8 @@ protected DeploymentServiceClient(ClientBaseConfiguration configuration) : base(
return CallInvoker.AsyncUnaryCall(__Method_UpdateDeployment, null, options, request);
}
///
- /// Stops a running deployment.
+ /// Stops a running deployment. You can call this at any point after you've called `CreateDeployment`.
+ /// To restart a stopped deployment, call `CreateDeployment` with the same parameters as you did to start the deployment originally.
///
/// The request to send to the server.
/// The initial metadata to send with the call. This parameter is optional.
@@ -353,7 +428,8 @@ protected DeploymentServiceClient(ClientBaseConfiguration configuration) : base(
return StopDeployment(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
- /// Stops a running deployment.
+ /// Stops a running deployment. You can call this at any point after you've called `CreateDeployment`.
+ /// To restart a stopped deployment, call `CreateDeployment` with the same parameters as you did to start the deployment originally.
///
/// The request to send to the server.
/// The options for the call.
@@ -363,7 +439,8 @@ protected DeploymentServiceClient(ClientBaseConfiguration configuration) : base(
return CallInvoker.BlockingUnaryCall(__Method_StopDeployment, null, options, request);
}
///
- /// Stops a running deployment.
+ /// Stops a running deployment. You can call this at any point after you've called `CreateDeployment`.
+ /// To restart a stopped deployment, call `CreateDeployment` with the same parameters as you did to start the deployment originally.
///
/// The request to send to the server.
/// The initial metadata to send with the call. This parameter is optional.
@@ -375,7 +452,8 @@ protected DeploymentServiceClient(ClientBaseConfiguration configuration) : base(
return StopDeploymentAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
- /// Stops a running deployment.
+ /// Stops a running deployment. You can call this at any point after you've called `CreateDeployment`.
+ /// To restart a stopped deployment, call `CreateDeployment` with the same parameters as you did to start the deployment originally.
///
/// The request to send to the server.
/// The options for the call.
@@ -399,6 +477,7 @@ protected override DeploymentServiceClient NewInstance(ClientBaseConfiguration c
.AddMethod(__Method_ListDeployments, serviceImpl.ListDeployments)
.AddMethod(__Method_GetDeployment, serviceImpl.GetDeployment)
.AddMethod(__Method_CreateDeployment, serviceImpl.CreateDeployment)
+ .AddMethod(__Method_DeleteDeployment, serviceImpl.DeleteDeployment)
.AddMethod(__Method_UpdateDeployment, serviceImpl.UpdateDeployment)
.AddMethod(__Method_StopDeployment, serviceImpl.StopDeployment).Build();
}
diff --git a/apis/deployment_v1alpha1/DeploymentServiceClient.cs b/apis/deployment_v1alpha1/DeploymentServiceClient.cs
index a511d0c..8e91ea7 100755
--- a/apis/deployment_v1alpha1/DeploymentServiceClient.cs
+++ b/apis/deployment_v1alpha1/DeploymentServiceClient.cs
@@ -55,6 +55,8 @@ private DeploymentServiceSettings(DeploymentServiceSettings existing) : base(exi
GetDeploymentSettings = existing.GetDeploymentSettings;
CreateDeploymentSettings = existing.CreateDeploymentSettings;
CreateDeploymentOperationsSettings = existing.CreateDeploymentOperationsSettings?.Clone();
+ DeleteDeploymentSettings = existing.DeleteDeploymentSettings;
+ DeleteDeploymentOperationsSettings = existing.DeleteDeploymentOperationsSettings?.Clone();
UpdateDeploymentSettings = existing.UpdateDeploymentSettings;
StopDeploymentSettings = existing.StopDeploymentSettings;
OnCopy(existing);
@@ -236,6 +238,56 @@ private DeploymentServiceSettings(DeploymentServiceSettings existing) : base(exi
sys::TimeSpan.FromMilliseconds(10000L))
};
+ ///
+ /// for synchronous and asynchronous calls to
+ /// DeploymentServiceClient.DeleteDeployment and DeploymentServiceClient.DeleteDeploymentAsync.
+ ///
+ ///
+ /// The default DeploymentServiceClient.DeleteDeployment and
+ /// DeploymentServiceClient.DeleteDeploymentAsync are:
+ ///
+ /// - Initial retry delay: 50 milliseconds
+ /// - Retry delay multiplier: 1.3
+ /// - Retry maximum delay: 10000 milliseconds
+ /// - Initial timeout: 60000 milliseconds
+ /// - Timeout multiplier: 1.0
+ /// - Timeout maximum delay: 60000 milliseconds
+ ///
+ /// Retry will be attempted on the following response status codes:
+ ///
+ /// - No status codes
+ ///
+ /// Default RPC expiration is 600000 milliseconds.
+ ///
+ public gaxgrpc::CallSettings DeleteDeploymentSettings { get; set; } = gaxgrpc::CallSettings.FromCallTiming(
+ gaxgrpc::CallTiming.FromRetry(new gaxgrpc::RetrySettings(
+ retryBackoff: GetDefaultRetryBackoff(),
+ timeoutBackoff: GetDefaultTimeoutBackoff(),
+ totalExpiration: gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(600000)),
+ retryFilter: NonIdempotentRetryFilter
+ )));
+
+ ///
+ /// Long Running Operation settings for calls to DeploymentServiceClient.DeleteDeployment.
+ ///
+ ///
+ /// Uses default of:
+ ///
+ /// - Initial delay: 2000 milliseconds
+ /// - Delay multiplier: 1.1
+ /// - Maximum delay: 10000 milliseconds
+ /// - Total timeout: 86400000 milliseconds
+ ///
+ ///
+ public lro::OperationsSettings DeleteDeploymentOperationsSettings { get; set; } = new lro::OperationsSettings
+ {
+ DefaultPollSettings = new gax::PollSettings(
+ gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(86400000L)),
+ sys::TimeSpan.FromMilliseconds(2000L),
+ 1.1,
+ sys::TimeSpan.FromMilliseconds(10000L))
+ };
+
///
/// for synchronous and asynchronous calls to
/// DeploymentServiceClient.UpdateDeployment and DeploymentServiceClient.UpdateDeploymentAsync.
@@ -515,6 +567,78 @@ public virtual GetDeploymentResponse GetDeployment(
CreateDeploymentOperationsClient,
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> DeleteDeploymentAsync(
+ DeleteDeploymentRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ throw new sys::NotImplementedException();
+ }
+
+ ///
+ /// Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteDeploymentAsync.
+ ///
+ /// The name of a previously invoked operation. Must not be null or empty.
+ /// If not null, applies overrides to this RPC call.
+ /// A task representing the result of polling the operation.
+ public virtual stt::Task> PollOnceDeleteDeploymentAsync(
+ string operationName,
+ gaxgrpc::CallSettings callSettings = null) => lro::Operation.PollOnceFromNameAsync(
+ gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)),
+ DeleteDeploymentOperationsClient,
+ 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 virtual lro::Operation DeleteDeployment(
+ DeleteDeploymentRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ throw new sys::NotImplementedException();
+ }
+
+ ///
+ /// The long-running operations client for DeleteDeployment.
+ ///
+ public virtual lro::OperationsClient DeleteDeploymentOperationsClient
+ {
+ get { throw new sys::NotImplementedException(); }
+ }
+
+ ///
+ /// Poll an operation once, using an operationName from a previous invocation of DeleteDeployment.
+ ///
+ /// The name of a previously invoked operation. Must not be null or empty.
+ /// If not null, applies overrides to this RPC call.
+ /// The result of polling the operation.
+ public virtual lro::Operation PollOnceDeleteDeployment(
+ string operationName,
+ gaxgrpc::CallSettings callSettings = null) => lro::Operation.PollOnceFromName(
+ gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)),
+ DeleteDeploymentOperationsClient,
+ callSettings);
+
///
///
///
@@ -637,6 +761,7 @@ public sealed partial class DeploymentServiceClientImpl : DeploymentServiceClien
private readonly gaxgrpc::ApiCall _callListDeployments;
private readonly gaxgrpc::ApiCall _callGetDeployment;
private readonly gaxgrpc::ApiCall _callCreateDeployment;
+ private readonly gaxgrpc::ApiCall _callDeleteDeployment;
private readonly gaxgrpc::ApiCall _callUpdateDeployment;
private readonly gaxgrpc::ApiCall _callStopDeployment;
@@ -652,12 +777,16 @@ public DeploymentServiceClientImpl(DeploymentService.DeploymentServiceClient grp
gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(effectiveSettings);
CreateDeploymentOperationsClient = new lro::OperationsClientImpl(
grpcClient.CreateOperationsClient(), effectiveSettings.CreateDeploymentOperationsSettings);
+ DeleteDeploymentOperationsClient = new lro::OperationsClientImpl(
+ grpcClient.CreateOperationsClient(), effectiveSettings.DeleteDeploymentOperationsSettings);
_callListDeployments = clientHelper.BuildApiCall(
GrpcClient.ListDeploymentsAsync, GrpcClient.ListDeployments, effectiveSettings.ListDeploymentsSettings);
_callGetDeployment = clientHelper.BuildApiCall(
GrpcClient.GetDeploymentAsync, GrpcClient.GetDeployment, effectiveSettings.GetDeploymentSettings);
_callCreateDeployment = clientHelper.BuildApiCall(
GrpcClient.CreateDeploymentAsync, GrpcClient.CreateDeployment, effectiveSettings.CreateDeploymentSettings);
+ _callDeleteDeployment = clientHelper.BuildApiCall(
+ GrpcClient.DeleteDeploymentAsync, GrpcClient.DeleteDeployment, effectiveSettings.DeleteDeploymentSettings);
_callUpdateDeployment = clientHelper.BuildApiCall(
GrpcClient.UpdateDeploymentAsync, GrpcClient.UpdateDeployment, effectiveSettings.UpdateDeploymentSettings);
_callStopDeployment = clientHelper.BuildApiCall(
@@ -668,6 +797,8 @@ public DeploymentServiceClientImpl(DeploymentService.DeploymentServiceClient grp
Modify_GetDeploymentApiCall(ref _callGetDeployment);
Modify_ApiCall(ref _callCreateDeployment);
Modify_CreateDeploymentApiCall(ref _callCreateDeployment);
+ Modify_ApiCall(ref _callDeleteDeployment);
+ Modify_DeleteDeploymentApiCall(ref _callDeleteDeployment);
Modify_ApiCall(ref _callUpdateDeployment);
Modify_UpdateDeploymentApiCall(ref _callUpdateDeployment);
Modify_ApiCall(ref _callStopDeployment);
@@ -688,6 +819,7 @@ partial void Modify_ApiCall(ref gaxgrpc::ApiCall call);
partial void Modify_GetDeploymentApiCall(ref gaxgrpc::ApiCall call);
partial void Modify_CreateDeploymentApiCall(ref gaxgrpc::ApiCall call);
+ partial void Modify_DeleteDeploymentApiCall(ref gaxgrpc::ApiCall call);
partial void Modify_UpdateDeploymentApiCall(ref gaxgrpc::ApiCall call);
partial void Modify_StopDeploymentApiCall(ref gaxgrpc::ApiCall call);
partial void OnConstruction(DeploymentService.DeploymentServiceClient grpcClient, DeploymentServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper);
@@ -703,6 +835,7 @@ partial void Modify_ApiCall(ref gaxgrpc::ApiCall
public override lro::OperationsClient CreateDeploymentOperationsClient { get; }
+ ///
+ ///
+ ///
+ ///
+ /// 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 async stt::Task> DeleteDeploymentAsync(
+ DeleteDeploymentRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_DeleteDeploymentRequest(ref request, ref callSettings);
+ return new lro::Operation(
+ await _callDeleteDeployment.Async(request, callSettings).ConfigureAwait(false), DeleteDeploymentOperationsClient);
+ }
+
+ ///
+ ///
+ ///
+ ///
+ /// 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 lro::Operation DeleteDeployment(
+ DeleteDeploymentRequest request,
+ gaxgrpc::CallSettings callSettings = null)
+ {
+ Modify_DeleteDeploymentRequest(ref request, ref callSettings);
+ return new lro::Operation(
+ _callDeleteDeployment.Sync(request, callSettings), DeleteDeploymentOperationsClient);
+ }
+
+ ///
+ /// The long-running operations client for DeleteDeployment.
+ ///
+ public override lro::OperationsClient DeleteDeploymentOperationsClient { get; }
+
///
///
///
diff --git a/apis/platform_common/Cli.cs b/apis/platform_common/Cli.cs
new file mode 100644
index 0000000..c11116c
--- /dev/null
+++ b/apis/platform_common/Cli.cs
@@ -0,0 +1,696 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: cli.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 Cli {
+
+ /// Holder for reflection information generated from cli.proto
+ public static partial class CliReflection {
+
+ #region Descriptor
+ /// File descriptor for cli.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static CliReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "CgljbGkucHJvdG8SA2NsaRogZ29vZ2xlL3Byb3RvYnVmL2Rlc2NyaXB0b3Iu",
+ "cHJvdG8iaAoHQ29tbWFuZBILCgN1c2UYASABKAkSDQoFc2hvcnQYAiABKAkS",
+ "DAoEbG9uZxgDIAEoCRIPCgdleGFtcGxlGAQgASgJEhIKCmRlcHJlY2F0ZWQY",
+ "BSABKAkSDgoGaGlkZGVuGAYgASgIIncKBEZsYWcSDAoEbmFtZRgBIAEoCRIR",
+ "CglzaG9ydGhhbmQYAiABKAkSFQoNZGVmYXVsdF92YWx1ZRgDIAEoCRINCgV1",
+ "c2FnZRgFIAEoCRIQCghyZXF1aXJlZBgGIAEoCBIWCg5pbmNsdWRlX25lc3Rl",
+ "ZBgHIAEoCCIgCgdSZXF1ZXN0EhUKDWluY2x1ZGVfZW1wdHkYASABKAg6PwoH",
+ "Y29tbWFuZBIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGP37AyAB",
+ "KAsyDC5jbGkuQ29tbWFuZDo4CgRmbGFnEh0uZ29vZ2xlLnByb3RvYnVmLkZp",
+ "ZWxkT3B0aW9ucxj9+wMgASgLMgkuY2xpLkZsYWc6QAoHcmVxdWVzdBIfLmdv",
+ "b2dsZS5wcm90b2J1Zi5NZXNzYWdlT3B0aW9ucxj9+wMgASgLMgwuY2xpLlJl",
+ "cXVlc3RCBVoDY2xpYgZwcm90bzM="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { pbr::FileDescriptor.DescriptorProtoFileDescriptor, },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Cli.Command), global::Cli.Command.Parser, new[]{ "Use", "Short", "Long", "Example", "Deprecated", "Hidden" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Cli.Flag), global::Cli.Flag.Parser, new[]{ "Name", "Shorthand", "DefaultValue", "Usage", "Required", "IncludeNested" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::Cli.Request), global::Cli.Request.Parser, new[]{ "IncludeEmpty" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class Command : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Command());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Cli.CliReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Command() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Command(Command other) : this() {
+ use_ = other.use_;
+ short_ = other.short_;
+ long_ = other.long_;
+ example_ = other.example_;
+ deprecated_ = other.deprecated_;
+ hidden_ = other.hidden_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Command Clone() {
+ return new Command(this);
+ }
+
+ /// Field number for the "use" field.
+ public const int UseFieldNumber = 1;
+ private string use_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Use {
+ get { return use_; }
+ set {
+ use_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "short" field.
+ public const int ShortFieldNumber = 2;
+ private string short_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Short {
+ get { return short_; }
+ set {
+ short_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "long" field.
+ public const int LongFieldNumber = 3;
+ private string long_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Long {
+ get { return long_; }
+ set {
+ long_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "example" field.
+ public const int ExampleFieldNumber = 4;
+ private string example_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Example {
+ get { return example_; }
+ set {
+ example_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "deprecated" field.
+ public const int DeprecatedFieldNumber = 5;
+ private string deprecated_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Deprecated {
+ get { return deprecated_; }
+ set {
+ deprecated_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "hidden" field.
+ public const int HiddenFieldNumber = 6;
+ private bool hidden_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Hidden {
+ get { return hidden_; }
+ set {
+ hidden_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Command);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Command other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Use != other.Use) return false;
+ if (Short != other.Short) return false;
+ if (Long != other.Long) return false;
+ if (Example != other.Example) return false;
+ if (Deprecated != other.Deprecated) return false;
+ if (Hidden != other.Hidden) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Use.Length != 0) hash ^= Use.GetHashCode();
+ if (Short.Length != 0) hash ^= Short.GetHashCode();
+ if (Long.Length != 0) hash ^= Long.GetHashCode();
+ if (Example.Length != 0) hash ^= Example.GetHashCode();
+ if (Deprecated.Length != 0) hash ^= Deprecated.GetHashCode();
+ if (Hidden != false) hash ^= Hidden.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 (Use.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Use);
+ }
+ if (Short.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Short);
+ }
+ if (Long.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(Long);
+ }
+ if (Example.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(Example);
+ }
+ if (Deprecated.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(Deprecated);
+ }
+ if (Hidden != false) {
+ output.WriteRawTag(48);
+ output.WriteBool(Hidden);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Use.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Use);
+ }
+ if (Short.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Short);
+ }
+ if (Long.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Long);
+ }
+ if (Example.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Example);
+ }
+ if (Deprecated.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Deprecated);
+ }
+ if (Hidden != false) {
+ size += 1 + 1;
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Command other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Use.Length != 0) {
+ Use = other.Use;
+ }
+ if (other.Short.Length != 0) {
+ Short = other.Short;
+ }
+ if (other.Long.Length != 0) {
+ Long = other.Long;
+ }
+ if (other.Example.Length != 0) {
+ Example = other.Example;
+ }
+ if (other.Deprecated.Length != 0) {
+ Deprecated = other.Deprecated;
+ }
+ if (other.Hidden != false) {
+ Hidden = other.Hidden;
+ }
+ }
+
+ [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: {
+ Use = input.ReadString();
+ break;
+ }
+ case 18: {
+ Short = input.ReadString();
+ break;
+ }
+ case 26: {
+ Long = input.ReadString();
+ break;
+ }
+ case 34: {
+ Example = input.ReadString();
+ break;
+ }
+ case 42: {
+ Deprecated = input.ReadString();
+ break;
+ }
+ case 48: {
+ Hidden = input.ReadBool();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ ///
+ /// TODO: In some cases a proto message can be used for multiple different requests. For example, Deployment proto message
+ /// TODO: is used for both CreateDeploymentRequest as well as UpdateDeploymentRequest. In these cases, we may need to add
+ /// TODO: a mechanism that will allow to define different flags for different commands. This could be done by allowing
+ /// TODO: an array of CLI flag definitions (repeated field) where each one could have a different 'commandContext' property
+ /// TODO: which would correspond to the command name and allow to control the flags settings in different commands.
+ ///
+ public sealed partial class Flag : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Flag());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Cli.CliReflection.Descriptor.MessageTypes[1]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Flag() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Flag(Flag other) : this() {
+ name_ = other.name_;
+ shorthand_ = other.shorthand_;
+ defaultValue_ = other.defaultValue_;
+ usage_ = other.usage_;
+ required_ = other.required_;
+ includeNested_ = other.includeNested_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Flag Clone() {
+ return new Flag(this);
+ }
+
+ /// Field number for the "name" field.
+ public const int NameFieldNumber = 1;
+ private string name_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Name {
+ get { return name_; }
+ set {
+ name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "shorthand" field.
+ public const int ShorthandFieldNumber = 2;
+ private string shorthand_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Shorthand {
+ get { return shorthand_; }
+ set {
+ shorthand_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "default_value" field.
+ public const int DefaultValueFieldNumber = 3;
+ private string defaultValue_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string DefaultValue {
+ get { return defaultValue_; }
+ set {
+ defaultValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "usage" field.
+ public const int UsageFieldNumber = 5;
+ private string usage_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Usage {
+ get { return usage_; }
+ set {
+ usage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "required" field.
+ public const int RequiredFieldNumber = 6;
+ private bool required_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Required {
+ get { return required_; }
+ set {
+ required_ = value;
+ }
+ }
+
+ /// Field number for the "include_nested" field.
+ public const int IncludeNestedFieldNumber = 7;
+ private bool includeNested_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool IncludeNested {
+ get { return includeNested_; }
+ set {
+ includeNested_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Flag);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Flag other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Name != other.Name) return false;
+ if (Shorthand != other.Shorthand) return false;
+ if (DefaultValue != other.DefaultValue) return false;
+ if (Usage != other.Usage) return false;
+ if (Required != other.Required) return false;
+ if (IncludeNested != other.IncludeNested) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Name.Length != 0) hash ^= Name.GetHashCode();
+ if (Shorthand.Length != 0) hash ^= Shorthand.GetHashCode();
+ if (DefaultValue.Length != 0) hash ^= DefaultValue.GetHashCode();
+ if (Usage.Length != 0) hash ^= Usage.GetHashCode();
+ if (Required != false) hash ^= Required.GetHashCode();
+ if (IncludeNested != false) hash ^= IncludeNested.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 (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ if (Shorthand.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(Shorthand);
+ }
+ if (DefaultValue.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(DefaultValue);
+ }
+ if (Usage.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(Usage);
+ }
+ if (Required != false) {
+ output.WriteRawTag(48);
+ output.WriteBool(Required);
+ }
+ if (IncludeNested != false) {
+ output.WriteRawTag(56);
+ output.WriteBool(IncludeNested);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Name.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
+ }
+ if (Shorthand.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Shorthand);
+ }
+ if (DefaultValue.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultValue);
+ }
+ if (Usage.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Usage);
+ }
+ if (Required != false) {
+ size += 1 + 1;
+ }
+ if (IncludeNested != false) {
+ size += 1 + 1;
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Flag other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Name.Length != 0) {
+ Name = other.Name;
+ }
+ if (other.Shorthand.Length != 0) {
+ Shorthand = other.Shorthand;
+ }
+ if (other.DefaultValue.Length != 0) {
+ DefaultValue = other.DefaultValue;
+ }
+ if (other.Usage.Length != 0) {
+ Usage = other.Usage;
+ }
+ if (other.Required != false) {
+ Required = other.Required;
+ }
+ if (other.IncludeNested != false) {
+ IncludeNested = other.IncludeNested;
+ }
+ }
+
+ [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: {
+ Name = input.ReadString();
+ break;
+ }
+ case 18: {
+ Shorthand = input.ReadString();
+ break;
+ }
+ case 26: {
+ DefaultValue = input.ReadString();
+ break;
+ }
+ case 42: {
+ Usage = input.ReadString();
+ break;
+ }
+ case 48: {
+ Required = input.ReadBool();
+ break;
+ }
+ case 56: {
+ IncludeNested = input.ReadBool();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ ///
+ /// This annotation can be added to a message when we want to import an empty request message from a different package.
+ /// Since this is a very much a rare corner case, please consider this as a deprecated functionality which may be removed
+ /// in the future.
+ ///
+ public sealed partial class Request : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Request());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Cli.CliReflection.Descriptor.MessageTypes[2]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Request() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Request(Request other) : this() {
+ includeEmpty_ = other.includeEmpty_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Request Clone() {
+ return new Request(this);
+ }
+
+ /// Field number for the "include_empty" field.
+ public const int IncludeEmptyFieldNumber = 1;
+ private bool includeEmpty_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool IncludeEmpty {
+ get { return includeEmpty_; }
+ set {
+ includeEmpty_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Request);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Request other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (IncludeEmpty != other.IncludeEmpty) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (IncludeEmpty != false) hash ^= IncludeEmpty.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 (IncludeEmpty != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(IncludeEmpty);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (IncludeEmpty != false) {
+ size += 1 + 1;
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Request other) {
+ if (other == null) {
+ return;
+ }
+ if (other.IncludeEmpty != false) {
+ IncludeEmpty = other.IncludeEmpty;
+ }
+ }
+
+ [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: {
+ IncludeEmpty = input.ReadBool();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/apis/platform_common/Logfields.cs b/apis/platform_common/Logfields.cs
new file mode 100644
index 0000000..ddc482b
--- /dev/null
+++ b/apis/platform_common/Logfields.cs
@@ -0,0 +1,165 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: logfields.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 {
+
+ /// Holder for reflection information generated from logfields.proto
+ public static partial class LogfieldsReflection {
+
+ #region Descriptor
+ /// File descriptor for logfields.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static LogfieldsReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "Cg9sb2dmaWVsZHMucHJvdG8SCmltcHJvYmFibGUaIGdvb2dsZS9wcm90b2J1",
+ "Zi9kZXNjcmlwdG9yLnByb3RvIhgKCExvZ0ZpZWxkEgwKBG5hbWUYASABKAk6",
+ "RwoIbG9nZmllbGQSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGLTl",
+ "AyABKAsyFC5pbXByb2JhYmxlLkxvZ0ZpZWxkQgtaCWxvZ2ZpZWxkc2IGcHJv",
+ "dG8z"));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { pbr::FileDescriptor.DescriptorProtoFileDescriptor, },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Improbable.LogField), global::Improbable.LogField.Parser, new[]{ "Name" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class LogField : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LogField());
+ [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.LogfieldsReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public LogField() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public LogField(LogField other) : this() {
+ name_ = other.name_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public LogField Clone() {
+ return new LogField(this);
+ }
+
+ /// Field number for the "name" field.
+ public const int NameFieldNumber = 1;
+ private string name_ = "";
+ ///
+ /// name of the log context field where the value of this field should be
+ /// recorded. Fields with empty names are ignored.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Name {
+ get { return name_; }
+ set {
+ name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as LogField);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(LogField other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Name != other.Name) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Name.Length != 0) hash ^= Name.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 (Name.Length != 0) {
+ output.WriteRawTag(10);
+ output.WriteString(Name);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Name.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(LogField other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Name.Length != 0) {
+ Name = other.Name;
+ }
+ }
+
+ [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: {
+ Name = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/apis/playerauth_v2alpha1/BUILD b/apis/playerauth_v2alpha1/BUILD
index 3a31372..94ba154 100644
--- a/apis/playerauth_v2alpha1/BUILD
+++ b/apis/playerauth_v2alpha1/BUILD
@@ -27,7 +27,7 @@ csharp_proto_compile(
"@com_github_mwitkow_go_proto_validators_proto//:proto",
],
protos = [
- "@improbable_platform//proto/improbable/spatialos/playerauth:protos",
+ "@improbable_platform//proto/improbable/spatialos/playerauth/v2alpha1:protos",
],
with_grpc = True,
)
diff --git a/apis/snapshot_v1alpha1/SnapshotGrpc.cs b/apis/snapshot_v1alpha1/SnapshotGrpc.cs
index 002126d..77d581b 100755
--- a/apis/snapshot_v1alpha1/SnapshotGrpc.cs
+++ b/apis/snapshot_v1alpha1/SnapshotGrpc.cs
@@ -97,7 +97,7 @@ public abstract partial class SnapshotServiceBase
}
///
- /// Takes a snapshot of a running deployment.
+ /// Takes a snapshot. You can only take snapshots of running deployments.
///
/// The returned operation result is of type `snapshot` upon successfully taking a snapshot.
///
@@ -246,7 +246,7 @@ protected SnapshotServiceClient(ClientBaseConfiguration configuration) : base(co
return CallInvoker.AsyncUnaryCall(__Method_GetSnapshot, null, options, request);
}
///
- /// Takes a snapshot of a running deployment.
+ /// Takes a snapshot. You can only take snapshots of running deployments.
///
/// The returned operation result is of type `snapshot` upon successfully taking a snapshot.
///
@@ -260,7 +260,7 @@ protected SnapshotServiceClient(ClientBaseConfiguration configuration) : base(co
return TakeSnapshot(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
- /// Takes a snapshot of a running deployment.
+ /// Takes a snapshot. You can only take snapshots of running deployments.
///
/// The returned operation result is of type `snapshot` upon successfully taking a snapshot.
///
@@ -272,7 +272,7 @@ protected SnapshotServiceClient(ClientBaseConfiguration configuration) : base(co
return CallInvoker.BlockingUnaryCall(__Method_TakeSnapshot, null, options, request);
}
///
- /// Takes a snapshot of a running deployment.
+ /// Takes a snapshot. You can only take snapshots of running deployments.
///
/// The returned operation result is of type `snapshot` upon successfully taking a snapshot.
///
@@ -286,7 +286,7 @@ protected SnapshotServiceClient(ClientBaseConfiguration configuration) : base(co
return TakeSnapshotAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
- /// Takes a snapshot of a running deployment.
+ /// Takes a snapshot. You can only take snapshots of running deployments.
///
/// The returned operation result is of type `snapshot` upon successfully taking a snapshot.
///
diff --git a/third_party/proto_logfields/BUILD b/third_party/proto_logfields/BUILD
new file mode 100644
index 0000000..b12e4c7
--- /dev/null
+++ b/third_party/proto_logfields/BUILD
@@ -0,0 +1,18 @@
+package(default_visibility = ["//visibility:public"])
+
+exports_files(["logfields.proto"])
+
+proto_library(
+ name = "logfields_proto",
+ srcs = [
+ "github.com/improbable-io/go-proto-logfields/logfields.proto",
+ ],
+ deps = [
+ "@com_google_protobuf//:descriptor_proto",
+ ],
+)
+
+filegroup(
+ name = "proto",
+ srcs = ["github.com/improbable-io/go-proto-logfields/logfields.proto"],
+)
diff --git a/third_party/protoc_gen_gocli/BUILD b/third_party/protoc_gen_gocli/BUILD
new file mode 100644
index 0000000..3cf743b
--- /dev/null
+++ b/third_party/protoc_gen_gocli/BUILD
@@ -0,0 +1,18 @@
+package(default_visibility = ["//visibility:public"])
+
+exports_files(["cli.proto"])
+
+proto_library(
+ name = "gocli_proto",
+ srcs = [
+ "github.com/improbable/protoc-gen-gocli/cli.proto",
+ ],
+ deps = [
+ "@com_google_protobuf//:descriptor_proto",
+ ],
+)
+
+filegroup(
+ name = "proto",
+ srcs = ["github.com/improbable/protoc-gen-gocli/cli.proto"],
+)