Logging/src/V2/WriteLogEntriesPartialErrors.php
public function setLogEntryErrors($var)
    {
        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::INT32, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\Status::class);
        $this->log_entry_errors = $arr;

        return $this;
    }
public function setLogEntryErrors($var)
    {
        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::INT32, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\Status::class);
        $this->log_entry_errors = $arr;

        return $this;
    }
public function setLogEntryErrors ( $ var ) { $ arr = GPBUtil :: checkMapField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: INT32 , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Rpc \ Status :: class ) ; $ this -> log_entry_errors = $ arr ; return $ this ; }
When `WriteLogEntriesRequest.partial_success` is true, records the error
status for entries that were not written due to a permanent error, keyed
by the entry's zero-based index in `WriteLogEntriesRequest.entries`.
Failed requests for which no entries are written will not include
per-entry errors.

Generated from protobuf field <code>map<int32, .google.rpc.Status> log_entry_errors = 1;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this
When WriteLogEntriesRequest . partial_success is true records the error status for entries that were not written due to a permanent error keyed by the entry s zero - based index in WriteLogEntriesRequest . entries . Failed requests for which no entries are written will not include per - entry errors .