404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.14.133.138: ~ $
<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/expr/v1alpha1/value.proto

namespace Google\Api\Expr\V1alpha1;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Represents a CEL value.
 * This is similar to `google.protobuf.Value`, but can represent CEL's full
 * range of values.
 *
 * Generated from protobuf message <code>google.api.expr.v1alpha1.Value</code>
 */
class Value extends \Google\Protobuf\Internal\Message
{
    protected $kind;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $null_value
     *           Null value.
     *     @type bool $bool_value
     *           Boolean value.
     *     @type int|string $int64_value
     *           Signed integer value.
     *     @type int|string $uint64_value
     *           Unsigned integer value.
     *     @type float $double_value
     *           Floating point value.
     *     @type string $string_value
     *           UTF-8 string value.
     *     @type string $bytes_value
     *           Byte string value.
     *     @type \Google\Api\Expr\V1alpha1\EnumValue $enum_value
     *           An enum value.
     *     @type \Google\Protobuf\Any $object_value
     *           The proto message backing an object value.
     *     @type \Google\Api\Expr\V1alpha1\MapValue $map_value
     *           Map value.
     *     @type \Google\Api\Expr\V1alpha1\ListValue $list_value
     *           List value.
     *     @type string $type_value
     *           Type value.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Api\Expr\V1Alpha1\Value::initOnce();
        parent::__construct($data);
    }

    /**
     * Null value.
     *
     * Generated from protobuf field <code>.google.protobuf.NullValue null_value = 1;</code>
     * @return int
     */
    public function getNullValue()
    {
        return $this->readOneof(1);
    }

    /**
     * Null value.
     *
     * Generated from protobuf field <code>.google.protobuf.NullValue null_value = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setNullValue($var)
    {
        GPBUtil::checkEnum($var, \Google\Protobuf\NullValue::class);
        $this->writeOneof(1, $var);

        return $this;
    }

    /**
     * Boolean value.
     *
     * Generated from protobuf field <code>bool bool_value = 2;</code>
     * @return bool
     */
    public function getBoolValue()
    {
        return $this->readOneof(2);
    }

    /**
     * Boolean value.
     *
     * Generated from protobuf field <code>bool bool_value = 2;</code>
     * @param bool $var
     * @return $this
     */
    public function setBoolValue($var)
    {
        GPBUtil::checkBool($var);
        $this->writeOneof(2, $var);

        return $this;
    }

    /**
     * Signed integer value.
     *
     * Generated from protobuf field <code>int64 int64_value = 3;</code>
     * @return int|string
     */
    public function getInt64Value()
    {
        return $this->readOneof(3);
    }

    /**
     * Signed integer value.
     *
     * Generated from protobuf field <code>int64 int64_value = 3;</code>
     * @param int|string $var
     * @return $this
     */
    public function setInt64Value($var)
    {
        GPBUtil::checkInt64($var);
        $this->writeOneof(3, $var);

        return $this;
    }

    /**
     * Unsigned integer value.
     *
     * Generated from protobuf field <code>uint64 uint64_value = 4;</code>
     * @return int|string
     */
    public function getUint64Value()
    {
        return $this->readOneof(4);
    }

    /**
     * Unsigned integer value.
     *
     * Generated from protobuf field <code>uint64 uint64_value = 4;</code>
     * @param int|string $var
     * @return $this
     */
    public function setUint64Value($var)
    {
        GPBUtil::checkUint64($var);
        $this->writeOneof(4, $var);

        return $this;
    }

    /**
     * Floating point value.
     *
     * Generated from protobuf field <code>double double_value = 5;</code>
     * @return float
     */
    public function getDoubleValue()
    {
        return $this->readOneof(5);
    }

    /**
     * Floating point value.
     *
     * Generated from protobuf field <code>double double_value = 5;</code>
     * @param float $var
     * @return $this
     */
    public function setDoubleValue($var)
    {
        GPBUtil::checkDouble($var);
        $this->writeOneof(5, $var);

        return $this;
    }

    /**
     * UTF-8 string value.
     *
     * Generated from protobuf field <code>string string_value = 6;</code>
     * @return string
     */
    public function getStringValue()
    {
        return $this->readOneof(6);
    }

    /**
     * UTF-8 string value.
     *
     * Generated from protobuf field <code>string string_value = 6;</code>
     * @param string $var
     * @return $this
     */
    public function setStringValue($var)
    {
        GPBUtil::checkString($var, True);
        $this->writeOneof(6, $var);

        return $this;
    }

    /**
     * Byte string value.
     *
     * Generated from protobuf field <code>bytes bytes_value = 7;</code>
     * @return string
     */
    public function getBytesValue()
    {
        return $this->readOneof(7);
    }

    /**
     * Byte string value.
     *
     * Generated from protobuf field <code>bytes bytes_value = 7;</code>
     * @param string $var
     * @return $this
     */
    public function setBytesValue($var)
    {
        GPBUtil::checkString($var, False);
        $this->writeOneof(7, $var);

        return $this;
    }

    /**
     * An enum value.
     *
     * Generated from protobuf field <code>.google.api.expr.v1alpha1.EnumValue enum_value = 9;</code>
     * @return \Google\Api\Expr\V1alpha1\EnumValue
     */
    public function getEnumValue()
    {
        return $this->readOneof(9);
    }

    /**
     * An enum value.
     *
     * Generated from protobuf field <code>.google.api.expr.v1alpha1.EnumValue enum_value = 9;</code>
     * @param \Google\Api\Expr\V1alpha1\EnumValue $var
     * @return $this
     */
    public function setEnumValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Api\Expr\V1alpha1\EnumValue::class);
        $this->writeOneof(9, $var);

        return $this;
    }

    /**
     * The proto message backing an object value.
     *
     * Generated from protobuf field <code>.google.protobuf.Any object_value = 10;</code>
     * @return \Google\Protobuf\Any
     */
    public function getObjectValue()
    {
        return $this->readOneof(10);
    }

    /**
     * The proto message backing an object value.
     *
     * Generated from protobuf field <code>.google.protobuf.Any object_value = 10;</code>
     * @param \Google\Protobuf\Any $var
     * @return $this
     */
    public function setObjectValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Protobuf\Any::class);
        $this->writeOneof(10, $var);

        return $this;
    }

    /**
     * Map value.
     *
     * Generated from protobuf field <code>.google.api.expr.v1alpha1.MapValue map_value = 11;</code>
     * @return \Google\Api\Expr\V1alpha1\MapValue
     */
    public function getMapValue()
    {
        return $this->readOneof(11);
    }

    /**
     * Map value.
     *
     * Generated from protobuf field <code>.google.api.expr.v1alpha1.MapValue map_value = 11;</code>
     * @param \Google\Api\Expr\V1alpha1\MapValue $var
     * @return $this
     */
    public function setMapValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Api\Expr\V1alpha1\MapValue::class);
        $this->writeOneof(11, $var);

        return $this;
    }

    /**
     * List value.
     *
     * Generated from protobuf field <code>.google.api.expr.v1alpha1.ListValue list_value = 12;</code>
     * @return \Google\Api\Expr\V1alpha1\ListValue
     */
    public function getListValue()
    {
        return $this->readOneof(12);
    }

    /**
     * List value.
     *
     * Generated from protobuf field <code>.google.api.expr.v1alpha1.ListValue list_value = 12;</code>
     * @param \Google\Api\Expr\V1alpha1\ListValue $var
     * @return $this
     */
    public function setListValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Api\Expr\V1alpha1\ListValue::class);
        $this->writeOneof(12, $var);

        return $this;
    }

    /**
     * Type value.
     *
     * Generated from protobuf field <code>string type_value = 15;</code>
     * @return string
     */
    public function getTypeValue()
    {
        return $this->readOneof(15);
    }

    /**
     * Type value.
     *
     * Generated from protobuf field <code>string type_value = 15;</code>
     * @param string $var
     * @return $this
     */
    public function setTypeValue($var)
    {
        GPBUtil::checkString($var, True);
        $this->writeOneof(15, $var);

        return $this;
    }

    /**
     * @return string
     */
    public function getKind()
    {
        return $this->whichOneof("kind");
    }

}


Filemanager

Name Type Size Permission Actions
Decl Folder 2755
EvalState Folder 2755
Explain Folder 2755
Expr Folder 2755
IssueDetails Folder 2755
MapValue Folder 2755
Type Folder 2755
CheckRequest.php File 6.41 KB 0755
CheckResponse.php File 3.09 KB 0755
CheckedExpr.php File 9.66 KB 0755
Constant.php File 7.69 KB 0755
Decl.php File 5.33 KB 0755
Decl_FunctionDecl.php File 560 B 0755
Decl_FunctionDecl_Overload.php File 605 B 0755
Decl_IdentDecl.php File 545 B 0755
EnumValue.php File 2.23 KB 0755
ErrorSet.php File 1.81 KB 0755
EvalRequest.php File 5.48 KB 0755
EvalResponse.php File 3.92 KB 0755
EvalState.php File 3.53 KB 0755
EvalState_Result.php File 552 B 0755
Explain.php File 4.45 KB 0755
Explain_ExprStep.php File 555 B 0755
Expr.php File 9.26 KB 0755
ExprValue.php File 8.77 KB 0755
Expr_Call.php File 519 B 0755
Expr_Comprehension.php File 564 B 0755
Expr_CreateList.php File 549 B 0755
Expr_CreateStruct.php File 559 B 0755
Expr_CreateStruct_Entry.php File 589 B 0755
Expr_Ident.php File 524 B 0755
Expr_Select.php File 529 B 0755
IssueDetails.php File 3.77 KB 0755
IssueDetails_Severity.php File 592 B 0755
ListValue.php File 1.95 KB 0755
MapValue.php File 2.38 KB 0755
MapValue_Entry.php File 543 B 0755
ParseRequest.php File 4.66 KB 0755
ParseResponse.php File 3.06 KB 0755
ParsedExpr.php File 2.86 KB 0755
Reference.php File 5.57 KB 0755
SourceInfo.php File 9.49 KB 0755
SourcePosition.php File 4.52 KB 0755
Type.php File 12.77 KB 0755
Type_AbstractType.php File 560 B 0755
Type_FunctionType.php File 560 B 0755
Type_ListType.php File 540 B 0755
Type_MapType.php File 535 B 0755
Type_PrimitiveType.php File 565 B 0755
Type_WellKnownType.php File 565 B 0755
UnknownSet.php File 1.86 KB 0755
Value.php File 8.98 KB 0755