Container/src/V1/Operation.php
public function setOperationType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Container\V1\Operation_Type::class);
        $this->operation_type = $var;

        return $this;
    }
public function setOperationType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Container\V1\Operation_Type::class);
        $this->operation_type = $var;

        return $this;
    }
public function setOperationType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Container \ V1 \ Operation_Type :: class ) ; $ this -> operation_type = $ var ; return $ this ; }
The operation type.

Generated from protobuf field <code>.google.container.v1.Operation.Type operation_type = 3;</code>
@param int $var
@return $this
The operation type .