public function setCidrBlocks($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Container\V1\MasterAuthorizedNetworksConfig_CidrBlock::class);
        $this->cidr_blocks = $arr;

        return $this;
    }
public function setCidrBlocks($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Container\V1\MasterAuthorizedNetworksConfig_CidrBlock::class);
        $this->cidr_blocks = $arr;

        return $this;
    }
public function setCidrBlocks ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Container \ V1 \ MasterAuthorizedNetworksConfig_CidrBlock :: class ) ; $ this -> cidr_blocks = $ arr ; return $ this ; }
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.

Generated from protobuf field <code>repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;</code>
@param \Google\Cloud\Container\V1\MasterAuthorizedNetworksConfig_CidrBlock[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS .