allow vendord
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
This commit is contained in:
39
vendor/google/grpc-gcp/src/generated/GPBMetadata/GrpcGcp.php
vendored
Normal file
39
vendor/google/grpc-gcp/src/generated/GPBMetadata/GrpcGcp.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: grpc_gcp.proto
|
||||
|
||||
namespace GPBMetadata;
|
||||
|
||||
class GrpcGcp
|
||||
{
|
||||
public static $is_initialized = false;
|
||||
|
||||
public static function initOnce()
|
||||
{
|
||||
$pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
|
||||
|
||||
if (static::$is_initialized == true) {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile(hex2bin(
|
||||
"0ac9030a0e677270635f6763702e70726f746f1208677270632e67637022" .
|
||||
"670a09417069436f6e66696712310a0c6368616e6e656c5f706f6f6c1802" .
|
||||
"2001280b321b2e677270632e6763702e4368616e6e656c506f6f6c436f6e" .
|
||||
"66696712270a066d6574686f6418e9072003280b32162e677270632e6763" .
|
||||
"702e4d6574686f64436f6e66696722690a114368616e6e656c506f6f6c43" .
|
||||
"6f6e66696712100a086d61785f73697a6518012001280d12140a0c69646c" .
|
||||
"655f74696d656f7574180220012804122c0a246d61785f636f6e63757272" .
|
||||
"656e745f73747265616d735f6c6f775f77617465726d61726b1803200128" .
|
||||
"0d22490a0c4d6574686f64436f6e666967120c0a046e616d651801200328" .
|
||||
"09122b0a08616666696e69747918e9072001280b32182e677270632e6763" .
|
||||
"702e416666696e697479436f6e6669672285010a0e416666696e69747943" .
|
||||
"6f6e66696712310a07636f6d6d616e6418022001280e32202e677270632e" .
|
||||
"6763702e416666696e697479436f6e6669672e436f6d6d616e6412140a0c" .
|
||||
"616666696e6974795f6b6579180320012809222a0a07436f6d6d616e6412" .
|
||||
"090a05424f554e44100012080a0442494e441001120a0a06554e42494e44" .
|
||||
"1002620670726f746f33"
|
||||
));
|
||||
|
||||
static::$is_initialized = true;
|
||||
}
|
||||
}
|
||||
87
vendor/google/grpc-gcp/src/generated/Grpc/Gcp/AffinityConfig.php
vendored
Normal file
87
vendor/google/grpc-gcp/src/generated/Grpc/Gcp/AffinityConfig.php
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: grpc_gcp.proto
|
||||
|
||||
namespace Grpc\Gcp;
|
||||
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>grpc.gcp.AffinityConfig</code>
|
||||
*/
|
||||
class AffinityConfig extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The affinity command applies on the selected gRPC methods.
|
||||
*
|
||||
* Generated from protobuf field <code>.grpc.gcp.AffinityConfig.Command command = 2;</code>
|
||||
*/
|
||||
private $command = 0;
|
||||
/**
|
||||
* The field path of the affinity key in the request/response message.
|
||||
* For example: "f.a", "f.b.d", etc.
|
||||
*
|
||||
* Generated from protobuf field <code>string affinity_key = 3;</code>
|
||||
*/
|
||||
private $affinity_key = '';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
\GPBMetadata\GrpcGcp::initOnce();
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* The affinity command applies on the selected gRPC methods.
|
||||
*
|
||||
* Generated from protobuf field <code>.grpc.gcp.AffinityConfig.Command command = 2;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getCommand()
|
||||
{
|
||||
return $this->command;
|
||||
}
|
||||
|
||||
/**
|
||||
* The affinity command applies on the selected gRPC methods.
|
||||
*
|
||||
* Generated from protobuf field <code>.grpc.gcp.AffinityConfig.Command command = 2;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setCommand($var)
|
||||
{
|
||||
GPBUtil::checkEnum($var, \Grpc\Gcp\AffinityConfig_Command::class);
|
||||
$this->command = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The field path of the affinity key in the request/response message.
|
||||
* For example: "f.a", "f.b.d", etc.
|
||||
*
|
||||
* Generated from protobuf field <code>string affinity_key = 3;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getAffinityKey()
|
||||
{
|
||||
return $this->affinity_key;
|
||||
}
|
||||
|
||||
/**
|
||||
* The field path of the affinity key in the request/response message.
|
||||
* For example: "f.a", "f.b.d", etc.
|
||||
*
|
||||
* Generated from protobuf field <code>string affinity_key = 3;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAffinityKey($var)
|
||||
{
|
||||
GPBUtil::checkString($var, true);
|
||||
$this->affinity_key = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
38
vendor/google/grpc-gcp/src/generated/Grpc/Gcp/AffinityConfig_Command.php
vendored
Normal file
38
vendor/google/grpc-gcp/src/generated/Grpc/Gcp/AffinityConfig_Command.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: grpc_gcp.proto
|
||||
|
||||
namespace Grpc\Gcp;
|
||||
|
||||
/**
|
||||
* Protobuf enum <code>Grpc\Gcp\AffinityConfig\Command</code>
|
||||
*/
|
||||
class AffinityConfig_Command
|
||||
{
|
||||
/**
|
||||
* The annotated method will be required to be bound to an existing session
|
||||
* to execute the RPC. The corresponding <affinity_key_field_path> will be
|
||||
* used to find the affinity key from the request message.
|
||||
*
|
||||
* Generated from protobuf enum <code>BOUND = 0;</code>
|
||||
*/
|
||||
const BOUND = 0;
|
||||
/**
|
||||
* The annotated method will establish the channel affinity with the channel
|
||||
* which is used to execute the RPC. The corresponding
|
||||
* <affinity_key_field_path> will be used to find the affinity key from the
|
||||
* response message.
|
||||
*
|
||||
* Generated from protobuf enum <code>BIND = 1;</code>
|
||||
*/
|
||||
const BIND = 1;
|
||||
/**
|
||||
* The annotated method will remove the channel affinity with the channel
|
||||
* which is used to execute the RPC. The corresponding
|
||||
* <affinity_key_field_path> will be used to find the affinity key from the
|
||||
* request message.
|
||||
*
|
||||
* Generated from protobuf enum <code>UNBIND = 2;</code>
|
||||
*/
|
||||
const UNBIND = 2;
|
||||
}
|
||||
84
vendor/google/grpc-gcp/src/generated/Grpc/Gcp/ApiConfig.php
vendored
Normal file
84
vendor/google/grpc-gcp/src/generated/Grpc/Gcp/ApiConfig.php
vendored
Normal file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: grpc_gcp.proto
|
||||
|
||||
namespace Grpc\Gcp;
|
||||
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>grpc.gcp.ApiConfig</code>
|
||||
*/
|
||||
class ApiConfig extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The channel pool configurations.
|
||||
*
|
||||
* Generated from protobuf field <code>.grpc.gcp.ChannelPoolConfig channel_pool = 2;</code>
|
||||
*/
|
||||
private $channel_pool = null;
|
||||
/**
|
||||
* The method configurations.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .grpc.gcp.MethodConfig method = 1001;</code>
|
||||
*/
|
||||
private $method;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
\GPBMetadata\GrpcGcp::initOnce();
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* The channel pool configurations.
|
||||
*
|
||||
* Generated from protobuf field <code>.grpc.gcp.ChannelPoolConfig channel_pool = 2;</code>
|
||||
* @return \Grpc\Gcp\ChannelPoolConfig
|
||||
*/
|
||||
public function getChannelPool()
|
||||
{
|
||||
return $this->channel_pool;
|
||||
}
|
||||
|
||||
/**
|
||||
* The channel pool configurations.
|
||||
*
|
||||
* Generated from protobuf field <code>.grpc.gcp.ChannelPoolConfig channel_pool = 2;</code>
|
||||
* @param \Grpc\Gcp\ChannelPoolConfig $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setChannelPool($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Grpc\Gcp\ChannelPoolConfig::class);
|
||||
$this->channel_pool = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The method configurations.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .grpc.gcp.MethodConfig method = 1001;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getMethod()
|
||||
{
|
||||
return $this->method;
|
||||
}
|
||||
|
||||
/**
|
||||
* The method configurations.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .grpc.gcp.MethodConfig method = 1001;</code>
|
||||
* @param \Grpc\Gcp\MethodConfig[]|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMethod($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Grpc\Gcp\MethodConfig::class);
|
||||
$this->method = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
122
vendor/google/grpc-gcp/src/generated/Grpc/Gcp/ChannelPoolConfig.php
vendored
Normal file
122
vendor/google/grpc-gcp/src/generated/Grpc/Gcp/ChannelPoolConfig.php
vendored
Normal file
@@ -0,0 +1,122 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: grpc_gcp.proto
|
||||
|
||||
namespace Grpc\Gcp;
|
||||
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>grpc.gcp.ChannelPoolConfig</code>
|
||||
*/
|
||||
class ChannelPoolConfig extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The max number of channels in the pool.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 max_size = 1;</code>
|
||||
*/
|
||||
private $max_size = 0;
|
||||
/**
|
||||
* The idle timeout (seconds) of channels without bound affinity sessions.
|
||||
*
|
||||
* Generated from protobuf field <code>uint64 idle_timeout = 2;</code>
|
||||
*/
|
||||
private $idle_timeout = 0;
|
||||
/**
|
||||
* The low watermark of max number of concurrent streams in a channel.
|
||||
* New channel will be created once it get hit, until we reach the max size
|
||||
* of the channel pool.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 max_concurrent_streams_low_watermark = 3;</code>
|
||||
*/
|
||||
private $max_concurrent_streams_low_watermark = 0;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
\GPBMetadata\GrpcGcp::initOnce();
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* The max number of channels in the pool.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 max_size = 1;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getMaxSize()
|
||||
{
|
||||
return $this->max_size;
|
||||
}
|
||||
|
||||
/**
|
||||
* The max number of channels in the pool.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 max_size = 1;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMaxSize($var)
|
||||
{
|
||||
GPBUtil::checkUint32($var);
|
||||
$this->max_size = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The idle timeout (seconds) of channels without bound affinity sessions.
|
||||
*
|
||||
* Generated from protobuf field <code>uint64 idle_timeout = 2;</code>
|
||||
* @return int|string
|
||||
*/
|
||||
public function getIdleTimeout()
|
||||
{
|
||||
return $this->idle_timeout;
|
||||
}
|
||||
|
||||
/**
|
||||
* The idle timeout (seconds) of channels without bound affinity sessions.
|
||||
*
|
||||
* Generated from protobuf field <code>uint64 idle_timeout = 2;</code>
|
||||
* @param int|string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIdleTimeout($var)
|
||||
{
|
||||
GPBUtil::checkUint64($var);
|
||||
$this->idle_timeout = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The low watermark of max number of concurrent streams in a channel.
|
||||
* New channel will be created once it get hit, until we reach the max size
|
||||
* of the channel pool.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 max_concurrent_streams_low_watermark = 3;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getMaxConcurrentStreamsLowWatermark()
|
||||
{
|
||||
return $this->max_concurrent_streams_low_watermark;
|
||||
}
|
||||
|
||||
/**
|
||||
* The low watermark of max number of concurrent streams in a channel.
|
||||
* New channel will be created once it get hit, until we reach the max size
|
||||
* of the channel pool.
|
||||
*
|
||||
* Generated from protobuf field <code>uint32 max_concurrent_streams_low_watermark = 3;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMaxConcurrentStreamsLowWatermark($var)
|
||||
{
|
||||
GPBUtil::checkUint32($var);
|
||||
$this->max_concurrent_streams_low_watermark = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
90
vendor/google/grpc-gcp/src/generated/Grpc/Gcp/MethodConfig.php
vendored
Normal file
90
vendor/google/grpc-gcp/src/generated/Grpc/Gcp/MethodConfig.php
vendored
Normal file
@@ -0,0 +1,90 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: grpc_gcp.proto
|
||||
|
||||
namespace Grpc\Gcp;
|
||||
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Generated from protobuf message <code>grpc.gcp.MethodConfig</code>
|
||||
*/
|
||||
class MethodConfig extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* A fully qualified name of a gRPC method, or a wildcard pattern ending
|
||||
* with .*, such as foo.bar.A, foo.bar.*. Method configs are evaluated
|
||||
* sequentially, and the first one takes precedence.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string name = 1;</code>
|
||||
*/
|
||||
private $name;
|
||||
/**
|
||||
* The channel affinity configurations.
|
||||
*
|
||||
* Generated from protobuf field <code>.grpc.gcp.AffinityConfig affinity = 1001;</code>
|
||||
*/
|
||||
private $affinity = null;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
\GPBMetadata\GrpcGcp::initOnce();
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* A fully qualified name of a gRPC method, or a wildcard pattern ending
|
||||
* with .*, such as foo.bar.A, foo.bar.*. Method configs are evaluated
|
||||
* sequentially, and the first one takes precedence.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string name = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* A fully qualified name of a gRPC method, or a wildcard pattern ending
|
||||
* with .*, such as foo.bar.A, foo.bar.*. Method configs are evaluated
|
||||
* sequentially, and the first one takes precedence.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string name = 1;</code>
|
||||
* @param string[]|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setName($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->name = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The channel affinity configurations.
|
||||
*
|
||||
* Generated from protobuf field <code>.grpc.gcp.AffinityConfig affinity = 1001;</code>
|
||||
* @return \Grpc\Gcp\AffinityConfig
|
||||
*/
|
||||
public function getAffinity()
|
||||
{
|
||||
return $this->affinity;
|
||||
}
|
||||
|
||||
/**
|
||||
* The channel affinity configurations.
|
||||
*
|
||||
* Generated from protobuf field <code>.grpc.gcp.AffinityConfig affinity = 1001;</code>
|
||||
* @param \Grpc\Gcp\AffinityConfig $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAffinity($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Grpc\Gcp\AffinityConfig::class);
|
||||
$this->affinity = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user