ScsControlServiceBase constructor
ScsControlServiceBase()
Implementation
ScsControlServiceBase() {
$addMethod(
$grpc.ServiceMethod<$1.CreateCacheRequest_, $1.CreateCacheResponse_>(
'CreateCache',
createCache_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.CreateCacheRequest_.fromBuffer(value),
($1.CreateCacheResponse_ value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$1.DeleteCacheRequest_, $1.DeleteCacheResponse_>(
'DeleteCache',
deleteCache_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.DeleteCacheRequest_.fromBuffer(value),
($1.DeleteCacheResponse_ value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$1.ListCachesRequest_, $1.ListCachesResponse_>(
'ListCaches',
listCaches_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.ListCachesRequest_.fromBuffer(value),
($1.ListCachesResponse_ value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$1.FlushCacheRequest_, $1.FlushCacheResponse_>(
'FlushCache',
flushCache_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.FlushCacheRequest_.fromBuffer(value),
($1.FlushCacheResponse_ value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.CreateSigningKeyRequest_,
$1.CreateSigningKeyResponse_>(
'CreateSigningKey',
createSigningKey_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.CreateSigningKeyRequest_.fromBuffer(value),
($1.CreateSigningKeyResponse_ value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.RevokeSigningKeyRequest_,
$1.RevokeSigningKeyResponse_>(
'RevokeSigningKey',
revokeSigningKey_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.RevokeSigningKeyRequest_.fromBuffer(value),
($1.RevokeSigningKeyResponse_ value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.ListSigningKeysRequest_,
$1.ListSigningKeysResponse_>(
'ListSigningKeys',
listSigningKeys_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.ListSigningKeysRequest_.fromBuffer(value),
($1.ListSigningKeysResponse_ value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$1.CreateIndexRequest_, $1.CreateIndexResponse_>(
'CreateIndex',
createIndex_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.CreateIndexRequest_.fromBuffer(value),
($1.CreateIndexResponse_ value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$1.DeleteIndexRequest_, $1.DeleteIndexResponse_>(
'DeleteIndex',
deleteIndex_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.DeleteIndexRequest_.fromBuffer(value),
($1.DeleteIndexResponse_ value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$1.ListIndexesRequest_, $1.ListIndexesResponse_>(
'ListIndexes',
listIndexes_Pre,
false,
false,
($core.List<$core.int> value) =>
$1.ListIndexesRequest_.fromBuffer(value),
($1.ListIndexesResponse_ value) => value.writeToBuffer()));
}