Skip to content

Commit

Permalink
Run make gen-all-sdk-grpc.
Browse files Browse the repository at this point in the history
  • Loading branch information
roberthbailey committed Jul 12, 2019
1 parent 65c5f67 commit a16ac8f
Show file tree
Hide file tree
Showing 8 changed files with 1,515 additions and 1,533 deletions.
438 changes: 218 additions & 220 deletions sdks/cpp/include/agones/sdk.grpc.pb.h

Large diffs are not rendered by default.

462 changes: 229 additions & 233 deletions sdks/cpp/include/agones/sdk.pb.h

Large diffs are not rendered by default.

164 changes: 81 additions & 83 deletions sdks/cpp/src/agones/sdk.grpc.pb.cc

Large diffs are not rendered by default.

814 changes: 403 additions & 411 deletions sdks/cpp/src/agones/sdk.pb.cc

Large diffs are not rendered by default.

114 changes: 57 additions & 57 deletions sdks/nodejs/lib/sdk_grpc_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,47 +20,47 @@ var grpc = require('grpc');
var sdk_pb = require('./sdk_pb.js');
var google_api_annotations_pb = require('./google/api/annotations_pb.js');

function serialize_stable_agones_dev_sdk_Duration(arg) {
function serialize_agones_dev_sdk_Duration(arg) {
if (!(arg instanceof sdk_pb.Duration)) {
throw new Error('Expected argument of type stable.agones.dev.sdk.Duration');
throw new Error('Expected argument of type agones.dev.sdk.Duration');
}
return new Buffer(arg.serializeBinary());
}

function deserialize_stable_agones_dev_sdk_Duration(buffer_arg) {
function deserialize_agones_dev_sdk_Duration(buffer_arg) {
return sdk_pb.Duration.deserializeBinary(new Uint8Array(buffer_arg));
}

function serialize_stable_agones_dev_sdk_Empty(arg) {
function serialize_agones_dev_sdk_Empty(arg) {
if (!(arg instanceof sdk_pb.Empty)) {
throw new Error('Expected argument of type stable.agones.dev.sdk.Empty');
throw new Error('Expected argument of type agones.dev.sdk.Empty');
}
return new Buffer(arg.serializeBinary());
}

function deserialize_stable_agones_dev_sdk_Empty(buffer_arg) {
function deserialize_agones_dev_sdk_Empty(buffer_arg) {
return sdk_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
}

function serialize_stable_agones_dev_sdk_GameServer(arg) {
function serialize_agones_dev_sdk_GameServer(arg) {
if (!(arg instanceof sdk_pb.GameServer)) {
throw new Error('Expected argument of type stable.agones.dev.sdk.GameServer');
throw new Error('Expected argument of type agones.dev.sdk.GameServer');
}
return new Buffer(arg.serializeBinary());
}

function deserialize_stable_agones_dev_sdk_GameServer(buffer_arg) {
function deserialize_agones_dev_sdk_GameServer(buffer_arg) {
return sdk_pb.GameServer.deserializeBinary(new Uint8Array(buffer_arg));
}

function serialize_stable_agones_dev_sdk_KeyValue(arg) {
function serialize_agones_dev_sdk_KeyValue(arg) {
if (!(arg instanceof sdk_pb.KeyValue)) {
throw new Error('Expected argument of type stable.agones.dev.sdk.KeyValue');
throw new Error('Expected argument of type agones.dev.sdk.KeyValue');
}
return new Buffer(arg.serializeBinary());
}

function deserialize_stable_agones_dev_sdk_KeyValue(buffer_arg) {
function deserialize_agones_dev_sdk_KeyValue(buffer_arg) {
return sdk_pb.KeyValue.deserializeBinary(new Uint8Array(buffer_arg));
}

Expand All @@ -69,111 +69,111 @@ function deserialize_stable_agones_dev_sdk_KeyValue(buffer_arg) {
var SDKService = exports.SDKService = {
// Call when the GameServer is ready
ready: {
path: '/stable.agones.dev.sdk.SDK/Ready',
path: '/agones.dev.sdk.SDK/Ready',
requestStream: false,
responseStream: false,
requestType: sdk_pb.Empty,
responseType: sdk_pb.Empty,
requestSerialize: serialize_stable_agones_dev_sdk_Empty,
requestDeserialize: deserialize_stable_agones_dev_sdk_Empty,
responseSerialize: serialize_stable_agones_dev_sdk_Empty,
responseDeserialize: deserialize_stable_agones_dev_sdk_Empty,
requestSerialize: serialize_agones_dev_sdk_Empty,
requestDeserialize: deserialize_agones_dev_sdk_Empty,
responseSerialize: serialize_agones_dev_sdk_Empty,
responseDeserialize: deserialize_agones_dev_sdk_Empty,
},
// Call to self Allocation the GameServer
allocate: {
path: '/stable.agones.dev.sdk.SDK/Allocate',
path: '/agones.dev.sdk.SDK/Allocate',
requestStream: false,
responseStream: false,
requestType: sdk_pb.Empty,
responseType: sdk_pb.Empty,
requestSerialize: serialize_stable_agones_dev_sdk_Empty,
requestDeserialize: deserialize_stable_agones_dev_sdk_Empty,
responseSerialize: serialize_stable_agones_dev_sdk_Empty,
responseDeserialize: deserialize_stable_agones_dev_sdk_Empty,
requestSerialize: serialize_agones_dev_sdk_Empty,
requestDeserialize: deserialize_agones_dev_sdk_Empty,
responseSerialize: serialize_agones_dev_sdk_Empty,
responseDeserialize: deserialize_agones_dev_sdk_Empty,
},
// Call when the GameServer is shutting down
shutdown: {
path: '/stable.agones.dev.sdk.SDK/Shutdown',
path: '/agones.dev.sdk.SDK/Shutdown',
requestStream: false,
responseStream: false,
requestType: sdk_pb.Empty,
responseType: sdk_pb.Empty,
requestSerialize: serialize_stable_agones_dev_sdk_Empty,
requestDeserialize: deserialize_stable_agones_dev_sdk_Empty,
responseSerialize: serialize_stable_agones_dev_sdk_Empty,
responseDeserialize: deserialize_stable_agones_dev_sdk_Empty,
requestSerialize: serialize_agones_dev_sdk_Empty,
requestDeserialize: deserialize_agones_dev_sdk_Empty,
responseSerialize: serialize_agones_dev_sdk_Empty,
responseDeserialize: deserialize_agones_dev_sdk_Empty,
},
// Send a Empty every d Duration to declare that this GameSever is healthy
health: {
path: '/stable.agones.dev.sdk.SDK/Health',
path: '/agones.dev.sdk.SDK/Health',
requestStream: true,
responseStream: false,
requestType: sdk_pb.Empty,
responseType: sdk_pb.Empty,
requestSerialize: serialize_stable_agones_dev_sdk_Empty,
requestDeserialize: deserialize_stable_agones_dev_sdk_Empty,
responseSerialize: serialize_stable_agones_dev_sdk_Empty,
responseDeserialize: deserialize_stable_agones_dev_sdk_Empty,
requestSerialize: serialize_agones_dev_sdk_Empty,
requestDeserialize: deserialize_agones_dev_sdk_Empty,
responseSerialize: serialize_agones_dev_sdk_Empty,
responseDeserialize: deserialize_agones_dev_sdk_Empty,
},
// Retrieve the current GameServer data
getGameServer: {
path: '/stable.agones.dev.sdk.SDK/GetGameServer',
path: '/agones.dev.sdk.SDK/GetGameServer',
requestStream: false,
responseStream: false,
requestType: sdk_pb.Empty,
responseType: sdk_pb.GameServer,
requestSerialize: serialize_stable_agones_dev_sdk_Empty,
requestDeserialize: deserialize_stable_agones_dev_sdk_Empty,
responseSerialize: serialize_stable_agones_dev_sdk_GameServer,
responseDeserialize: deserialize_stable_agones_dev_sdk_GameServer,
requestSerialize: serialize_agones_dev_sdk_Empty,
requestDeserialize: deserialize_agones_dev_sdk_Empty,
responseSerialize: serialize_agones_dev_sdk_GameServer,
responseDeserialize: deserialize_agones_dev_sdk_GameServer,
},
// Send GameServer details whenever the GameServer is updated
watchGameServer: {
path: '/stable.agones.dev.sdk.SDK/WatchGameServer',
path: '/agones.dev.sdk.SDK/WatchGameServer',
requestStream: false,
responseStream: true,
requestType: sdk_pb.Empty,
responseType: sdk_pb.GameServer,
requestSerialize: serialize_stable_agones_dev_sdk_Empty,
requestDeserialize: deserialize_stable_agones_dev_sdk_Empty,
responseSerialize: serialize_stable_agones_dev_sdk_GameServer,
responseDeserialize: deserialize_stable_agones_dev_sdk_GameServer,
requestSerialize: serialize_agones_dev_sdk_Empty,
requestDeserialize: deserialize_agones_dev_sdk_Empty,
responseSerialize: serialize_agones_dev_sdk_GameServer,
responseDeserialize: deserialize_agones_dev_sdk_GameServer,
},
// Apply a Label to the backing GameServer metadata
setLabel: {
path: '/stable.agones.dev.sdk.SDK/SetLabel',
path: '/agones.dev.sdk.SDK/SetLabel',
requestStream: false,
responseStream: false,
requestType: sdk_pb.KeyValue,
responseType: sdk_pb.Empty,
requestSerialize: serialize_stable_agones_dev_sdk_KeyValue,
requestDeserialize: deserialize_stable_agones_dev_sdk_KeyValue,
responseSerialize: serialize_stable_agones_dev_sdk_Empty,
responseDeserialize: deserialize_stable_agones_dev_sdk_Empty,
requestSerialize: serialize_agones_dev_sdk_KeyValue,
requestDeserialize: deserialize_agones_dev_sdk_KeyValue,
responseSerialize: serialize_agones_dev_sdk_Empty,
responseDeserialize: deserialize_agones_dev_sdk_Empty,
},
// Apply a Annotation to the backing GameServer metadata
setAnnotation: {
path: '/stable.agones.dev.sdk.SDK/SetAnnotation',
path: '/agones.dev.sdk.SDK/SetAnnotation',
requestStream: false,
responseStream: false,
requestType: sdk_pb.KeyValue,
responseType: sdk_pb.Empty,
requestSerialize: serialize_stable_agones_dev_sdk_KeyValue,
requestDeserialize: deserialize_stable_agones_dev_sdk_KeyValue,
responseSerialize: serialize_stable_agones_dev_sdk_Empty,
responseDeserialize: deserialize_stable_agones_dev_sdk_Empty,
requestSerialize: serialize_agones_dev_sdk_KeyValue,
requestDeserialize: deserialize_agones_dev_sdk_KeyValue,
responseSerialize: serialize_agones_dev_sdk_Empty,
responseDeserialize: deserialize_agones_dev_sdk_Empty,
},
// Marks the GameServer as the Reserved state for Duration
reserve: {
path: '/stable.agones.dev.sdk.SDK/Reserve',
path: '/agones.dev.sdk.SDK/Reserve',
requestStream: false,
responseStream: false,
requestType: sdk_pb.Duration,
responseType: sdk_pb.Empty,
requestSerialize: serialize_stable_agones_dev_sdk_Duration,
requestDeserialize: deserialize_stable_agones_dev_sdk_Duration,
responseSerialize: serialize_stable_agones_dev_sdk_Empty,
responseDeserialize: deserialize_stable_agones_dev_sdk_Empty,
requestSerialize: serialize_agones_dev_sdk_Duration,
requestDeserialize: deserialize_agones_dev_sdk_Duration,
responseSerialize: serialize_agones_dev_sdk_Empty,
responseDeserialize: deserialize_agones_dev_sdk_Empty,
},
};

Expand Down
Loading

0 comments on commit a16ac8f

Please sign in to comment.